Mod Prune - Clear Shoutbox 2.3 by Nazt dz 7.0 & 7.1
Author: yugiohhhDemo: http://traitimyenbai.net/forum/attachments/month_0911/0911131707f02198341f459558.jpg
Yoy can type command /prune to clear in shoutbox without go to admincp
Open plugins/natz_shoutbox/shoutbox.php find$uid = $discuz_uid;
Add Afterif($shout == '/prune') {
if($uid == 1 || $uid == 5 || $uid == 8 || $uid == 102 || $uid == 28252 || $uid == 111 || $uid == 36798 || $uid ==690) {
$db->query("TRUNCATE {$tablepre}shoutbox");
$shout = 'Shoutbox clear by me. www.traitimyenbai.net';
}
}
Change $uid== to id can clear shoutbox
Source: Discuz Viet -Trai Tim Yen Bai แก้ไขล่าสุด dsiwarsza เมื่อ 2009-11-14 04:40
tank you.. shoutbox in clar....
จากโคดนี้สามารถเปลี่ยนเป้นศัพท์ที่ง่ายๆ ได้
ค้นหาif($shout == '/prune') { เปลี่ยนเป็นคำศัพท์อื่นก็ได้เช่นif($shout == '/clearshoutbox') { if($shout == '/clear') { เป็นต้น
ขอบคุณมากนะคับเครียห้องแชทได้ง่ายๆ ละ ขอบคุณคร้าฟฟฟ Thank You. Saokim999
Great Idea. Great!
Thank you kinds for you Thank So much ....... ขอบคุณครับ ขอบคุณมากครับ =[]=!
Very very Thank you!! ขอบคุณครับ :victory: Thank Thank :victory: Thankyou for you
Ha Ha
ขอบคุณครับ
หน้า:
[1]
2