![]() |
2 forums share 1 database
How can 2 installations of vbulletin at separate domains on the same server share the same database so that all users, posts, etc., exist at both vbulletin installations?
Using the same config.php file at both domains seems to work because all forums and threads are available at both domains, and I can even log in to both using the same username and password, but it breaks if you try to post or send a pm from one of them. And yes, I know 2 licenses are necessary. Please help! |
You need to use different prefixes for each forum in a database.
To configure domains go to: Admin CP -> vB Options -> vB Options -> Cookies and HTTP Header Options |
Hi, wouldn't having different prefixes for each forum make them function like separate forums when what I am trying to do is allow them to share all of the same users, forums, threads, posts, etc.?
|
I thin it's likely to do with your cookie prefix in config file. Try having same db info but different cookie prefix in each cfg file and see if that helps.
|
I will give that a try, thanks. Have you managed to get two vb installations at two different domains to share a database, Antivirus?
--------------- Added [DATE]1233613866[/DATE] at [TIME]1233613866[/TIME] --------------- EDIT: No good. I tried adding a cookie prefix but I still got a white page with no source code when I tried to create a new thread. I wonder why I can log in but not post or send a pm? |
Hmm, afraid I am all out of suggestions. I haven't tried, no.
|
You need to add the other domain onto the POST referrer whitelist (vBulletin Options).
|
Thank you, Dismounted. I have added the other domain to the POST referrer whitelist and am now able to send private messages from the "secondary" domain, but it still goes to a white screen when I try to create a thread or post a reply. Any ideas?
|
The URL set in vBulletin Options (Site URL Options) must be changed for each domain. This can be done through plugins.
|
I changed the URL by adding
PHP Code:
--------------- Added [DATE]1233795774[/DATE] at [TIME]1233795774[/TIME] --------------- Anyone? |
All times are GMT. The time now is 06:19 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:
|