The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Different Domain, Different Style Details »» | |||||||||||||||||||||||||
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
|
Comments |
#42
|
|||
|
|||
The only problem is now that if one tries to log into mobile.4winmobile.com you get the logging in message then returned to the portal (or forum index) but not shown as logged in - a cookie issue I presume....
Any solution to that issue guys? |
#43
|
|||
|
|||
it looks like you may have other rewrite rules in your htaccess file or the base is being set to www.4winmobile.com as all links seem to be relative to this ...
|
#44
|
|||
|
|||
Okay thinking that rewrite rules may be the issue, my .htaccess was as per:
But the problem is still there. I've checked through vbSEO to see if any rewrites are set in there, and none have been set. Plus with vbSEO as per the earlier post I've modified the functions_vbseo.php file as per here, to read: instread of: I did try changing the line: as mentioned in the thread but that made the entire forum vanish! So unless there is something I else I need to take out of the .htaccess file it looks like I can't find the cause of the rewrite issue. |
#45
|
|||
|
|||
Nothing in the htaccess looks - bad - I suggest editing and removing that stuff now.
At a guess there must be a plugin changing your local links to be absolute... |
#46
|
|||
|
|||
Yep edited
Well again looked through and there is nothing I can see in any of the plugins. I still think it is vbSEO somehow, but it looks like a dead project for me unfortunately. Or I'm wondering if a cookie reset will help using the tools as I have this sort of issue each time I recreate my test site? Would a list of the plugins / products help at all? |
#47
|
|||
|
|||
Okay problem 99% solved. The fix was in two parts:
1) in vbSEO config turn off 'Include Domain Name in URLs?' as an option. 2) In the vB config set the cookie domain to .4winmobile.com (it was blank previously) Now the only remaining issue which I'm not sure is fixable is that vBa CMPS saves within it the path to the forums so if one is at the portal and clicks on home you are sent to the default which is the www. domain instead of the mobile. domain. Any ideas on fixing that one guys? |
#48
|
|||
|
|||
And just fond the 'Different Domain, Different vBAdvanced Page' Mod so on the way
|
#49
|
|||
|
|||
I love this mod. But does it not allow people to change skins after this is installed? It seems people cannot change to a different skin. So they must use the skin set for the domain they came in through. Is this the case?
Is there anyway to make it where they come in through that domain and get the set skin? But then they can change it? |
#50
|
|||
|
|||
Quote:
|
#51
|
||||
|
||||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|