The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
2 sites one database
Just checking if this is possible to do....
Have 2 websites, that share the same database. You register on one, and you are registered on both, post on one, and you can view and post/reply on both. The only difference is cosmetic in nature, with a different default template, different title header/logo, perhaps different color scheme, and different right side bar content mod. But all forums the same. I reliaze it may require a second licence, but just want to know if it is even possible to do first. |
#2
|
|||
|
|||
That would be possible yes. But like you said, better first check with Jelsoft if the exact implementation you want would require 1 or 2 licenses.
|
#3
|
|||
|
|||
But the URL for the board is stored in the database, so if you go to the secondary site for the board, it will probably kick you over to the primary site and not do like you're wanting.
You might be able to put a conditional into the code to test for the requested domain name, and then change the base URL for the objects based on that domain. I'd say that there's a way to do it, but it might not be so simple. |
#4
|
|||
|
|||
One other possible idea....
What if it could sense where you entered from.... That could automaticly determine which style was used based on the referer url. Perhaps even consider using a cookie, so it will remember the last style used, so when the same person enters again from a different direction it will read the cookie and keep the same style. No cookie, then it will base the style on the entry url |
#5
|
||||
|
||||
i dont think this would agree with the Jelsoft TOS :-/
|
#6
|
|||
|
|||
This is a reply I got from Jake / vbulletin team on vbulletin.com
http://www.vbulletin.com/forum/showthread.php?t=178165 ----------------- Sharing the same userbase is much more difficult. For help with this I recommend you post on www.vbulletin.org. From your description of what you want to do, I recommend you look into using different styles on the same forum that are activated by a plugin or file hack by the different domains. ----------------- |
#7
|
|||
|
|||
Quote:
Accessing 1 board (users, posts, everything) from 2 different domains each showing their own style, is a lot simpler. |
#8
|
|||
|
|||
I want to use the same user base / forums / posts, only cosmetic it would be different. I guess style based on entry url would do it, perhaps a cookie system that could remember style of the previous entry, and in the absence of a cookie than base on entry url, but would have to be an automated function.
|
#9
|
|||
|
|||
Cookie would be of no use. You should base it on the domainname.
|
#10
|
|||
|
|||
domain name would be fine, just need a plug in to do it
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|