The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
alternating row color
Im trying to make a classifieds hack for my board and i want to list all results in a table, it works fine but i can't get the row colors to alternate so that both second and firstaltcolor is used, ive tried to do it according to some tutorials but it doesnt seem to work on vb.
This is my query for displaying a list of the ads PHP Code:
|
#2
|
||||
|
||||
See my thread in the Hints and Tips forum.
|
#3
|
|||
|
|||
You mentioned a thread about alternating row colors in the
hints/tips forum but I could not find it. I'd like to replace my XMB board with a VBulletin board but want to keep the same scheme, like the screenshot below. |
#4
|
||||
|
||||
For anything like this, you can use a function similar to the following :
PHP Code:
Using that technique, you can display alternate stuff, depending on a counter being ODD or EVEN. |
#5
|
|||
|
|||
I *know* how to do it, it's just *where* in the vB code I need to.
As you can see, I was able to do it to XMB. FireFly posted that he had a completed mod and I couldn't find the post. I was just asking where to get the mod... |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|