Lil'Neo
20-06-2008, 10:47 AM
Đầu tiên bạn phải hack theo 1 trong 2 mod này
_http://www.vnpower.org/forums/index.php?showtopic=32623
Bạn làm theo hướng dẫn là ok, nói chung mod này ở cấp độ không khó nhưng mà edit nhiều
Sau đây là một số câu hỏi thường gặp mà mình đã tổng hợp cho bạn
QUOTE
P3tz works with many points systems developed for vBulletin 3.5x. To install P3tz with a points system you must enter a table and a field into the points table and points field option boxes. Below are some common configurations:
eBux: Table: user | Field: ebux
uCash: Table: user | Field: ucash
vCash: Table: user | Field: vcash
ACP ~>Petz settings ~~> có 2 cột table và field
Table : để mặc định ( user )
Field : tùy hệ thống point của mình mà set , ( ucash, vcash, ebux..)
Mún set plaza+casino+petz cùng một đơn vị thì :
Vọc file /includes/functions_cash.php, chọn 1 biến bất kì và set cho nó là vbux.
QUOTE
Bản thân petz ko tạo dc đơn vị tiền như vbux,icash, ucash hay casino nên phải có cài này để có đơn vị xiền
Install Instructions:
Ok the instructions for a fresh install of P3tz are as follows:
1. Upload files in the upload folder preserving the folder heirarchy.
2. Enter your admin CP and in the Product Manager choose to Import/Add a new product.
3. Select the product-petz.xml file from this folder and install.
4. Enter the main P3tz Settings (Settingz in the P3tz Admin Menu) and configure your install.
5. P3tz works with many points systems developed for vBulletin 3.5x. To install P3tz with a points system you must enter a table and a field into the points table and points field option boxes. Below are some common configurations:
eBux: Table: user | Field: ebux
uCash: Table: user | Field: ucash
vCash: Table: user | Field: vcash
6. Template Edits: There are 5 Edits for P3tz:
In the MEMBERINFO template.
Find: <if condition="$show['signature']">
Above Add:
<if condition="$userinfo[petz]">
<table cellpadding="0" cellspacing="0" border="0" class="tborder" width="$stylevar[tablewidth]" align="center">
<tr>
<td>
<table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<tr align="center">
<td class="tcat">P3tz</td>
</tr>
<tr align="center">
<td class="alt1">$userinfo[petz]</td>
</table>
</td>
</tr>
</table>
<br /><br />
</if>
<table cellpadding="0" cellspacing="0" border="0" class="tborder" width="$stylevar[tablewidth]" align="center">
<tr>
<td>
<table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<thead>
<tr align="center">
<td class="tcat" colspan="5"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('inventory')"><img id="collapseimg_inventory" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_inventory}.gif" alt="" border="0" /></a>My Itemz Inventory</td>
</tr>
</thead>
<tbody id="collapseobj_inventory" style="{$collapseobj_inventory}">
<tr align="center">
<td class="thead" width="2%">Item</td>
<td class="thead" width="15%">Name</td>
<td class="thead" width="*">Description</td>
<td class="thead" width="15%">Effect</td>
<td class="thead" width="2%">Steal</td>
</tr>
$petz_inventory_bit
</tbody>
<tfoot>
<tr align="center">
<td class="thead" colspan="5" align="left">
<span style="float:right">Total Items: $totalitems</span>
</td>
</tr>
</tfoot>
</table>
</td>
</tr>
</table>
In the postbit/postbit_legacy template.
Add: $post[petz] Where you want the P3tz to be displayed.
postbit suggestion: Find: <td width="100%"> </td> Replace with: <td width="100%" align="right"> $post[petz]</td>
postbit_legacy suggestion: Find: $vbphrase[posts]: $post[posts] Below add: <br />$post[petz]
In the headinclude template.
Find: <!-- / CSS Stylesheet -->
Below add:
<script type="text/javascript">
<!---
function confirmaction(message, url){
if(confirm(message)) location.href = url;
}
// --->
</script>
In the navbar template.
There are two edits for this template and they are:
Find:
<td id="navbar_search" class="vbmenu_control"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[search]</a> <script type="text/javascript"> vbmenu_register("navbar_search"); </script></td>
</if>
Add Under:
<td id="petz" class="vbmenu_control"><a href="petz.php$session[sessionurl_q]">P3tz</a><script type="text/javascript"> vbmenu_register("petz"); </script></a></td>
At the bottom of the template find: </if>
Add Above:
<div class="vbmenu_popup" id="petz_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="thead"><a href="petz.php?$session[sessionurl]do=home">P3tz Home</a></td></tr>
<tr><td class="vbmenu_option"><a href="petz.php?$session[sessionurl]do=market">Itemz Market</a></td></tr>
<tr><td class="vbmenu_option"><a href="petz.php?$session[sessionurl]do=vet">Vet</a></td></tr>
<tr><td class="vbmenu_option"><a href="petz.php?$session[sessionurl]do=arena">Arena</a></td></tr>
<tr><td class="vbmenu_option"><a href="petz.php?$session[sessionurl]do=gamble">Casino</a></td></tr>
<tr><td class="vbmenu_option"><a href="petz.php?$session[sessionurl]do=training">Training Camp</a> </td></tr>
<tr><td class="vbmenu_option"><a href="petz.php?$session[sessionurl]do=spells">Magic School</a></td></tr>
<tr><td class="vbmenu_option"><a href="petz.php?$session[sessionurl]do=adoption">Pet Shop</a></td></tr>
<tr><td class="vbmenu_option"><a href="petz.php?$session[sessionurl]do=kennels">Kennels</a></td></tr>
<tr><td class="vbmenu_option"><a href="petz.php?$session[sessionurl]do=graveyard">Graveyard</a></td></tr>
<tr><td class="vbmenu_option"><a href="petz.php?$session[sessionurl]do=toplist">Top List</a></td></tr>
<tr><td class="vbmenu_option"><a href="petz.php?$session[sessionurl]do=guilds">Guilds</a></td></tr>
<tr><td class="vbmenu_option"><a href="petz.php?$session[sessionurl]do=auction">Auction</a></td></tr><!--
<tr><td class="vbmenu_option"><a href="petz.php?$session[sessionurl]do=biolab">Bio Lab</a></td></tr>
<tr><td class="vbmenu_option"><a href="petz.php?$session[sessionurl]do=album">Album</a></td></tr>-->
<tr><td class="vbmenu_option"><a href="petz.php?$session[sessionurl]do=search">Search</a></td></tr>
</table>
</div>
7: Done. However, you have some settings to change, items to create, spells to invent, and quite a bit of other fun stuff!
Sau khi cài, trên navar có một link đến pet, đây là "world of the pet" và bạn có thể làm tất cả mọi thứ tại đó.
Muốn xem thêm chi tiết...xin mời vào đây:
http://dev.p3tz.com/acpguide/
muốn xóa tất cả trong shoutbox thì làm như sau:
Trong shout em gõ:
QUOTE
/prune
Một số lệnh thường dùng trong shoubox:
QUOTE
/prune username
Với username là tên của user ( VD : /prune Neo --> những gì Neo ghi trên shout sẽ bị xoá)
/prune (tất cả những gì trên shout sẽ bị xoá)
/me nội dung chat trên shoutbox
lệnh /me sẽ cho đoạn nội dung chat của mình ra giữa ) (Bạn nên thử trên shoutbox để biết cụ thể hơn )
download (http://bantot.net/forum/attachment.php?attachmentid=295&d=1202747026)
_http://www.vnpower.org/forums/index.php?showtopic=32623
Bạn làm theo hướng dẫn là ok, nói chung mod này ở cấp độ không khó nhưng mà edit nhiều
Sau đây là một số câu hỏi thường gặp mà mình đã tổng hợp cho bạn
QUOTE
P3tz works with many points systems developed for vBulletin 3.5x. To install P3tz with a points system you must enter a table and a field into the points table and points field option boxes. Below are some common configurations:
eBux: Table: user | Field: ebux
uCash: Table: user | Field: ucash
vCash: Table: user | Field: vcash
ACP ~>Petz settings ~~> có 2 cột table và field
Table : để mặc định ( user )
Field : tùy hệ thống point của mình mà set , ( ucash, vcash, ebux..)
Mún set plaza+casino+petz cùng một đơn vị thì :
Vọc file /includes/functions_cash.php, chọn 1 biến bất kì và set cho nó là vbux.
QUOTE
Bản thân petz ko tạo dc đơn vị tiền như vbux,icash, ucash hay casino nên phải có cài này để có đơn vị xiền
Install Instructions:
Ok the instructions for a fresh install of P3tz are as follows:
1. Upload files in the upload folder preserving the folder heirarchy.
2. Enter your admin CP and in the Product Manager choose to Import/Add a new product.
3. Select the product-petz.xml file from this folder and install.
4. Enter the main P3tz Settings (Settingz in the P3tz Admin Menu) and configure your install.
5. P3tz works with many points systems developed for vBulletin 3.5x. To install P3tz with a points system you must enter a table and a field into the points table and points field option boxes. Below are some common configurations:
eBux: Table: user | Field: ebux
uCash: Table: user | Field: ucash
vCash: Table: user | Field: vcash
6. Template Edits: There are 5 Edits for P3tz:
In the MEMBERINFO template.
Find: <if condition="$show['signature']">
Above Add:
<if condition="$userinfo[petz]">
<table cellpadding="0" cellspacing="0" border="0" class="tborder" width="$stylevar[tablewidth]" align="center">
<tr>
<td>
<table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<tr align="center">
<td class="tcat">P3tz</td>
</tr>
<tr align="center">
<td class="alt1">$userinfo[petz]</td>
</table>
</td>
</tr>
</table>
<br /><br />
</if>
<table cellpadding="0" cellspacing="0" border="0" class="tborder" width="$stylevar[tablewidth]" align="center">
<tr>
<td>
<table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<thead>
<tr align="center">
<td class="tcat" colspan="5"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('inventory')"><img id="collapseimg_inventory" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_inventory}.gif" alt="" border="0" /></a>My Itemz Inventory</td>
</tr>
</thead>
<tbody id="collapseobj_inventory" style="{$collapseobj_inventory}">
<tr align="center">
<td class="thead" width="2%">Item</td>
<td class="thead" width="15%">Name</td>
<td class="thead" width="*">Description</td>
<td class="thead" width="15%">Effect</td>
<td class="thead" width="2%">Steal</td>
</tr>
$petz_inventory_bit
</tbody>
<tfoot>
<tr align="center">
<td class="thead" colspan="5" align="left">
<span style="float:right">Total Items: $totalitems</span>
</td>
</tr>
</tfoot>
</table>
</td>
</tr>
</table>
In the postbit/postbit_legacy template.
Add: $post[petz] Where you want the P3tz to be displayed.
postbit suggestion: Find: <td width="100%"> </td> Replace with: <td width="100%" align="right"> $post[petz]</td>
postbit_legacy suggestion: Find: $vbphrase[posts]: $post[posts] Below add: <br />$post[petz]
In the headinclude template.
Find: <!-- / CSS Stylesheet -->
Below add:
<script type="text/javascript">
<!---
function confirmaction(message, url){
if(confirm(message)) location.href = url;
}
// --->
</script>
In the navbar template.
There are two edits for this template and they are:
Find:
<td id="navbar_search" class="vbmenu_control"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[search]</a> <script type="text/javascript"> vbmenu_register("navbar_search"); </script></td>
</if>
Add Under:
<td id="petz" class="vbmenu_control"><a href="petz.php$session[sessionurl_q]">P3tz</a><script type="text/javascript"> vbmenu_register("petz"); </script></a></td>
At the bottom of the template find: </if>
Add Above:
<div class="vbmenu_popup" id="petz_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="thead"><a href="petz.php?$session[sessionurl]do=home">P3tz Home</a></td></tr>
<tr><td class="vbmenu_option"><a href="petz.php?$session[sessionurl]do=market">Itemz Market</a></td></tr>
<tr><td class="vbmenu_option"><a href="petz.php?$session[sessionurl]do=vet">Vet</a></td></tr>
<tr><td class="vbmenu_option"><a href="petz.php?$session[sessionurl]do=arena">Arena</a></td></tr>
<tr><td class="vbmenu_option"><a href="petz.php?$session[sessionurl]do=gamble">Casino</a></td></tr>
<tr><td class="vbmenu_option"><a href="petz.php?$session[sessionurl]do=training">Training Camp</a> </td></tr>
<tr><td class="vbmenu_option"><a href="petz.php?$session[sessionurl]do=spells">Magic School</a></td></tr>
<tr><td class="vbmenu_option"><a href="petz.php?$session[sessionurl]do=adoption">Pet Shop</a></td></tr>
<tr><td class="vbmenu_option"><a href="petz.php?$session[sessionurl]do=kennels">Kennels</a></td></tr>
<tr><td class="vbmenu_option"><a href="petz.php?$session[sessionurl]do=graveyard">Graveyard</a></td></tr>
<tr><td class="vbmenu_option"><a href="petz.php?$session[sessionurl]do=toplist">Top List</a></td></tr>
<tr><td class="vbmenu_option"><a href="petz.php?$session[sessionurl]do=guilds">Guilds</a></td></tr>
<tr><td class="vbmenu_option"><a href="petz.php?$session[sessionurl]do=auction">Auction</a></td></tr><!--
<tr><td class="vbmenu_option"><a href="petz.php?$session[sessionurl]do=biolab">Bio Lab</a></td></tr>
<tr><td class="vbmenu_option"><a href="petz.php?$session[sessionurl]do=album">Album</a></td></tr>-->
<tr><td class="vbmenu_option"><a href="petz.php?$session[sessionurl]do=search">Search</a></td></tr>
</table>
</div>
7: Done. However, you have some settings to change, items to create, spells to invent, and quite a bit of other fun stuff!
Sau khi cài, trên navar có một link đến pet, đây là "world of the pet" và bạn có thể làm tất cả mọi thứ tại đó.
Muốn xem thêm chi tiết...xin mời vào đây:
http://dev.p3tz.com/acpguide/
muốn xóa tất cả trong shoutbox thì làm như sau:
Trong shout em gõ:
QUOTE
/prune
Một số lệnh thường dùng trong shoubox:
QUOTE
/prune username
Với username là tên của user ( VD : /prune Neo --> những gì Neo ghi trên shout sẽ bị xoá)
/prune (tất cả những gì trên shout sẽ bị xoá)
/me nội dung chat trên shoutbox
lệnh /me sẽ cho đoạn nội dung chat của mình ra giữa ) (Bạn nên thử trên shoutbox để biết cụ thể hơn )
download (http://bantot.net/forum/attachment.php?attachmentid=295&d=1202747026)