SMF Thailand.
SMF Development => SMF Coding Discussion => ข้อความที่เริ่มโดย: Nutty ที่ 19/12/05, 15:18:01
-
เวลาเอาเมาส์ ไปวางบนกระทู้ แล้วให้มันขึ้น ข้อความข้างในกระทู้อะคับ
มันมี Mod ตัวไหนไหมอะคับ
ผมใช้ SMF 1.1 RC1 นะคับ ขอบคุณมากคับ
:D
-
MessageIndex.template.php
<find>
', $topic['first_post']['link'];
</find>
<replace>
<span title="', $topic['first_post']['preview'], '">', $topic['first_post']['link'], '</span>';
</replace>
ลองดูว่าใช่อย่างที่ต้องการหรือเปล่า http://rcweb.net/forums-test/
-
ใช้แล้วคับ ขอบคุณมากๆคับ
:D :D
-
ขอมั่ง เยี่ยมไปเลย ;Dขอบคุณครับ
-
เค้าอุส่าบอก เราก้อแก้แล้วตามนั้นมันดันเออเร่อ ???
echo '
', $topic['is_sticky'] ? '' : '' , '<span id="msg_' . $topic['first_post']['id'] . '">', $topic['first_post']['link'], '</span>', $topic['is_sticky'] ? '' : '';
ของเรา1.1rc2
-
แก้ไขตามนี้นะคะ
เปิดไฟล์ MessageIndex.template.php แล้วหาโค้ดนี้
echo '
', $topic['is_sticky'] ? '<b>' : '' , '<span id="msg_' . $topic['first_post']['id'] . '">', $topic['first_post']['link'], '</span>', $topic['is_sticky'] ? '</b>' : '';
Replace เป็น
echo '
', $topic['is_sticky'] ? '<b>' : '' , '<span id="msg_' . $topic['first_post']['id'] . '" title="', $topic['first_post']['preview'], '">', $topic['first_post']['link'], '</span>', $topic['is_sticky'] ? '</b>' : '';
-
ได้แล้วครับ ;D
ขอบคุณครับTinaCatจัง
-
ขอบคุณครับ :)
-
ขอบคุณด้วยคนค่ะ เก่งกันจังเลย ขอบคุณนะค่ะ
-
ใช้ MOD ตัวนี้ก็ได้ครับ Spoiler Tag ดาวน์โหลดได้ที่
http://custom.simplemachines.org/mods/index.php?mod=195