PDA

View Full Version : How to get Adlinks below the forum in forumdisplay page


rmani84
06-22-2011, 04:37 AM
I am looking to place adlinks below the forum as seen below... The red box is where i want the adlinks to be displayed. I have seen a few 3.x forums using it. Can someone give pointers as to how to do this in 4.x. Thanks

https://vborg.vbsupport.ru/

Below's the screenshot of the forum where i saw this in 3.x ... This should give a clear idea of what am looking for.

https://vborg.vbsupport.ru/

Am sure this will be very useful for all those using 4.x

BirdOPrey5
06-26-2011, 03:14 PM
In VB 4.x (where this thread will get moved to soon)

For FORUMDISPLAY:

Edit your FORUMDISPLAY template.

Find the code:
<span class="understated">{vb:rawphrase try_controls_below_for_older_posts}</span>
</vb:if>
</p>
</div>
</vb:if>
</div>
<hr />

Below it Add:
<div class="threadlisthead table">
<div align="center">
<span class="threadinfo">
GOOGLE LINK UNIT CODE HERE
</span>
</div>
</div>

And/or in SHOWTHREAD:

Edit your postbit or postbit_legacy template.

At the VERY BOTTOM of the template add the code:

<vb:if condition="$post[islastshown]">
<div class="blockhead">
<div align="center">
<span class="threadinfo">
GOOGLE LINK UNIT CODE HERE
</span>
</div>
</div>
</vb:if>

This should work, looks good on my 4.x test forum.

rmani84
06-28-2011, 06:42 AM
In VB 4.x (where this thread will get moved to soon)

For FORUMDISPLAY:

Edit your FORUMDISPLAY template.

Find the code:
<span class="understated">{vb:rawphrase try_controls_below_for_older_posts}</span>
</vb:if>
</p>
</div>
</vb:if>
</div>
<hr />

Below it Add:
<div class="threadlisthead table">
<div align="center">
<span class="threadinfo">
GOOGLE LINK UNIT CODE HERE
</span>
</div>
</div>

And/or in SHOWTHREAD:

Edit your postbit or postbit_legacy template.

At the VERY BOTTOM of the template add the code:

<vb:if condition="$post[islastshown]">
<div class="blockhead">
<div align="center">
<span class="threadinfo">
GOOGLE LINK UNIT CODE HERE
</span>
</div>
</div>
</vb:if>

This should work, looks good on my 4.x test forum.

Wonderful ! works :)