vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   SSI In template ?? (https://vborg.vbsupport.ru/showthread.php?t=32499)

Vinney 11-18-2001 07:52 PM

Hi how do i SSi in a template.

Reason being is that i have created a gallery, ( index.pl ) , and i want to use the layout of the forum to.

I've created a php called gallery.php

with :

<?php
error_reporting(7);

// ############################### start gallery ###############################
if ($action=="gallery") {
$templatesused = ""; // Only one template used so load it when called
include("./global.php");
$page = intval($page);
if (!$page)
$page = '';
eval("dooutput(\"".gettemplate("gallery")."\");");

}

?>

And have created the template called gallery.

when i insert :-

include("http://www.peugeot-gti.net/gallery/index.pl");

in the gallery.php , the gallery is loaded, but then under neith the forum buttons and logo load.

No matter where i put the line

include("http://www.peugeot-gti.net/gallery/index.pl");

in the gallery.php

it never displays in the center of the header and footer.

( I now understand this is right, u can't get it to display center using the gallery.php to call it. )

So this brings me onto the gallery template .

how do i ssi or the equivlent to :
include("http://www.peugeot-gti.net/gallery/index.pl");

in a vb template.

Please help.

Goldfinger 11-19-2001 11:43 PM

try using the full path to the index.pl , for example

include('/your/full/path/index.pl');


All times are GMT. The time now is 03:49 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.00961 seconds
  • Memory Usage 1,705KB
  • 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
  • (2)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