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

Reply
 
Thread Tools
DDDSDL - Different Domain, Different Style, Different Language Details »»
DDDSDL - Different Domain, Different Style, Different Language
Version: 1.00, by PGP PGP is offline
Developer Last Online: Jan 2016 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 3.7.x Rating:
Released: 12-28-2008 Last Update: Never Installs: 16
Uses Plugins
Translations  
No support by the author.

This is a simple add-on which will force a specific styleid and languageid 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 and language 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.

This mod was made on base of DDDS - Different Domain Different Style.

Additionally was added:
  • Support of language selecting;
  • Support of default style or language for overall forum, so you can set only specific style or language for selected domain;
  • Checking of cache. So if user manually select different style or language - this mod will not overwrite his prefences.

product-dddsdl37_5-domain-version.xml supports one to five additional domains.

You can see a live demo on my forum:
http://www.mcrf.ru - no DDDSDL used.
http://www.mcrf.info - Turned on English Language, but using default or User selected Style
http://pda.mcrf.ru - Selected PDA style, but Language is using by default or user selected.
http://pda.mcrf.info - Selected PDA style and English language.

Show Your Support

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

Comments
  #2  
Old 12-29-2008, 12:05 PM
projectego's Avatar
projectego projectego is offline
 
Join Date: Feb 2006
Location: UK
Posts: 724
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice one!

[high]* projectego clicks install [/high]
Reply With Quote
  #3  
Old 12-30-2008, 04:47 AM
nickypoooo's Avatar
nickypoooo nickypoooo is offline
 
Join Date: Aug 2007
Location: San Diego
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very good idea! installed
Reply With Quote
  #4  
Old 01-01-2009, 09:12 AM
masterweb's Avatar
masterweb masterweb is offline
 
Join Date: Aug 2007
Location: Italy
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks dude, installed
Reply With Quote
  #5  
Old 01-03-2009, 06:33 AM
chooky chooky is offline
 
Join Date: Dec 2008
Location: USA - Ohio
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The textboxes in acp have no description for me...

(look at screenshot)

What I must fill in there ?
Reply With Quote
  #6  
Old 01-04-2009, 11:31 AM
chooky chooky is offline
 
Join Date: Dec 2008
Location: USA - Ohio
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

dont works for vb3.8 RC2
Reply With Quote
  #7  
Old 01-04-2009, 08:40 PM
PGP's Avatar
PGP PGP is offline
 
Join Date: Dec 2005
Location: Russia
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

chooky, i've uploaded screenshot of admincp. What troubles exactly under 3.8.x?
Reply With Quote
  #8  
Old 01-07-2009, 09:59 AM
chooky chooky is offline
 
Join Date: Dec 2008
Location: USA - Ohio
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it dont works, under 2.domain it use the default skin from 1.domain
Reply With Quote
  #9  
Old 01-07-2009, 05:59 PM
River_rush River_rush is offline
 
Join Date: Mar 2004
Location: Basingstoke
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have the same problem, maybe im just being stupid.
Reply With Quote
  #10  
Old 04-04-2009, 05:55 PM
TNCclubman's Avatar
TNCclubman TNCclubman is offline
 
Join Date: Sep 2008
Posts: 690
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this work with vB 3.8.2? Holy smokes this is awesome to be used in conjunction with url forwarding with masking...
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 06:48 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.09909 seconds
  • Memory Usage 2,288KB
  • Queries Executed 23 (?)
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)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
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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