PDA

View Full Version : Code to display an ad after every X posts in postbit?


cmiller1014
03-07-2010, 02:32 AM
ON a 3.8 forum, we had the following code at the bottom of postbit_legacy and it worked GREAT. With 4.2 we cant seem to figure out how to make it work or where to put it. Can anyone help?

Here is the code we were using at the very bottom of postbit....


<if condition="$post[postcount] % 2 == 0">
#ADCODEHERE
</if>


Thanks in advance!

--------------- Added 1267942276 at 1267942276 ---------------

Any ideas?

--------------- Added 1267982188 at 1267982188 ---------------

Bump...

cmiller1014
03-08-2010, 01:36 PM
Man this auto-merge double post stuff SUCKS!!!!!!

cmiller1014
03-10-2010, 02:10 AM
Bump.... :(

borbole
03-10-2010, 10:54 AM
Try to adjust the conditionall statement for vb 4. How to do so, have a look at the Articles Section.

Lynne
03-10-2010, 01:53 PM
This was just asked about about recently - and code posted. Did you try a search before posting?

cmiller1014
03-17-2010, 04:50 AM
Yea, and VB search SUCKS. What would a person search for to find this???

cmiller1014
03-19-2010, 02:47 AM
Anyone else have any ideas? PLEASE! :(

--------------- Added 1268970590 at 1268970590 ---------------

This just goes to show how shitty vbulletin has become. VB support says come here, I come here and wait WEEKS for NOTHING. What a waste this product has become.

cmiller1014
03-30-2010, 06:08 PM
Sigh.... bump :(

ericgtr
03-30-2010, 06:16 PM
Try this https://vborg.vbsupport.ru/showthread.php?t=236617