PDA

View Full Version : Forum Display Enhancements - DDDSDL - Different Domain, Different Style, Different Language


PGP
12-28-2008, 10:00 PM
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 (https://vborg.vbsupport.ru/showthread.php?t=174381).

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!

* projectego clicks install :)

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...

Merjawy
09-03-2010, 10:35 AM
love to see it ported to 4