The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
database linking and table linking
Ok I have this task that I want to do for 2 of my forums and maybe more in the future.
I would like to link tables from databases that are in seperate databases from each other. E.g: I have a database named vbulletin1 and in vbulletin1 there is a table called vb_users. Then I have a database named vbulletin2 and there is a table called vb_users. How would I link the 2 vb_users together so that on both forums the users are updated on both if you get me? Thanks |
#2
|
||||
|
||||
This has been asked several times and as it stands it's a pretty major undertaking There's no easy way to do it.
|
#3
|
|||
|
|||
The best method would be in phpmyadmin?
|
#4
|
||||
|
||||
You can't.
Having x installations share a common user base requires almost all vBulletin PHP files to be modified. |
#5
|
|||
|
|||
Just think of all the duplicate userid's for example, then you will understand this is not something that can easily be done
|
#6
|
||||
|
||||
It could be done via the database class if vBulletin used aliases on all table names it would be possible to do it internally (in theory) with a few reg exps in the db class
|
#7
|
||||
|
||||
Something interesting to think about:
PHP Code:
|
#8
|
|||
|
|||
Ahh that looks like somthing :nervous: Trouble is I am no expert on hacks :disappointed:
|
#9
|
||||
|
||||
I did it earlier, it works. But usergroup and forum permissions are big issues which require too much code editing to even think about
|
#10
|
|||
|
|||
You should tell me how so I can work on it more I might pay somone...but wouldn't mind a bit of knoledge on what youve done so far :nervous:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|