Hướng dẫn cài đặt : 1. Download về giải nén Upload lên host đúng thư mục 2. Đăng nhập admincp và chạy : _http://yoursite.com/forum/admincp/install_cash.php 3. Xóa install_cash.php 4. Cài đặt file Plugin cho Product Manager! 7. Chỉnh template 'postbist' or 'postbit_legacy' Tìm : <div> $vbphrase[posts]: $post[posts] </div> Thêm vào bên dưới : <!-- Cash - Casino System By THN Design --> <if condition="$post['points']>0"><div>Points: $post[points] (<a href="cash.php?do=donate&userid=$post[userid]" target="cash">Donate</a>)</div></if> <!-- / Cash - Casino System By THN Design --> Tìm : </div> <!-- / attachments --> </if> Thêm vào dưới : <!-- Cash - Casino System By THN Design --> <if condition="$post['items']"> <div style="padding:$stylevar[cellpadding]px"> <fieldset class="fieldset"> <legend><a href="cash.php?do=useritems&userid=$post[userid]" target="cash">$post[musername]'s items</a></legend> <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0"><tr><td> $post[items] </td></tr></table> </fieldset> </div> </if> <!-- / Cash - Casino System By THN Design --> 8. Chỉnh template 'MEMBERINFO' Tìm: <tr> <td> $vbphrase[total_posts]: <strong>$userinfo[posts]</strong> (<phrase 1="$postsperday">$vbphrase[x_posts_per_day]</phrase>) </td> </tr> Thêm vào phía dưới : <!-- Cash - Casino System By THN Design --> <if condition="$post['points']>0"> <tr> <td> Points: $post[points] (<a href="cash.php?do=donate&userid=$post[userid]" target="cash">Donate</a>) </td> </tr> </if> <!-- / Cash - Casino System By THN Design --> Tìm : <if condition="$vboptions['usereferrer']"> <div class="fieldset"> <div style="padding:$stylevar[formspacer]px"> $vbphrase[referrals]: <strong>$referrals</strong> </div> </div> </if> Thêm vào dưới : <!-- Cash - Casino System By THN Design --> <if condition="$post['items']"> <fieldset class="fieldset"> <legend><a href="cash.php?do=useritems&userid=$post[userid]" target="cash">$post[musername]'s items</a></legend> <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0"><tr><td> $post[items] </td></tr></table> </fieldset> </if> <!-- / Cash - Casino System By THN Design --> 9. Chỉnh template 'navbar' Tìm : <td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td> Thêm vào dưới : <td class="vbmenu_control" id="cash"><a href="cash.php$session[sessionurl_q]">Shop</a></td> Cách chỉnh số tiền trong bài viết : Trong file install_cash.php gần cuối file để tự động thêm tiền cho các thành viên nhiều bài viết (20$ 1 thread và 15$ 1 reply) nếu bạn nào không thích thì xóa đoạn này đi là được. Code: // Stars DEFAULT CASH -->$rsUserCash = $db->query_write("SELECT * FROM `" . TABLE_PREFIX . "user`");while ($row_rsUserCash = mysql_fetch_assoc($rsUserCash)){ $userThreads = mysql_num_rows($db->query_write("SELECT threadid FROM `" . TABLE_PREFIX . "thread` WHERE postuserid=" . $row_rsUserCash['userid'])); $userPosts = mysql_num_rows($db->query_write("SELECT postid FROM `" . TABLE_PREFIX . "post` WHERE userid=" . $row_rsUserCash['userid'])); $userCash = 10; $userCash += 20 * $userThreads; $userCash += 15 * ($userPosts - $userThreads); $db->query_write("UPDATE `" . TABLE_PREFIX . "user` SET cash=" . $userCash . " WHERE userid=" . $row_rsUserCash['userid']);}// End DEFAULT CASH --> Download : Link 1: http://www.orbitfiles.com/download/id1329244872 , + Hướng dẫn sử dụng : - Điều khiển chung : admincp -->Cash Casino-->Casino Options Given Per Thread Reply/Quote : Số tiền có được 1 bài viết trả lời Given Per New Thread/Poll : Số tiền một bài viết The % of points that the user will get when selling an item. 0.75 = 75% : Giá bán lại - Admincp --> Lottery Control : Quản lý Sổ xố - Shop Control - Add Category : Tạo mục mới cho siêu thị - Add Items : Tạo Sản phẩm cho siêu thị : Name : Tên sản phẩm Category : Mục sản phẩm Cost : giá bán Description : Giới thiệu Link : item Icon : điền tên hình sản phẩm Have Fun With This Mod.........