[BETA]Styles Demo (Download) & Language detection

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Get Involved
Locked
CRLin
Registered User
Posts: 19
Joined: Thu Aug 14, 2008 12:31 am
Location: Formosa - Taiwan
Contact:

[BETA]Styles Demo (Download) & Language detection

Post by CRLin »

MOD Description: Allow user to change their preferred style. Administrator can offer download style. Auto detect and change language(Easy to remove change language).
Download: http://web.dhjh.tcc.edu.tw/~gzqbyr/down ... emo201.zip
Please use 7-zip to unzip file.
Installation Time: 8 Minutes

Usage and Demo:
Demo1: http://web.dhjh.tcc.edu.tw/~gzqbyr/phpB ... /index.php
German browser
Image
France browser
Image
Demo2:
Remove Change Language - http://web.dhjh.tcc.edu.tw/~gzqbyr/phpB ... /index.php
Chinese(China) browser
Image

Method: Remove Change Language
Open stylesdemo/index.php
Find

Code: Select all

	echo '					<select name="mylang" onChange="jumpboxL();">', $language, '</select>';
Replace with

Code: Select all

	//echo '					<select name="mylang" onChange="jumpboxL();">', $language, '</select>';
Open stylesdemo/lang.js
Find

Code: Select all

lang_en = Array("Language:","Style:","Download style","Previous","Next","Delete cookies")
// Add your language after here
lang_zh_cmn_hans = Array("语言:","风格:","下载风格","上一个","下一个","删除cookie")
lang_zh_cmn_hant = Array("語系:","風格:","下載風格","上一個","下一個","刪除cookie")
Replace with

Code: Select all

lang_en = Array("Style:","Download style","Previous","Next","Delete cookies")
// Add your language after here
lang_zh_cmn_hans = Array("风格:","下载风格","上一个","下一个","删除cookie")
lang_zh_cmn_hant = Array("風格:","下載風格","上一個","下一個","刪除cookie")
I have added German, France, Japan language for lang.js, you can download from
http://web.dhjh.tcc.edu.tw/~gzqbyr/phpB ... mo/lang.js
http://web.dhjh.tcc.edu.tw/~gzqbyr/phpB ... mo/lang.js (Remove Change Language)
(If your browser browse above page only, please change Character Encoding [UTF-8])
Locked

Return to “[3.0.x] MODs in Development”