The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Question about products and directories
Since this is more of a general product question, rather than a specific one, I figured I should ask it here.
If I take a file for a product and change the code to add my forums directory, will I be able to use it outside of the vbulletin directory? example: Quote:
|
#2
|
||||
|
||||
No, global.php uses relative includes, and the files that global.php includes will include other files relatively, and so on. It will cause errors when you call global.php like that. Instead, use the chdir() function.
PHP Code:
|
#3
|
|||
|
|||
That got the page to display and everything, but the css of the style isn't showing up at all. What else do I need to do to get the style showing up properly?
|
#4
|
||||
|
||||
Add a base element to the start of the headinclude template.
HTML Code:
<base href="http://www.yoursite.com/forum/" />
|
#5
|
|||
|
|||
Awesome, seems to work now. Thanks a lot for the help, Dismounted.
--------------- Added [DATE]1223765785[/DATE] at [TIME]1223765785[/TIME] --------------- I have another problem. When adding the base href tag, it seems that some members have to keep loging in multiple time or get logged out. Any idea what the solution to that is? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|