ติดต่อลงโฆษณา [email protected]

แสดงกระทู้

ส่วนนี้จะช่วยให้คุณสามารถดูกระทู้ทั้งหมดสมาชิกนี้ โปรดทราบว่าคุณสามารถเห็นเฉพาะกระทู้ในพื้นที่ที่คุณเข้าถึงในขณะนี้


ข้อความ - nart_sk119

หน้า: [1]
1
แปลกใจตรงที่ว่าทดลองในเครื่อง install ได้ปกติเลยครับแต่พอลอง install ในเว็บที่ใช้งานอยู่มันขึ้น Error ตามรูปอ่ะ แต่ Folder Packages ผม set permission เป็น 777 แล้วน่ะมีใครพอทราบบ้างครับลองเช็คที่ mod ดูก็สนับสนุนกับ SMF เวอร์ชั่นที่ใช้อยู่อ่ะครับหรือบางตัวไม่สนับสนุนผมลอง install ก็แสดงผลครับ (ในเครื่อง

2
ใส่แบบนี้ถูกต้องหรือเปล่าเพราะผมลองแล้วไม่ได้เหมือนเดิมอ่ะครับ

โค้ด: [เลือก]
echo '
<table border="0" class="ssi_table">';
foreach ($posts as $post)
echo '
<tr>
<td align="right" valign="top" nowrap="nowrap">
[', $post['board']['link'], ']
</td>
<td valign="top">
<a href="', $post['href'], '" target="_blank" >', $post['subject'], '</a>
', $txt[525], ' ', $post['poster']['link'], '
', $post['new'] ? '' : '<a href="' . $scripturl . '?topic=' . $post['topic'] . '.msg' . $post['new_from'] . ';topicseen#new"><img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/new.gif" alt="' . $txt[302] . '" border="0" /></a>', '
</td>
<td align="right" nowrap="nowrap">
', $post['time'], '
</td>
</tr>';
echo '
</table>';

3
ใช่เหรอเพ่ อันนี้มันเป็นทุกลิ้งนี่นา
เอาไปใส่ใน SSI.php
ในฟังก์ชัน ssi_recentTopics หรือ ssi_recentPosts (ใช้ find ในการค้นหา)
จากนี้
โค้ด: [เลือก]
<a href="', $post['href'], '">', $post['subject'], '</a>เปลี่ยนเป็น
โค้ด: [เลือก]
<a href="', $post['href'], ' target=_blank">', $post['subject'], '</a>

ลองไปใส่ดูแล้วไม่เห็นจะเปิด Page ใหม่ให้เลยครับ

หน้า: [1]