Requirements:
- working MuWeb (0.9)
Step 1: Download Market System here:
http://forum.ragezone.com/f197/muweb...system-577758/
Step 2: Extract it
Step 3: Delete useless files
Browse to
Code:
MuWeb_0.9_Market\template\default\
Delete header.php & footer.php
Code:
MuWeb_0.9_Market\sys_\muweb_db
Delete db_modules_settings.tDB
Step 4: Edit files
Browse to your MuWeb (xampp/htdocs)
Open header.php and add
Code:
mssql_query("Use Me_MuOnline;");
$get_credits = mssql_query("select credits from MEMB_CREDITS WHERE memb___id='".$_SESSION['user_login_name']."'");
$get_credits = mssql_fetch_row($get_credits);
$MyCreditsCount=$get_credits[0];
if(!isset($MyCreditsCount)){
$checkcredits=mssql_query("exec XCredits '".$_SESSION['user_login_name']."',0;");
$MyCreditsCount=0;
}
$get_purse = mssql_query("select purse from MEMB_INFO WHERE memb___id='".$_SESSION['user_login_name']."'");
$get_purse = mssql_fetch_row($get_purse);
$MyPurseMoney=$get_purse[0];
right after
Find
Code:
<tr>
<td class="td_menu"><div align="right" class="menu_link"><a href="#" onClick="sub_page(\''.$muweb['servername'].'-Rankings.html\');">Rankings</a></div></td>
<td class="td_menu_bullet"><img src="'.$muweb['images'].'/b_m.png" width="12" height="12" alt=""></td>
</tr>
Add
Code:
<tr>
<td height=\"2\" colspan=\"2\"><img src=\"".$muweb['images']."/gray_menu_space.png\" width=\"167\" height=\"2\" alt=\"\"></td>
</tr>
<tr>
<td class=\"td_menu\"><div align=\"right\" class=\"menu_link\"><a href=\"#\" onClick=\"sub_page('".$muweb['servername']."-Market.html');\">Market</a></div></td>
<td class=\"td_menu_bullet\"><img src=\"".$muweb['images']."/b_m.png\" width=\"12\" height=\"12\" alt=\"\"></td>
</tr>
right after it
Browse to your MuWeb (xampp/htdocs)
Open db_modules_settings.tDB (possible with normal text editor)
Add
Code:
24|*|Market|*|1|*|
25|*|Market Panel|*|1|*|
27|*|Zen Transfer|*|1|*|
right at the end of the file
Step 5: Insert SQL
Open your SQL Server Management Studio or the tool you use for your datebase. (log in)
Browse to your MuOnline Database.
Righclick it -> new Query (window should appear)
Browse to
Code:
MuWeb_0.9_Market\_install_scripts_
Open market.sql (possible with normal text editor) -> Select all (STRG+A) -> Copy (STRG+C) -> go back to SQL Manager and Past (STRG+P)
Run the query (!Run Button right above [left corner])
Exit the query window and click "No".
Do the same procedure for market_ib.sql
Step 6: Customize Market Cash & Character offline check
Browse to
Code:
MuWeb_0.9_Market\sub_pages
Open Market.php
Add
Code:
mssql_query("Use MuOnline;");
right after
Search for every
Code:
select credits from MEMB_CREDITS WHERE
Replace credits with the column name you use (e.g. cash)
Replace MEMB_CREDITS with the table name you use (e.g. MEMB_INFO)
Search for every
Code:
UPDATE MEMB_CREDITS SET credits
Replace credits with the column name you use (e.g. cash)
Replace MEMB_CREDITS with the table name you use (e.g. MEMB_INFO)
(Should be 4 lines to edit)
Step 7: Copy files
Copy the folders
Code:
items
sub_pages
_sys
template
into your root folder (e.g htdocs)
Now open you Website and enjoy 
ZenTransfer.php customize coming*
Don't forget to like :)