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.
I'm having problems. I had this installed and working, but never used it. Now I want to use it but no luck. I parked red.mydomain.com; when I go there I get the Index page though. Any ideas to fix it?
Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.8b DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_python/3.3.1 Python/2.4.3 Server at red.mydomain.com Port 80
Found a slight issue with the plugin as is. Originally I only used m.example.com as the domain and everything worked as expected. Today I added forum.example.com to DNS which was also directed to the mobile style (not what I wanted).
My normal index page for my site is /index.php which is an vBadvanced page. The page doesn't work well with the mobile theme so is it possible to use this them and point the users to /forums.php page instead of the index?
I don't think has been asked, so I'll toss it out. My Forum Name value is set to 'VWnavi.com', which is my main URL. I have a second domain that is 'VWnavi.mobi' and want to modify the Forum Name to use the .mobi TLD instead of .com...