Additional Info
Type
Package ID
paepae:thai-year
First Created
January 04, 2006, 02:24:52 PM
Last Updated
January 13, 2006, 01:48:17 PM

Thai Year v1.1a

Compatible With 1.1 RC1, 1.1 RC2
Latest version v1.1a
Downloads 30,797
Reviews 0
Rating 0/5
Subscribers 0
License (View License)
Author(s)
Quotev1.1a (maybe also v1.1) - Problem occurs when using Opera. Recommend to use v1.0 until next update.
> http://smf.rcweb.net/index.php?topic=281.msg976#msg976 (in Thai)
Invalid Bug: I did not found the reported problem with Opera 8.51 build 7712 (latest version).


This mod converts year from Common/Christian Era (CE/AD) into Buddhist Era (BE, aka Thai year) which is officially used in Thailand. Only do conversion just before displaying on-screen, do nothing with real data stored in database. Birthdate on profile modification page is also in BE.

== New message string ==
$txt['thai_year_profile_birthdate_year']
- 'ปี พ.ศ. (YYYY)', if $txt['lang_character_set'] is set to 'TIS-620', the standard Thai character set.
- 'B.E. Year (YYYY)', if otherwise.
- You can change this for you own by setting the variable $txt['thai_year_profile_birthdate_year'] somewhere. (e.g. language file)

== Revision History ==
2006-01-09 v1.1a
- Experimental enforced user to specify birthdate in BE.

2006-01-09 v1.1
- Added feature, user can now specify birthdate in both CE and BE.

2006-01-05 v1.0
- Original version.
- Converted generated date strings from CE into BE.


Quoteรุ่น 1.1a (และอาจรวมถึงรุ่น 1.1 ด้วย) - มีปัญหาในการใช้งานกับ Opera ขอให้ใช้รุ่น 1.0 ไปก่อนนะครับ
> http://smf.rcweb.net/index.php?topic=281.msg976#msg976
รายงานบั๊กไม่ถูกต้อง: จากการทดสอบด้วย Opera 8.51 build 7712 (รุ่นล่าสุด) แล้วไม่พบปัญหาตามที่มีการรายงานมาแต่อย่างใด


mod นี้จะเปลี่ยนปี ค.ศ. ให้กลายเป็นปี พ.ศ. ซึ่งจะเปลี่ยนเฉพาะการแสดงผล โดยไม่มีการแก้ไขข้อมูลจริงในฐานข้อมูลแต่อย่างใด และเปลี่ยนการระบุวันเกิดในหน้าแก้ไข profile ให้ใช้ปี พ.ศ.

== ข้อความใหม่ ==
$txt['thai_year_profile_birthdate_year']
- 'ปี พ.ศ. (YYYY)', หากกำหนดค่าตัวแปร $txt['lang_character_set'] เป็น 'TIS-620' ซึ่งเป็นค่ามาตรฐานการเข้ารหัสอักขระสำหรับภาษาไทย
- 'B.E. Year (YYYY)', หากเป็นค่าอื่น ๆ
- คุณสามารถกำหนดข้อความใหม่ได้ตามต้องการ โดยการเพิ่มการกำหนดค่าตัวแปร $txt['thai_year_profile_birthdate_year'] ไว้ที่ใดที่หนึ่ง (เช่น ในไฟล์ภาษา)

== ประวัติการปรับปรุง ==
9 มกราคม 2549 รุ่น 1.1a
- ทดลองเปลี่ยนการระบุวันเกิดในหน้า profile ให้ใช้ปี พ.ศ. เท่านั้น

9 มกราคม 2549 รุ่น 1.1
- เพิ่มวิธีการระบุวันเกิดให้ผู้ใช้งานสามารถใช้ได้ทั้งปี พ.ศ. และ ค.ศ.

5 มกราคม 2549 รุ่น 1.0
- เปลี่ยนวันที่ในข้อความของฟอรัมจากปี ค.ศ. เป็นปี พ.ศ.




Request for comment
The way you specify user's birthdate in v1.1 and v1.1a is different, which version do you prefer?
So I could make a decision to drop one or continue to build both versions for alternative preference.

ต้องการความเห็น
อยากทราบว่า ระหว่างวิธีการในรุ่น 1.1 และ 1.1a คุณจะเลือกใช้วิธีการระบุปีเกิดแบบไหน?
ถ้าหากมีคนใช้ทั้งสองแบบ ก็อาจจะทำทั้งสองแบบควบคู่กันไปเลย
Manual installation info
You have to register or login to be able to leave a review
There are currently no reviews on this customization
Advertisement: