1.3 BETA:
Added search ability
Added drop down box with full ban information
Change the way bans where displayed
CSS validated
Improved look
1.2 BETA:
Added ability for admins to run server commands that are not ban related.
Added ban length.
Added ban status.
Fixed oversight that stopped remote bans from working.
General code improvements and i've tried to tidy it up abit.
Included debugging code in update.php.
Minor bug fixes.
Removed unban date.
Tried to improve overal apearance of the susytem(I feel like i failed xD)
1.1 BETA:
Fixed console bans not showing correctly.
included tabes.sql to download.
1.0 BETA:
Initial release.
so uh, how do i use the right ip?
You overwrote what was in the the config.php with what is in your index.php.
You might want to mention that the default password is "password" as well. Unless you did and I wasn't paying attention, sorry.
// This must be the directory to "garrysmod/data/ULib/" - Leave a trailing slash and make sure you do not leave a slash at the start.While in reality, I had to add the slash at the start for it to properly update the bans.
$ftp_directory = '/home/snivy/rp/orangebox/garrysmod/data/ULib/';
ConnectedDir: /89.238.160.174_port_27015/orangebox/garrysmod/data/ULib
Warning: ftp_get(bans.txt) [function.ftp-get]: failed to open stream: Permission denied in /home/wullysbu/public_html/gmodban/update.php on line 31
Warning: ftp_get() [function.ftp-get]: Error opening bans.txt in /home/wullysbu/public_html/gmodban/update.php on line 31
changes back, same with any other files on the entire servers ftp, something to do with the host possibly?Possibly.
Possibly.
Also, make sure the server isn't running when you try to modify files
What If Im hosting my server from my Home PC. And I dont have a SQL, How can I do this? I really need it... PLEASE HELP!
tntspacebuild@hosted2 ~/public/ulxweb $ php update.php
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>ULX Bans Update</title>
<link rel="stylesheet" href="admin/styles.css" type="text/css" />
<meta http-equiv="REFRESH" content="3;url=index.php">
</head>
<body bgcolor="#333333">
connectedDir: /garrysmod/data/ULib/
tntspacebuild@hosted2 ~/public/ulxweb $ uname -a
Linux hosted2 2.6.38.2 #1 SMP Sun Apr 3 23:47:45 PDT 2011 x86_64 Intel(R) Xeon(R) CPU X3470 @ 2.93GHz GenuineIntel GNU/Linux
unlink('bans.txt');
ftp_pasv($conn, true);
ftp_get($conn,"bans.txt","bans.txt",FTP_ASCII);
echo '<center><h1 class="update">Bans updated!</h1><br /><h2 class="update">You will now be redirected to the previous page.</h2></center>';
"admin" "Headcrap(STEAM_0:1:42287608)"
Here's mine: http://forums.stgdarkrp.org/index.php?pageid=bans
1: How could I modify the index.php to use a remote location such as http://108.163.211.219/bans.txt instead of a physical on-site copy.
2: How could I get the admins steamid extracted from the ban list? Similar to the way you extract the banned users steamid, but I cant figure out how to do the admin's one.Code: [Select]"admin" "Headcrap(STEAM_0:1:42287608)"
Last Active:
June 19, 2012, 04:33:17 PM
Having problems, it doesn't seem to be grabbing bans.txt from my server.
[09-Jul-2012 00:25:47] PHP Warning: ftp_get() [<a href='function.ftp-get'>function.ftp-get[/url]]: File status okay; about to open data connection. in /home/thegtz/public_html/sub/bans/update.php on line 36
[09-Jul-2012 00:25:50] PHP Warning: file(./bans.txt) [<a href='function.file'>function.file[/url]]: failed to open stream: No such file or directory in /home/thegtz/public_html/sub/bans/index.php on line 238
Hi all, i do understand most php-related things but i really am having trouble setting this up, i have tried many,many,many combinations in the config file. So please can somone most preferbly a person who has got this working or a ulysses moderator/member please contact me either through my email or my steam. This would be greatly appreciated as the video is Outdated and the comments here are shocking enough.
Steam: http://steamcommunity.com/profiles/76561198031633135/
Very nice. But I do think you should work on a newer style.
To be honest this theme of it looks kinda messy that you made in 10 mins. I think you should try improving the style of it.
Not trying to be mean, just saying my option.
you should work on a newer style.Seriously?