Admin CP > Styles & Templates > Style Manager > Postbit Templates -> postbit or postbit_legacy (depending on which layout you are using) Add the code at the very bottom of the template <if condition="$post[postcount] == XX"> $spacer_open <div style="padding:0px 0px $stylevar[cellpadding]px 0px"> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="thead" align="left">Sponsored Links</td> </tr> <tr> <td class="alt1" align="center"> BANNER CODE HERE </td> </tr> </table> </div> $spacer_close </if> PHP: Replacing the XX with the number of the post. Let me know if that worked. If you wanna show it only after first post, there's a hook location available though.
No need for all of this. There should be a plugin at the vBulletin community. If your using a fake copy then to bad. I am not aloud to discuss that on this forum.
There is no reason to clutter up and slow down your site with a plugin, the template condition works just fine the excuse some may use is "issues with upgrades" this isn't a problem since you should be posting in the ad_location templates, which don't get upgraded
ad_location template doesn't let you show ads after a particular post count. That template is highly usable if you want to show ads right after first post. But, if you want more flexibility,you have to edit the postbit template. I might be wrong in this case, but would also like someone to prove it.
I used <if condition="in_array($post['postcount'], array(1, 11, 21, 31, 41, 51, 61, 71, 81, 91, 101, 111, 121, 131, 141, 151)) AND !$bbuserinfo[userid]"> for my fist line, as it allowed me to place the add after the first post of each page (I have the default 10 posts per page set) so the first 15 pages of a thread will have addage. Anything after that on my forum and it's generally a word game so it's not really needed. NOTE: after the AND is to make it so only guests see the adds, you may need to remove that if you are wanting everyone to see it.
If you use <if condition="$post['postcount'] % $vboptions['maxposts'] == x AND !$bbuserinfo[userid]"></if> will do the same..