24 พฤษภาคม 2555, 12:04:33
ยินดีต้อนรับผู้เยี่ยมชม
  • noavata
  • ยินดีต้อนรับคุณ, ผู้เยี่ยมชม กรุณา เข้าสู่ระบบ หรือ ลงทะเบียน
    เข้าสู่ระบบด้วยชื่อผู้ใช้ รหัสผ่าน และระยะเวลาในเซสชั่น
Page Rank

ทำเว็บไซต์ | แต่งบอร์ด | ออกแบบ | SMF | Joomla | Drupal | WordPress | JQuery | CMS | ECommerce | Tel. +668-08577477

ส่งหัวข้อนี้พิมพ์ หน้า: 1 
icon message ผู้เขียน หัวข้อ: MemberSince เพิ่มวันที่สมัครสมาชิกในหน้าอ่านกระทู้  (อ่าน 906 ครั้ง)
0 สมาชิก และ 2 ผู้เยี่ยมชม กำลังดูหัวข้อนี้
*
*


!Personal

Germany   ชาย ผู้เริ่มต้นกระทู้นี้ ออฟไลน์544566157 DexMore DexMore DexMore
เว็บไซต์
  • ชื่อ: Add Join Date : to each members reply in topic view
  • ผู้เขียน: tinoest
  • นำเสนอโดย: DexMoreGroup
  • ประเภท: Profile
  • รองรับ: SMF 1.1.x, 2.0.x
  • ปรับปรุงล่าสุด: 1 กรกฏาคม 2554
  • ต้นฉบับ: Add Join Date : to each members reply in topic view

รายละเอียด
      เพิ่มวันที่สมัครสมาชิกในหน้าอ่านกระทู้ ดูตัวอย่าง

ตัวอย่าง


สำหรับ SMF 1.1.x

แก้ไขไฟล์:

file $themedir/Settings.template.php

ค้นหา -->>
โค๊ด: [Select]
               array(
                        'id' => 'hide_post_group',
                        'label' => $txt['hide_post_group'],
                        'description' => $txt['hide_post_group_desc'],
                ),

เพิ่มไว้หลัง -->>
โค๊ด: [Select]
array(
                        'id' => 'display_join_date',
                        'label' => $txt['display_join_date'],
                        'description' => $txt['display_join_date_desc'],
                ),


file $themedir/Display.template.php

ค้นหา -->>
โค๊ด: [Select]
// Show avatars, images, etc.?

เพิ่มไว้ก่อน -->>
โค๊ด: [Select]
// Show the date they registered.
if (!empty($settings['display_join_date']))
                        echo '
                                                                ', $txt['date_registered'], ': ' , strftime(' %b, %Y', $message['member']['registered_timestamp']), '<br />
                                                                <br />';


file $languagedir/Modifications.thai-utf8.php

เพิ่ม -->>
ขออภัย! ส่วนนี้สงวนไว้เฉพาะสมาชิกเท่านั้น กรุณา เข้าสู่ระบบ หรือ ลงทะเบียน

ลิงค์หัวข้อ: http://dexmore.com/topic/7466
Thx by 
Windows XP    Firefox 5.0   see ip บันทึกการเข้า
ดูรายการสิ่งของสำหรับบอกรักใครสักคน ก็ส่งไปให้เขาเลย!  สำหรับติดหมุดกระทู้ของคุณ!  เพิ่มเวลาที่อยู่ในระบบอีก 12 ชั่วโมง  น้องหมี..เอาไว้กอดนอนแทนกิ๊ก  สำหรับบอกรักใครสักคน ก็ส่งไปให้เขาเลย!  
*
*


!Personal

Germany   ชาย ผู้เริ่มต้นกระทู้นี้ ออฟไลน์544566157 DexMore DexMore DexMore
เว็บไซต์
icon message
general ความคิดเห็นที่ 1 เมื่อ: 2 กรกฎาคม 2554, 18:00:51
สำหรับ SMF 2.0.x

แก้ไขไฟล์:

file $sourcedir/Load.php

