The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
adding this to the header without..
hey everyone I was just wondering if anyone could tell me how I could add the following information to the header without editing the phps files...
Welcome back, Xelation View New Posts Members: 2, Threads: 2, Posts: 17 Welcome to our newest member, Xeo The time now is 10:35 AM. You last visited: 08-28-2002 06:05 PM. and the $logincode thanks |
#2
|
||||
|
||||
If you mean to the header template, Im not sure it can be done without editing, those information is found in the Forum Home templates, and the coding for that is found in index.php, I think header is run off global.php
|
#3
|
||||
|
||||
I just took a look in global.php
Code:
$header=''; $footer=''; // parse PHP include ################## eval(gettemplate('phpinclude',0,0)); // parse css, header & footer ################## eval("\$headinclude = \"".gettemplate('headinclude')."\";"); eval("\$header .= \"".gettemplate('header')."\";"); eval("\$footer .= \"".gettemplate('footer')."\";"); // parse other global templates eval("\$gobutton = \"".gettemplate('gobutton')."\";"); $timediff=''; if ($bbuserinfo['timezoneoffset']!=0) { if (abs($bbuserinfo['timezoneoffset'])==1) { $timediff=" $bbuserinfo[timezoneoffset] hour"; } else { $timediff=" $bbuserinfo[timezoneoffset] hours"; } } $timenow=vbdate($timeformat,time()); eval("\$timezone = \"".gettemplate('timezone')."\";"); Code:
// parse css, header & footer ################## |
#4
|
||||
|
||||
Add it to the phpinclude template. There is no need to edit any php files then.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|