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
  #102  
Old 02-28-2009, 12:48 AM
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Posts: 1,655
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<a href="http://www.fluidhosting.com/support/hsphere/user/html/14191.htm" target="_blank">http://www.fluidhosting.com/support/...html/14191.htm</a>
Reply With Quote
  #103  
Old 02-28-2009, 12:54 AM
vanistrians vanistrians is offline
 
Join Date: May 2008
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DiesellMinded View Post

I have all 4 urls hosted... I do not wish to create redirects. Just seperate template styles re-assigned to them. Thanks anyway Diesel.

Basically I have it like this...


domainname1.com = article site
domainname2.com = blog site

domain1 is the main site but domain2 is just an extenstion of the first url.

Lets just say that I was able to get a generic blog domain I want to use to co-brand domain1

I really am hoping DDDS is a good way to assign different template styles without too many issues.
Reply With Quote
  #104  
Old 02-28-2009, 12:56 AM
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Posts: 1,655
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Using redirects ensures that your sites dont compete against each other and eliminate each other via duplicate content .

theres also vbulletin licenses issues that may arise if this is accomplished by other means

i have 9 url's pointing to diesel bombers , only 1 using the mobile style

Normal
www.dieselbombers.com
www.dieselbombers.net
www.dieseldiscussion.com
www.dieselperformanceforum.com
www.galaxydiesel.com
www.ballsdeepdieselperformance.com
www.dieselvendor.com
www.bombeddiesel.com
www.dieselcommunity.com
Mobile
www.dieselbombers.mobi
Reply With Quote
  #105  
Old 02-28-2009, 01:09 AM
vanistrians vanistrians is offline
 
Join Date: May 2008
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Im not worried about license issues... I spent a long time saving up for all the vbulletin major addons ( wasn't easy either! ). Worst case scenerio I would end up buying another license if needed. Really its just one site... divided into two urls for its different features. Marketing reasons is why I want to do this. (the second url is a generic phrase I want to use as the site's blogger community)

No worries of duplicate content... url #1 would just have user generated articles. Url # 2 would just be a blogger community.
I am not making a forum section at all with vbulletin-oddly enough its just going to be articles and blogs. Both urls would pull data from the same mysql table.
Reply With Quote
  #106  
Old 02-28-2009, 01:14 AM
vanistrians vanistrians is offline
 
Join Date: May 2008
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Believe it or not I was actually able to get a generic blog domain name that I would like to use exclusively as the site's main blog portal... but I do not wish to rename the site. DDDS looks like this would be really good. Still waiting on Dartho's response.

Thanks for the help diesel !
Reply With Quote
  #107  
Old 02-28-2009, 01:16 AM
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Posts: 1,655
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can still do that with redirects and increase your SEO , How ever you want to do it Good Luck
Reply With Quote
  #108  
Old 02-28-2009, 01:19 AM
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Posts: 1,655
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by vanistrians View Post
I have all 4 urls hosted... I do not wish to create redirects. Just seperate template styles re-assigned to them. Thanks anyway Diesel.

Basically I have it like this...


domainname1.com = article site
domainname2.com = blog site

domain1 is the main site but domain2 is just an extenstion of the first url.

Lets just say that I was able to get a generic blog domain I want to use to co-brand domain1

I really am hoping DDDS is a good way to assign different template styles without too many issues.
Is there a Blogs link on your article site and when you go to it the articles url is still active and the blogs url is not ? if so then the 2 urls will compete on search engines as the same content is on 2 different urls
Reply With Quote
  #109  
Old 02-28-2009, 01:59 AM
vanistrians vanistrians is offline
 
Join Date: May 2008
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

btw... Dartho... if you ever get a chance... please lend some input on post # 97 if you have any time. Here is the link again that may help with my question. The panel only shows to enter urls... how do I assign different styles to them? Thanks !


Reply With Quote
  #110  
Old 02-28-2009, 02:27 AM
vanistrians vanistrians is offline
 
Join Date: May 2008
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes... are the articles url it will have links that will direct to the blog url and the blogs url will have links that will point back to the articles url. Right now i noticed a small issue of having to sign in twice but ill take care of that later on. Redirects are good but not a best situation for everything depending on the goal in hand. I would think that would be kind of funny of the blog url competes with the articles url. That would be like snickers candy competing with twix... both are owned by mars inc. Wouldn't hurt anything if it did.
Reply With Quote
  #111  
Old 02-28-2009, 02:52 AM
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Posts: 1,655
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes it would ,

Along comes a google bot

whats this ohhh a article ...

This is an article about .....

the google bot says ill index this sucker in to my database so when people search google this will come up ...

a week later a google bot is on your blog site

it says whats this ohhh a blog ..

This is an article about .....

What the hell this is the same thing

Then its either not going to index it , index it and remove the other one or just black list you

if the content is different thats fine ...thats how the internet works different content different url's BUT if you have the same content on

www.yoursite1.com/blogs
and
www.yoursite2.com/blog

even tho that's not the intent if the same content can be reached with 2 different url's then your screwing yourself
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 02:42 PM.


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.16237 seconds
  • Memory Usage 2,310KB
  • 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
  • (2)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