The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
I want to add a banner after each first posting
Hi
I would like to add some advertising features to my forum. What I actually want is a banner displayed when someone posts a new thread. Does someone has any suggestions? |
#2
|
|||
|
|||
Ok I quickly made you a code to enable you to do that.
In postbit & postbit_legacy template find: HTML Code:
$template_hook[postbit_end] HTML Code:
<if condition="!$GLOBALS['FIRSTPOSTID']"> <div style="padding:$stylevar[cellpadding]px 0px 0px 0px"> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center"> <tr valign="top"> <td class="thead"> Sponsored Ads </td> </tr> <tr valign="top"> <td class="alt1" align="center"> <a href="http://www.ps3walls.com" target="_blank" title="PS3 Walls"> <img src="http://www.iorkara.com/DVC_Ad_for_ps3walls.jpg" border="0" alt="PS3 Walls" /> </a> </td> </tr> </table> </div> </if> </if> |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|