MyBB Community Forums
how to set ads after first post - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: how to set ads after first post (/thread-227400.html)



how to set ads after first post - huzua - 2020-04-20

i have search and found the code.

i have added code in template in the end but the problem is it shows ads after all replies, i want to show ad only after first 1 post, not after all replies, that looks mess ad after each reply.

Please help.


RE: how to set ads after first post - .m. - 2020-04-20

have you installed template conditionals plugin ?
it is required to use conditions in templates.


RE: how to set ads after first post - huzua - 2020-04-20

(2020-04-20, 10:14 AM).m. Wrote: have you installed template conditionals plugin ?
it is required to use conditions in templates.

No let me install but Last Updated: 12-22-2015

It will work in 1.8 Mybb now in 2020 ?



RE: how to set ads after first post - .m. - 2020-04-20

^ yes, it will work with recent versions of MyBB


RE: how to set ads after first post - huzua - 2020-04-20

Plugin has been installed, what to do now @.m. ?

Thanks it works now but if i want to show ad on 1st, 5th, 10th, post only on all pages then ?

All worked, found it, thanks mate