![]() |
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 |
This has been asked several times and as it stands it's a pretty major undertaking :) There's no easy way to do it.
|
The best method would be in phpmyadmin?
|
You can't.
Having x installations share a common user base requires almost all vBulletin PHP files to be modified. |
Just think of all the duplicate userid's for example, then you will understand this is not something that can easily be done
|
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 :)
|
Something interesting to think about:
PHP Code:
|
Ahh that looks like somthing :nervous: Trouble is I am no expert on hacks :disappointed:
|
I did it earlier, it works. But usergroup and forum permissions are big issues which require too much code editing to even think about :)
|
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:
|
All times are GMT. The time now is 09:24 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|