DataLife Engine 10.3 + Bullet Energy 1.3 ภาษาไทย

เริ่มโดย i-designs, 15 พฤศจิกายน 2014, 01:28:46

หัวข้อก่อนหน้า - หัวข้อถัดไป

0 สมาชิก และ 1 ผู้มาเยือน กำลังดูหัวข้อนี้

i-designs

DataLife Engine v.10.3


DataLife Engine คืออะไร บางคนยังไม่รู้จัก DataLife Engine คือ สคริปต์ CMS เอาไว้สร้างเว็บไซต์ ระบบทำงานได้ดีมาก ใช้ทรัพยากรณ์น้อย โหลดเร็ว อยากรู้ข้อมูลเพิ่มเติมลองโหลดไปทดลองได้



สคริปต์ตัวนี้ไม่ฟรี

เว็บไซต์ผู้พัฒนา : http://goo.gl/5ZgqXv

ผมโหลดเวอร์ชัน Nulled จาก : http://goo.gl/7zbvez

อัพเดทภาษาล่าสุด 15/11/2014

ภาษาไทยไม่ 100% นะครับ แต่ก็พอใช้ได้ ใช้ Google และ Bing แปล ถูกบ้าง มั้วบ้าง

ดาวน์โหลด : http://goo.gl/acPHKd

การติดตั้งก็แค่อัพโหลดไฟล์/โฟลเดอร์ ทั้งหมดในโฟลเดอร์ upload ขึ้นโฮส เรียกใช้ไฟล์ install.php ทำตามขั้นตอนไปเรื่อย

------------------------------------------------------------------------------------------------------

Bullet Energy 1.3


Bullet Energy คือ โมดูลฟอรั่ม หรือ เว็บบอร์ด สำหรับ DataLife Engine ไฟล์เล็ก เบาใช้งานง่าย โหลดเร็ว เน้นใช้งานโดยเฉพาะ





ดาวน์โหลด : http://goo.gl/qmoamc

การติดตั้ง

อัพโหลดไฟล์/โฟลเดอร์ ทั้งหมดในโฟลเดอร์ upload ไปตามตำแหน่ง

อัพโหลดโฟลเดอร์ bullet_energy ใน Forum Template/English/ หรือ Forum Template/Thai/

English ยังไม่แปลไทย

Thai แปลไทยแล้ว

- เปิดไฟล์ main.tpl จากโฟลเดอร์ธีมของคุณ ก่อนโค้ด </head> เพิ่มโค้ด {forumStyle}

- เปิดไฟล์ .htaccess จาก root ของเว็บไซต์ของคุณและค้นหา RewriteEngine On และเพิ่มโค้ดนี้ด้านล่าง:

RewriteRule ^forum(/?)+$ index.php?do=forum&action=index [L]
RewriteRule ^forum/moderation(/?)+$ index.php?do=forum&action=moderation [L]
RewriteRule ^forum/moderation/page-([0-9]+)(/?)+$ index.php?do=forum&action=moderation&page=$1 [L]
RewriteRule ^forum/categories-([0-9]+)(/?)+$ index.php?do=forum&action=categories&id=$1 [L]
RewriteRule ^forum/categories-([0-9]+)/page-([0-9]+)(/?)+$ index.php?do=forum&action=categories&id=$1&page=$2 [L]
RewriteRule ^forum/showtopic-([0-9]+)(/?)+$ index.php?do=forum&action=showtopic&id=$1 [L]
RewriteRule ^forum/showtopic-([0-9]+)/page-([0-9]+)(/?)+$ index.php?do=forum&action=showtopic&id=$1&page=$2 [L]
RewriteRule ^forum/showtopic-([0-9]+)/findpost-([0-9]+)(/?)+$ index.php?do=forum&action=findpost&id=$1&findpost=$2 [L]
RewriteRule ^forum/newtopic-([0-9]+)(/?)+$ index.php?do=forum&action=newtopic&id=$1 [L]
RewriteRule ^forum/search(/?)+$ index.php?do=forum&action=search [L]
RewriteRule ^forum/new_post(/?)+$ index.php?do=forum&action=new_post [L]
RewriteRule ^forum/new_post/page-([0-9]+)(/?)+$ index.php?do=forum&action=new_post&page=$1 [L]
RewriteRule ^forum/subscribe-([0-9]+).xml(/?)+$ engine/bullet_energy/modules/rss.php?action=tree_rss&id=$1  [L]
RewriteRule ^forum/attachment-([0-9]+)(/?)+$ engine/bullet_energy/modules/download.php?id=$1 [L]
RewriteRule ^forum/feed-([0-9]+).xml(/?)+$ engine/bullet_energy/modules/rss.php?action=topic_rss&id=$1  [L]
RewriteRule ^forum/discussion-([0-9]+)(/?)+$ index.php?do=forum&action=discussion&id=$1 [L]
RewriteRule ^forum/categories-/([0-9]+)-([^/]*)(/?)+$ index.php?do=forum&action=categories&id=$1&name=$2 [L]
RewriteRule ^forum/categories-/([0-9]+)-([^/]*)/page-([0-9]+)(/?)+$ index.php?do=forum&action=categories&id=$1&name=$2&page=$3 [L]
RewriteRule ^forum/showtopic-/([0-9]+)-([^/]*)(/?)+$ index.php?do=forum&action=showtopic&id=$1&name=$2 [L]
RewriteRule ^forum/showtopic-/([0-9]+)-([^/]*)/page-([0-9]+)(/?)+$ index.php?do=forum&action=showtopic&id=$1&name=$2&page=$3 [L]
RewriteRule ^forum/showtopic-/([0-9]+)-([^/]*)/findpost-([0-9]+)(/?)+$ index.php?do=forum&action=findpost&id=$1&name=$2&findpost=$3 [L]
RewriteRule ^forum/unread/([0-9]+)(/?)+$ index.php?do=forum&action=unread&id=$1 [L]
RewriteRule ^forum/watched(/?)+$ index.php?do=forum&action=watched [L]
RewriteRule ^forum/watched/page-([0-9]+)(/?)+$ index.php?do=forum&action=watched&page=$1 [L]
RewriteRule ^forum/watched/all(/?)+$ index.php?do=forum&action=watched&param=all [L]
RewriteRule ^forum/vote-([0-9]+)/([^/]*)(/?)+$ index.php?do=forum&action=vote&id=$1&param=$2 [L]
RewriteRule ^forum/vote-([0-9]+)/result/([0-9]+)(/?)+$ index.php?do=forum&action=vote&id=$1&param=result&id_answer=$2 [L]
RewriteRule ^forum/warning-([0-9]+)/([0-9]+)/([^/]*)(/?)+$ index.php?do=forum&action=warning&id=$1&log_warn=$2&param=$3 [L]
RewriteRule ^forum/set/([^/]*)(/?)+$ index.php?do=forum&action=set&param=$1 [L]
RewriteRule ^forum/editor/([^/]*)(/?)+$ index.php?do=forum&action=editor&param=$1 [L]
RewriteRule ^forum/feed/([0-9]+)/([^/]*)(/?)+$ index.php?do=forum&action=feed&id=$1&param=$2 [L]
RewriteRule ^forum/post/([0-9]+)/([^/]*)/([^/]*)(/?)+$ index.php?do=forum&action=post&id=$1&param=$2&hash=$3 [L]
RewriteRule ^forum/add/([0-9]+)/([^/]*)(/?)+$ index.php?do=forum&action=newpost&id=$1&param=$2 [L]
RewriteRule ^forum/upload$ engine/bullet_energy/modules/upload.php [L]
RewriteRule ^forum/post_mass/([^/]*)$ index.php?do=forum&action=post_mass&param=$1 [L]
RewriteRule ^forum/preview(/?)+$ index.php?do=forum&action=preview [L]
RewriteRule ^forum/reads/([^/]*)/([0-9]+)(/?)+$ index.php?do=forum&action=reads&param=$1&id=$2 [L]
RewriteRule ^forum/complaint/([0-9]+)/([^/]*)(/?)+$ index.php?do=forum&action=complaint&id=$1&hash=$2 [L]
RewriteRule ^forum/rerouting/([^/]*)/([0-9]+)(/?)+$ index.php?do=forum&action=rerouting&param=$1&id=$2 [L]
RewriteRule ^user/([^/]*)/message(/?)+$ index.php?do=forum&action=user&name=$1&param=message [L]
RewriteRule ^user/([^/]*)/message/page-([0-9]+)(/?)+$ index.php?do=forum&action=user&name=$1&page=$2&param=message [L]
RewriteRule ^user/([^/]*)/topic(/?)+$ index.php?do=forum&action=user&name=$1&param=topic [L]
RewriteRule ^user/([^/]*)/topic/page-([0-9]+)(/?)+$ index.php?do=forum&action=user&name=$1&page=$2&param=topic [L]
RewriteRule ^user/([^/]*)/like(/?)+$ index.php?do=forum&action=user&name=$1&param=like [L]
RewriteRule ^user/([^/]*)/like/page-([0-9]+)(/?)+$ index.php?do=forum&action=user&name=$1&page=$2&param=like [L]
RewriteRule ^user/([^/]*)/trophies(/?)+$ index.php?do=forum&action=user&name=$1&param=trophies [L]


