View Full Version : How would I go about doing this?
rene mauricio
10-14-2004, 10:07 PM
I was able to do this with IPB but now that I own a vB I am really lost. I have no idea how vB outputs its templates. Could someone here please tell me how I might be able to accomplish this both on the index and the forum display?
https://vborg.vbsupport.ru/
(Notice the alternating cell colors)
Zachery
10-14-2004, 10:23 PM
I was able to do this with IPB but now that I own a vB I am really lost. I have no idea how vB outputs its templates. Could someone here please tell me how I might be able to accomplish this both on the index and the forum display?
http://home.comcast.net/~rene-mauricio/example.jpg
(Notice the alternating cell colors)
I really dont think you can do that to the thread display, because of how it is done
However it is possible on the forumhome, there is a modification at vBulletinTemplates.com to do it
rene mauricio
10-14-2004, 10:54 PM
You wouldnt happen to have a link to it would you? I have no idea what I am looking for (what they might call it) other than to look in the VB3 section. :(
Zachery
10-14-2004, 11:11 PM
You wouldnt happen to have a link to it would you? I have no idea what I am looking for (what they might call it) other than to look in the VB3 section. :(
http://www.vbulletintemplates.com/mods/showthread.php?t=5483&highlight=alternating+rows
Its old, but it should still work
rene mauricio
10-15-2004, 01:50 AM
Ah thank you. It indeed did work for FORUMHOME but it needed a little adjustment.
<if condition="$forum['displayorder'] % 2 == 0">class="alt2"<else />class="alt1"</if>
should be:
<if condition="$forum[forumid] % 2 == 0">class="alt2"<else />class="alt1"</if>
I also found out (on my own) which file needed to be touched up in order to get it to work with THREADBIT properly. It was only a matter of finding out when and where vB spits out that template and the rest was easy :D
See (http://my.club-rm.com/munity/forumdisplay.php?f=2)? :surprised:
Zachery
10-15-2004, 01:57 AM
Ah thank you. It indeed did work for FORUMHOME but it needed a little adjustment.
<if condition="$forum['displayorder'] % 2 == 0">class="alt2"<else />class="alt1"</if>
should be:
<if condition="$forum[forumid] % 2 == 0">class="alt2"<else />class="alt1"</if>
I also found out (on my own) which file needed to be touched up in order to get it to work with THREADBIT properly. It was only a matter of finding out when and where vB spits out that template and the rest was easy :D
See (http://my.club-rm.com/munity/forumdisplay.php?f=2)? :surprised:
displayorder works, IF you have them numbered correctly, forumid only works correctly if the forums are in a linear order without gaps. 1,2,3,4 etc
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.