nasz โพสต์ 2008-12-17 12:50:23

Shoutbox 2.3 Beta For Discuz! 7[31122008]

แก้ไขล่าสุด nasz เมื่อ 2008-12-31 16:08

Shoutbox 2.3 For Discuz! 6.1 by Natz

ปรับแก้แล้วตกแต่งเพิ่มเติมนิดหน่อยให้ใช้งานได้กับเวอร์ชั่น 7 ครับ

ช่วงรอ shoutbox ของคุณนัทครับโมให้พอใช้ได้ไปก่อน (แก้ขัด)

http://www.northsync.com/bbs/plugin.php?identifier=natz_shoutbox&module=shoutbox

ลองดูซิว่า พอใช้ได้หรือเปล่าครับ แต่ว่า ตอนติดตั้งนี่เกือบ อวกเหมือนกันแหนะ ((16))

Plugin Name : Shoutbox 2.3 Beta
For Versions : Discuz! 7.0.0
Owner : Natz
ModiFy : Nasz
Copyright & Designed by : Natz
Support site : http://www.discuzthai.com & http://www.northsync.com

[วิธีติดตั้ง]

1. อัพโหลด Shoutbox ในโฟล์เดอร์ "upload" ขึ้นไปบนเว็ยไซต์ของคุณ
2. รัน shoutbox_install.php
3. เปิดไฟล์ DISCUZ_ROOT/templates/default/discuz.htm

-- ค้นหา :
----------------------------------------------------------------------------
<!--{if !empty($insenz['vfstatus']) && $insenz['vfpos'] == 'first'}-->
----------------------------------------------------------------------------

-- เพิ่มด้านบนด้วย :
----------------------------------------------------------------------------
<!--{eval eval($hooks['natz_shoutbox_include_template']);}-->
----------------------------------------------------------------------------

4. เปิดไฟล์ DISCUZ_ROOT/index.php

-- ค้นหา :
----------------------------------------------------------------------------
include template('discuz');
----------------------------------------------------------------------------

-- เพิ่มด้านบนด้วย :
----------------------------------------------------------------------------
eval($hooks['natz_shoutbox_include_settings']);
----------------------------------------------------------------------------

5. เซฟแล้วทำการเข้าไป อัพเดทแคชใน admincp เป็นอันเสร้จเรียบร้อย


ช่วยเอาไปทำกันต่อยอดเอาเองด้วนนะครับ มีอะไรยากเกินตัวก็แจ้งไว้ในกระทู้นี้ได้ ไม่ก็กระทู้นี่

new2007 โพสต์ 2008-12-17 12:54:49

อยากได้ ๆ อ่า

suthida โพสต์ 2008-12-17 13:01:59

ตอบกลับโพสของ หนึ่ง nasz

พอได้ค่ะ คอยๆปรับ

trickstertik โพสต์ 2008-12-17 13:19:53

ว้าววววว แจ่ม! อยากได้อ่ะครับ ขอบคุณครับ

Saokim999 โพสต์ 2008-12-17 15:01:14

9 shoutbox ~:10:~ ~:10:~ ~:15:~ ~:15:~

yamato669 โพสต์ 2008-12-17 16:36:09

เข้ามาให้กำลังใจสู้ ๆ ต่อไปคร๊าบบ

sayki โพสต์ 2008-12-27 07:52:19

ผมทำได้แล้วครับดีมากเลย

somrak โพสต์ 2008-12-27 09:01:19

<!--{eval eval($hooks['natz_shoutbox_include_template']);}-->

เอาไปใส่ตรงไหนครับ มือใหม่

ข้างบนหรือข้างล่างตัวนี้
<!--{if !empty($insenz['vfstatus']) && $insenz['vfpos'] == 'first'}-->

Saokim999 โพสต์ 2008-12-27 10:05:45

แก้ไขล่าสุด Saokim999 เมื่อ 2008-12-27 10:08

i can not install this shoutbox T_T
shoutbox not show in forum
can you translate to english language ?

