SMF Thailand.
SMF Support => General Thai Support => ข้อความที่เริ่มโดย: insurecyber ที่ 14/08/06, 07:05:46
-
ช่วยหน่อยครับถ้าต้องการติด banner ตามรูป
ต้องทำอย่างไรบ้างคับ
[ไฟล์แนบถูกลบโดยผู้ดำเนินการ]
-
คุณต้องสร้าง banner หรือ มีไฟล์ upload ไว้เรียบร้อยก่อนแล้วไปที่ หน้า admin ครับ
เข้าไป ที่ปรับแต่งบอร์ด > ตั้งค่าทรีมปัจุบัน
เลือก แก้ไข template index.php. (template หลัก)
ประมาณ บรรทัด 321 ลองหาคำว่า
// Show the "Powered by" and "Valid" logos, as well as the copyright. Remember, the copyright must be somewhere!
จากนั้นก็เอา banner ไปทำลิงก์ ไว้ข้างบนนี้น่ะครับ ตามตัวอย่าง ก็จะออกมาแบบที่ต้องการได้ครับ
function template_main_below()
{
global $context, $settings, $options, $scripturl, $txt;
echo '</td>
</tr></table>';
//google adsense
echo'
<center>
<iframe src="http://www.3dmaniaclub.com/forum/domain_name_hosting.php" width="728" height="90" scrolling="no" frameborder="0" leftmargin="0" topmargin="0" marginwidth="0" marginwidth="0" marginheight="0"></iframe>
</center>
';
// Show the "Powered by" and "Valid" logos, as well as the copyright. Remember, the copyright must be somewhere!
-
คุณต้องสร้าง banner หรือ มีไฟล์ upload ไว้เรียบร้อยก่อนแล้วไปที่ หน้า admin ครับ
เข้าไป ที่ปรับแต่งบอร์ด > ตั้งค่าทรีมปัจุบัน
เลือก แก้ไข template index.php. (template หลัก)
ประมาณ บรรทัด 321 ลองหาคำว่า
// Show the "Powered by" and "Valid" logos, as well as the copyright. Remember, the copyright must be somewhere!
จากนั้นก็เอา banner ไปทำลิงก์ ไว้ข้างบนนี้น่ะครับ ตามตัวอย่าง ก็จะออกมาแบบที่ต้องการได้ครับ
function template_main_below()
{
global $context, $settings, $options, $scripturl, $txt;
echo '</td>
</tr></table>';
//google adsense
echo'
<center>
<iframe src="http://www.3dmaniaclub.com/forum/domain_name_hosting.php" width="728" height="90" scrolling="no" frameborder="0" leftmargin="0" topmargin="0" marginwidth="0" marginwidth="0" marginheight="0"></iframe>
</center>
';
// Show the "Powered by" and "Valid" logos, as well as the copyright. Remember, the copyright must be somewhere!
ขอบคุณครับ เดี๋ยวลองดูครับ