Testing code tags

Testing to see if the code tags work. I’m putting this into the tags:

FILE FILEA V(1000) SEQUENTIAL +
SYSNAME ‘H:\EZ_Text_Files\999999_Input.txt’
AR-NUM 6 12 A
NAME 18 40 A
*NAME2 58 40 A
ADDR1 58 30 A
ADDR2 88 30 A
CITY 118 20 A
STATE 138 2 A
ZIP 158 5 A
ZIP-4 163 4 A
PHONE-AREA 252 3 A
PHONE-PRE 255 3 A
PHONE-REST 258 4 A
*START-YEAR 189 2 N
DOLS-MM 268 2 N
DOLS-YY 274 2 N
*TERMS 203 7 A
COMMENTS 276 2 A
RHC 168 12 A
RHC-BYTE-IN1 RHC 1 A INDEX SUB1
RHC-DOLLARS 168 10 N
RHC-CENTS 178 2 N
BALANCE 180 12 A
BALANCE-NUM 180 12 N 0
BALANCE-BYTE-IN1 BALANCE 1 A INDEX SUB1
BALANCE-DOLLARS 180 10 N
BALANCE-CENTS 190 2 N
CURRENT 192 12 A
CURRENT-NUM 192 12 N 0
CURRENT-BYTE-IN1 CURRENT 1 A INDEX SUB1
CURRENT-DOLLARS 192 10 N
CURRENT-CENTS 202 2 N
01-30 204 12 A
01-30-BYTE-IN1 01-30 1 A INDEX SUB1
01-30-DOLLARS 204 10 N
01-30-CENTS 214 2 N
31-60 216 12 A
31-60-BYTE-IN1 31-60 1 A INDEX SUB1
31-60-DOLLARS 216 10 N
31-60-CENTS 226 2 N
61-90 228 12 A
61-90-BYTE-IN1 61-90 1 A INDEX SUB1
61-90-DOLLARS 228 10 N
61-90-CENTS 238 2 N
OVER-90 240 12 A
OVER-90-BYTE-IN1 OVER-90 1 A INDEX SUB1
OVER-90-DOLLARS 240 10 N
OVER-90-CENTS 250 2 N


FILE FILEA V(1000) SEQUENTIAL +
SYSNAME 'H:\EZ_Text_Files\999999_Input.txt'
AR-NUM                      6   12  A  
NAME                       18   40  A
*NAME2                      58   40  A
ADDR1                      58   30  A
ADDR2                      88   30  A
CITY                      118   20  A
STATE                     138    2  A
ZIP                       158    5  A
ZIP-4                     163    4  A 
PHONE-AREA                252    3  A
PHONE-PRE                 255    3  A
PHONE-REST                258    4  A 
*START-YEAR                189    2  N
DOLS-MM                   268    2  N
DOLS-YY                   274    2  N 
*TERMS                     203    7  A 
COMMENTS                  276    2  A 
RHC                       168   12  A  
RHC-BYTE-IN1              RHC    1  A INDEX SUB1  
RHC-DOLLARS               168   10  N
RHC-CENTS                 178    2  N
BALANCE                   180   12  A 
BALANCE-NUM               180   12  N 0 
BALANCE-BYTE-IN1      BALANCE    1  A INDEX SUB1 
BALANCE-DOLLARS           180   10  N
BALANCE-CENTS             190    2  N
CURRENT                   192   12  A    
CURRENT-NUM               192   12  N 0
CURRENT-BYTE-IN1      CURRENT    1  A INDEX SUB1     
CURRENT-DOLLARS           192   10  N
CURRENT-CENTS             202    2  N
01-30                     204   12  A  
01-30-BYTE-IN1          01-30    1  A INDEX SUB1  
01-30-DOLLARS             204   10  N
01-30-CENTS               214    2  N
31-60                     216   12  A 
31-60-BYTE-IN1          31-60    1  A INDEX SUB1    
31-60-DOLLARS             216   10  N
31-60-CENTS               226    2  N
61-90                     228   12  A 
61-90-BYTE-IN1          61-90    1  A INDEX SUB1 
61-90-DOLLARS             228   10  N
61-90-CENTS               238    2  N       
OVER-90                   240   12  A 
OVER-90-BYTE-IN1      OVER-90    1  A INDEX SUB1 
OVER-90-DOLLARS           240   10  N
OVER-90-CENTS             250    2  N