ค้นหา -->>
โค๊ด: [Select]
'link' => '<a href="' . $scripturl . '?action=profile;u=' . $profile['id_member'] . '" title="' . $txt['profile_of'] . ' ' . $profile['real_name'] . '">' . $profile['real_name'] . '</a>',

แก้เป็น -->>
โค๊ด: [Select]
'link' => '<a href="' . $scripturl . '?action=profile;u=' . $profile['id_member'] . '" title="' . $txt['profile_of'] . ' ' . (empty($modSettings['display_join_date']) ? $profile['real_name'] : $profile['member_name']) . '">' . $profile['real_name'] . '</a>',

ค้นหา -->>
โค๊ด: [Select]
'blurb' => $profile['personal_text'],

เพิ่มไว้ก่อน -->>
โค๊ด: [Select]
'joined' => empty($profile['date_registered']) ? '' : timeformat($profile['date_registered'], '%b %Y'),

file $sourcedir/ManageSettings.php

ค้นหา -->>
โค๊ด: [Select]
// Mod authors, add any settings UNDER this line. Include a comma at the end of the line and don't remove this statement!!

เพิ่มไว้หลัง -->>
โค๊ด: [Select]
array('check', 'display_join_date'),

file $themedir/Display.template.php

ค้นหา -->>
โค๊ด: [Select]
// Show avatars, images, etc.?

เพิ่มไว้ก่อน -->>
โค๊ด: [Select]
// Show users join date?
if (!empty($modSettings['display_join_date']) && !empty($message['member']['joined']))
echo '
<li>', $txt['date_registered'], ': ', $message['member']['joined'], '</li>';

file $languagedir/Modifications.thai-utf8.php

เพิ่ม -->>
ขออภัย! ส่วนนี้สงวนไว้เฉพาะสมาชิกเท่านั้น กรุณา เข้าสู่ระบบ หรือ ลงทะเบียน

การตั้งค่า:


ลิงค์หัวข้อ: http://dexmore.com/topic/7466
Windows XP    Firefox 5.0   see ip บันทึกการเข้า
ดูรายการสิ่งของสำหรับบอกรักใครสักคน ก็ส่งไปให้เขาเลย!  สำหรับติดหมุดกระทู้ของคุณ!  เพิ่มเวลาที่อยู่ในระบบอีก 12 ชั่วโมง  น้องหมี..เอาไว้กอดนอนแทนกิ๊ก  สำหรับบอกรักใครสักคน ก็ส่งไปให้เขาเลย!  
*
*


!Personal

Germany   ชาย ผู้เริ่มต้นกระทู้นี้ ออฟไลน์544566157 DexMore DexMore DexMore
เว็บไซต์
icon message
general ความคิดเห็นที่ 2 เมื่อ: 6 ตุลาคม 2554, 22:33:07
ก็ใส่ %d เข้าไปซิครับ

-->> http://www.phpstreet.com/tutorials/php/php_date.php

ลิงค์หัวข้อ: http://dexmore.com/topic/7466
Thx by 
Windows XP    Firefox 7.0.1   see ip บันทึกการเข้า
ดูรายการสิ่งของสำหรับบอกรักใครสักคน ก็ส่งไปให้เขาเลย!  สำหรับติดหมุดกระทู้ของคุณ!  เพิ่มเวลาที่อยู่ในระบบอีก 12 ชั่วโมง  น้องหมี..เอาไว้กอดนอนแทนกิ๊ก  สำหรับบอกรักใครสักคน ก็ส่งไปให้เขาเลย!  
*
*


!Personal

Germany   ชาย ผู้เริ่มต้นกระทู้นี้ ออฟไลน์544566157 DexMore DexMore DexMore
เว็บไซต์
icon message
general ความคิดเห็นที่ 3 เมื่อ: 6 ตุลาคม 2554, 22:59:21
-->> นิยมไทย ใช้ปีไทย ไม่กินกล้วยแขก โดย: UnclEo บอร์ด: SMF Modifications

-->> ทำ SMF 2.0 ให้แสดงเวลาเป็นวินาทีและแสดงปีเป็น 25xx โดย: Crazy™ บอร์ด: SMF Modifications

