สรุปหัวข้อ
ข้อความโดย: kon accord99
« เมื่อ: 25, สิงหาคม 2012, 12:03:41 AM »
เพิ่ม โคด แล้ว ไม่ได้ครับ
ไม่มีไรเกิดขึ้นครับ
เหมือนกันครับ
ข้อความโดย: phoenix
« เมื่อ: 13, กุมภาพันธ์ 2011, 03:12:51 PM »
ขอบคุณครับ
ข้อความโดย: ปวดหัว
« เมื่อ: 17, มกราคม 2010, 04:25:44 PM »
เอาไปขายเอากำไร..คุณหมายความว่าไง *** เพิ่มเิติม สำหรับคนที่อยากให้หายไปเหมือนกันค่ะ แปลแล้วจาก ถ้า (ไม่$ติดต่อ['ผู้ใช้']['คือ_บุคคลทั่วไป'] และและ $ติดต่อ['ผู้ใช้']['ไม่ได้อ่าน_ข้อความ']) ประกาศ '
<b><a href="', $scripturl, '?action=pm">', $ติดต่อ['ผู้ใช้']['ไม่ได้อ่าน_ข้อความ'], ' ', $ติดต่อ['ผู้ใช้']['ไม่ได้อ่าน_ข้อความ'] == 1 ? $txt['ข้อความใหม่0'] : $txt['ข้อความใหม่1'] ,'</a></b>';
if (!$context['user']['is_guest'] && $context['user']['unread_messages']) echo '<b><a href="', $scripturl, '?action=pm">', $context['user']['unread_messages'], ' ', $context['user']['unread_messages'] == 1 ? $txt['newmessages0'] : $txt['newmessages1'] ,'</a></b>';
ข้อความโดย: บุคคลไปทั่ว
« เมื่อ: 17, มกราคม 2010, 04:20:27 PM »
ก็คุณแค่ลงทุนถามแล้วเอาไปขายเอากำไร.. จะไม่ลงทุนพิมพ์เอาเองหน่อยหรือ 
ข้อความโดย: ปวดหัว
« เมื่อ: 17, มกราคม 2010, 03:52:51 PM »
ถ้า (ไม่$ติดต่อ['ผู้ใช้']['คือ_บุคคลทั่วไป'] และและ $ติดต่อ['ผู้ใช้']['ไม่ได้อ่าน_ข้อความ']) ประกาศ '
<b><a href="', $scripturl, '?action=pm">', $ติดต่อ['ผู้ใช้']['ไม่ได้อ่าน_ข้อความ'], ' ', $ติดต่อ['ผู้ใช้']['ไม่ได้อ่าน_ข้อความ'] == 1 ? $txt['ข้อความใหม่0'] : $txt['ข้อความใหม่1'] ,'</a></b>';
วางโค๊ดแบบนี้คุณคงเหนื่อยมากเลยนะคะ  ขอบคุณมากมายค่ะ
ข้อความโดย: บุคคลไปทั่ว
« เมื่อ: 17, มกราคม 2010, 03:42:52 PM »
ถ้า (ไม่$ติดต่อ['ผู้ใช้']['คือ_บุคคลทั่วไป'] และและ $ติดต่อ['ผู้ใช้']['ไม่ได้อ่าน_ข้อความ']) ประกาศ '
<b><a href="', $scripturl, '?action=pm">', $ติดต่อ['ผู้ใช้']['ไม่ได้อ่าน_ข้อความ'], ' ', $ติดต่อ['ผู้ใช้']['ไม่ได้อ่าน_ข้อความ'] == 1 ? $txt['ข้อความใหม่0'] : $txt['ข้อความใหม่1'] ,'</a></b>';
ข้อความโดย: ปวดหัว
« เมื่อ: 15, มกราคม 2010, 05:04:50 PM »
ถ้าอ่านข้อความใหม่ ที่ระบบแจ้งแล้ว ให้คำว่า 0 ข้อความใหม่ หายไปด้วยได้ไหมคะ ไม่ต้องแสดงไว้
ข้อความโดย: iamsirid
« เมื่อ: 05, กันยายน 2009, 03:31:38 PM »
เพิ่ม โคด แล้ว ไม่ได้ครับ
ไม่มีไรเกิดขึ้นครับ
คุณใช้ธีมอื่นที่ไม่ใช่ธีม default รึเปล่า? ถ้าใช่คุณต้องไปแก้ที่ Theme/ชื่อธีมของคุณ/index.template.php
ข้อความโดย: mutakung
« เมื่อ: 03, กันยายน 2009, 04:48:43 AM »
ตรงเวลารวมเปลี่ยนสียังไงครับ
รวมเวลาที่อยู่ในระบบ: 9 นาที
ตรงนี้อะ
ข้อความโดย: LittleCat
« เมื่อ: 12, กันยายน 2008, 04:38:09 AM »
ไม่ขึ้นทั้ง Text ทั้งรูปเหรอ?
ข้อความโดย: Jz919
« เมื่อ: 12, กันยายน 2008, 02:39:08 AM »
เพิ่ม โคด แล้ว ไม่ได้ครับ
ไม่มีไรเกิดขึ้นครับ
ข้อความโดย: LittleCat
« เมื่อ: 31, พฤษภาคม 2008, 07:49:41 PM »
แล้วมันแสดงอาการยังไงละจ๊ะ ?
ข้อความโดย: bomb
« เมื่อ: 31, พฤษภาคม 2008, 07:34:02 PM »
มานไม่ขึ้น Error แต่อย่างใดคับ สงสัยผมคงพลาดบางอย่างไป ขอบคุณมากนะคับ ที่อุตส่าห์ช่วยซะขนาดนั้น
ซึ้งคับ ไม่ผิดหวังที่ได้เปนส่วนหนึ่งของจัสจริงๆคับ sT^Ts
ข้อความโดย: LittleCat
« เมื่อ: 25, พฤษภาคม 2008, 07:38:59 AM »
ขอยืมไปทดลองดูแล้ว เจอปัญหานี้ใช้ไหมจ๊ะ ?

