PDA

View Full Version : SSI Inclusion in VBulletin


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:

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!