i dont know why u ask about CBB over there. but since you already posted it.. then.
what version of CBB (3.08?). and where do you want the ad to be placed..
[]After every Reply
[]After The First
[]After or before The Last
[] Other...
Quote:
Bandit-x wrotes:
i dont know why u ask about CBB over there. but since you already posted it.. then.
what version of CBB (3.08?). and where do you want the ad to be placed..
[]After every Reply
[]After The First
[]After or before The Last
[] Other...
Hello,
After the firts reply and after the last..
Give me an sample code to play with it
if you are modifying the newbb_viewtopic_flat.html template/
add..
<{if $topic_post.post_no == 1 }>
code for ads go here
<{/if}>
so it would look like this.. (ad after the first post... im not sure with . after the last one yet. i've been a little busy lately)
<{include file="$newbb_template_path/newbb_item.html" topic_post=$topic_post}>
<{else}>
<{*include file="db:newbb_thread.html" topic_post=$topic_post mode=$mode*}>
<{include file="$newbb_template_path/newbb_thread.html" topic_post=$topic_post mode=$mode}>
<{if $topic_post.post_no == 1 }>
code for ads go here
<{/if}>
<{/if}>