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

ผู้เขียน หัวข้อ: การติดตั้ง FlashChat ในบอร์ด SMF  (อ่าน 33204 ครั้ง)

0 สมาชิก และ 1 บุคคลทั่วไป กำลังดูหัวข้อนี้

ออฟไลน์ OnceAgain

  • New Member
  • *
  • กระทู้: 7
    • ดูรายละเอียด
การติดตั้ง FlashChat ในบอร์ด SMF
« เมื่อ: 12/12/05, 07:14:20 »

ตัวอย่าง �เข้าไปที่ http://www.it-th.net/webboard �แล้วลองคลิกที่ปุ่ม ข้างบนดูครับ (ต้องเป็นสมาชิกบอร์ด ถึงจะเห็นปุ่มนี้ครับ)


อ้างถึง

� �หมายเหตุ

� �1. เนื่องจาก FlashChat เป็นโปรแกรม Flash ประเภทหนึ่ง ซึ่งทำงานในเครื่องของผู้ใช้ด้วย

� � � �ดังนั้นในเครื่องของท่านต้องมีโปรแกรมเล่น Flash อยู่ด้วยครับ� ถ้าไม่มีจะ Download ให้โดยอัตโนมัติ

� �2. สำหรับท่านที่ติดตั้งโปรแกรมช่วย Download IDM เอาไว้ จะมีหน้าต่าง Download เปิดขึ้นมาตลอด



ส่วนที่ 1� การติดตั้ง FlashChat

1. Download FlashChat v 3.9.4.0

2. Upload ทั้ง Folder ของ FlashChat ไปไว้ใน Folder ที่ใช้ทำบอร์ด� ในที่นี้ของผมคือ forums ก็จะเป็น http://www.it-th.net/forums/FlashChat

3. ที่ช่อง Adress ใส่ URL เป็น http://ชื่อ Host/forums/FlashChat/install2.php� ในที่นี้ของผมจะเป็น http://www.it-th.net/forums/FlashChat/install2.php



อ้างถึง

� �กรณีไม่เป็นไปตามภาพข้างบน แสดงว่าท่านยังไม่ได้ตั้งค่าอนุญาตให้กับไฟล์และ Folder ทั้งหมดที่อยู่ใน forums

� �ซึ่งบาง Host สามารถตั้งค่าอนุญาตที่ Foder ของ forums เพียง Folder เดียว ก็จะครอบคลุมการอนุญาตของไฟล์หรือ Folder ทั้งหมดที่อยู่ข้างในครับ

� �ให้เปลี่ยน URL ที่ช่อง Adress เป็น http://ชื่อ Host/forums/FlashChat/install.php� ในที่นี้ของผมจะเป็น http://www.it-th.net/forums/FlashChat/install.php



� �ให้ Chmod ทุกไฟล์ที่มีคำว่า No� โดยการคลิกขวาในโปรแกรม FTP แล้วใส่ตัวเลขเป็น 777


� �เสร็จแล้วลองทำซ้ำอีกครั้งว่า Host บันทึกเป็น 777 ให้หรือยัง


� �ถ้าไม่มีปัญหาอะไร ก็ติดตั้งต่อไปได้เลยครับ







ส่วนที่ 2� การแก้ Source Code ของ SMF� เพื่อทำให้ FlashChat สามารถติดต่อกับฐานข้อมูลของ SMF ได้

Source Code ข้างล่าง ใช้สำหรับ SMF 1.0 RC1� ส่วนบอร์ดเวอร์ชันอื่นลองเทียบเคียงกันดูนะครับ

และต้องสำรองไฟล์ที่เกี่ยวข้องทั้งหมดไว้ด้วย เผื่อมีปัญหาจะได้นำกลับมาแทนลงไปครับ

อ้างถึง
� �ไฟล์ที่ต้องสำรอง
� �index.php
� �Themes/default/index.template.php
� �Themes/default/languages/Modifications.thai.php
� �Themes/default/languages/Modifications.english.php
� �Themes/default/BoardIndex.template.php


