vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Need an Ad script to display Ad after 1st post (https://vborg.vbsupport.ru/showthread.php?t=129251)

OoogleeMooglee 10-16-2006 07:24 PM

Need an Ad script to display Ad after 1st post
 
Hello all,

I need a script so that I can display a leaderboard ad in between the 1st and 2nd post on each thread. However, I also want the code to detect if there is only 1 post in the thread because I don't want it to display an Ad if there is only 1 post. I have another leaderboard displaying on the bottom and when there is only 1 post, it looks funny having 2 leaderboards right on top of each other. Any help would be appreciated.

Thanks!

da420 10-16-2006 07:29 PM

<a href="https://vborg.vbsupport.ru/showthread.php?t=126107&page=2" target="_blank">https://vborg.vbsupport.ru/showt...=126107&page=2</a>

Maybe that?

OoogleeMooglee 10-16-2006 07:40 PM

yea i tried. unfortunately it doesn't recognize if there are no replies to the post. Other than that it works great. I'm just trying to tweak that a little so that it doesn't display an ad if there is no reply to the post that way it doesn't get cluttered with my ad on the bottom.

Thanks for the help though


All times are GMT. The time now is 08:09 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.00902 seconds
  • Memory Usage 1,706KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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