The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
kourou How to include php files on... 02-18-2007, 12:30 PM
firstrebel <a... 02-18-2007, 03:48 PM
kourou Yes i've already read that... 02-18-2007, 03:53 PM
firstrebel The path to file.php must be... 02-18-2007, 07:58 PM
kourou The problem is that the file... 02-19-2007, 12:13 AM
firstrebel Are you saying you want to... 02-19-2007, 12:42 PM
kourou Yes, that's right. 02-19-2007, 12:43 PM
|
#1
|
|||
|
|||
How to include php files on vBulletin?
Hello there.
I recently installed vBulletin and i would like to integrate it with the rest of my site. What I'd like to do is to include the header of my site to any page of vBulletin (showpowst, showthread, index, personal messages etc.). I guess I'm going to use the include() function of php. Could you please tell which file to edit and where to add the include() function? Thank you. So... I'm trying to include a .php file (adding a new pluggin to global_start) but there are some issues with the relative paths. vBulletin is installed on public_html/modules/vbulletin/ and the file i want to include is on public_html/ If i try to include it using include("file.php") then it looks for it at public_html/modules/vbulletin/ (that's wrong). If I try to include it using include("../../file.php") it's get included some way but the links are not correct (for example instead for a link to point at index.php, it's pointing at public_html/modules/vbulletin/index.php). Could you pleeeeease help me? Thanks. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|