vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Forum Display Enhancements - DDDSDL - Different Domain, Different Style, Different Language (https://vborg.vbsupport.ru/showthread.php?t=200061)

PGP 12-28-2008 10:00 PM

DDDSDL - Different Domain, Different Style, Different Language
 
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.

projectego 12-29-2008 12:05 PM

Nice one!

[high]* projectego clicks install :)[/high]

nickypoooo 12-30-2008 04:47 AM

Very good idea! installed

masterweb 01-01-2009 09:12 AM

Thanks dude, installed:D

chooky 01-03-2009 06:33 AM

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

(look at screenshot)

What I must fill in there ?

chooky 01-04-2009 11:31 AM

dont works for vb3.8 RC2 :mad:

PGP 01-04-2009 08:40 PM

chooky, i've uploaded screenshot of admincp. What troubles exactly under 3.8.x?

chooky 01-07-2009 09:59 AM

it dont works, under 2.domain it use the default skin from 1.domain :(

River_rush 01-07-2009 05:59 PM

I have the same problem, maybe im just being stupid.

TNCclubman 04-04-2009 05:55 PM

Does this work with vB 3.8.2? Holy smokes this is awesome to be used in conjunction with url forwarding with masking...


All times are GMT. The time now is 01:52 AM.

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.01001 seconds
  • Memory Usage 1,728KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete