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 |
#162
|
|||
|
|||
Good job - and thanks for posting back here...
|
#163
|
|||
|
|||
hi,
love the hack its awesome! i use the zoints seo plugin however and it breaks the use of the new domain in the fourm links. is there anyway to support zoints seo? if you could point me in the right direction i could help out... ie how/where do you rewrite the links to follow the new domain? i would think that to support zoints wold be easy, since its just the web root that needs to be addressed... thanks! |
#164
|
|||
|
|||
well, dont have a real fix but managed to get this working with zoints seo... basically you can easily disable zoints for the redirected domains by editing:
The Different Domain, Different Style -> Force URL to Style plugin as follows: PHP Code:
PHP Code:
patch not a fix |
#165
|
|||
|
|||
Is there a way to have multiple domains use one style and one specific domain use another?
|
#166
|
|||
|
|||
configure vb to use the one style which you want the 'multiple domains' to use, then install this to change the style of the other 'specific domain' to use. You can configure vb to not allow users to change styles - but you still have to have the styles checked as user selectable to that this add-on can use it.
|
#167
|
||||
|
||||
i moved my forum, everything BUT this plugin is working... DDDS seems to ignore the domain name, is there something i might have overlooked ? something i can do to test ?
tks.... |
#168
|
|||
|
|||
when you say moved your forum, you mean from one host to another? Did you configure your domains/subdomains in the same manner (ie. pointing to teh same webspace as your primary domain)?
|
#169
|
||||
|
||||
i moved the forums from one domain to another, remaining on the same host..
|
#170
|
|||
|
|||
and the secoind part of teh question - I need to know how you are using iut to know how to help.
If you have a new domain name, you'll need to recopnfigure DDDS. Are you using subdomains to trigger different styles? If so, have you created and parked those subdoains correctly (on teh same web space/root as your primary domain)? |
#171
|
||||
|
||||
Quote:
i do not use sub-domains for the mobile site. all i had/want DDDS to do is when it detects mobi.mydomain.net use style id 5.. tks. |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|