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 |
#72
|
|||
|
|||
Hello.
Is it possible to use this mod for this? My main site is site1.com. I have two add-on domains, site2.com and site3.com. The VB forums are on site2.com. I would like to use your mod as intended with site3.com. If I set site3.com to a parked domain, it loads site1.com. (as that is the main account). Is there anyway I can set things so that it loads site2.com instead? Thanks. |
#73
|
|||
|
|||
Quote:
|
#74
|
|||
|
|||
Thank you, I got it figured out. Had to put it back as an add-on domain and then specify the home directory to be site2.com/forums.
|
#75
|
|||
|
|||
Ok my friend I parked my additional domains (foro-marino.com and acuariosdearrecife.com) in my Cpanel.
But the mod is not working yet, I rechecked the settings in the CP of this Mod and everything is fine. And again the error appears in the top of the site if the mod is enabled. Code:
Warning: preg_match() [function.preg-match]: Unknown modifier '/' in /global.php(237) : eval()'d code on line 10 Warning: preg_match() [function.preg-match]: Unknown modifier '/' in /global.php(237) : eval()'d code on line 19 And the other options to put domains are disabled and also don?t have URL sites there. Any suggestion ?? or maybe I am doing something wrong ? Help!! |
#76
|
|||
|
|||
@Mariocaz - That all sounds correct... would you mind setting me up an admin account so I can have a look. I'll need admin perms to administer settings and plugins.
I have registered on your site with the same username as here, you can send me a PM there with details, although my account needs approval first I think. |
#77
|
|||
|
|||
Ok let me find you in my forum and send you the PM with all the details, thank you dartho.
You need to check the verification mail after your registration |
#78
|
|||
|
|||
Mario,
I can not send you a PM back here as you have the option disabled. I also need Administrator access for "Can Administer Settings", "Can Administer Styles" and "Can Administer Plugins" before I can look at anything. You can enable these options from "Usergroups", "Administrator Permissions" Also, my account is still inactive for the forums - I think you need to approve it first. The email I got after registering said Quote:
|
#79
|
|||
|
|||
Perfect my friend you have all that options enabled and also I can receive PM from you ok.
And your account was automatic activate when you registered. Thank you again! |
#80
|
|||
|
|||
All fixed. The errors you were getting were caused by including "http://" with the domain name.
There is also no need to include "www" For example, "myforum.com" will match "myforum.com" "www.myforum.com" and "wap.myforum.org" - the leading http:// is just a protocol declaration and not a part pf the domain name. |
#81
|
|||
|
|||
Yes now is working awesome, thank you a lot for all your nice help!!
Mario |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|