View Full Version : Running Two vBulletins
BatMNet
01-31-2008, 01:22 AM
Okay. I wan t to explain this properly. I need help with the following.
The Scenario:
I currently run 1 Copy of a vBulletin off http://www.domain.com/
Is there a way that I can install another fresh copy of vBulletin onto http://sub.domain.com/, however I wish to run a different forum with a complete new forumhome display (meaning not use all the forum layout ie categories and threads) but I wish to keep the members list and also their usergroups & postcounts ONLY.
In Short:
Currently running copy (A) from http://domain.com/index.php
Wish to run copy (B) from http://subdomain.domain.com/index.php Keeping the Members List, Usergroups & Post Counts ONLY.
The Questions
1. Is it possible? (if no skip question two)
2. How to do it.
3. Thanks for reading :D
Dismounted
01-31-2008, 04:01 AM
Yes, but the mentioned setup requires a second license.
BatMNet
01-31-2008, 06:35 AM
I have 4 ;) Can you possibly explain to me how it's done?
Dismounted
01-31-2008, 07:54 AM
Well, it's not very easy, in fact, not easy at all. This task will probably require knowledge of PHP and MySQL. You would have to have to have the installations in the same database, but with different table prefixes. To have the data appear in both sides, you would have to either hard code the table prefix in one installation in all the queries for user and user related data. That method would be a PITA to upgrade with. The second, more elegant way, would be to automatically synchronise the user (and user-related) data tables when they update. Then there may be random little bugs lurking around that may wreck the whole thing.
BatMNet
01-31-2008, 08:30 AM
Thankyou for this information. :D
Opserty
01-31-2008, 02:59 PM
Make you could edit the execute_query() function in class_core.php and run an str_replace() on it to search for TABLE_PREFIX .'user' and replace it with something else. Obviously there may be performance issues but it would be easier to maintain then editing all the files you need to. Just a suggestion, haven't tested it in practice though so. ;)
Dismounted
02-01-2008, 04:54 AM
There are more tables other than "user" for user data ;).
Reecey
02-01-2008, 06:58 AM
i wouldnt imagine this is very hard but i cant tell you know that when they make a post its gonna be very hard to make the post count change on the other forum. its possible to just move a cpy of the mysql table for the users and post count but they will need to be copied over weekly i suppose to keep it updated which means a boring thing to do weekly.
Dismounted
02-01-2008, 07:29 AM
You'll get a lot of problems with your method. For one, a member would need to wait at most a week for his registration to show up on the other forum, not good. What if there was already a user with that name on the other forum when the update happens? That's only some of the problems with that method. If you think doing this task is easy, please go ahead and rebut me.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.