A couple weeks ago I showed you how to add Goolge Adsense to your vBulletin Mobile Sytle. I got an email from someone looking to add Adsense between the first and last post in a thread.
So I’m happy to share how to do it here.
First open up you mobile suite under your style manager in your admincp
Open your postpit_legacy and add this to the very bottom:
<vb:if condition="$post[postcount] % $vboptions[maxposts] == 1 OR $post['islastshown']"> <center> YOUR AD CODE HERE <br /> <br /> </center> </vb:if>
There are lots of different variables that you can use like showing ads just to certain users or non members or show only in certain forums, etc. This code will also work in the regular vBulletin style.