The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Make memberlist_bit alternate alt1/alt2
I am trying to make each horizontal line in the memberlist alternate between alt1 and alt2.
I've managed this on every other page of my site but it won't work here. Here's what I've done so far. 1) Removed all the exec_switch_bg conditionals already in the memberlist_bit template. 2) Tried using both class="$bgclass" and class="$GLOBALS[bgclass]" 3) Put that funny conditional involving $GLOBALS[bgclass] at the top. 4) Put that other funny conditional involving exec_switch_bg at the top. Nothing works, it completely ignores me, despite the fact that at least one of the above has worked in every other "bit" template I have done it on (see www.bowlandcentral.com/forum to prove it). What do I need to do to get this working in the memberlist? I don't mind if I have to hack a file or two, one more won't make any difference! vB version is 3.8.5. --------------- Added [DATE]1276423691[/DATE] at [TIME]1276423691[/TIME] --------------- Ok I sorted it. For reference, you need to edit memberlist.php and comment out all references to $bgclass and exec_switch_bg. Then remove all the "AND exec_switch_bg()" references from the memberlist_resultsbit template. Then do the "funny conditional" in point 2, and set each <td> class to "$GLOBALS[bgclass]". |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|