The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Multiple Forums using a single user table Details »» | |||||||||||||||||||||||||
This was originaly done in 3.0.9 by westpointer you can view that thread here
This Modification is for VB3.5.4 This is not supported but I will give as much help as I possible can. I have this working now on 2 sites The main site is http://forums.everything2stroke.com Slave sites are http://forums.everythingmx.com and http://forums.everythingduners.com After a successfull install of this modification your sites will share User, PM, and sesson data. This thread will detail how to have a single login for multiple forums. It makes the following assumptions:
Follow these steps 1.) Download your new copy of VB that contains a seperate license key 2.) Go to /includes/config.php.new rename the file to config.php and make necessary changes to the file. See VB Directions. Make sure this code has a different setting than the master site for table prefix. PHP Code:
4.) During the install, be sure NOT to empty the tables. If you have any doubt about what this means, stop NOW! If you empty the tables, you will lose all of your existing data from a prior install! 5.) Download all files and directories to your PC from the new install location. 6.) You will need a tool to do a mass Search and replace on all files. I use WildEdit. Here is what you will do using a tool like Wild Edit.
Now to modify some of the code. In /include/class_dm.php Search for: PHP Code:
PHP Code:
Go to /include/class_dm_pm.php Search for: PHP Code:
PHP Code:
Search for: PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
Go to /include/class_dm_user.php Search for: PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
That is all the code modification. The only other item I did is remove a couple cron jobs. Go into Scheduled tasks then to Scheduled Task Manager Delete the following CRON jobs from the Slave Site User Promotions* Birthdays Activation Reminder Email This will eliminate members getting emails from the primary and secondary sites *not sure if this will duplicate efforts between primary and secondary sites I have it running on both sites still waiting to see if it causes any issues. Please post here if you have any problems and questions I will try my best to keep up with everyone to help you through this. Once you get the code done the first time you can just do a mass search and replace on your license code and you can be up and running in minutes with a new site. This is my first major modification so I hope I posted this all correct, again Thanks to Westpointer for his original work without his post this would not have been possible. Thanks UPDATE: Please make this changes it will allow you to make changes to usergroups in the subscription section and when editing a user. admincp/adminfunctions.php Search for PHP Code:
PHP Code:
Show Your Support
|
Comments |
#122
|
|||
|
|||
hi
myself I tested it on 3.68 and it does work with some additional modifications. regards |
#123
|
|||
|
|||
Does anybody know if there's a 3.6 version of this mod?
|
#124
|
|||
|
|||
+1 I could really use this mod as well!!
|
#125
|
|||
|
|||
I have been using it with 3.60 and 3.07
In addition of what is posted there are a couple of additional small changes to do |
#126
|
|||
|
|||
I wish to use it, but since it is very robust and critical hack and not supported I am afraid to install it if there is no future for upgrades...
|
#127
|
|||
|
|||
It's a nice hack, but it's a real pain to maintain. I had a bunch of 3.07 mods that I wanted to keep, so is the reason why I installed it. However, every single hack that you install you must replace all TABLE_PREFIXES for a group of tables. Real pain!!
|
#128
|
||||
|
||||
bump.
Does anyone knows if this can be used on new vB 3.6.x versions, i.e. to work for two separate forums which are on the same VPS? |
#129
|
|||
|
|||
me too.. 2 seperate already existing forums...
|
#130
|
|||
|
|||
So has anyone tried this on 3.6.x version?
|
#131
|
||||
|
||||
Quote:
i use 3.6.8,isn`t compatible with this hack ? doesn`t anyone have the files already modified... ? if I put a normal functions.php it is working,i go to the member list and I see al the users...when i click on them I get i"Invalid User specified. If you followed a valid link, please notify the administrator" In admin CP the users seem to exist...but on the forum i cannot view the information... I`ve got it to work in 3.6.8 But i don`t know how to make them use the same post count table...any ideea? I am getting an error when i try to register a new username... Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|