The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#21
|
|||
|
|||
PHP can be opened/closed anywhere within the html document though, as long as you specify your statements within a <?php?> tag.
|
#22
|
|||
|
|||
Yes the person above me works within my company and his statement is true.
Please assist. Also, PHP Safe Mode is on I believe..if that has anything to do with it. |
#23
|
||||
|
||||
I'm sorry, but since you won't post the code, I'm not sure what else to suggest.
|
#24
|
||||
|
||||
Lynne is talking in the context of vBulletin and its templating engine. vBulletin does not allow PHP in templates.
|
#25
|
|||
|
|||
Dismounted, this page is not in vB...it's not in the forum directory at all, and isn't a vB template. It's just a page on the root directory of the site...that we want to protect so that only certain usergroups we specify can see it.
|
#26
|
||||
|
||||
OK, I'll repeat what I said before. Those lines of code should go just after you include global.php - before you start spitting out any html.
|
#27
|
||||
|
||||
Let me try (I'm another admin on the site)
We're using a CMS. We have a page that I wrote using PHP to pull out vB's ban info. When we try and include('./forum/global.php'), it breaks. The page stops executing and no output past the include() is printed. No error message is printed, as well. I *think* it's either a file perm issue or open_basedir. Neg on open_basedir. Chdir'ing to our forums dir and requiring from there produces the same results. I'm begining to lean toward a safe mode issue... |
#28
|
||||
|
||||
My guess is that vBulletin is conflicting with the CMS. There is probably some variables that are named the same, and therefore, it breaks.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|