-->> ทำทุกที่ให้เป็นปี พ.ศ. 25xx [ปฏิทิน+สถิติ] โดย: Crazy™ บอร์ด: SMF Modifications

ให้มันอยู่ด้านล่างก็ใส่โค้ดขึ้นบรรทัดใหม่ครับ

1.1 ', $txt['date_registered'], '<br />

2.0 เพิ่ม li
<li>', $txt['date_registered'], '</i><li>', $message['member']['joined'], '</li>';

ลิงค์หัวข้อ: http://dexmore.com/topic/7466
Thx by 
Windows XP    Firefox 7.0.1   see ip บันทึกการเข้า
ดูรายการสิ่งของสำหรับบอกรักใครสักคน ก็ส่งไปให้เขาเลย!  สำหรับติดหมุดกระทู้ของคุณ!  เพิ่มเวลาที่อยู่ในระบบอีก 12 ชั่วโมง  น้องหมี..เอาไว้กอดนอนแทนกิ๊ก  สำหรับบอกรักใครสักคน ก็ส่งไปให้เขาเลย!  
*
*


!Personal

Germany   ชาย ผู้เริ่มต้นกระทู้นี้ ออฟไลน์544566157 DexMore DexMore DexMore
เว็บไซต์
icon message
general ความคิดเห็นที่ 4 เมื่อ: 7 ตุลาคม 2554, 12:15:31
ขอดูไฟล์ที่ปรับแต่ง พร้อมสถานที่จริงครับ

ลิงค์หัวข้อ: http://dexmore.com/topic/7466
Windows XP    Firefox 7.0.1   see ip บันทึกการเข้า
ดูรายการสิ่งของสำหรับบอกรักใครสักคน ก็ส่งไปให้เขาเลย!  สำหรับติดหมุดกระทู้ของคุณ!  เพิ่มเวลาที่อยู่ในระบบอีก 12 ชั่วโมง  น้องหมี..เอาไว้กอดนอนแทนกิ๊ก  สำหรับบอกรักใครสักคน ก็ส่งไปให้เขาเลย!  
*
*


!Personal

Germany   ชาย ผู้เริ่มต้นกระทู้นี้ ออฟไลน์544566157 DexMore DexMore DexMore
เว็บไซต์
icon message
general ความคิดเห็นที่ 5 เมื่อ: 7 ตุลาคม 2554, 12:49:01
file Display.template.php

เพิ่ม -->>
โค๊ด: [Select]
// Show how many posts they have made.
echo '
', $txt[26], ': ', $message['member']['posts'], '<br />
<br />';

ก่อน -->>
โค๊ด: [Select]
// Show avatars, images, etc.?

ลิงค์หัวข้อ: http://dexmore.com/topic/7466
Thx by 
Windows XP    Firefox 7.0.1   see ip บันทึกการเข้า
ดูรายการสิ่งของสำหรับบอกรักใครสักคน ก็ส่งไปให้เขาเลย!  สำหรับติดหมุดกระทู้ของคุณ!  เพิ่มเวลาที่อยู่ในระบบอีก 12 ชั่วโมง  น้องหมี..เอาไว้กอดนอนแทนกิ๊ก  สำหรับบอกรักใครสักคน ก็ส่งไปให้เขาเลย!  
ส่งหัวข้อนี้พิมพ์ หน้า: 1 
กระโดดไป:  

Creative Commons License

SMF Thai Translation Powered by SMF © 2006–2012, Simple Machines LLC

WordPress Google เข้าเยี่ยมชมหน้านี้ล่าสุดเมื่อ : 16 พฤษภาคม 2555, 20:49:06

jQuery Plugin Copyright © 2551-2555 Themes Design & Hosting by DexMoreGroup

Sitemap | Thai Simple Machines Forum support SMF Thai

Web Begining | SMF Modifications | SMF Thai Translation Web Begining

Drupal | WordPress | CMS Joomla | jQuery Plugin | Web Graphics CMS Joomla