The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
My login hack uses the following code, so i can access the global $vbulletin:
PHP Code:
Quote:
Any ideas? Thx |
|
#2
|
||||
|
||||
|
Wrong forum I think.
|
|
#3
|
||||
|
||||
|
Make sure that the PHP script you've embedded this does
- Use the same Database as vBulletin OR - Use another mySQL Username/Password OR - Create a new Link |
|
#4
|
|||
|
|||
|
How would that make any difference?
It worked fine on the old version so any db connections shoudn't be affected. |
|
#5
|
||||
|
||||
|
Well, don't know.
But fact is: It does change the Database on the same Link vBulletin uses. |
|
#6
|
|||
|
|||
|
It looks like code furthur down in your hack modifies the db object to use the "main" database - you cant do this without causing errors like the above.
|
|
#7
|
|||
|
|||
|
Why does is spit the error at the bottom of the page if the request for global is at the start of execution?
|
|
#8
|
||||
|
||||
|
Shutdown Queries (Session Update, etc.)
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|