Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
DDDS - Different Domain Different Style Details »»
DDDS - Different Domain Different Style
Version: 1.0.5, by dartho dartho is offline
Developer Last Online: Oct 2023 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 3.6.8 Rating:
Released: 07-05-2007 Last Update: 08-24-2007 Installs: 86
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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 07-07-2007, 08:46 AM
Luky Luky is offline
 
Join Date: Oct 2006
Location: Australia
Posts: 595
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

* installs
Reply With Quote
  #13  
Old 07-07-2007, 10:30 PM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone who has installed the 5 domain version should upgrade (product-5_ddds_36.xml)!

Just re-install and choose YES to overwrite. There were some missing brackets in the code (bad copying/pasting on my behalf) which could cause issues.
Reply With Quote
  #14  
Old 07-07-2007, 11:23 PM
Qwest Qwest is offline
 
Join Date: Jun 2004
Location: United States
Posts: 223
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is perfect if you have a network of forums that feed off the same DB. You can have multiple domains/forums.

Question though. isn't hat against VB license agreement?
Reply With Quote
  #15  
Old 07-07-2007, 11:42 PM
da420 da420 is offline
 
Join Date: Nov 2005
Posts: 1,232
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Qwest View Post
This is perfect if you have a network of forums that feed off the same DB. You can have multiple domains/forums.

Question though. isn't hat against VB license agreement?
If you only have one license - Yes, it would be against their licensing agreement. If you have enough licenses to match each site on your 'network' - No, it is not against the license agreement.
Reply With Quote
  #16  
Old 07-08-2007, 12:18 AM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

having multiple domains parked on a single vb license is against the agreement, but I don't think the same applies to sub-domains.

If you do have multiple domains which you wish to park on the same forum - I suggest you use a 301 redirect (via .htaccess) - this way you won;t be in violation of license agreements. You could redirect to parked sub-domains and assign a different style using this hack.
Reply With Quote
  #17  
Old 07-08-2007, 04:06 PM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can point sub domains and domains to a real site.

But you will require a license for each domain that appears as a separate forum - including sub domains.

If you detect with a plugin if a user is coming from WAP via a domain you can load the main site with a certain style. This is the same forum, and therefor is fine.

If you detect with a plugin where a user is coming from and give it a separate navbar/header/footer/content and therefor it appears as a separate instance aside from the real forum it is considered another instance and does require a license.

If anybody has any doubts they can simply start a support ticket on vBcom and ask staff to look into their situation to make sure no license agreement is broken.

This post is just a 'for your information'. Not dishing the plugin I like the plugin, good work.
Reply With Quote
  #18  
Old 07-08-2007, 05:19 PM
GrendelKhan{TSU's Avatar
GrendelKhan{TSU GrendelKhan{TSU is offline
 
Join Date: Jun 2005
Location: Boston | Seoul, S. Korea
Posts: 1,311
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

AWESOME!!
soooo gunna need this.

Quote:
Originally Posted by Floris View Post
You can point sub domains and domains to a real site.

But you will require a license for each domain that appears as a separate forum - including sub domains.

If you detect with a plugin if a user is coming from WAP via a domain you can load the main site with a certain style. This is the same forum, and therefor is fine.

If you detect with a plugin where a user is coming from and give it a separate navbar/header/footer/content and therefor it appears as a separate instance aside from the real forum it is considered another instance and does require a license.

If anybody has any doubts they can simply start a support ticket on vBcom and ask staff to look into their situation to make sure no license agreement is broken.

This post is just a 'for your information'. Not dishing the plugin I like the plugin, good work.
so basically..if all the content (forums) is same, we're good? otherwise, wouldn't they just be considered different skins?

ie: I'm thinking of swithing my site's domain, but 301 forwarding my "old" domain to it...but with a different skin (perhaps for a SUBforum or even subdomain). so everything is the same content wise except the skin and perhaps what the landing page is (ie... maybe go directly to a sub-forum).

is that ok under one license?
Reply With Quote
  #19  
Old 07-08-2007, 09:50 PM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the feedback Floris, but I think you may be reading too much into the license agreement..

Code:
vBulletin license grants you the right to run one 
instance (a single installation) of the Software on one 
web server and one web site for each license purchased. 
Each license may  power one instance of the Software
 on one domain. For each installed instance of the
 Software, a separate license is required. Modifications
 to the Software or database to circumvent the 
one-license-one-board rule are prohibited.
Based on the wording of the license agreement, sub-domains are fine - no matter what you do with the style. There's no mention of "appearing as a seperate instance". The basics appear to be: One License, One Instance/Installation, One Domain. A domain includes sub-domains, thats one of the many things that makes a domain a domain.

With a vanilla vBulletin install, you can already assign different theme's to different forums within your board. vbSEO maps forum names to subdirectory names - I'm suprised subdomains have not yet become part of vbSEO also, subdomains are quite an effective way of optomising your 'crawlability'

I'm going to check with vBulletin and point them to this thread to clarify.
Reply With Quote
  #20  
Old 07-08-2007, 11:19 PM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Confirmed with vBulletin.com - it is OK to point sub-domains at your main forum also
Reply With Quote
  #21  
Old 07-10-2007, 12:56 AM
iogames's Avatar
iogames iogames is offline
 
Join Date: Jan 2007
Location: Las Vegas, NV.
Posts: 1,433
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dartho View Post
Confirmed with vBulletin.com - it is OK to point sub-domains at your main forum also
Ok...
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 10:31 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05370 seconds
  • Memory Usage 2,311KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete