different style for each language

Looking for a MOD? Have a MOD request? Post here for help. (Note: This forum is community supported; phpBB does not have official MOD authors)
Scam Warning
TheFather
Registered User
Posts: 7
Joined: Thu Nov 18, 2010 10:35 am

different style for each language

Post by TheFather »

Hi,

i installed 2 language packs in phpbb3 forum,so is there any way that i can assign different default style for each language of them ?
User avatar
bonelifer
Community Team Member
Community Team Member
Posts: 3628
Joined: Wed Oct 27, 2004 11:35 pm
Name: William

Re: different style for each language

Post by bonelifer »

You'd need a mod for that. Therefore I'm moving this to the Mod Request forum.
William Jacoby - Community Team
Knowledge Base | phpBB Board Rules | Search Customisation Database
Please don't contact me via PM or email for phpBB support .

phpBB Modders is looking for developers! If you have phpBB experience and want to join us, click here!
TheFather
Registered User
Posts: 7
Joined: Thu Nov 18, 2010 10:35 am

Re: different style for each language

Post by TheFather »

nothing at all ?

i am still newbie t php design but what i need is connecting "make dependent function" function language_select($default = '') to function style_select($default = ''

or make them dependent within ucp-prefs file !
so anyone know how to make this "if" function ? ;)
TheFather
Registered User
Posts: 7
Joined: Thu Nov 18, 2010 10:35 am

Re: different style for each language

Post by TheFather »

i found useful example but on coppermine gallery package " it is php-based too " but can't figure out how to apply it in phpbb3

http://forum.coppermine-gallery.net/ind ... ic=24490.0

find

Code: Select all

$return.= '<select name="cpgLanguageSelect" class="listbox_lang" onchange="if (this.options[this.selectedIndex].value) window.location.href=\'' . $cpgChangeUrl . '\' + this.options[this.selectedIndex].value;">' . $lineBreak;
replace

Code: Select all

$return.= '<select name="cpgLanguageSelect" class="listbox_lang" onchange="if (this.options[this.selectedIndex].value) window.location.href=\'' . $cpgChangeUrl . '\' + this.options[this.selectedIndex].value + \'&theme=\' + this.options[this.selectedIndex].value;">' . $lineBreak;
i searched function.php for somehow similar function but i failed :cry:

so any help, this is very important problem for rtl - ltr multilingual phpbb forums ???!!!

Return to “[3.0.x] MOD Requests”