วิธีตั้งค่าเริ่มต้นให้ PM มีเสียง
แก้ไขล่าสุดโดย Gotji เมื่อ 2010-6-1 11:27แก้ไขล่าสุดโดย Gotji เมื่อ 2010-6-1 11:26
ปกติเวลามีคนส่งข้อความส่วนตัว ค่าเริ่มต้นของบอร์ดจะตั้งให้ไม่มีเสียงเป็นค่ามาตรฐาน
มาลองดูวิธีทำให้ค่าเริ่มต้นเป็นแบบมีเสียงกันครับ
ใน Folder templates ที่เราใช้ ไฟล์ memcp_profile.htm
แก้จา้ก
<th>{lang pmsound}</th>
<td>
<label><input type="radio" value="0" name="pmsoundnew" $pscheck /> {lang none}</label>
<label><input type="radio" onclick="soundplayer(1)" value="1" name="pmsoundnew" $pscheck /> #1</label>
<label><input type="radio" onclick="soundplayer(2)" value="2" name="pmsoundnew" $pscheck /> #2</label>
<label><input type="radio" onclick="soundplayer(3)" value="3" name="pmsoundnew" $pscheck /> #3</label>
เป็น
<th>{lang pmsound}</th>
<td>
<label><input type="radio" onclick="soundplayer(1)" value="1" name="pmsoundnew" $pscheck /> #1</label>
<label><input type="radio" onclick="soundplayer(2)" value="2" name="pmsoundnew" $pscheck /> #2</label>
<label><input type="radio" onclick="soundplayer(3)" value="3" name="pmsoundnew" $pscheck /> #3</label>
<label><input type="radio" value="0" name="pmsoundnew" $pscheck /> {lang none}</label>(สลับปุ่ม ไม่มีเสียง ไปไว้หลังสุดน่ะครับ มันจะเลือก เสียง1 ให้อัตโนมัติ)
รูปแรกคือหน้า รูปแบบแสดงผลส่วนตัว แบบเดิมครับ
รูปนี้หลังแก้โค้ด
ก่อนทำอย่าลืม Backup ไฟล์เดิมนะครับ thxxxxxxxxxxxxxxxxxxxxxxxxxxxx แบบนี้เข้าท่าเดี๋ยวผมเริ่มที่ x1
หน้า:
[1]