vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   SSI Inclusion in VBulletin (https://vborg.vbsupport.ru/showthread.php?t=6839)

01-16-2001 01:28 AM

Forgive me if i'm posting in the wrong place or the wrong way, complete newbie here and just got VBulletin working

I'm trying to SSI include a top.shtml file into the top of my Forums that will display above them.

I am using

<?php include ("/layout/top.shtml");?>

Is this the correct format? Because the file is not being included, nothing is happening

I have this in the Header Field

Thanks for any input!

Thanks,
Brent

01-16-2001 01:31 AM

Yes, I am having the same exact problem!!!!!!!!

01-16-2001 02:16 AM

actually, we are working on the same site :D

we now get this problem
Parse error: parse error in /home/vhosts/a/mofos.org/htdocs/forums/global.php(793) : eval()'d code on line 1

01-16-2001 02:17 AM

when we use this:

Quote:

useadvheader
Yes No

Parse header as PHP code. In this case, the header variable must be specifically set in the header template. An example would be this:

//--Start header template--
$header = "<p>This is an advert</p>";
//--End header template

The code can be used to dynamically choose adverts, include another file.


and put it on "NO" nothing comes up at all

Selecting Yes gives us the error above which is actually the wrong absolute path for us

[Edited by mr friendly on 01-15-2001 at 11:27 PM]

01-16-2001 02:17 AM

^ bump! we need SUPER HELP

01-16-2001 08:11 PM

:(

01-16-2001 08:19 PM

can't answer because I can't help - sorry!


All times are GMT. The time now is 06:52 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,718KB
  • 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
  • (7)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