Author Topic: ULX web system (Remote bans/list current bans) - BETA v1.3  (Read 72065 times)

0 Members and 6 Guests are viewing this topic.

Offline russy

  • Newbie
  • *
  • Posts: 18
  • Karma: 6
    • ULX Bans
ULX web system (Remote bans/list current bans) - BETA v1.3
« on: July 24, 2011, 02:10:51 PM »
ULX web system - BETA V1.3

V1.3 Released!
Download it here: www.bans.ulyssesmod.net


Features:
  • Shows a list of all banned players.
  • Shows when a banned player was banned.
  • NEW:Shows players ban length.
  • NEW:Show current status of players ban.
  • Administrator login.
  • 2 permission levels for admins.
  • Remote ban via the web system
  • Remote unban via the web system
  • NEW:Level two admins can now run custom server commands.

Please note: The video is old and information may be wrong or misleading however i will not remove the video as it may still be helpful.
YouTube video on how to install and use the system.(i was in a rush to make it so please forgive the rambling)
http://www.youtube.com/watch?v=mdNfdrNlCMQ#


Default user:
username: admin
password: password

Once your logged in you need to create your self a new user and set it to permission level 2 so you can access the web panel and then delete the default admin user to prevent other people accessing your web bans.

Change log:
Code: [Select]
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.

Please post any ideas or suggestions you may have.
« Last Edit: June 29, 2012, 03:56:29 AM by russy »
??????

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: ULX web system (Remote bans/list current bans) - BETA
« Reply #1 on: July 24, 2011, 02:15:48 PM »
Good to see that you released it! Glad that you saw the project through. :)
Experiencing God's grace one day at a time.

Offline blackfire88

  • Jr. Member
  • **
  • Posts: 56
  • Karma: 0
Re: ULX web system (Remote bans/list current bans) - BETA
« Reply #2 on: July 25, 2011, 05:06:22 AM »
so uh, how do i use the right ip?

Offline russy

  • Newbie
  • *
  • Posts: 18
  • Karma: 6
    • ULX Bans
Re: ULX web system (Remote bans/list current bans) - BETA
« Reply #3 on: July 25, 2011, 05:28:26 AM »
so uh, how do i use the right ip?

take my servers ip for example the full address is: 81.19.217.222:27415

the IP is this part  81.19.217.222:27415
and the port is 81.19.217.222:27415

so in the config it looks like this:
$server_ip = '81.19.217.222';
$server_port = '27415';
??????

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: ULX web system (Remote bans/list current bans) - BETA
« Reply #4 on: July 25, 2011, 10:56:12 AM »
Looks very nice! I'm sure many people will find it useful  ;D
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline russy

  • Newbie
  • *
  • Posts: 18
  • Karma: 6
    • ULX Bans
Re: ULX web system (Remote bans/list current bans) - BETA
« Reply #5 on: July 25, 2011, 12:18:43 PM »
Just realised i forgot to add the "tables.sql" to the download so i've added it in the new update
« Last Edit: July 25, 2011, 12:26:01 PM by russy »
??????

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: ULX web system (Remote bans/list current bans) - BETA
« Reply #6 on: July 25, 2011, 01:29:48 PM »
You overwrote what was in the the config.php with what is in your index.php.

Offline russy

  • Newbie
  • *
  • Posts: 18
  • Karma: 6
    • ULX Bans
Re: ULX web system (Remote bans/list current bans) - BETA
« Reply #7 on: July 25, 2011, 04:01:31 PM »
You overwrote what was in the the config.php with what is in your index.php.

>.< sorry sorted it now.
??????

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: ULX web system (Remote bans/list current bans) - BETA
« Reply #8 on: July 25, 2011, 09:53:32 PM »
You might want to mention that the default password is "password" as well.  Unless you did and I wasn't paying attention, sorry.

Offline russy

  • Newbie
  • *
  • Posts: 18
  • Karma: 6
    • ULX Bans
Re: ULX web system (Remote bans/list current bans) - BETA
« Reply #9 on: July 26, 2011, 05:05:12 AM »
You might want to mention that the default password is "password" as well.  Unless you did and I wasn't paying attention, sorry.

yeah i said it in the vidoe but i was rambling just a bit :P
??????

Offline Snivy

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Re: ULX web system (Remote bans/list current bans) - BETA
« Reply #10 on: August 01, 2011, 12:46:16 PM »
Heh. Just installed it.

So far, it's working great.

A little thing that threw me off though, was that a small part was mislabeled,

Quote
// 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.
Quote
$ftp_directory = '/home/snivy/rp/orangebox/garrysmod/data/ULib/';

But now it's working great!

Awesome release :D

Offline russy

  • Newbie
  • *
  • Posts: 18
  • Karma: 6
    • ULX Bans
Re: ULX web system (Remote bans/list current bans) - BETA
« Reply #11 on: August 02, 2011, 10:35:04 PM »
hmm i guess it must depend on the webhost then Snivy for me that wouldn't work.
??????

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: ULX web system (Remote bans/list current bans) - BETA
« Reply #12 on: August 03, 2011, 02:12:53 PM »
Re: Slashes
Might not so much be 'web host' as it might be 'operating system' the web host uses.
One post looks like linux.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Willdy

  • Jr. Member
  • **
  • Posts: 54
  • Karma: 1
Re: ULX web system (Remote bans/list current bans) - BETA
« Reply #13 on: August 04, 2011, 02:50:25 PM »
A couple of issues..

1. I followed everything in the video, including changing the update.php to 777, which made it break. I then proceeded to changing it back and now it wont work. I banned someone purely to test this! I still have the errors as I had before. All the information about the server is correct.

2. The update.php takes a long time to load, and sometimes times out, could be my nice, free web host though :P

EDIT: Ill try the starting '/' as someone suggested. Can't connect to my ftp at the moment though :/
EDIT2: Doesn't work still :/
« Last Edit: August 04, 2011, 03:59:39 PM by Willdy »

Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
Re: ULX web system (Remote bans/list current bans) - BETA
« Reply #14 on: August 05, 2011, 02:36:45 PM »
Hey, this looks a lot like something I did a while back.
I could actually contribute to this project. Are you looking for any help?
I would like to put this inside of a framework and add a couple features.
An error only becomes a mistake when you refuse to correct it. --JFK

"And thus the downfall of the great ULX dynasty was wrought not by another dynasty, but the slow and steady deterioration of the leaders themselves, followed by the deprecation of the great knowledge they possessed." -Gmod, Chapter 28, verse 34 -- Stickly