Adding |PHP|Auotunban/ban + BanLIst to MuWeb 0.8
First download the autounban script from :
Link 1
After downloading go where your MuWeb 0.8 is installed.Once you are there find the modules folder and Extract the autounbanscript there(in the modules folder).
Second step download this edited Ban List(special for MuWeb 0.8) from:
Link 1
or
Link 2
After downloading extract in modules folder again
3-rd step(the adding of the BanList to the Menu)
Open your index.php file then Ctrl+F and type Forum
and you will see something like that:
PHP Code:
<tr>
<td><div align="right"><img src="http://forum.ragezone.com/images/arrow.jpg" alt="Arrow" width="9" height="9"></div></td>
<td class="link_menu" align="left"><a href="index.php?op=forum">Forum</a></td>
</tr>
</table>
before </table> and after </tr> add this code :
PHP Code:
<tr>
<td><div align="right"><img src="http://forum.ragezone.com/images/arrow.jpg" alt="Arrow" width="9" height="9"></div></td>
<td class="link_menu" align="left"><a href="index.php?op=banned">BanList</a></td>
</tr>
Now it looks like that:
PHP Code:
<tr>
<td><div align="right"><img src="http://forum.ragezone.com/images/arrow.jpg" alt="Arrow" width="9" height="9"></div></td>
<td class="link_menu" align="left"><a href="index.php?op=forum">Forum</a></td>
</tr>
<tr>
<td><div align="right"><img src="http://forum.ragezone.com/images/arrow.jpg" alt="Arrow" width="9" height="9"></div></td>
<td class="link_menu" align="left"><a href="index.php?op=banned">BanList</a></td>
</tr>
</table>
We are ready with the adding to the Menu staff.
4 step(the most important)
Open your index.php and at the bottom of the text where the end must be :
PHP Code:
<?
ob_end_flush();
?>
add this code :
PHP Code:
<?
$con=mssql_connect($host,$user,$pass);
$sel=mssql_select_db('muonline',$con);
$time=time();
$run=mssql_query("update dbo.desban set bantime='$time'");
$row=mssql_fetch_row(mssql_query("select name,bantime,unbantime from desban"));
if($row[1]>=$row[2]){
$run1=mssql_query("delete from dbo.desban where name='$row[0]'");
$run2=mssql_query("update dbo.character set ctlcode='0' where name='$row[0]'");
}
?>
Now the bottom looks like that :
PHP Code:
</html>
<?
ob_end_flush();
?>
<?
$con=mssql_connect($host,$user,$pass);
$sel=mssql_select_db('muonline',$con);
$time=time();
$run=mssql_query("update dbo.desban set bantime='$time'");
$row=mssql_fetch_row(mssql_query("select name,bantime,unbantime from desban"));
if($row[1]>=$row[2]){
$run1=mssql_query("delete from dbo.desban where name='$row[0]'");
$run2=mssql_query("update dbo.character set ctlcode='0' where name='$row[0]'");
}
?>
Thats all
All Credits for this guide to me - DestructiO
Re: [Guide]Adding |PHP|Auotunban/ban + BanLIst to MuWeb 0.8
Great job, man!By the way, can u add these features to MuWeb 0.8 for lazy ppl like me :P? ^^ It is my joking...! I tested and it works!
Re: [Guide]Adding |PHP|Auotunban/ban + BanLIst to MuWeb 0.8
Looks nice! Works only with MuWeb 0.8? Do you have any screenshot?
Edit: don't see other post :/ Delete this
Re: [Guide]Adding |PHP|Auotunban/ban + BanLIst to MuWeb 0.8
Bad view
Fix :
1. Correct Table Size
2. Open Banned.php & Find :
</td>
</tr>
</table>
& Delete
Re: [Guide]Adding |PHP|Auotunban/ban + BanLIst to MuWeb 0.8
haha look the guide again there is a downlaod link for NEW banned.php modifed for muweb 0.8 and delete <table> tag only no need for <tr> and <td>!
Re: [Guide]Adding |PHP|Auotunban/ban + BanLIst to MuWeb 0.8
nice work
very usefull
i was wondering, destructio, maybe you can make same thing but for View Online users?
like in mu toolz, where u can see whos online, map, coord, lvl and resets?cause i prefer MuWeb and i need that funcion for GM's afk checks :)
and btw, my server is on one PC, and website on other, and this thing when i install says
Code:
A Conntection With The Server Cannot Be Established, please check your settings at wshcfg.inc!
Re: [Guide]Adding |PHP|Auotunban/ban + BanLIst to MuWeb 0.8
Quote:
Originally Posted by
DestructiO
Open your index.php file then Ctrl+F and type Forum
What index.php ?
I search in all index.php's and i cannot find Forum
Re: [Guide]Adding |PHP|Auotunban/ban + BanLIst to MuWeb 0.8
Can give me this for ODBC no MSSQL :scratch:
Re: [Guide]Adding |PHP|Auotunban/ban + BanLIst to MuWeb 0.8
but me in index.php ... not found this php cod :
<?
ob_end_flush();
?>
where is ... ? where to search ? pls help me
Re: [Guide]Adding |PHP|Auotunban/ban + BanLIst to MuWeb 0.8
all sayd gg man but this doesnt work :|
Re: [Guide]Adding |PHP|Auotunban/ban + BanLIst to MuWeb 0.8
Awesome Guide And Really Useful
Everything Works For Me No Errors!
I Really Sorry For The Noob Question But How Do I Actually Ban Someone?
Re: [Guide]Adding |PHP|Auotunban/ban + BanLIst to MuWeb 0.8
Quote:
Originally Posted by
DOOMHELL
Awesome Guide And Really Useful
Everything Works For Me No Errors!
I Really Sorry For The Noob Question But How Do I Actually Ban Someone?
work fine ....
Re: [Guide]Adding |PHP|Auotunban/ban + BanLIst to MuWeb 0.8
can some1 add this to muweb and upload here pls ???
Re: [Guide] Adding |PHP|Auotunban/ban + BanLIst to MuWeb 0.8
Nice, banlist working fine...But can someone explain how do i use that autounbann/ban script...?
Guide say nothing about the install folder located in autounbann script =/
How do i connect to that script mysite.com/autounbann ??? or... ?
Re: [Guide] Adding |PHP|Auotunban/ban + BanLIst to MuWeb 0.8
Re: [Guide] Adding |PHP|Auotunban/ban + BanLIst to MuWeb 0.8
is only shit, the install dont work's good, dont connect to sql server, only shit =S
Re: [Guide] Adding |PHP|Auotunban/ban + BanLIst to MuWeb 0.8
Re: [Guide] Adding |PHP|Auotunban/ban + BanLIst to MuWeb 0.8
can some one translate this:
Za da rabotqt napalno ne6tata trqbva da se sazdade nov table
TABLE imeto trqbva da e "desban"
v tozi table trqbva da napi6ete - vij snimkata desban.jpg v sa6tata papka
Sled kato napravi6 tova si gotov
Ima i banned.php tova e Ban list s palni obqsneniq koga e bannat kolko vreme mu ostava i t.n.
VAJNO!!!!!!!!!!!!
that was in folder, i think there is some extra info, whow to install. its a bit simular to russian lang, but still cant unedrstand that.
Re: [Guide] Adding |PHP|Auotunban/ban + BanLIst to MuWeb 0.8
izlez ot igrata za da vlezne6 v sistemata??????
Re: [Guide] Adding |PHP|Auotunban/ban + BanLIst to MuWeb 0.8
"schakalahak?" "skaks"
Talk english for damn sake ^^
Re: Adding |PHP|Auotunban/ban + BanLIst to MuWeb 0.8
bad link,please post it again