The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
database change for mods.
Is there a way to change a mod from using the default vbulletin database to one of my choosing? If so, where would I begin. And when in doing that, will that be against the rules as far as the mod creator would be concerned.
I do understand that this is a very broad question and for that I do apologize. It's for a ban list and I don't want to use the default database for this. Any help would be greatly appreciated. |
#2
|
||||
|
||||
Do you actually mean a completely different database, or just another table within the same database ?
|
#3
|
|||
|
|||
A completely different database, on the same server of course. We run a gaming league, and want the gaming league bans to be in this mod, not the bans from the forums.
|
#4
|
||||
|
||||
Then you will need to change the sql in the mod to read the data from the correct table in the other database, and also select the other database first - you can use $vbulletin->db->select_db('database') for that.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|