1. สร้าง Chat.php ไว้ใน Sources/� (นำ Source Code ไปวางใน Notepad แล้ว Save)

โค้ด: [เลือก]
<?php
if (!defined(&#39;SMF&#39;))
die(&#39;Hacking attempt...&#39;);

function Chat() {
// This is gonna be needed...
loadTemplate(&#39;Chat&#39;);
}
?>



2. สร้าง Chat.template.php ไว้ใน Themes/default/ (แก้ไขตรงบรรทัดที่มี http://www.it-th.net/webboar/FlashChat/flashchat.php ให้เป็นของบอร์ดท่านเองด้วยครับ)

โค้ด: [เลือก]
<?php
// Version: 1.0 RC1; Chat

function template_main()
{
global 
$context$settings$options$txt$scripturl;

echo &
#39;
<script language="JavaScript" type="text/javascript"><!--
function 
checkAll(onOff)
{
for (var 
0document.searchform.elements.lengthi++)
{
if (
document.searchform.elements[i].name.substr(03) == "brd")
document.searchform.elements[i].checked onOff;
}
}
// --></script>
<form action="&#39;, $scripturl, &#39;?action=search2" method="post" name="searchform" id="searchform">
<
table width="80%" border="0" cellspacing="0" cellpadding="3" align="center">
<
tr>
<
td>&#39;, theme_linktree(), &#39;</td>
</tr>
</
table>

<
table width="100%" border="0" cellspacing="0" cellpadding="4" align="center" class="tborder">
<
tr class="titlebg">
<
td>Chat</td>
</
tr><tr>
<
td class="windowbg">&#39;;

// load the chat
echo &#39;<iframe width="100%" height="450" src="http://www.it-th.net/webboar/FlashChat/flashchat.php"></iframe>&#39;;

echo &#39;
</td>
</
tr>
</
table>
</
form>&#39;;
}

?>



3. นำ chat.gif ไปไว้ใน Themes/default/images/thai/ (Save จาก ไปก็ได้ครับ)


4. แก้ไข index.php

หา

โค้ด: [เลือก]
'boardrecount' => array('Admin.php', 'AdminBoardRecount'),
ต่อด้วย�

โค้ด: [เลือก]
'chat' => array('Chat.php', 'Chat'),

5. แก้ไข Themes/default/index.template.php

หา

โค้ด: [เลือก]
<a href="', $scripturl, '?action=help" target="_blank">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/help.gif" alt="' . $txt[119] . '" style="margin: 2px 0;" border="0" />' : $txt[119]), '</a>', $context['menu_separator'];
ต่อด้วย

โค้ด: [เลือก]
// How about the [chat] button?
if ($context['user']['is_logged'])
echo '
<a href="', $scripturl, '?action=chat" target="_blank">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/chat.gif" alt="' . $txt['chat'] . '" style="margin: 2px 0;" border="0" />' : $txt['chat']), '</a>', $context['menu_separator'];


6. แก้ไข Themes/default/languages/Modifications.thai.php

หา

โค้ด: [เลือก]
?>
แทนด้วย

โค้ด: [เลือก]
// Chat Room
$txt['chat'] = 'ห้องสนทนา';
$txt['chat2'] = 'สมาชิกในห้องสนทนา';

?>


7. แก้ไข Themes/default/languages/Modifications.english.php

หา

โค้ด: [เลือก]
?>
แทนด้วย

โค้ด: [เลือก]
// Chat Room
$txt['chat'] = 'Chat Room';
$txt['chat2'] = 'Members in cheat room.';

?>


8. แก้ไข Themes/default/BoardIndex.template.php

หา

โค้ด: [เลือก]
// "Users online" - in order of activity
แทนด้วย

โค้ด: [เลือก]
$chatrequest = db_query("
SELECT COUNT(*) AS numb
FROM� smf_fc_connections
WHERE userid IS NOT NULL", __FILE__, __LINE__);
list ($chatcount) = mysql_fetch_row($chatrequest);� �
mysql_free_result($chatrequest);
� � �
if ( $chatcount == "1" ) {
$singularplural2 = "";
} else {
$singularplural2 = "s";
}
// "Users online" - in order of activity


อ้างถึง

� �หมายเหตุ

� �1. กรณีต้องการแก้ไขค่าต่างๆ ของห้อง Chat ให้ไปที่ http://ชื่อ Host/forums/FlashChat/admin.php� ในที่นี้ของผมคือ http://www.it-th.net/forums/flashChat/admin.php
� �
� � � (ไม่สามารถตั้งชื่อห้องเป็นภาษาไทยยาวๆ ได้ครับ)

� �2. ตาม Source Code ข้างบน ใช้สำหรับ SMF 1.0 RC1� แต่ถ้าเวอร์ชันสูงกว่าเช่น SMF 1.1 RC1 ก็ยังใช้ได้ครับ (เหมือนบอร์ดนี้)

� � � �แต่จะมีปัญหาตรงที่ไม่แสดงจำนวนผู้ที่กำลัง Online อยู่ในห้อง Chat ซึ่งต้องไปแก้ไข Source Code ก่อน (ยังไม่ได้แก้ไขครับ)

� �3. การติดตั้ง FlashChat อาจมีผลต่อการอนุญาตของบอร์ด SMF บางค่า เช่นการ Up รูปส่วนตัวของสมาชิก ให้ลอง login ในชื่ออื่นที่ไม่ใช่ admin

� � � �แล้วดูว่ายัง Up ได้หรือไม่ ถ้าไม่ได้ให้ไปที่ ผู้ดำเนินการ/ควบคุมการวางรูปแบบฟอรั่ม/ผู้จัดการระบบไฟล์แนบ

� � � �เลือก ตั้งค่ารูปส่วนตัว/ [ เลือกการอนุญาตสำหรับแต่ละกลุ่ม ]� แล้วดูว่ายังเหมือนเดิมหรือไม่�


� � � �ถ้ายัง Up ไม่ได้อีก ต้องกลับไป Chmod ที่ Folder ของ avatars ให้เป็น 777

� �4. หลังจากติดตั้งเสร็จ ให้ลบ install.php, install2.php และ index.php ออกไปครับ

� �5. เมนูภาษาไทย จัดทำโดยท่าน e-music




มีปัญหาฝากคำถามไว้ครับ :)
« แก้ไขครั้งสุดท้าย: 12/12/05, 09:52:41 โดย OnceAgain »

.0.

  • บุคคลทั่วไป
Re: การติดตั้ง FlashChat ในบอร์ด SMF
« ตอบ #1 เมื่อ: 13/12/05, 04:11:02 »
มานชบอกว่า Could not open 'inc/config.srv.php' file for writing อะครับ งง

ออฟไลน์ OnceAgain

  • New Member
  • *
  • กระทู้: 7
    • ดูรายละเอียด
Re: การติดตั้ง FlashChat ในบอร์ด SMF
« ตอบ #2 เมื่อ: 14/12/05, 09:25:44 »

มานชบอกว่า Could not open 'inc/config.srv.php' file for writing อะครับ งง

แสดงว่าท่านยังไม่ได้ตั้งค่าอนุญาตให้กับไฟล์ของ FlashChat ครับ

ให้ท่านติดตั้งแบบที่สอง โดยเปลี่ยน URL ที่ช่อง Adress เป็น http://ชื่อ Host/forums/FlashChat/install.php

ในที่นี้ของผมจะเป็น http://www.it-th.net/forums/FlashChat/install.php

โปรแกรมจะฟ้องว่ามีไฟล์ไหนที่ยังไม่ได้ตั้งค่าอนุญาตบ้าง

โดยท่านต้องไป Chmod ไฟล์ที่ฟ้องว่า No ให้เป็น 777 ทุกไฟล์ก่อน แล้วติดตั้งต่อไปครับ
« แก้ไขครั้งสุดท้าย: 14/12/05, 09:45:33 โดย OnceAgain »

chok

  • บุคคลทั่วไป
Re: การติดตั้ง FlashChat ในบอร์ด SMF
« ตอบ #3 เมื่อ: 15/12/05, 22:29:11 »
เวลา เล่นflashchat เนี่ย มันเปลืองเนื้อที่ในเว็บ มากน้อยเท่าไหร่ เออ ช่วยบอกคร่าว ๆ ก็ได้ครับ

.0.

  • บุคคลทั่วไป
การติดตั้ง FlashChat ในบอร์ด SMF
« ตอบ #4 เมื่อ: 20/12/05, 02:54:17 »
อ้อ ครับ ขอบคุณครับผม  ;D

ออฟไลน์ น้ำพริก

  • เจ๊สั่งให้มาลุย
  • Full Member
  • ***
  • กระทู้: 137
    • ดูรายละเอียด
    • www.korkwai.com
Re: การติดตั้ง FlashChat ในบอร์ด SMF
« ตอบ #5 เมื่อ: 5/01/06, 13:59:14 »
ถ้าเป็น1.1rc2 ในขั้นตอนนที่5. แก้ไข Themes/default/index.template.php
ปรรทัดที่ว่ามันไม่มีครับ ช่วยหาทีครับ

ออฟไลน์ КёngЯacing

  • Administrator
  • *****
  • กระทู้: 284
    • ดูรายละเอียด
Re: การติดตั้ง FlashChat ในบอร์ด SMF
« ตอบ #6 เมื่อ: 5/01/06, 18:57:58 »
เมนูของ 1.1 RC2 มีเปลี่ยนแปลงนิดหน่อย แต่ละเวอร์ชั่น ไม่จำเป็นต้องเหมือนกันทุกเวอร์ชั่น มีแต่ใกล้เคียงกัน ลองหาส่วนที่ใกล้เคียงกันสิ ไม่ยากหรอก
อยู่ในไฟล์ index.template.php แถวๆ ข้างล่างน่ะ

โค้ด: [เลือก]
// Show the start of the tab section.
echo '
<table cellpadding="0" cellspacing="0" border="0" style="margin-left: 10px;">
<tr>
<td class="maintab_' , $first , '">&nbsp;</td>';

// Show the [home] button.
echo ($current_action=='home' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'home' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '">' , $txt[103] , '</a>
</td>' , $current_action == 'home' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

// Show the [help] button.
echo ($current_action == 'help' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'help' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=help">' , $txt[119] , '</a>
</td>' , $current_action == 'help' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

// How about the [search] button?
if ($context['allow_search'])
echo ($current_action == 'search' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'search' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=search">' , $txt[182] , '</a>
</td>' , $current_action == 'search' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

// Is the user allowed to administrate at all? ([admin])
if ($context['allow_admin'])
echo ($current_action == 'admin' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'admin' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=admin">' , $txt[2] , '</a>
</td>' , $current_action == 'admin' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

// Edit Profile... [profile]
if ($context['allow_edit_profile'])
echo ($current_action == 'profile' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'profile' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=profile">' , $txt[79] , '</a>
</td>' , $current_action == 'profile' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

// Go to PM center... [pm]
if ($context['user']['is_logged'] && $context['allow_pm'])
echo ($current_action == 'pm' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'pm' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=pm">' , $txt['pm_short'] , ' ', $context['user']['unread_messages'] > 0 ? '[<strong>'. $context['user']['unread_messages'] . '</strong>]' : '' , '</a>
</td>' , $current_action == 'pm' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

// The [calendar]!
if ($context['allow_calendar'])
echo ($current_action == 'calendar' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'calendar' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=calendar">' , $txt['calendar24'] , '</a>
</td>' , $current_action == 'calendar' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

// the [member] list button
if ($context['allow_memberlist'])
echo ($current_action == 'mlist' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'mlist' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=mlist">' , $txt[331] , '</a>
</td>' , $current_action == 'mlist' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';


// If the user is a guest, show [login] button.
if ($context['user']['is_guest'])
echo ($current_action == 'login' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'login' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=login">' , $txt[34] , '</a>
</td>' , $current_action == 'login' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';


// If the user is a guest, also show [register] button.
if ($context['user']['is_guest'])
echo ($current_action == 'register' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'register' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=register">' , $txt[97] , '</a>
</td>' , $current_action == 'register' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';


// Otherwise, they might want to [logout]...
if ($context['user']['is_logged'])
echo ($current_action == 'logout' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'logout' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=logout;sesc=', $context['session_id'], '">' , $txt[108] , '</a>
</td>' , $current_action == 'logout' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

// The end of tab section.
echo '
<td class="maintab_' , $last , '">&nbsp;</td>
</tr>
</table>';

}

ออฟไลน์ น้ำพริก

  • เจ๊สั่งให้มาลุย
  • Full Member
  • ***
  • กระทู้: 137
    • ดูรายละเอียด
    • www.korkwai.com
Re: การติดตั้ง FlashChat ในบอร์ด SMF
« ตอบ #7 เมื่อ: 5/01/06, 23:11:17 »
ขอบคุณครับ ผมทำได้แล้วครับแต่ยังไม่สมบูรณ์
สมาชิกทั่วไปก้อสารารถแก้ไขห้องได้จากadmin.phpทำอย่างไรให้สมาชิกไม่สารถแก้ชื่อห้องได้อ่ะครับ
« แก้ไขครั้งสุดท้าย: 6/01/06, 14:39:20 โดย ต่ำต้อย »

เอก

  • บุคคลทั่วไป
Re: การติดตั้ง FlashChat ในบอร์ด SMF
« ตอบ #8 เมื่อ: 13/01/06, 00:51:48 »
Table 'keepidea_board.smf_fc_connections' doesn't exist
ไฟล์: /usr/local/psa/home/vhosts/keepidea.com/httpdocs/board/Sources/Load.php(1607) : eval()'d code
บรรทัด: 396

ทำงัยอ่ะครับ

เอก

  • บุคคลทั่วไป
Re: การติดตั้ง FlashChat ในบอร์ด SMF
« ตอบ #9 เมื่อ: 13/01/06, 01:22:40 »
ได้แล้วครับ

ลืมแก้ $chatrequest = db_query("
SELECT COUNT(*) AS numb
FROM  smf_fc_connections

smf เป็นของบอร์ดผมเอง

ออฟไลน์ muradio

  • New Member
  • *
  • กระทู้: 2
    • ดูรายละเอียด
Re: การติดตั้ง FlashChat ในบอร์ด SMF
« ตอบ #10 เมื่อ: 27/08/06, 00:39:23 »
โค้ด: [เลือก]
Warning: main(/home/hosting/muradio/public_html/Settings.php): failed to open stream: No such file or directory in /home/hosting/muradio/public_html/chat/inc/cmses/smfCMS.php on line 10

Warning: main(): Failed opening '/home/hosting/muradio/public_html/Settings.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /home/hosting/muradio/public_html/chat/inc/cmses/smfCMS.php on line 10

Warning: main(/home/hosting/muradio/public_html/Sources/Load.php): failed to open stream: No such file or directory in /home/hosting/muradio/public_html/chat/inc/cmses/smfCMS.php on line 11

Warning: main(): Failed opening '/home/hosting/muradio/public_html/Sources/Load.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /home/hosting/muradio/public_html/chat/inc/cmses/smfCMS.php on line 11

Warning: main(/home/hosting/muradio/public_html/Sources/Subs-Auth.php): failed to open stream: No such file or directory in /home/hosting/muradio/public_html/chat/inc/cmses/smfCMS.php on line 12

Warning: main(): Failed opening '/home/hosting/muradio/public_html/Sources/Subs-Auth.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /home/hosting/muradio/public_html/chat/inc/cmses/smfCMS.php on line 12


ของผมมันทำไมเป็นอย่างงี้ละคับ ปวดหัวเลย ช่วยด้วยนะครับ

ออฟไลน์ muradio

  • New Member
  • *
  • กระทู้: 2
    • ดูรายละเอียด
Re: การติดตั้ง FlashChat ในบอร์ด SMF
« ตอบ #11 เมื่อ: 27/08/06, 16:55:44 »
ช่วยหน่อยนะคับ   :'(

ออฟไลน์ huunuu

  • New Member
  • *
  • กระทู้: 6
    • ดูรายละเอียด
Re: การติดตั้ง FlashChat ในบอร์ด SMF
« ตอบ #12 เมื่อ: 14/11/06, 14:09:22 »
แล้ว rc3 อะคับ ทำไงบ้าง  สอนหน่อยงับ

ออฟไลน์ dutchykim

  • New Member
  • *
  • กระทู้: 2
    • ดูรายละเอียด
Re: การติดตั้ง FlashChat ในบอร์ด SMF
« ตอบ #13 เมื่อ: 26/12/06, 14:51:52 »
ใครก็ได้ ช่วยส่งไฟล์ Flashchat นี้ให้ผมหน่อยงับ

ผมโหลดไม่ได้งับ ช่วยหน่อยนะงับบบบบ แง๊ๆ

[email protected]

ออฟไลน์ An_ant

  • Jr. Member
  • **
  • กระทู้: 71
    • ดูรายละเอียด
Re: การติดตั้ง FlashChat ในบอร์ด SMF
« ตอบ #14 เมื่อ: 5/01/07, 13:09:20 »
FlashChat 4.7.7 แจกไปหลายที่แล้ว ผ่านที่นี่ไป

ถ้าท่านใดสนใจแจ้งได้...

ออฟไลน์ tongza

  • New Member
  • *
  • กระทู้: 3
    • ดูรายละเอียด
Re: การติดตั้ง FlashChat ในบอร์ด SMF
« ตอบ #15 เมื่อ: 14/01/07, 22:11:02 »
ผมด้วยครับ [email protected] ขอบคุณล่วงหน้าครับ

ออฟไลน์ Dr.Rin

  • New Member
  • *
  • กระทู้: 14
    • ดูรายละเอียด
Re: การติดตั้ง FlashChat ในบอร์ด SMF
« ตอบ #16 เมื่อ: 24/01/07, 17:10:29 »
เราสามารถใช้กับเว็บธรรมดาได้มั้ยค่ะ โดยที่ไม่ต้องใช้บน SMF

ออฟไลน์ An_ant

  • Jr. Member
  • **
  • กระทู้: 71
    • ดูรายละเอียด
Re: การติดตั้ง FlashChat ในบอร์ด SMF
« ตอบ #17 เมื่อ: 25/01/07, 14:04:31 »
เราสามารถใช้กับเว็บธรรมดาได้มั้ยค่ะ โดยที่ไม่ต้องใช้บน SMF

ตอบว่าได้...

ปัญหาที่จะต้องถามตัวเองต่อไป..

จะให้ใครเข้าได้บ้าง ใช้ได้บ้าง ถ้าใจกว้าง ๆ เปิดกว้าง ให้ทุกคนใช้ โดยไม่ต้องสมัครสมาชิก บางทีก็มีการป่วน แล้วก็จะปวดหัวตามมา

ออฟไลน์ unnkmitl

  • New Member
  • *
  • กระทู้: 5
    • ดูรายละเอียด
Re: การติดตั้ง FlashChat ในบอร์ด SMF
« ตอบ #18 เมื่อ: 18/07/07, 20:35:50 »
You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '? smf_fc_connections
WHERE userid IS NOT NULL' at line 2
ไฟล์: /home/thaimus/public_html/forum/Sources/Load.php(1726) : eval()'d code
บรรทัด: 359

ผมทำผิดตรงไหนอะครับ

ออฟไลน์ unnkmitl

  • New Member
  • *
  • กระทู้: 5
    • ดูรายละเอียด
Re: การติดตั้ง FlashChat ในบอร์ด SMF
« ตอบ #19 เมื่อ: 18/07/07, 21:02:59 »
You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '? smf_fc_connections
WHERE userid IS NOT NULL' at line 2
ไฟล์: /home/thaimus/public_html/forum/Sources/Load.php(1726) : eval()'d code
บรรทัด: 359

ผมทำผิดตรงไหนอะครับ

แก้ได้แล้วครับ ไม่มี
You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '? smf_fc_connections
WHERE userid IS NOT NULL' at line 2
ไฟล์: /home/thaimus/public_html/forum/Sources/Load.php(1726) : eval()'d code
บรรทัด: 359

ผมทำผิดตรงไหนอะครับ
อะไรครับ แหะ แหะ

ออฟไลน์ unnkmitl

  • New Member
  • *
  • กระทู้: 5
    • ดูรายละเอียด
Re: การติดตั้ง FlashChat ในบอร์ด SMF
« ตอบ #20 เมื่อ: 18/07/07, 21:07:32 »


คือ มันค้างที่หน้านี้อะครับ มันโหลดถึง 69 % แล้วมันก็ค้างเลย

พอทราบสาเหตุหรือป่าวครับ ขอบคุณครับ

ออฟไลน์ saknarong

  • New Member
  • *
  • กระทู้: 1
    • ดูรายละเอียด
Re: การติดตั้ง FlashChat ในบอร์ด SMF
« ตอบ #21 เมื่อ: 25/03/08, 11:44:13 »
ของผมมันขึ้น ผิดพลาดตรงไหนครับ   ขอบคุณครับ

Parse error: syntax error, unexpected '&' in .../Themes/default/BoardIndex.template.php on line 354

345:                      <a href="' . $scripturl . '?action=stats">' . $txt['smf223'] . '[/url]' : '', '
346:                   </span>
347:                </td>
348:             </tr>';
349:    }
350:    $chatrequest = db_query("
351:      SELECT COUNT(*) AS numb
352:      FROM&#65533; smf_fetch_connections
353:      WHERE userid IS NOT NULL", __FILE__, __LINE__);
354:      list ($chatcount) = mysql_newboard_row($chatrequest);&#65533; &#65533;355:      mysql_free_result($chatrequest);
356:      &#65533; &#65533; &#65533;
357:      if ( $chatcount == "1" ) {
358:      $singularplural2 = "";

ออฟไลน์ tor

  • New Member
  • *
  • กระทู้: 14
  • เพศ: ชาย
  • ผลไม้รสล้ำ อุตสาหกรรมก้าวหน้า น้ำปลารสเด็ด เกาะเสม
    • ดูรายละเอียด
Re: การติดตั้ง FlashChat ในบอร์ด SMF
« ตอบ #22 เมื่อ: 20/08/08, 13:17:30 »
ทำใหมไปที่ inc เพื่อที่ไปตั้งค่า chmod ไม่ได้ครับ

ออฟไลน์ tor

  • New Member
  • *
  • กระทู้: 14
  • เพศ: ชาย
  • ผลไม้รสล้ำ อุตสาหกรรมก้าวหน้า น้ำปลารสเด็ด เกาะเสม
    • ดูรายละเอียด
Re: การติดตั้ง FlashChat ในบอร์ด SMF
« ตอบ #23 เมื่อ: 21/08/08, 12:47:43 »
ของผมเวลาคลิกไปที่ไอคอน chat แล้วมันเป็นแบบนี้ครับ ช่วยบอกหน่อยครับ

ออฟไลน์ chaii

  • Full Member
  • ***
  • กระทู้: 104
    • ดูรายละเอียด
Re: การติดตั้ง FlashChat ในบอร์ด SMF
« ตอบ #24 เมื่อ: 10/12/19, 00:22:11 »
ถ้าเป็น1.1rc2 ในขั้นตอนนที่5. แก้ไข Themes/default/index.template.php
ปรรทัดที่ว่ามันไม่มีครับ ช่วยหาทีครับ

ผลบอลสด 7m