When i import plugin.txt of shoutbox in admincp have error:SQL: INSERT INTO pluginhooks (pluginid,available,title,description,code) VALUES ('18','1','include_settings','ใช้ดึงข้อมูล','include DISCUZ_ROOT."./forumdata/cache/plugin_natz_shoutbox.php";
$shoutbox = $_DPLUGIN["natz_shoutbox"];
if($shoutbox["available"])
{
define("SHOUTBOX_URL", "./plugins/".$shoutbox["directory"]);
include DISCUZ_ROOT."./forumdata/cache/cache_shoutbox_settings.php";
include DISCUZ_ROOT."./forumdata/cache/cache_shoutbox_usergroups.php";
include language("template", 1, SHOUTBOX_URL."lang");
$shoutbox = $_DPLUGIN["natz_shoutbox"]["settings"];
$sgid = is_array($_DPLUGIN["natz_shoutbox"]["usergroups"][$groupid]) ? $groupid : 0;
$shoutbox["usergroup"] = $_DPLUGIN["natz_shoutbox"]["usergroups"][$sgid];
if($discuz_uid > 0)
{
$member = $db->fetch_first("SELECT m.*, u.color AS groupcolor
FROM {$tablepre}members m
LEFT JOIN {$tablepre}usergroups u ON u.groupid=m.groupid
WHERE m.uid='$discuz_uid'");
}
else
{
$member = $db->fetch_first("SELECT color AS groupcolor FROM {$tablepre}usergroups WHERE groupid='$groupid'");
}

if (!$shoutbox["usergroup"]["enable"])
{
$shoutbox["enable"] = 0;
}
else if ($shoutbox["usergroup"]["posts_req"])
{
$shoutbox["usergroup"]["posts_req"] = intval($shoutbox["usergroup"]["posts_req"]);
if ($shoutbox["usergroup"]["posts_req"] > 0 && $member["posts"] < $shoutbox["usergroup"]["posts_req"])
{
$shoutbox["enable"] = 0;
}
}

$shoutbox_ajax_js = array
(
'my_uid' => $discuz_uid,
'my_name' => ($discuz_uid) ? $discuz_user : $shout_lang['shout_guest'],
'my_gcolor' => ($member['groupcolor']) ? $member['groupcolor'] : '',
'flood_limit' => $shoutbox['flood_limit'],
'max_length' => $shoutbox['max_length'],
'shout_order' => $shoutbox['shouts_order'],
'shouts_limit' => $shoutbox['shouts_limit'],
'shouts_refresh' => $shoutbox['shouts_refresh'],
'members_refresh' => $shoutbox['members_refresh'],
'bypass_flood' => $shoutbox['usergroup']['bypass_flood'],
'enable_fade' => $shoutbox['enable_fade'],
'format_names' => $shoutbox['format_names'],
'announcement' => $shoutbox['announcement'],
);
}')
Error: 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 '$discuz_uid'");
}
else
{
$member = $db->fetch_first("SELECT color AS ' at line 1
Errno.: 1064thanks

Saokim999 โพสต์ 2008-12-27 10:27:58

แก้ไขล่าสุด Saokim999 เมื่อ 2008-12-27 10:29

why in readme.txt file im see:
Plugin Name : Shoutbox 2.3 Beta
For Versions : Discuz! 6.1.0
Owner : Natz
ModiFy : Nasz
Copyright & Designed by : Natz
Support site : http://www.discuzthai.com & http://www.northsync.com

and what is this :
ปลั๊กอินนี้มีอยู่ในแล้วระบบ!คลิ๊กเพื่อไปยังขั้นตอนต่อไป?
ถ้าไม่สามารถดำเนินการต่อได้ให้ติดตั้งด้วยตนเอง (Manual) หรือติดต่อผู้พัฒนา?
หน้า: [1] 2 3 4 5 6 7 8 9 10
ดูในรูปแบบกติ: Shoutbox 2.3 Beta For Discuz! 7[31122008]