The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
DDDS - Different Domain Different Style Details »» | ||||||||||||||||||||
This is a simple add-on which will force a specific styleid based on the host url the user visited.
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. Other uses may be having wap.domainname.com point to a different style than www.domainname.com. 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 History 1.0.0: product_ddds_36.xml - Initial release, Supports a single additional domain 1.0.1: product-5_ddds_36.xml - Supports up to 5 additional domains 1.0.2: product-5_ddds_36.xml - fixed typo in code - update required! 1.0.4: product-5_ddds_36.xml - fixed bug, added comment code [B]update required! 1.0.5: product-5_ddds_36.xml - removed comment code - caused issues on some systems Show Your Support
|
Comments |
#62
|
|||
|
|||
guys,
how can i do this in cPanel? |
#63
|
|||
|
|||
G'day - you don't "redirect" the subdomain, you need to park the domain on the same document root as you're primary domain.
|
#64
|
|||
|
|||
Thanks for this. As soon as I figure out how to park a domain in plesk, I think I'll be all set.
|
#65
|
||||
|
||||
Does this not work with VBSEO ?
|
#66
|
|||
|
|||
It may have an issue, more so having a subdomain or alternative domain name using the same webspace may. I think vbSEO sets the base to be your default domain and as such all relative URL's will be relative to the "base" set.
Ideally you would be able to stop this happening in you alternative style (if it's a style forced by this plugin which isn;t usually selectable by users it would make no difference to your SEO as it would never get crawled anyway) I've not used vbseo, but I'm sure a vbseo plugin which sets teh base directory could be modified so it can work with this add-on. |
#67
|
|||
|
|||
I am having the same trouble that some users that I read.
In the top of my site appears these errors: Warning: preg_match() [function.preg-match]: Unknown modifier '/' in /global.php(237) : eval()'d code on line 9 Warning: preg_match() [function.preg-match]: Unknown modifier '/' in /global.php(237) : eval()'d code on line 18 Also the change of templates is not working for each of my templates, I have 3 templates installed and also 3 domains to my site, the orginal and 2 more redirecting to my site, not sub-domains, "real domains" (example: abc.com, bdc.com and efg.com), I want that appears one different template to each of my domains, but the mod is not working for me and also appears that error when I enabled it. The url addresses are correct in the Mod Control Panel and also is enabled for each domain, the toher ones that I didn´t put URL are disabled, so this is not causing the error in the top of my site. Is this Mod working with real domains or only is for subdomains ?? Help me please. |
#68
|
|||
|
|||
this mod works for all domain names.
The mod allows for 5 domain names to be assigned unique styles. I am guessing by those errors that you have options enabled, but no domain name filled in? As for you additional domain names, a redirection will not work as all this does is send the browser from domain1.com to domain2.com. You need to have the additional domains DNS pointing to the same IP as your primary domain. In cPanel you could do this by 'parking' the additional domains on the same document root as your primary domain. |
#69
|
|||
|
|||
Mmmm ok I will check that thing about my domains with my host provider.
And for the errror I don´t have the other options enabled that don´t domain name filled in. Mario |
#70
|
|||
|
|||
If you continue getting the error, you could PM me an admin account with the ability to edit plugins I could have a look.
|
#71
|
|||
|
|||
Okidoki, let me try the change of my domains and then I hope that errors dissappears.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|