- เปิดไฟล์ index.php

- ค้นหา

$tpl->load_template ( 'main.tpl' );

-เพิ่มโค้ดนี้ด้านล่าง:

$tpl->set ( '{forumStyle}', require_once ROOT_DIR . '/engine/bullet_energy/modules/load_style.php' );

- เปิดไฟล์ engine/engine.php

- ค้นหา

switch ( $do ) {

- เพิ่มโค้ดนี้ด้านล่าง:

case "forum": include ENGINE_DIR . '/bullet_energy/index.php'; break;

- เปิดไฟล์ engine/init.php

- ค้นหา

if ($config['rss_informer']) include_once ENGINE_DIR . '/modules/rssinform.php';

- เพิ่มโค้ดนี้ด้านล่าง:

require_once ('engine/bullet_energy/api/bullet_api.class.php');

- เปิดไฟล์ engine/modules/banned.php

- ค้นหา:

if( $row['users_id'] ) $db->query( "UPDATE " . USERPREFIX . "_users SET banned='' WHERE user_id = '{$row['users_id']}'" );

- แทนที่ด้วย:

if( $row['users_id'] ) {
     $db->query( "UPDATE " . USERPREFIX . "_users SET banned='' WHERE user_id = '{$row['users_id']}'" );
     $forumInfoUser = $db->super_query( "SELECT forum_warning FROM " . PREFIX . "_users WHERE user_id = '{$row['users_id']}'" );
     if( $forumInfoUser == 100 ) {
        $db->query( "INSERT INTO " . PREFIX . "_be_user_warning (id, moderator_id, post_id, date, description, id_user, date_out, action, type, ball) VALUES (NULL, '1', '0', '{$this_time}', 'Lower the level of warning after blocked.', '{$row['users_id']}', '0', 'down', 'message', '10')" );
        $db->query( "UPDATE " . PREFIX . "_users SET forum_warning = forum_warning - 10 WHERE user_id = {$row['users_id']} LIMIT 1" );
     }
}


- เปิดไฟล์ engine/inc/editusers.php

- ค้นหา:

$db->query( "UPDATE " . PREFIX . "_images SET author='$editlogin' WHERE author='{$row['name']}'" );

- เพิ่มโค้ดนี้ด้านล่าง:

$db->query( "UPDATE " . PREFIX . "_be_attachment SET attachment_user_name = '$editlogin' WHERE attachment_user_name = '{$row['name']}'" );
$db->query( "UPDATE " . PREFIX . "_be_complaint SET ct_from = '$editlogin' WHERE ct_from = '{$row['name']}'" );
$db->query( "UPDATE " . PREFIX . "_be_message SET message_autor = '$editlogin' WHERE message_autor = '{$row['name']}'" );
$db->query( "UPDATE " . PREFIX . "_be_moderator SET moderator_name = '$editlogin' WHERE moderator_name = '{$row['name']}'" );
$db->query( "UPDATE " . PREFIX . "_be_topic SET autor = '$editlogin' WHERE autor = '{$row['name']}'" );


ในไฟล์เดียวกัน ค้นหา:

$db->query( "DELETE FROM " . USERPREFIX . "_pm WHERE user='$id'" );

เพิ่มโค้ดนี้ด้านล่าง:

$db->query( "DELETE FROM " . PREFIX . "_be_complaint WHERE ct_from = '{$row['name']}'" );
$db->query( "DELETE FROM " . PREFIX . "_be_feed WHERE id_user ='$id'" );
$db->query( "DELETE FROM " . PREFIX . "_be_message WHERE autors_id ='$id'" );
$db->query( "DELETE FROM " . PREFIX . "_be_moderator WHERE moderator_id ='$id'" );
$db->query( "DELETE FROM " . PREFIX . "_be_thanks WHERE thanks_id_user = '$id'" );
$db->query( "DELETE FROM " . PREFIX . "_be_topic WHERE autor_id = '$id'" );


ในไฟล์เดียวกัน ค้นหา:

{$output}

เพิ่มโค้ดนี้ ด้านบน:

<tr><td colspan="3"><hr></td></tr><tr><td style="padding:4px;">Delete all posts and topics on the forum</td><td colspan="2"><input type="checkbox" name="del_post_forum" value="yes" /></td></tr>

ในไฟล์เดียวกัน ค้นหา:

if( $_POST['del_comments'] ) {

เพิ่มโค้ดนี้ ด้านบน:

if( $_POST['del_post_forum']) {   $result = $db->query("SELECT COUNT(*) as count, id_topic FROM " . PREFIX . "_be_message WHERE autors_id='$id' GROUP BY id_topic" );
   while ( $row = $db->get_array( $result ) ) {
     $db->query( "UPDATE " . PREFIX . "_be_topic SET reply_count=reply_count-{$row['count']} where id='{$row['id_topic']}'" );
   }
   $db->free( $result ) ;
   $db->query( "DELETE FROM " . PREFIX . "_be_topic WHERE autor_id = '$id'" );
   $db->query( "DELETE FROM " . PREFIX . "_be_message WHERE autors_id = '$id'" );
   $db->query( "UPDATE " . USERPREFIX . "_users set forum_post_count='0',forum_topic_count='0' where user_id ='$id'" );
 }


เรียกใช้ไฟล์ install.php ทำตามขั้นตอนไปเรื่อย

ถ้าดูแล้วงง ไปดูข้อมูลเกี่ยวกับการติดตั้งเพิ่มเติมได้ที่ : http://goo.gl/49a1ln

เพิ่มเติมเกี่ยวกับ Bullet Energy : http://goo.gl/RVA8h0

youtalen

[direct=https://www.chaohost.com/vps-ssd][VPS SSD] เริ่มต้น SSD 20 GB  CPU 1 CORE RAM 2 GB 400฿/m.[/direct]
[direct=https://www.chaohost.com/vps-ssd-forex][VPS SSD FOREX] เริ่มต้น SSD 20 GB  CPU 1 CORE RAM 2 GB 300฿/m.[/direct]
[direct=https://www.chaohost.com/hosting-ssd][HOSTING SSD] เริ่มต้น SSD 1 GB BANDWIDTH 100 GB  250฿/y.[/direct] PHP 5.6 / 7.1 FREE SSL!!!

popiazaza


binknon7


mylookhin

ขอบคุณมากครับ =w= พอเห็นตำว่า Null ปุ๊ป รีบโหลดทันทีเลย  :-[

+ 1 4 ->> 5 ครับ