![]() |
Different Domain, Different Style
This is a simple add-on which will force users to a specific style based on the url the user visited.
I wrote this with the idea of being able to create a subdomain of mobile.domainname.com and have visitirs to that URL forced to a mobile style whilst visitors to my normal site (domainname.com or www.domainname.com) would be rpesented with my regular style. Alternatively if you have 2 domain names which point to the same forum, you can have a customized style based on the domain name visited. You can do what you want, but it may be as simple as only having a different banner reflecting the host name visited, or if you have merged 2 forums - users could still get the same skin they always have had if they continue to visit the same URL. With the HOST matching be aware that if the URL specified in the add-on matches anywhere in the url visited, the add-on will be triggered. e.g. if URL specified in add-on = domainname.com, any subdomains of domainname.com will match this. Version Information 1.0.0 - Initial release ported from 3.6 version 1.0.1 - Fixed missing Setting Group Name product-ddds37.xml supports a single additional domain product-ddds37_5-domain-version.xml supports one to five additional domains To upgrade, simply import and allow overwrite. |
Hi Dartho,
So, I can choose any domain for the mobile style? If this is the case, is the force style hack needed? Regards Jason :) |
You can use either add-on or both side by side.
One example of using side by side would be if you wanted to not auto-detect and force iPhones to a mobile style, but still wanted to give them the option of browsing. You could add iPhones to the exclusion list in the auto-detect mobile device hack and configure this addon so that iPhone users could still browse via mobile.domainname.com if they found the default style too slow or bandwidth hungry. |
Ah, I see.
Dartho, I've just installed this product, but in the vBulletin options there is no title. Not a big problem, as I can still set the settings. Regards Jason :) |
Could you do a screen dump and show me - the code looks like it should be OK....
Ed: A 5 domain version has just been added |
Cool! This is perfect for some things I'd like to do with my forum. Thanks!
|
I also have an add-on that will assign a different vBAdvanced page based on the domain which I'll post up ... "Different Domain, Different vBAdvanced Page" should do for a name :)
|
Hi Dartho,
I want to use: www.tst2go.org... it doesn't seem to be owned by anyone -- would I have to purchase this -- or could I use it as an add-on domain? Regards Jason :) |
You would need to purchase the domain name, then depending on your hosting, you would need to park it on the same same webspace as your main domain
|
I see -- thanks!
Regards Jason :) |
All times are GMT. The time now is 07:38 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:
|