Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 20 Mar 2017, 15:50
ndoktoruser ndoktoruser is offline
 
Join Date: Aug 2015
Split existing vB5 installation into two subdomains

Hello!

I am trying to split one existing vBulletin installation into two subdomains. Is this even possible?


Lets say there are two different sudomains:

forum1.mywebpage.com
forum2.mywebpage.com

In my vBulletin installation I have various subforums:

Subforum A
Subforum B
Subforum C
Subforum D

I would like to have Subforums A and B to be only visible on forum1.mywebpage.com and Subforums C and D only visible on forum2.mywebpage.com


Solutions that come to my mind:

1) One vBulletin installation which checks $_SERVER['HTTP_HOST'] and delivers the correct subforums.

Probably there would be problems with search queries. It would be hard to separate most of the functionalities and it would be hard to find every single place VB does the treatment to fetch data from DB.

2) Two different vBulletin installations with a shared database.
The two installations would have their own database, just userdata would be stored in a shared database. Would this be possible?
Could vBulletin be configured in a way so that it will store userdata in a different database?

Right now I tend towards a shared database, but not sure if this is even possible.

Maybe you know more? Any help is greatly appreciated! Thank you very much.
Reply With Quote
  #2  
Old 20 Mar 2017, 17:38
Dave Dave is offline
 
Join Date: Jun 2010
Real name: Dave
I've tried to create this once for a vBulletin 4 forum based on http://www.vbulletin.org/forum/showthread.php?t=254197 and it was a pain to make.

I highly doubt it's a practical thing to make for vBulletin 5 since you'll have to know how vBulletin 5 works from the inside out. Besides that, it may not have all the appropriate hooks available to make such plugin for vBulletin 5.
__________________
https://technidev.com - security, development, exploits, vBulletin
dave[at]technidev[dot]com

Contact me for custom vBulletin 3/4 work & server/website management.
Reply With Quote
  #3  
Old 20 Mar 2017, 18:14
Mark.B Mark.B is offline
 
Join Date: Feb 2004
A quick note which I'm sure you're aware of but doing this will require two separate vBulletin licenses as well.
__________________
MARK.B (Member of the vB Support Team)
Reply With Quote
  #4  
Old 21 Mar 2017, 10:06
ndoktoruser ndoktoruser is offline
 
Join Date: Aug 2015
Hi!

Thank you for the reply.
I imagined it would be pretty complex, because I would need to know every single place in which vBulletin 5 access the DB.
Now I think that I would need to create tables "searchtowords_[a_z]" for each subdomain, right?
Not to tell about other possible problems that I am not aware of.

I am kind of giving up, but it surprises me that it isn't a request common enough to be added by default.

And yes, I imagined I will need a separate license.

Extra question: is it possible to, at least, share the authentication? I see that private messages would be a different problem, once they are stored in the table node, but it would be really good if users could have an account and be able to access both forums.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 02:45.

Layout Options | Width: Wide Color: