The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi folks,
I'm going to be converting to vB for a network of sites. All of these sites will use their own design and marketing tactics. However, they all use the same database. Same users, same forums/subforums, same posts. Only difference is the templates and the content in their CMS. I'm currently working through this in a dev enviroment and its not as easy as I had hoped (we currently do this with UBB just fine). First thing, when setting up the second site I couldn't go through the install since the tables were already created. But I was able to login and view the posts since the DB was setup for site 1. Problem 1: site2 has the title of site1. This is (I assume) because the site name is actually stored in the database. Uh oh! This won't do at all, how do I get around that? Problem 2: Templates are stored in the database. Any changes to site2 will be reflected on site1 and viceaversa. How do I make this possible?? Thoughts?? I'm and experienced php & mySQL programmer, but I haven't sat down with the vB code yet to hack through it. Hopeful somebody can give me some pointers! Thanks in advance! |
#2
|
|||
|
|||
![]()
If i understand you correctly, then this can not be done easily and would even be against your license agreement, unless you would buy a seperate license for each site.
|
#3
|
|||
|
|||
![]()
We would indeed have seperate licenses for each site.
|
#4
|
|||
|
|||
![]()
Use a table prefix if both forums are to be in the same database. The reason board two acts like board one is the php files are using board one's tables.
|
#5
|
|||
|
|||
![]()
Ok, let me try to get things clear. From what i understand you want:
- 1 Board, ie. 1 database with users, forums and posts. - Different domains all leading to this same Board. Depending on the domain you want to present a different style and frontpage. Just making some educated guess now, because i never tried it but i think you could modify vB to do the following (would need some work): - Setup 1 Board - Add styles for each subdomain - Create an additional table linking domains to styleid's - Check the domain/style on each page load and set accordingly. - Create a table to hold the Titles for each domain and use that to override the default Sitename - The changes needed to a CMS would depends on which CMS you choose to use. You will probably need to add some caching to prevent performance going down. |
#6
|
|||
|
|||
![]() Quote:
Same content, different design/style. |
#7
|
|||
|
|||
![]()
PS There will be more caveats in this then i have now mentioned.
|
#8
|
|||
|
|||
![]() Quote:
I'm curious where in the vB code I would check for the domain and set the templates/styles to use. I find it quite interesting that this situation seems to be more difficult in vB, a more advanced BBS, then it was in UBB, a highly inferior product. Quote:
|
#9
|
|||
|
|||
![]()
Some things that would come into my mind are:
- With multiple boards licenses, you would normally use seperate forumhome directories, each with their own software (php-files) installed, containing their own licensenumber. Licensenumber is also used to hash the password set in the cookie for the domain. So would be a difficult decission which way to go: single software directory (you still should have bought the licenses) or multiple. This would also effect the way hacks are installed, the same for all? - Cookie handling in General - How to keep this manageable. - How to setup the CMS - Handling 1 user who is browsing more then 1 site at the same time. - ... I am sure all could be solved, but it might need some serious coding. |
#10
|
|||
|
|||
![]() Quote:
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|