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
  #82  
Old 03-02-2008, 08:31 PM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You're welcome! I have only done a few but check my profile for other mods https://vborg.vbsupport.ru/member.php?u=110638
Reply With Quote
  #83  
Old 03-04-2008, 03:28 AM
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Posts: 1,655
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Uninstalled , Used .htaccess to rewrite different links to different styles
Reply With Quote
  #84  
Old 03-04-2008, 09:18 PM
Merjawy's Avatar
Merjawy Merjawy is offline
 
Join Date: Sep 2002
Location: USA
Posts: 505
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
  #85  
Old 03-17-2008, 09:03 PM
mister mister is offline
 
Join Date: Oct 2001
Location: Detroit, MI
Posts: 92
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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.
Reply With Quote
  #86  
Old 03-17-2008, 11:47 PM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
  #87  
Old 04-08-2008, 09:05 AM
newmasalaboard's Avatar
newmasalaboard newmasalaboard is offline
 
Join Date: Apr 2008
Location: Raipur [C.G.], INDIA
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
  #88  
Old 04-08-2008, 12:52 PM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@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
  #89  
Old 04-15-2008, 03:09 AM
funkmeister funkmeister is offline
 
Join Date: Oct 2004
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
  #90  
Old 05-21-2008, 12:13 AM
mariocaz mariocaz is offline
 
Join Date: Feb 2008
Location: Mexico, D.F.
Posts: 424
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi dear Dartho, is this working on 3.7 Gold ??
Reply With Quote
  #91  
Old 05-21-2008, 12:18 AM
mariocaz mariocaz is offline
 
Join Date: Feb 2008
Location: Mexico, D.F.
Posts: 424
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes I can confirm that is working in 3.7 gold very well, thnk you.
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 09:35 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04449 seconds
  • Memory Usage 2,302KB
  • Queries Executed 27 (?)
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_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
  • (4)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_postinfo_query
  • fetch_postinfo
  • 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