ETA: Apparently not.

.

Stuff like this used to work.


	M	F
D	63	42
R	37	58

In my display, the text inside the code box is aligned with columns, and looks OK, at least at first glance. However, I am using the old vB template (3.7.3). I’ll try the new one and get back to you.

Getting back: No good. The new skin destroys the column alignment and renders your sample code box as a linear string. Baaaad.

So now we have a workaround. Set your display to the old vB template, and enjoy.

That would mean that everyone who read a post would have to change the display.

I don’t knot how to change the display.

How to change the default display for your account: Scroll down to the untitled dropdown box near the left bottom and select “Straight Dope v3.7.3”. This will return your display to the version used previous to the upgrade until changed again.

Further/alternate instructions are available on the ATMB sub-forum.

This might not be desirable for mobile displays; it’s up to you to choose the best compromise.

OK, that worked. For me. But anyone reading this thread who wants to see the code-formatted post will need to make the change. I think that the code tags should work in the new version so that people don’t have to do that.

Concur with the above.

I post a lot of tables in election threads and I sometimes even post code in math threads.
Table

Python

Those posts are no longer readable. A solution that involves everyone else changing their settings is not a serious solution.

I’m not sure what you are trying to do here, but here’s a vBulletin list of BB Codes.

I used it yesterday to work out how to display html code on a php board. Actually [ img ] [ /img ] around the url worked in the end.

We’re trying to do this.

But your link is not a great place to see what that is.

Looks like the


 tag isn't fully, or properly, implemented in the latest vB skin/version.  Unless you can provide a good reason why not, wouldn't the best solution be to implement it properly?

Who is this question addressed to?

Yes it would be nice if


 tags worked properly in the new skin. That is pretty much the point of this thread.

One of the admins could go to Styles & Templates in the admincp, go to this style and play with the variables until right, as in this instruction for changing the width of the code box.

Tedious, but not that difficult.

You, if you can fix it. Otherwise, the admins.

When Johnny L.A. started this thread, it wasn’t known why his sample text didn’t display properly, or if the vB version made a difference. Now we know it does and why. That’s called fighting ignorance.

It was known. It seems that it just wasn’t known to you.

The reskin screwed up the ‘code’ tag functionality. That’s been a known issue from day one. Johnny L.A. posted this thread to check if that issue had been resolved and found that it had been not.

I posted to this thread because while I’m not that prolific a poster I use ‘code’ tags in many of my posts and I this seemed like a way to bring a little extra attention to this issue.

So now not only is there no way to post a formatted table or formatted code, the reskin also screwed up all past posts that used ‘code’ tags. Changing my VB template only changes what I see so is not really a fix since other posters may be using the new template (not to mention lurkers and people who read without logging in).

I obviously would like this issue to be fixed and if I could do it myself I would.

It’s trivial to fix. Just remove any reference to the pre tag in the CSS, or add pre { white-space: pre !important; } anywhere in the stylesheet.

I’ve already told Ed in the “what do you think” thread, but I was told I needed to also present screenshots. Maybe one of you could do that for me?

I would help if I could, but not having the Sultan Style installed negates any repairing of it. Sorry.

Not that I can see much visual difference between the Default and the Sultan Styles, anyway. No pretty new colours.

That doesn’t seem to be the right issue. That affects the size of the code box. The issue is the lack of retaining spacing and returns in the formatting within the box.

However, I posted the issue to the developer’s site, and he has added a fix.

It now works on their site.

I posted this in Ed’s thread on bugs.

Indeed — which is why I said ‘play with the variables until right, as in this instruction’.
You can do a lot with Styles.

I added an SSL seal recently, no help from Comodo how to add the html to a vBulletin forum. Just referred me to the same document I was complaining about.

In the end I just shoved it in the footer of each Style. Worked.

Thanks.

And I’ve posted the screenshots Ed asked for, after I started feeling better. So he has the fix and the screenshots to make sure it works. (I have a feeling that his contractor requires screenshots so they know they got it right.)


#!/usr/bin/env python3

words = ["Still", "Not", "Fixed"]

for word in words:
    print(word)

Grrr…