The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
Whenever I edit global, the code never works. However, once I put it in phpinclude, it suddenly works. Why is this? And how can I actually insert codes into global.php instead of phpinclude since it's neater?
|
#2
|
|||
|
|||
![]()
How are you editing global.php? Depending on the hack phpinclude could be better, but in other situations it could be worse (or impossible).
|
#3
|
||||
|
||||
![]()
I was adding a "customized" ad banner hack. It works with phpinclude, I think I'll live even though it seems a little weird why sometimes it just won't work in global.php
I also have a question (sorry for going off topic) XD when I added PHP Code:
it doesn't work even though PHP Code:
Oo; I don't get what's wrong |
#4
|
|||
|
|||
![]()
phpinclude is eval'ed in global.php. That means that some variables might not be in its scope yet.
|
#5
|
||||
|
||||
![]()
ah i see
![]() ![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|