The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
vB integration with different databases
I see people are making hacks to display user info or recent posts on non-vB pages, which are very nice. But I believe they all assume that the non-vB php pages do not use database or use the same database as vB. My non-vB pages has mysql queries to a database which is different from vB database. Is that possible to integrate vb user check by switching between databases? I have no intention to move all tables into one database, otherwise there will be over 100 tables in one database.
|
#2
|
||||
|
||||
Just use the $DB_site-> class. What I'm about to do on my site is have my homepage database and forums database on the same user. That way I can call information from my homepage into the forums like so:
PHP Code:
|
#3
|
|||
|
|||
Thank you for the code!
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|