ThaiSEOBoard.com

< กดยุบ (ห้องยกเลิกการใช้งาน) => Basic Information (ยกเลิกใช้) => ข้อความที่เริ่มโดย: kob191 ที่ 20 ตุลาคม 2008, 00:59:15



หัวข้อ: ขอคำแนะนำใส่ adsense ใน forum เวบผมใช้ SMF 2.0 Beta 1
เริ่มหัวข้อโดย: kob191 ที่ 20 ตุลาคม 2008, 00:59:15
ขอคำแนะนำใส่ adsense ใน forum เวบผมใช้ SMF 2.0 Beta 1 ต้องแก้ตรงส่วนไหนครับTheam CSS ผมอยากใส่ adsnesen ไว้ด้านบนของเวบ  ข้างใต้

หน้าแรก    หน้าแรก(nocafe)  ช่วยเหลือ  ค้นหา  ข้อมูลส่วนตัว  ข้อความส่วนตัว  กระทู้ที่เก็บไว้  สมาชิก  ออกจากระบบ 

----------------------------------------------------------------------------------------------------
ต้องการใส่ตรงนี้ใครรู้ช่วยทีครับ

ขอบคุณครับ


หัวข้อ: Re: ขอคำแนะนำใส่ adsense ใน forum เวบผมใช้ SMF 2.0 Beta 1
เริ่มหัวข้อโดย: kob191 ที่ 24 ตุลาคม 2008, 16:08:28
ใครรู้ช่วยที


หัวข้อ: Re: ขอคำแนะนำใส่ adsense ใน forum เวบผมใช้ SMF 2.0 Beta 1
เริ่มหัวข้อโดย: au8ust ที่ 24 ตุลาคม 2008, 16:15:42
มีกระทู้นึงเขียนวิธีไว้น่ะครับ ไปหาอ่านดู

ป.ล. ตอนนี้เขาออก Beta 4 ครับ -_-a


หัวข้อ: Re: ขอคำแนะนำใส่ adsense ใน forum เวบผมใช้ SMF 2.0 Beta 1
เริ่มหัวข้อโดย: kob191 ที่ 24 ตุลาคม 2008, 16:19:55
พอจะมี link เปล่าครับ ใครเจอบอกทีครับ

มีกระทู้นึงเขียนวิธีไว้น่ะครับ ไปหาอ่านดู

ป.ล. ตอนนี้เขาออก Beta 4 ครับ -_-a


หัวข้อ: Re: ขอคำแนะนำใส่ adsense ใน forum เวบผมใช้ SMF 2.0 Beta 1
เริ่มหัวข้อโดย: OnlineZa03 ที่ 29 ตุลาคม 2008, 22:16:35
ใช้ ไอตัวนี้อ่ะคับ

เป็น Mod เพิ่ม วิธีใช้หาเอาเองนะคับ ผมลิมไปแว้ว

โค๊ด:
http://rapidshare.com/files/158696442/globalheadersfooters.zip.html


หัวข้อ: Re: ขอคำแนะนำใส่ adsense ใน forum เวบผมใช้ SMF 2.0 Beta 1
เริ่มหัวข้อโดย: ark_inn ที่ 29 ตุลาคม 2008, 22:29:36
ถ้าจะใส่เอง เปิด ไฟล์ธีม แล้วหา

โค๊ด:
<div id="bodyarea" style="padding: 1ex 0px 2ex 0px;">

วางไปข้างบนนี้อ่ะครับ (อยู่ใต้ header ข้างบนตามที่บอกพอดี) แต่ไม่รู้ว่ามันจะเละมั้ยนะครับ


หัวข้อ: Re: ขอคำแนะนำใส่ adsense ใน forum เวบผมใช้ SMF 2.0 Beta 1
เริ่มหัวข้อโดย: pizad_sura ที่ 29 ตุลาคม 2008, 22:46:58
ไม่ค่อยจะกล้าใช้ beta อยู่ แล้วก็ไม่มีภาษาไทยด้วยง่ะ เหอๆๆๆ  :D


หัวข้อ: Re: ขอคำแนะนำใส่ adsense ใน forum เวบผมใช้ SMF 2.0 Beta 1
เริ่มหัวข้อโดย: au8ust ที่ 30 ตุลาคม 2008, 09:57:48
@pizad_sura - ภาษาไทยมีแล้วครับ..
*http://www.simplemachines.org/download/index.php?thanks;filename=smf_2-0-beta4p_thai.zip
*http://www.simplemachines.org/download/index.php?thanks;filename=smf_2-0-beta4p_thai-utf8.zip


