The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
add a location outside vb to wol !
im looking to add every page in another folder not in forums directory to the whos online page of vb.. is this possle ?
|
#2
|
||||
|
||||
You'll need to require global.php in each of the files and then edit includes/functions_online.php too add the files names and location names.
|
#3
|
||||
|
||||
Quote:
|
#4
|
||||
|
||||
how do i include ot functions online ? shall i put the full path ie /home/corsacrazy/directoryfile.php/
or another way? |
#5
|
||||
|
||||
PHP Code:
|
#6
|
||||
|
||||
can it be done so that each page does not have to be renamed .php?
and so that each location is identified by page name? |
#7
|
||||
|
||||
Note sure I follow. The page can have any extension as long as its parsed as PHP (for example I use .ts3 and .core on my sites). All the pages are detemined by the script name.
|
#8
|
||||
|
||||
Hi NTLDR,
I can see from your last post that it doesnt have to be a .php file extension which is good. How is the page name identified? And how do we ensure that the code is being parsed properly, as i only intend on using it with html code. Thanks in advance. |
#9
|
|||
|
|||
Quote:
Code:
<php> chdir('/path/to/forums'); require_once('./global.php'); require_once('./includes/functions_online.php') </php> |
#10
|
|||
|
|||
OK got this up and running but one question when a guest is viewing the page it says viewing forum home with a error message and the location is /
But when a member is on hte apge it works fine some of the time. Other times I get the same as above? Any suggestions? This is what i have in the php <?php require_once('./global.php'); ?> it is in the same directory as the forums so I don;t need the chdir('/path/to/forums'); thanks |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|