เป็นเพราะเราตกตัว } ไปหนะสิ
 // If the user is logged in, display stuff like their name, new messages, etc. if ($context['user']['is_logged']) {
// ----------*** แสดงภาพ newpm.gif เมื่อมีข้อความใหม่เข้ามา ***---------- if (!$context['user']['is_guest'] && $context['user']['unread_messages']) echo ' <a href="' . $scripturl . '?action=pm"><img src="' . $settings['images_url'] . '/pm_message.gif" border="0" /></a>';
echo ' ', $txt['hello_member'], ' <b>', $context['user']['name'], '</b>', $context['allow_pm'] ? ', ' . $txt[152] . ' <a href="' . $scripturl . '?action=pm">' . $context['user']['messages'] . ' ' . ($context['user']['messages'] != 1 ? $txt[153] : $txt[471]) . '</a>' . $txt['newmessages4'] . ' ' . $context['user']['unread_messages'] . ' ' . ($context['user']['unread_messages'] == 1 ? $txt['newmessages0'] : $txt['newmessages1']) : '', '.'; // Show the total time logged in? if (!empty($context['user']['total_time_logged_in'])) { echo ' <br />', $txt['totalTimeLogged1'];
// If days is just zero, don't bother to show it. if ($context['user']['total_time_logged_in']['days'] > 0) echo $context['user']['total_time_logged_in']['days'] . $txt['totalTimeLogged2'];
// Same with hours - only show it if it's above zero. if ($context['user']['total_time_logged_in']['hours'] > 0) echo $context['user']['total_time_logged_in']['hours'] . $txt['totalTimeLogged3'];
// But, let's always show minutes - Time wasted here: 0 minutes ;). echo $context['user']['total_time_logged_in']['minutes'], $txt['totalTimeLogged4']; }
echo '<br /> <a href="', $scripturl, '?action=unread">', $txt['unread_since_visit'], '</a><br /> <a href="', $scripturl, '?action=unreadreplies">', $txt['show_unread_replies'], '</a><br /> '; <--- ตรงนี้ตกตัว } ไปจ้ะ
ถ้าโอเค มันจะแสดงผลอย่างนี้จ้ะ

ลองดูใหม่นะ ได้ไม่ได้ยังไงก็แวะมาบอกข่าวด้วยนะจ๊ะ 
ลืมบอกไปจ้ะ ที่เห็นว่ามี สวัสดี LittleCat อยู่สองอัน เพราะ อันนึง(บน) ของเก่าของพี่ อันล่าง คือของบอมบ์ ที่ย้ายลงมาไว้ข้างล่างอ่ะจ้ะ 
ข้อความโดย: bomb
« เมื่อ: 25, พฤษภาคม 2008, 12:22:41 AM »
งะไมเพิ่มไม่ได้อะคับผมต้ิองการเพิ้มส่วนนี้่อะคับ  // If the user is logged in, display stuff like their name, new messages, etc. if ($context['user']['is_logged']) {
// ----------*** แสดงภาพ newpm.gif เมื่อมีข้อความใหม่เข้ามา ***---------- if (!$context['user']['is_guest'] && $context['user']['unread_messages']) echo ' <a href="' . $scripturl . '?action=pm"><img src="' . $settings['images_url'] . '/pm_message.gif" border="0" /></a>';
echo ' ', $txt['hello_member'], ' <b>', $context['user']['name'], '</b>', $context['allow_pm'] ? ', ' . $txt[152] . ' <a href="' . $scripturl . '?action=pm">' . $context['user']['messages'] . ' ' . ($context['user']['messages'] != 1 ? $txt[153] : $txt[471]) . '</a>' . $txt['newmessages4'] . ' ' . $context['user']['unread_messages'] . ' ' . ($context['user']['unread_messages'] == 1 ? $txt['newmessages0'] : $txt['newmessages1']) : '', '.'; // Show the total time logged in? if (!empty($context['user']['total_time_logged_in'])) { echo ' <br />', $txt['totalTimeLogged1'];
// If days is just zero, don't bother to show it. if ($context['user']['total_time_logged_in']['days'] > 0) echo $context['user']['total_time_logged_in']['days'] . $txt['totalTimeLogged2'];
// Same with hours - only show it if it's above zero. if ($context['user']['total_time_logged_in']['hours'] > 0) echo $context['user']['total_time_logged_in']['hours'] . $txt['totalTimeLogged3'];
// But, let's always show minutes - Time wasted here: 0 minutes ;). echo $context['user']['total_time_logged_in']['minutes'], $txt['totalTimeLogged4']; }
echo '<br /> <a href="', $scripturl, '?action=unread">', $txt['unread_since_visit'], '</a><br /> <a href="', $scripturl, '?action=unreadreplies">', $txt['show_unread_replies'], '</a><br /> ';

|