Konrasee’s Weblog

Just another WordPress.com weblog

Posts Tagged ‘Open source

MRBS-Meeting Room Booking System

leave a comment »

Meeting Room Booking System-MRBS, ระบบจองห้องประชุมที่เป็น Open source พัฒนาด้วย PHP และใช้ฐานข้อมูล MySQL เป็นโปรแกรมที่ติดได้ง่ายไม่ยากและมีขนาดเล็กมาก มีจำนวน Table แค่ 4 Table เท่านั้น ถ้า search ให้ใน google จะเห็นว่า มีคนไทยใช้กันเยอะเหมือนกัน

ถ้า requirement ไม่ได้ต้องการอะไรที่หวือหวามาก มีแค่ห้องประชุม แล้วต้องการให้

  • เพิ่ม ลบ แก้ไข ห้องประชุมได้ไม่จำกัด แต่เยอะๆ อาจจะดูยากหน่อย
  • User จองห้องประชุมได้
  • ปรับมุมมองได้ ดูแบบ รายวัน สัปดาห์ เดือน ปี ได้
  • การจองห้องประชุมไม่ต้องการระบบ approve

ถ้าไม่ต้องการอะไรมาก MRBS ช่วยได้ สำหรับวิธีติดตั้งนั้นดูได้จากไฟล์ README หรือดู link ที่รวบรวมมาให้ ซึ่งเขียนค่อนข้างละเอียดอยู่แล้ว

ในส่วนของภาษาไทยนั้น ยังไม่ support 100% คือ ตัวโปรแกรมไม่มีตัวเลือกภาษาไทย ถ้าพอจะมีความรู้เขียนโปรแกรมอยู่บ้าง เพิ่มภาษาไทยเข้าไปได้ จะมีไฟล์ที่จัดการกับภาษาอยู่ไม่กี่ไฟล์ ได้แก่ lang.en, language.php เพียงเปิดไฟล์ lang.en ขั้นมาแล้ว Save As เป็นไฟล์ lang.th แล้วไป config.inc.php มองหาส่วนที่จัดการภาษา

##########
# Language
##########

# Set this to 1 to use UTF-8 in all pages and in the database, otherwise
# text gets entered in the database in different encodings, dependent
# on the users’ language
$unicode_encoding = 1;

# Set this to a different language specifier to default to different
# language tokens. This must equate to a lang.* file in MRBS.
# e.g. use “fr” to use the translations in “lang.fr” as the default
# translations
$default_language_tokens = “th”;

ตั้งค่า config ตามตัวอย่างที่แสดงให้ดูด้านบน

$unicode_encoding = 1; //ให้สนับสนุน unicode หรือใช้ encoding เป็น utf-8
$default_language_tokens = “th”; //ให้เรียกใช้ไฟล์ lang.th

และแก้ไฟล์ lang.th ให้ตรงตามที่เราต้องการ, screenshot เมื่อแก้ไขภาษาไทยแล้วบางส่วน

MRBS screenshot

MRBS screenshot

ง่วงนอนแล้ว เขียนเอง อ่านแล้วงง ไว้คราวหน้าค่อยมาแก้ไข และเขียนรายละเอียดใหม่อีกทีให้ละเอียดเลย…

Written by konrasee

ตุลาคม 13, 2008 at 3:45 pm

บันทึกโพสใน Open source, PHP, Software

Tagged with , ,

Follow

Get every new post delivered to your Inbox.