PDA

View Full Version : How to add an ad on the thread last post


cvn
03-04-2013, 02:33 PM
Hello,

I want to add an ad to the lastest post of every thread in my forum, then I tried use add a "last_post_content" type.

But the ad appears on the last post of every page of all multi-page threads. That's not what I want. I want the ad to be on only the very last post of a thread.

Could you please tell me how I need to change the postbit template in order to obtain that result.

Thank you!

cvn
03-05-2013, 04:42 PM
I found the following codes in the postbit template:


<vb:if condition="$post['islastshown']">
{vb:raw ad_location.thread_last_post_content}
</vb:if>

I believe that I need to change $post['islastshown'] to something else but I just don't what is it.

Any help please!

cvn
03-07-2013, 09:42 AM
Ay help, pleasee!