vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Using PHP Inludes in Header & HeadInclude (https://vborg.vbsupport.ru/showthread.php?t=110105)

sohoportal 03-11-2006 08:10 PM

Using PHP Inludes in Header & HeadInclude
 
I have modified the design of our vbulletin application, but can't figure out how to include a random picture generator that rotates images below the left nav (see http://www.csla.ca/csla-resource-centre.php for an example), and the javascript file which contains the flyouts for the left nav itself (which as a result is throwing js errors on the page).

The site I'm working on is here:http://www.csla.ca/forum/index.php

I'd appreciate any help anyone can provide.

Thanks

iMisspell 03-14-2006 07:30 AM

1 Attachment(s)
Sorry this does not pertain to your questions, but... I'll suggest that you define a background color to your main page. If you make a page and do not set this the page will use the users "windows background" default color... As you can see in the pic i attached, if a person use a different color other then white it does not do the justice for your site ;)

As with your probelm... theres tons of javascripts like that... just try another one, no ? Or post what error your getting and the code of that line.

sohoportal 03-14-2006 01:32 PM

Quote:

Originally Posted by iMisspell
Sorry this does not pertain to your questions, but... I'll suggest that you define a background color to your main page. If you make a page and do not set this the page will use the users "windows background" default color... As you can see in the pic i attached, if a person use a different color other then white it does not do the justice for your site ;)

As with your probelm... theres tons of javascripts like that... just try another one, no ? Or post what error your getting and the code of that line.

Thanks iMisspell, this is my first time working with vBulletin; I appreciate your comments and will be sure to set the background color as you've suggested.

I resolved my PHP Include problem by creating a plug-in to incorporate the required elements into the page.

Thanks again for you suggestion


All times are GMT. The time now is 10:52 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.01031 seconds
  • Memory Usage 1,713KB
  • 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_quote_printable
  • (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