Not Solved ads in first post.
#1
Not Solved
i want to know how can i post ads only on first post of thread. currently i am posting ads on postbit_attachments but i want to post ads on first post of every thread.


my forum link: http://studentsuvidha.com/forum

edit:

is there any way to add ads in attachment box of first post only,


thanks in advance.
Reply
#2
Not Solved
Please, read here: http://community.mybb.com/thread-163773.html
Reply
#3
Not Solved
thanks for reply @SvePu. hope it will work well with adsense will try this

is there any way to add ads in attachment box of first post only, wanna try diffrent locations.
Reply
#4
Not Solved
according to thread above i installed TemplateConditionals plugin and now i added that code in postbit_classic but ads not appearing in my site.

is there anything wrong in it??

okay i got the point.

this condition working only on Postbit but whenever i am trying to apply this condition on postbit_classic or postbit_attachments or any other then this condition not working.


Attached Files Thumbnail(s)
   
Reply
#5
Not Solved
This condition also should work in postbit_classic.

   
Reply
#6
Not Solved
yes it should work but its not working in postbit_classic and postbit_attachments as well. dont know what happend thats why i am asking here Sad
Reply
#7
Not Solved
It should work in all Postbit Templates, unless:
a) your HTML is wrong (check if the ad JS is the HTML source of your page)
b) a plugin mmodifies the value of $postcounter variable
Reply
#8
Not Solved
got answer from zingaburga on his forum. you can use this condition. :

For attachments, replace $postcounter with $GLOBALS['postcounter']
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)