View Full Version : Forum specific
romeo12
04-16-2010, 07:30 AM
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?
Lynne
04-16-2010, 02:05 PM
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:
<if condition="$forumid == x">do this <else /> do that</if>
romeo12
04-26-2010, 11:06 AM
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
$ad_location[ad_forumdisplay_afterthreads]
<if condition="$show['quickreply'] OR $show['ajax_js']">
<!-- ajax errors table -->
But still its not showing. Help me
--------------- Added 1272286526 at 1272286526 ---------------
Update :
Silly me :p
added code in ad_showthread_beforeqr and working fine now.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.