Register Members List Search Today's Posts Mark Forums Read

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

This modification is in the archives.
vB Version: 3.7.0 Rating: (13 votes - 4.77 average) Installs: 187
Released: 28 Mar 2008 Last Update: 19 May 2008 Downloads: 1161
Not Supported Uses Plugins Re-usable Code Translations  

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.

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 DDDS - Different Domain Different Style dartho vBulletin 3.6 Add-ons 116 25 Nov 2009 09:20

  #61  
Old 19 Aug 2008, 22:31
islandcommuter's Avatar
islandcommuter islandcommuter is offline
 
Join Date: Jun 2008
Only working for users who are logged in

This is a really valuable mod. Thanks for posting it!

In my tests, it only seems to work for users who are logged in. Could it be modified to work for users NOT logged in? Thanks!

Phil
Reply With Quote
  #62  
Old 19 Aug 2008, 22:54
dartho dartho is offline
 
Join Date: Sep 2005
This sounds like the styles are not user selectable, or that you don't allow users to change styles. As an admin, you can use any installed style whether userselectable or not, but normal users can't.
Reply With Quote
  #63  
Old 20 Aug 2008, 06:27
islandcommuter's Avatar
islandcommuter islandcommuter is offline
 
Join Date: Jun 2008
Ah, thank you! I had the skins I needed excluded from user selection in the style settings! :0
Reply With Quote
  #64  
Old 29 Oct 2008, 10:06
Tulsa Tulsa is offline
 
Join Date: Jul 2005
I have downloaded and installed this Modification

Great Idea By the way..

I have parked the domain

mobile.mydomain.com to mydomain.com via WHM

but there is one thing i cant seem to figure out.

My forum is located at

mydomain.com/forums

with the parked mobile domain it goes to the mydomain.com

how do i get the mobile.mydomain.com to forward properly to the mydomain.com/forums/

thanks
Reply With Quote
  #65  
Old 29 Oct 2008, 13:13
dartho dartho is offline
 
Join Date: Sep 2005
not trying to be clever, but the same way you get mydomain.com to forward to mydomain.com/forums I guess?
Reply With Quote
  #66  
Old 29 Oct 2008, 13:35
Tulsa Tulsa is offline
 
Join Date: Jul 2005
ok mydomain.com has a page associated to it. created by vbadvanced cmps
and they are unable to get to the mobile skin forums from there.

Im sure that im doing something wrong the only thing is finding out what
Reply With Quote
  #67  
Old 29 Oct 2008, 23:17
dartho dartho is offline
 
Join Date: Sep 2005
check here: http://www.vbulletin.org/forum/showt...71#post1535871 and http://www.vbulletin.org/forum/showt...08#post1655608 here for a couple ways to work with vbadvanced and mobile styles
Reply With Quote
  #68  
Old 31 Oct 2008, 11:04
shridevimoogi shridevimoogi is offline
 
Join Date: Aug 2008
hi dartho


Could you please tell me how to configure different styles for different domains using this add on


your guidance will be of great help to me

Thanks
Shridevi
Reply With Quote
  #69  
Old 31 Oct 2008, 13:21
dartho dartho is offline
 
Join Date: Sep 2005
Point your additional domains to the same websapce as your primary one, install multiple styles, install this add-on and configure which domain uses which style
Reply With Quote
  #70  
Old 03 Nov 2008, 04:07
shridevimoogi shridevimoogi is offline
 
Join Date: Aug 2008
Hi,

Could any one please tell me how to use this mod,
I have installed it in my vb instance
where and how to configure it to have different styles for diff domain

I am a newbie,your detailed steps would of great help

Thanks
Reply With Quote
  #71  
Old 03 Nov 2008, 09:48
dartho dartho is offline
 
Join Date: Sep 2005
You configure the options for this addon in your AdminCP. Then expand "vBulletin Options" on teh left, the click the "vBulletin Options" sub-menu on teh left, then on teh right pane double click on "Different Domain, Different Style" and set the options accordingly
Reply With Quote
  #72  
Old 04 Nov 2008, 05:32
shridevimoogi shridevimoogi is offline
 
Join Date: Aug 2008
I apologize to bother you
I am not exactly setting how to configure
I am attaching a screen shot
after entering vbulletin options I am not finding different domain different styles
Attached Images
File Type: jpg Screenshot.jpg (150.6 KB, 25 views)
Reply With Quote
  #73  
Old 04 Nov 2008, 06:34
dartho dartho is offline
 
Join Date: Sep 2005
It will likely be right at the end of the list....
Reply With Quote
  #74  
Old 06 Nov 2008, 05:13
fredang85 fredang85 is offline
 
Join Date: Sep 2007
How do you get different styles to show different forums?

e.g. Site 1.com has Category A and B
Site 2.com has Category C and D

Thanks in advanced.
Reply With Quote
  #75  
Old 06 Nov 2008, 10:02
dartho dartho is offline
 
Join Date: Sep 2005
I'm not the license police, but to do that you would require multiple licenses of vbulletin.

This addon can not do that, but it could probably be done with template conditionals
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 13:36.

Layout Options | Width: Wide Color: