Helpful Information
 
 
Category: vBulletin 3.6 Template Modifications
Ads under special forumid on forumhome

Hi Members,

asked on vb.com I want to describe how you can add ads, banners or other stuff under a special forum.
This is also working with styles with seperated categories.

There is no limit, you can nearly add everything you want.

Check the admincp for the forumid where you want to put the Code.

Open forumhome_forumbit_level2_post and scroll all the way down.
Right above $childforumbits add

<if condition="$forum[forumid] == 21">
<tr>
<td class="alt2" colspan="5">
<br />
<div align="center">
<img src="http://www.clanforums.com/forum/images/signatur/signatur.jpg"><br>
<font color=red><b>YOUR BANNER CODE HERE</b></font>
</div>
<br />
</td>
</tr>
</if>

where 21 is the forumid you checked in your admincp.

Example:
http://www.clanforums.com/gallery/files/3-advert_underspecial_forumid.jpg

Additional Info:
The ForumID you are entering MUST be a forum and cannot be a category to work!

Have fun :D

Hey i just installed it to try it out but i dont see anything.

This is my piece of template.
What did i do wrong ??

<td class="alt2">$forum[replycount]</td>
<if condition="$vboptions['showmoderatorcolumn']">
<td class="alt1"><div class="smallfont">$forum[moderators]&nbsp;</div></td>
</if>
</tr>
<if condition="$forum[forumid] == 10">
<tr>
<td class="alt2" colspan="5">
<br />
<div align="center">
<img src="http://www.freakpyromaniacs.com/forum/images/banners/alpecobanner.gif"><br>
<font color=red><b>YOUR BANNER CODE HERE</b></font>
</div>
<br />
</td>
</tr>
</if>
$childforumbits

I am using 3.6 Rc3

Can you provide me with an admin login so that I can take a look into your templates?

INstalled and all working now.
Thanks for this mod.

XHTML Police Coming Through!

<img src="http://www.clanforums.com/forum/images/signatur/signatur.jpg"><br>

Should be...
<img src="http://www.clanforums.com/forum/images/signatur/signatur.jpg" /><br />

:p Tee-hee. Good post, this should (hopefully) answer the endless number of threads asking how to do this.

Can you provide me with an admin login so that I can take a look into your templates?

jluerken,
I looked at your site and loved the design. Can you help me put together my forum like that? I am new here. My forum is http://www.swissforeignersforum.com

Yes your forum does look nice. Do you do anywork on the side?

jluerken,
I looked at your site and loved the design. Can you help me put together my forum like that? I am new here. My forum is http://www.swissforeignersforum.com

Well send me a PM what you need!


Yes your forum does look nice. Do you do anywork on the side?


Please also PM me!

Thanks for the hack! I'll install it right away... :)

What if you wanted the banner to show up ABOVE a forum category? I have regional forums that id like to have a banner above, but not be shown at the bottom of the category above it, where the banner looks like its apart of a different category...

Edit: I figured it out...just place this script ABOVE the rest of the code in forumhome_forumbit_level2_post










privacy (GDPR)