vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Code to display an ad after every X posts in postbit? (https://vborg.vbsupport.ru/showthread.php?t=237692)

cmiller1014 03-07-2010 02:32 AM

Code to display an ad after every X posts in postbit?
 
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....

Code:

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

Thanks in advance!

--------------- Added [DATE]1267942276[/DATE] at [TIME]1267942276[/TIME] ---------------

Any ideas?

--------------- Added [DATE]1267982188[/DATE] at [TIME]1267982188[/TIME] ---------------

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 [DATE]1268970590[/DATE] at [TIME]1268970590[/TIME] ---------------

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


All times are GMT. The time now is 07:12 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01550 seconds
  • Memory Usage 1,720KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete