The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
You need to add it AFTER the switch, not INSIDE.
|
#12
|
||||
|
||||
=falls over=
I have been putting the code outside of the switch statement.. The switch ends right after the default and bracket, right? PHP Code:
PHP Code:
Which is outside and after the switch statement.. So I'm a bit lost :disappointed: |
#13
|
||||
|
||||
Try this:
PHP Code:
|
#14
|
||||
|
||||
Still no go
Very strange indeed. |
#15
|
|||
|
|||
I too would like to know the answer to this. However, we already have a custom php file included in all of our pages to include the vB membership, instead of just including global.php. So users are logged in outside of the board, basically. I assume that this means I don't have to include global.php, correct?
And then just go ahead and post the code in online.php as stated above? Matthew Yette matt@antsmarching.org |
#16
|
||||
|
||||
I'm going to bump this, but just one last time. This is still an unsolved problem I can't figure out.
|
#17
|
||||
|
||||
Have you tried including global.php in the file?
PHP Code:
|
#18
|
||||
|
||||
Yup, everypage on my site is requiring global.php, mainly because I have integrated the entire site
The problem is not with locations within my forums directory, it's with those outside of the directory, such as www.mysite.com/multimedia.php Adding this in a regular fashion to online.php does not work, as discussed on the first page of this thread. |
#19
|
||||
|
||||
Strange, that method works fine for me.
|
#20
|
|||
|
|||
Hi,
NTLDR is right, it worked for me anyways. I managed to integrate files in a new directory, which was also outside the forum location. Just include the global in the external files and then add the locations as usual in the online.php |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|