vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   New To vBulletin - How To Change Header and Footer? (https://vborg.vbsupport.ru/showthread.php?t=97346)

smoknz28 10-02-2005 04:27 AM

New To vBulletin - How To Change Header and Footer?
 
vBulletin v3.5
==========

Hi gang...looking for some assistance in changing my header and footer of the forums. Also, I'm new to vBulletin so things are looking pretty darn foreign to me.... So if you can break it down 'Barney-style', I would appreciate it. ;)

Trying to get my phpAdsNew to show up as well as other links like to my PhotoPost Classifieds and PhotoPost Gallery.

Thank you,
Mark
http://www.f-bodyhideout.com/forums

Kirk Y 10-02-2005 05:58 AM

AdminCP -> Styles and Templates -> Select Your Template (Click the << >> buttons) -> Header or Footer

Upload phpAdsNew into your Forum dir., install it... use whichever kind of Invocation you'd like. If you want to use Local Mode, you can take the php given to you and create a new plugin with it at global_start.

Edit: Oh, and by the way... this forum is for posting "How-To"s, not asking questions. It'll probably be moved to the Modification Questions forum.

smoknz28 10-02-2005 07:33 AM

Thanks for responding....and yes, I actually saw that I wasn't suppose to post this message in this forum after I had already hit the post. Argh.... Already starting out on the wrong foot.

Well, I'm attempting to get the plugin going as you mentioned. Went into Plugin System > Add New Plugin > Hook Location (navigated to global under vBulletin: General) and clicked on global_start. Then gave it a title....and in the Plugin PHP Code in the edit box I've put the following code:

<?php
if (@include(getenv('DOCUMENT_ROOT').'/phpadsnew/phpadsnew.inc.php')) {
if (!isset($phpAds_context)) $phpAds_context = array();
$phpAds_raw = view_raw ('zone:3', 0, '_blank', 'http://ws6store.com', '0', $phpAds_context);
echo $phpAds_raw['html'];
}
?>

But nothing appears when I go to my index page at www.f-bodyhideout.com/forums


All times are GMT. The time now is 10:28 PM.

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.00909 seconds
  • Memory Usage 1,712KB
  • 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