![]() |
Two URLs, Two Skins, One Board
I want to setup my forums so that when a user access it from the main url ( http://www.mainurl.com ) it'll display mainurl bulletin style. But, when they access it from secondary url ( http://www.secondaryurl.com ) it'll change the style to secondaryurl bulletin style. Is this possible? If so, can someone help me.
|
For vb 3.0.x
global.php find PHP Code:
PHP Code:
|
Thanks, I'll test it out.
|
/me subscribes to this thread for future reference..... might have a use for this.
|
Oddly enough, the script doesn't work, because when I visit the domain from:
http://www.domain.com -or- http://domain.com it'll only work on one, the one I configured in... PHP Code:
EDIT: Solution found. Solution: PHP Code:
|
Making 1 physical vB installation accessible from multiple domains, and make them act as seperate boards (style/content) based on the domain, would require you to have 2 vBulletin licenses.
What you are doing now would be against your license agreement if you only have 1 license. I suggest you first ask at bulletin.com if your plans are within the license agreement. |
Duely noted.
|
Quote:
|
Yes, same content, one database, two styles.
|
He isn't breaking the EULA. He is just having one url be redirected to the site. I have www.vbhackers.com, and www.vbhacks.us. both point to the same content, same database, same style.
He just wants to different styles to be forced when choosing one or the other domain. |
Quote:
|
Domain1.com has style #1 and shows forum# 1 & 2
Domain2.com is being redirected to domain1.com with style #2 and shows only forum # 1. Does that break the EULA? I'm actually asking seriously since I'm not sure. :) |
Quote:
Markro, I think you can easily achieve this forum "hiding" by having those registered from one domain become one usergroup and the other domain another usergroup. then just hide the forums from each corresponding usergroup. |
I'm thinking of doing something like this also. Have www.site1.com and www.site2.com both use the same database but retain the url. So this would require two license to achieve this correct? Cause I assume you would need to installs of VB.
|
Quote:
But it is no use discussing this here. Best would be to post this as a question at vb.com and ask for an official answer by Jelsoft (or do a search first). |
Quote:
|
Quote:
However, if you lock them, according to usergroup (as suggested before), then i think you're okay. Basically, regardless of style, all the content from both domains needs to look the same. They don't need to be accessible the same, I believe, but they need to look the same. |
I never figured out how to hide / show certian boards, and considering I don't wish to purchase another license, I think I'll just display all boards and just use the different style / domain idea.
Thanks guys for the indepth researchon the legal issues. |
Quote:
1) in your forum controls, click where it says somethine like "hide locked forums" 2) the you have to go to forum permissions and set the appropriate permissions for each usergroup. those that you lock out will then not be able to see the locked forums. |
ooOooo me keeps an eye on this thread for later..... will def be needing it :)
|
By the way, Google will hate you for this.
|
i would like to do this also
same content just different logo to be displayed....not even different style |
Yeah, I want to do this too...same content on both "sites", just branded with a different domain/skin.
Somebody should release a hack for this. Where would we put this in 3.6? Create a plugin under global_start? Quote:
|
in 3.5/3.6 put it in the style_fetch plugin, and also you need to set $userselect to true
|
How should I set the alternate domain up? Masked park on top of the forum home?
|
I implemented the code as suggested but it doesn't work. The plugin is active, $userselect is on.
I don't have to turn on register_globals to get $_SERVER to work do I? |
wow lol this forum has everything :O
|
All times are GMT. The time now is 09:35 PM. |
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:
|