The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi,
In all of my scripts, I have the mysql connection, as well as the selection of the mysql database. However, the connection and the database is the same one defined in the vBulletin config. My plugins are all using global_start. How can I erase my db connection from my script to use the one vB is already using? Sample script I am using: PHP Code:
|
#2
|
||||
|
||||
![]()
if you are running the queries from within vbulletin then you have an open connection to the database already and can just run your query, if they are scripts outside of vbulletin then maybe try
PHP Code:
|
#3
|
|||
|
|||
![]()
Wow ,I feel like an idiot.
Removed my link and db select from the plugin and it's working like a charm. Thanks! |
#4
|
||||
|
||||
![]()
Its only ever easy if you know the answer
![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|