หัวข้อ: Re: ขอคำแนะนำใส่ adsense ใน forum เวบผมใช้ SMF 2.0 Beta 1
เริ่มหัวข้อโดย: kob191 ที่ 30 ตุลาคม 2008, 10:08:13
beta มันวาง ads ไม่ได้หรือครับ


หัวข้อ: Re: ขอคำแนะนำใส่ adsense ใน forum เวบผมใช้ SMF 2.0 Beta 1
เริ่มหัวข้อโดย: msms34 ที่ 30 ตุลาคม 2008, 10:27:09
หา index.tamplate.php ของธีมนั้น แล้ว ของทำดูนะครับ


หัวข้อ: Re: ขอคำแนะนำใส่ adsense ใน forum เวบผมใช้ SMF 2.0 Beta 1
เริ่มหัวข้อโดย: biglove69 ที่ 07 พฤศจิกายน 2008, 13:06:12
 :D :D
เดี๋ยวจะลองทำดูบ้าง
ขอบคุณครับ
 8) 8)


หัวข้อ: Re: ขอคำแนะนำใส่ adsense ใน forum เวบผมใช้ SMF 2.0 Beta 1
เริ่มหัวข้อโดย: nongmai ที่ 09 กุมภาพันธ์ 2009, 20:26:35
ถ้าจะใส่เอง เปิด ไฟล์ธีม แล้วหา

โค๊ด:
<div id="bodyarea" style="padding: 1ex 0px 2ex 0px;">

วางไปข้างบนนี้อ่ะครับ (อยู่ใต้ header ข้างบนตามที่บอกพอดี) แต่ไม่รู้ว่ามันจะเละมั้ยนะครับ


ขอบคุณมากครับ ลองกับเวอร์ชั่น 1.1.8 ใช้ได้ครับ  ::)


หัวข้อ: Re: ขอคำแนะนำใส่ adsense ใน forum เวบผมใช้ SMF 2.0 Beta 1
เริ่มหัวข้อโดย: iCafe ที่ 09 กุมภาพันธ์ 2009, 20:57:25
SMF 2.0 Release Candidate 1 is out! (http://"http://www.simplemachines.org/community/index.php?topic=290609.0")
    Simple Machines is proud to announce the release of SMF 2.0 RC1. This first Release Candidate for 2.0 concludes the period of beta testing and is one of last steps towards 2.0 going gold. Numerous ...

http://www.simplemachines.org/download/index.php?thanks;filename=smf_2-0-rc1_thai-utf8.tar.bz2



หัวข้อ: Re: ขอคำแนะนำใส่ adsense ใน forum เวบผมใช้ SMF 2.0 Beta 1
เริ่มหัวข้อโดย: tenzamak ที่ 09 กุมภาพันธ์ 2009, 21:00:05
http://www.thaiseoboard.com/index.php/topic,40432.0.html

พอไหมจ๊ะ


หัวข้อ: Re: ขอคำแนะนำใส่ adsense ใน forum เวบผมใช้ SMF 2.0 Beta 1
เริ่มหัวข้อโดย: Dark-Master ที่ 09 กุมภาพันธ์ 2009, 21:15:55
themes\theme-name\index.template.php

หา    theme_linktree();        ถ้าเป็น default template จะมี    template_menu(); อยู่ก่อนหน้าครับ ใส่ adcode ระหว่างนี้่ได้เลย

ส่วน theme_linktree(); อันนี้คือ navigator menu ครับ ที่เป็น navigator link ตรงใต้ menu bar เวลาเรากดเข้า forum ลึกๆ

ถ้าวาง adcode ไว้ด้านบนของ linktree ก็คือไว้ใต้ menu นั่นแหละ

เวลาจะลงโฆษณาใน php ก็ใช้ echo ครับ จะทำให้ดูง่ายก็ใส่ไปแบบนี้

โค๊ด:
// Show the menu here, according to the menu sub template.
template_menu();

// Google AdSense Top Banner
echo '
<br> // เว้นบรรทัดครับ
<center> // adjust ให้โฆษณาอยู่ตรงกลางครับ
<script type="text/javascript"><!--
google_ad_client = "pub-2818505735607471";
/* XG BBS topbanner */
google_ad_slot = "4587820559";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</center> // อย่าลืมจบคำสั่งที่ทำให้โฆษณาอยู่ตรงกลางครับ
';

// Show the navigation tree.
theme_linktree();

นี่คือที่ผมใช้อยู่หนะครับ เป็น html ง่ายๆ ตัวอย่างดูได้ที่ bbs.xgaming.in.th