vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How to integrate PhpAdsNew? (https://vborg.vbsupport.ru/showthread.php?t=68787)

everythingtreo 08-27-2004 10:32 PM

How to integrate PhpAdsNew?
 
Hello-
I'm a newbie when it comes to code, so any help is appreciated. I'm running VB 3.03 and I've set up phpAdsNew. I have a campaign set up with multiple banners. I have a Javascript Invocation Code, but I'm not sure exactly where to put it. I simply want to rotate 468x60 banners at the top of the page. I tested the code generated by phpAdsNew on a plain vanilla HTML page and it worked great. I just got my vBulletin converted from IPB 2.0 after much stress and I don't want to screw anything up.

Thanks in advance.
Chris

Bigwrenn 08-28-2004 03:25 AM

To include it on every page, open up your header template and place it below the $phpinclude_output. Just place your invocation code there to have it show on every page. For the best results, always use javascript invocation. I have come to realize this works best on the forum.

everythingtreo 08-28-2004 03:53 AM

Thanks! Worked great. Is there an easy way to center the banner?

Bigwrenn 08-28-2004 05:11 AM

At the beginning of the invocation code put <center> and at the end of the invocation code put </center>. That should fix it right up! :D


All times are GMT. The time now is 11:42 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.01657 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
  • (4)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