Version: 1.0.1, by dartho
Developer Last Online: Oct 2023
Category: Forum Display Enhancements -
Version: 3.7.0
Rating:
Released: 03-27-2008
Last Update: 05-18-2008
Installs: 189
Uses Plugins
Re-useable Code Translations
No support by the author.
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.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
no, it's not meant to redirect anywhere. You would need to have both domains pointing to teh same webspace - if you redirect to your primary domain name, then you are no longer using a different domain name and as such a different style is not applied.
no, it's not meant to redirect anywhere. You would need to have both domains pointing to teh same webspace - if you redirect to your primary domain name, then you are no longer using a different domain name and as such a different style is not applied.
your saying not re-direct, i get that... but i looked all over & even spoke with tech support and i am so far unable to find how to point both to the same space :]
again was on the phone with support (my hosting provider) and he had me make a A record which points to my full sites web space, when goingto mobi.everythingberry.net it still goes to the full blown site..
I am guessing that the account you log on with is an admin account? If so, it sounds like you don;t have the mobile style set as user selectable - an admin is able to view styles which users can not.
I am guessing that the account you log on with is an admin account? If so, it sounds like you don;t have the mobile style set as user selectable - an admin is able to view styles which users can not.
Bingo! All better now. Thanks for the assistance!:up: