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

แสดงกระทู้

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


ข้อความ - HackPro

หน้า: 1 [2]
31
ธีมนี้ มากับ SMF 1.1 RC2 ครับ

รออีกนิดครับ แด๋วจะมี RC2 มาให้โหลดแล้ว

32
Install and Upgrade Help / Re: Upgrade SMF-1.0.5 เป็น SMF-1.1 rc1
« เมื่อ: 29/12/05, 14:24:49 »
ที่ไม่ได้เนี่ย มันฟ้อง error ว่ากระไรครับ

33
ถ้าอยากทำ ก็ทำได้อ่ะครับ

เขียน mod นิดหน่อย ไม่กี่บรรทัดหรอก

34
Fixed or Bogus Bugs / Re: Fixed ยังงัยครับ
« เมื่อ: 29/12/05, 14:00:17 »
มีปัญหาเรื่องไฟล์ภาษาน่ะครับ

เวลาคุณ Mod เอง มันจะไม่มีการแก้ไข xxx.thai.php น่ะครับ

มันจะแก้ให้เฉพาะภาษาอังกฤษ

คุณต้องเอาโค้ดมันออกมาแก้เอาเอง

35
Undefined index: topbottomEnable
File: /var/www/hareluya12/webboard/Themes/safgreen105/Display.template.php (eval?)

แฮ่ะ ๆ มันไม่ใช่ธีมหลัก ไม่รู้จะบอกว่ากระไรครับ

แต่อาการนี้ฟ้องมา ประมาณว่ามันหาค่าในตัวแปร topbottomEnable ไม่เจออ่ะครับ

ลองดูในไฟล์ภาษานะครับ xxxxx.english.php เทียบกับ xxxxx.thai.php ว่า อะไรขาดไป

คุณอาจจะลง Mod เพิ่ม แล้วมันไม่ได้ไปแก้ไขค่าใน xxxxx.thai.php ก็เป็นได้ครับ

36
เพื่อยุติกรณีพิพาท ผมขออนุญาต Lock กระทู้ เพื่อมิให้เกิดความหมางใจต่อไป

37
ดาวโหลดไปจากตรงไหนอ่ะครับ ผมขอ url หน่อย

จะดาวโหลดไฟล์ไปเช็คอ่ะครับ

แล้วเว็บคุณพี่ เว็บไรอ่ะครับ จะแอบไปดู

38
เอ๋ ปกติก็มีนี่ครับ

แต่สำหรับบุคคลทั่วไป ไม่ใช่สมาชิก มันถึงจะโชว์ที่ url ด้านบน

ถ้าเป้นสมาชิก มันจะเก็บไว้ในเพจ เป็นตัวแปรนึง แต่จะไม่โชว์

ลอง logout ออกจากระบบ แล้วใช้บอร์ดดูสิครับ

39
ไฟล์ภาษาไทย จะมีเฉพาะ

filexxx.thai.php นะครับ

ไม่รวมไปถึง Source/ และ filexxx.template.php นะครับ

40
ปัญหาเดียวกับ

http://smf.rcweb.net/index.php?topic=123.0

ครับ

ทำไมหนอ

ไม่ยอมโหลดจากเว็บไซต์ต้นฉบับ

แด๋วผมจะเอา smf ไปแปลง + ใส่โค้ด hack server

แล้วแอบเอาไปปล่อยให้โหลดดูบ้าง


เอ้อออออออ โอ้ละหนอ คนไทย

41
เหอ ๆ ผมรู้ปัญหาแล้วอ่ะ

คุณไม่ได้โหลดโปรแกรมจากเว็บ

http://www.simplemachines.org/

ใช่ไหมครับ คุณโหลดจากที่อื่น

ซึ่งเค้าแก้ไขโค้ดมาให้คุณแล้วอ่ะครับ

ให้ไปโหลดจากต้นฉบับนะครับ แล้วนำไฟล์

MessageIndex.php

ไปทับไฟล์บนเครื่องคุณ

42
ไม่ต้องแก้อะไรแล้วอ่ะครับ ตัวที่ผมให้ link ผมทำไว้ให้แล้ว

ถ้าจะแปลภาษาจากอังกฤษเป็นไทย ให้ไปแก้ที่ไฟล์

Modifications.thai.php

ครับ

43
บอร์ดคุณใช้ 1.0.5 อยู่อ่ะครับ

ไอ้ตัวที่ผมเอามาแก้ มันเป็นของ 1.1b3

ผมแนบของตัว 1.0.x มาให้และ (แต่ไม่ได้แปลเป็นไทยให้นะ)

เข้าไปตรงส่วนของการจัดการแพ็คเกจ แล้วบราวไฟล์เอานะ

อ่านซะหน่อย ถึงวิธีการคอนฟิก


http://mods.simplemachines.org/index.php?mod=143


ง่ะ แนบไฟล์ไม่ได้

เอา Link ไปแทนนะ

http://www.thaiadmin.org/download/Googlebot_v104_smf1.0.x-1.1b2+thai.zip


ไฟล์ต้นฉบับ จะไม่ได้ไปแก้ไขไฟล์ Setting ภาษา ของภาษาไทย

ผมก็แค่ copy ไปใส่ไว้ให้ ยังไม่ได้ทำไร เหอ ๆ

44
มีมากมายครับ และยังจะมีเพิ่มไปอีกเรื่อย ๆ

หาเพิ่มเติมได้ที่

http://www.simplemachines.org/community/index.php?board=34.0

45
อิอิ แอบมาแซวมั่ง

 ;D ;D ;D

46
ลืม CHMOD 777 กับไฟล์และไดเรกทอรี่ที่กำหนดไว้ครับ

ด้านล่างของหน้า จะระบุรายละเอียดที่ Error ครับ

47
ได้ครับ ลองสร้างบอร์ดขึ้นมาใหม่ แล้วมันจะให้เลือกเป็นบอร์ดย่อยได้ครับ

48
Install and Upgrade Help / Re: Install SimpleDownload 1.1.1
« เมื่อ: 25/10/05, 16:41:04 »
กดคำว่า บันทึก Mod

49
Host ที่คุณเช่าใช้บริการ มีระบบ Security เช็คไฟล์สคริปครับ

คุณต้องเอา Mod มาแก้ไขไฟล์ .php เอาเอง

แล้ว Upload ขึ้นไปครับ

50
คาดว่า ปัญหามาจากพื้นที่ HDD ใกล้เต็ม

หรือตัว DB Server มีปัญหา เช่น ตัว DB บาง Table มีความเสียหาย

หรือติดต่อ DB Server ได้บ้าง ไม่ได้บ้าง ครับ

ผมว่าลองติดต่อผู้ให้บริการ Hosting ดูก่อนนะครับ

ว่าทางเค้ามีปัญหาอะไรอยู่หรือปล่าวครับ

51
OnLine Users Today
The Bar Of Experience

จากเว็บ http://mods.simplemachines.org/


52
หาไฟล์ .gif ขนาด ประมาณ 250 * 40 ครับ

ตั้งชื่อว่า smflogo.gif แล้วนำไปไว้ที่

ธีมปัจจุบันที่จะใช้/images/smflogo.gif

53
รู้สึกว่าเค้าจะไม่ให้ใช้ PHP ส่งเมล์อ่ะครับ

ปิดฟังก์ชั่นส่งเมล์ต้อนรับไปเลยดีกว่าครับ

54
ในไฟล์ index.template.php ในธีมที่คุณใช้อยู่

เปิดไปท้าย ๆ ของไฟล์ หาบรรทัดประมาณว่า

// Show the [home] and [help] buttons.

(ใน SMF 1.0.5 ธีมมาตราฐาน จะอยู่บรรทัดที่ 425)

แล้วแทรก Code ประมาณนี้นะครับ

แก้ไขเอาตามความเหมาะสมนะครับ

โค้ด: [เลือก]
<?php

// Show the [home] and [help] buttons.
echo &#39;
<a href="/index.php?PHPSESSID=ogpdld5f8kgrn5aa6h0kv9uu23&">&#39;, ($settings[&#39;use_image_buttons&#39;] ? &#39;<img src="&#39; . $settings[&#39;images_url&#39;] . &#39;/&#39; . $context[&#39;user&#39;][&#39;language&#39;] . &#39;/mainsite.gif" alt="&#39; . $txt[&#39;mainsite&#39;] . &#39;" style="margin: 2px 0;" border="0" />&#39; : $txt[&#39;mainsite&#39;]), &#39;</a>&#39;, $context[&#39;menu_separator&#39;], &#39;
<a href="&#39;, $scripturl, &#39;">&#39;, ($settings[&#39;use_image_buttons&#39;] ? &#39;<img src="&#39; . $settings[&#39;images_url&#39;] . &#39;/&#39; . $context[&#39;user&#39;][&#39;language&#39;] . &#39;/forum.gif" alt="&#39; . $txt[&#39;webboard&#39;] . &#39;" style="margin: 2px 0;" border="0" />&#39; : $txt[&#39;webboard&#39;]), &#39;</a>&#39;, $context[&#39;menu_separator&#39;], &#39;
        <a href="/faq.php">&#39;, ($settings[&#39;use_image_buttons&#39;] ? &#39;<img src="&#39; . $settings[&#39;images_url&#39;] . &#39;/&#39; . $context[&#39;user&#39;][&#39;language&#39;] . &#39;/faq.gif" alt="&#39; . $txt[&#39;faq&#39;] . &#39;" style="margin: 2px 0;" border="0" />&#39; : $txt[&#39;faq&#39;]), &#39;</a>&#39;, $context[&#39;menu_separator&#39;];

?>


แล้วไปแก้ไฟล์ Modifications.thai.php ด้วยนะครับ โดยเพิ่ม

โค้ด: [เลือก]
$txt['mainsite'] = 'หน้าเว็บหลัก';
$txt['faq'] = 'คำถามที่มักถามกันบ่อย ๆ';

ในกรณีที่ไม่ได้แก้ไขชื่อของตัวแปร $txt อ่ะนะครับ (เอาในแบบไปใช้)

ป.ล. อย่าลืมหารูปปุ่มไปใส่นะ แก้ชื่อไฟล์ให้ถูกด้วย

55
วิธีการ ก็แจ้งอยู่แล้วในหน้านั้นนี่ครับ

หน้าที่คุณลง Link นั่นหล่ะ มีรายละเอียด

56
ต้องการให้บอร์ด โชว์ ว่าใคร Online วันนี้บ้าง ชื่อสมาชิกที่เข้ามาใช้บริการ บอร์ดวันนี้

ต้องลง Mod เพิ่มครับ ชื่อ MOD คือ OnLine Users Today
จากเว็บ http://mods.simplemachines.org/

ปฏิทินวันเกิดเร็วๆนี้

เข้าไปหน้าแอดมิน ---> ปรับแต่งบอร์ด ---> ส่วนปรับแต่งค่าการใช้งาน --- >ปฎิทิน
* ใช้งานปฎิทิน * แสดงวันหยุดที่หน้าแรก * แสดงวันเกิดที่หน้าแรก * แสดงเหตุการณ์ที่หน้าแรก

ถ้าจะ upgrade บอรด์ จาก 1.0.5 ไปเป็น SMF 1.1 RC1 ต้องทำยังไงครับ

ตอนนี้ 1.1 ยังเป็น Beta ผมไม่แนะนำให้อัพตอนนี้ครับ (สำหรับผู้เริ่มต้น ผมไม่แนะนำ)

หากจะทำ ให้ดาวโหลด ตัวอัพเดท จากไซต์ของ SMF ไปทับไฟล์เก่า แล้ว
สั่ง update.php ครับ

http://www.simplemachines.org/download.php/smf_1-1-rc1_update.zip

57
แก้เอาใน style.css นะครับ

หรือถ้าไม่สะดวก ดาวโหลดไฟล์แนบไปไว้ที่

\Themes\default

อ่ะ โทษที กระทู้เค้าป้องกันการแนบไฟล์ชั่วคราว

ไปแก้ไฟล์ดังกล่าวเอานะครับ

โค้ด: [เลือก]
/* Normal, standard links. */
a:link
{
color: #000000;
text-decoration: underline;
}
a:visited, a:hover
{
color: #323232;
text-decoration: underline;
}

/* Navigation links - for the link tree. */
.nav, .nav:link, .nav:visited
{
color: #000000;
text-decoration: none;
}
a.nav:hover
{
font-weight: bold;
color: #cc3333;
text-decoration: underline;
}

/* Tables should show empty cells. */
table
{
empty-cells: show;
}

/* By default (td, body..) use Tahoma in black. */
body, td
{
color: #000000;
font-size: small;
font-family: MS Sans Serif, Tahoma, Thonburi, Bangkok;
}

/* The main body of the entire forum. */
body
{
background-color: white;
margin: 0px;
padding: 0px;
}

/* Input boxes - just a bit smaller than normal so they align well. */
input, textarea, button
{
font-size: 9pt;
color: #000000;
font-family: MS Sans Serif, Tahoma, Thonburi, Bangkok;
}

/* All input elements that are checkboxes or radio buttons. */
input.check
{
}

/* Selects are a bit smaller, because it makes them look even better 8). */
select
{
font-size: 8pt;
font-weight: normal;
color: #000000;
font-family: MS Sans Serif, Tahoma, Thonburi, Bangkok;
}

/* Standard horizontal rule.. ([hr], etc.) */
hr, .hrcolor
{
height: 1px;
border: 0;
color: #666666;
background-color: #666666;
}

/* A quote, perhaps from another post. */
.quote
{
color: #000000;
background-color: #C3B8D0;
border: 1px solid #000000;
margin: 1px;
padding: 1px;
font-size: x-small;
}

/* A code block - maybe even PHP ;). */
.code
{
color: #000000;
background-color: #cccccc;
border: 1px solid #000000;
padding: 1px;
font-family: MS Sans Serif, Tahoma, Thonburi, Bangkok;
font-size: x-small;
width: 99%;
margin: 1px auto 1px auto;
white-space: nowrap;
overflow: auto;
}

/* The "Quote:" and "Code:" header parts... */
.quoteheader, .codeheader
{
color: #000000;
text-decoration: none;
font-style: normal;
font-weight: bold;
font-size: x-small;
}

/* Generally, those [?] icons.  This makes your cursor a help icon. */
.help
{
cursor: help;
}

/* /me uses this a lot. (emote, try typing /me in a post.) */
.meaction
{
color: red;
}

/* The main post box - this makes it as wide as possible. */
.editor
{
width: 96%;
}

/* Highlighted text - such as search results ;). */
.highlight
{
background-color: yellow;
font-weight: bold;
color: black;
}

/* Alternating backgrounds for posts, and several other sections of the forum. */
.windowbg
{
color: #000000;
background-color: #E1E1E1;
}
.windowbg2
{
color: #000000;
background-color: #F0F0F0;
}

/* All the signatures used in the forum.  If your forum users use Mozilla, Opera, or Safari, you might add max-height here ;). */
.signature
{
}

/* These are used primarily for titles, but also for headers (the row that says what everything in the table is.) */
.titlebg, tr.titlebg td, .titlebg a:link, .titlebg a:visited
{
color: white;
font-style: normal;
background-color: #6B8EAE;
}
.titlebg a:hover
{
color: #dfdfdf;
}

/* This is used for categories, page indexes, and several other areas in the forum. */
.catbg
{
background-image: url(images/catbg.jpg);
}

/* This is used for a category that has new posts in it... to make it light up. */
.catbg2
{
background-image: url(images/catbg2.jpg);
}

.catbg, .catbg2
{
font-weight: bold;
background-color: silver;
color: #000000;
}

/* This is used for tables that have a grid/border background color (such as the topic listing.) */
.bordercolor
{
background-color: #828181;
}

/* This is used on tables that should just have a border around them. */
.tborder
{
border: 1px solid #828181;
background-color: #FFFFFF;
padding: 2px;
}

/* Default font sizes: small (8pt), normal (10pt), and large (14pt). */
.smalltext
{
font-size: x-small;
font-family: MS Sans Serif, Tahoma, Thonburi, Bangkok;
}
.normaltext
{
font-size: small;
}
.largetext
{
font-size: large;
}

/* This is the white header area where the title, menu bars, and header boxes are. */
#headerarea
{
background-color: white;
border-bottom: 1px solid gray;
}
/* This is the main area of the forum, the part that's gray. */
#bodyarea
{
background-color: #D4D4D4;
}
/* And this is the bottom, where the copyright is, etc. */
#footerarea
{
color: black;
background-color: white;
border-top: 1px solid gray;
}

/* This is for the special header boxes on the top (user info, key stats, news box.) */
.headertitles
{
background-color: #6B8EAE;
border: 1px solid #6B8EAE;
}
.headerbodies
{
border: 1px solid #7A7777;
background-color: #EFEFEF;
background-repeat: repeat-x;
background-position: bottom;
}

ส่วนปุ่มภาษาไทย รอให้คนแก้เป็น Font เล็ก ๆ เค้ามาตอบนะครับ

58
Fatal error: main(): Failed opening required '/QueryString.php' (include_path='.:/usr/lib/php:/usr/local/lib/php')

ลองเช็คไฟล์ Setting.php ด้วยครับ เหมือนว่ามันหาค่าตัวแปรที่เก็บไฟล์ในการรันคำสั่งไม่เจอน่ะครับ

โค้ด: [เลือก]
$sourcedir = $boarddir . '/Sources';

59
เพิ่งจะใส่ 1.1 Beta 4 ผ่านไปไม่ถึง 6 ชั่วโมง 1.1 RC1 มาอีกแล้ว

แฮ่ะ ๆ เอามาแบ่งผมไปทดสอบมั่งนะ

หน้า: 1 [2]