Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
DDDS - Different Domain Different Style Details »
DDDS - Different Domain Different Style
Mod Version: 1.0.5, by dartho (Coder/Designer) dartho is offline
Developer Last Online: Apr 2020 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.8 Rating: (8 votes - 5.00 average) Installs: 84
Released: 06 Jul 2007 Last Update: 24 Aug 2007 Downloads: 493
Supported Uses Plugins  

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

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Forum Display Enhancements Different Domain, Different Style dartho vBulletin 3.7 Add-ons 229 26 Mar 2014 23:59

  #76  
Old 01 Mar 2008, 19:56
mariocaz mariocaz is offline
 
Join Date: Feb 2008
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
Reply With Quote
  #77  
Old 01 Mar 2008, 23:30
dartho dartho is offline
 
Join Date: Sep 2005
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

Gracias por registrarte en All-Reefs. Nos da gusto que hayas elegido formar parte de nuestra comunidad acuariofilica y esperamos que disfrutes de ella.
Thanks
Reply With Quote
  #78  
Old 02 Mar 2008, 06:06
mariocaz mariocaz is offline
 
Join Date: Feb 2008
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!

Last edited by mariocaz; 02 Mar 2008 at 06:25.
Reply With Quote
  #79  
Old 02 Mar 2008, 10:03
dartho dartho is offline
 
Join Date: Sep 2005
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.
Reply With Quote
  #80  
Old 02 Mar 2008, 17:49
mariocaz mariocaz is offline
 
Join Date: Feb 2008
Yes now is working awesome, thank you a lot for all your nice help!!

Mario
Reply With Quote
  #81  
Old 02 Mar 2008, 21:31
dartho dartho is offline
 
Join Date: Sep 2005
You're welcome! I have only done a few but check my profile for other mods http://www.vbulletin.org/forum/member.php?u=110638
Reply With Quote
  #82  
Old 04 Mar 2008, 04:28
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Uninstalled , Used .htaccess to rewrite different links to different styles
__________________
Is your forum registered? - https://www.forumregister.com
Reply With Quote
  #83  
Old 04 Mar 2008, 22:18
Merjawy's Avatar
Merjawy Merjawy is offline
 
Join Date: Sep 2002
Location: USA
I like this mod.. really do .. even though I have few domians parked but not all are used now.. but from time to time someone would come through them

I have 5 domains but all point to same and one site with one copy of vB installed and that was fine as I been told by vBulletin a while back.. as I only have one copy installed and not modified in any way to act as mutli site/forum
Reply With Quote
  #84  
Old 17 Mar 2008, 22:03
mister mister is offline
 
Join Date: Oct 2001
Originally Posted by dartho View Post
You can't hide parts of your forum as such, all you can do is assign a different style based on the URL visited.
Does anybody know if a hack like this exists? I'd like forum A B and C to show on domain1.com and forum A D and E to show on domain2.com .. (note 'A' is shared between both, but B C D and E aren't.
__________________
Brandon Martus

http://www.pubarso.com/
http://www.listen-to.com/
Reply With Quote
  #85  
Old 18 Mar 2008, 00:47
dartho dartho is offline
 
Join Date: Sep 2005
You could possibly use conditionals in your templates for each individual style in conjunction with this add-on to do this. If you have multiple domains which display different content, under vBulletins license agreement you would be required to have a vBulletin license for each domain...
Reply With Quote
  #86  
Old 08 Apr 2008, 10:05
newmasalaboard's Avatar
newmasalaboard newmasalaboard is offline
 
Join Date: Apr 2008
Real name: Satyadeo Thakur
Hello,

Great hack i must say!
But i have 2 questions :

1. I have 2 domains www.abc.com and www.xyz.com [suppose]. Forum is running on www.abc.com and i want www.xyz.com to be a second domain which should point to www.adc.com but with a different look.Now what server settings will i need for www.xyz.com ?

I have edited the nameserver of the new domain to the same server.Now simply i have to add the domain in DDDS settings or i have to add the domain to the server first. Basically what i want to ask is how will i redirect 2 domain to same forum.

2. Is there any option by which i can hide some sections of www.abc.com in www.xyz.com and viceversa.
Reply With Quote
  #87  
Old 08 Apr 2008, 13:52
dartho dartho is offline
 
Join Date: Sep 2005
@newmasalaboard - You need to have domain xyz.com point to the same webspace as abc.com - A or CNAME records I think? If using cpanel you would "park" xyz.com or add it as an addon domain and point it's home directory at the same home directory as abc.com.

If both domains are point ing to teh same webspace, they will both get the same content -ie. your forum. You can then confire this add-on to assign a different style based on teh domain visited.

See the post before yours for the answer to question 2.
Reply With Quote
  #88  
Old 15 Apr 2008, 04:09
funkmeister funkmeister is offline
 
Join Date: Oct 2004
dartho - a question for you. I apologize if they've been answered earlier, but after reading through this, I don't think so.

If I park a domain onto another domain, both domains non-forum content will be the same, as they will share the same document root, correct?

In my case I have 2 domains (one with a forum already installed) - I want to share only the forum content between the two (each with it's own unique style), but keep the rest of the individual domains document root's completely different/separate. So let's say it's all about "cars" - both forums are all about "cars", but one website's main content is all about German cars and the other website is about American cars.

So I need a shared forum, but the two domain's other content are completely separate (different document roots and with different content) - how would I set up each domain from the server side to accomplish this? I'm using WHM and cPanel. I assume the domain with the forum currently installed, kind of acts as the master domain in some fashion?

How do plug-in's act with this installed - are there any known one's that have issues, or is it completely transparent to them?

Thank you in advance.
Reply With Quote
  #89  
Old 21 May 2008, 01:13
mariocaz mariocaz is offline
 
Join Date: Feb 2008
Hi dear Dartho, is this working on 3.7 Gold ??
Reply With Quote
  #90  
Old 21 May 2008, 01:18
mariocaz mariocaz is offline
 
Join Date: Feb 2008
Yes I can confirm that is working in 3.7 gold very well, thnk you.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 02:25.

Layout Options | Width: Wide Color: