The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Forum specific
I was wondering how can i display certain things forum wise. Say i have sports section as well as tech section. I want to display some sports related contents on header/footer of sports section and tech related contents in tech section. What should i do? What code should i put?
|
#2
|
||||
|
||||
You could create a different style for each and apply it to the forum and just do it that way. Or just use a condition like:
HTML Code:
<if condition="$forumid == x">do this <else /> do that</if> |
#3
|
|||
|
|||
Thanks Lynn it worked. But now i am in another problem. I want to display some ads in every page of my forum. I added the code in ad_forumdisplay_afterthreads Template, but now the ad displays only on outer forum and not when we view a thread. I want the ad to display even on pages when we view a thread, so for that i added $ad_location[ad_forumdisplay_afterthreads] in SHOWTHREAD template here
Quote:
--------------- Added [DATE]1272286526[/DATE] at [TIME]1272286526[/TIME] --------------- Update : Silly me added code in ad_showthread_beforeqr and working fine now. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|