CeesT
12-20-2009, 10:29 AM
I am preparing my template (using RC4) and like to have an ad at the bottom of showthread-pages, just above the "previous thread / next thread" links. There is no ad_position template for this in VB4.
Basically I need the same ad which I use in forumdisplay, there we have "ad_location.forum_below_threadlist". In this template I have the adsense code, which works fine in forumdisplay.php.
In template "FORUMDISPLAY" there is a line:
{vb:raw ad_location.forum_below_threadlist}
which shows the adsense content in forumdisplay-screen fine.
I have put the same above-mentioned code in "SHOWTHREAD" template, but the code does not show in the page-code (checked with firebug). However when I put the complete adsense code directly in SHOWTHREAD template (on the same place (where the "vb:raw" line was) it works fine. It seems that the "vb:raw" line does not work, so I can not use the "ad_location" templates here.
Why does the "vb:raw" not work in SHOWTHREAD, while it works fine in FORUMDISPLAY template ? Is this a RC-4 problem or something I forgot to do :confused:?
Basically I need the same ad which I use in forumdisplay, there we have "ad_location.forum_below_threadlist". In this template I have the adsense code, which works fine in forumdisplay.php.
In template "FORUMDISPLAY" there is a line:
{vb:raw ad_location.forum_below_threadlist}
which shows the adsense content in forumdisplay-screen fine.
I have put the same above-mentioned code in "SHOWTHREAD" template, but the code does not show in the page-code (checked with firebug). However when I put the complete adsense code directly in SHOWTHREAD template (on the same place (where the "vb:raw" line was) it works fine. It seems that the "vb:raw" line does not work, so I can not use the "ad_location" templates here.
Why does the "vb:raw" not work in SHOWTHREAD, while it works fine in FORUMDISPLAY template ? Is this a RC-4 problem or something I forgot to do :confused:?