ULX

Author Topic: Uban PHP Viewer  (Read 32553 times)

0 Members and 1 Guest are viewing this topic.

Offline Ninjadude101

  • Newbie
  • *
  • Posts: 38
  • Karma: 4
Uban PHP Viewer
« on: May 30, 2008, 04:45:51 PM »
Hey, i personally had a hard time finding a web-based ban-list to work with the Uban mod, and when i finally found one, it was VERY basic. i mean theres was no graphics and it was just text. sorry but the people who use my site want a bit of a better thing to look at.
Long story short, i've customized the code and it looks much nicer now, and im releasing it to you guys :D

No i won't tell you how to install it its really simple. I will tell you however that you need to edit the top of index.php to relate to your database settings.

If you'd like a demo go take a look at ours: http://www.aouv.co.uk/serverbans/

Feel free to modify it but please do not remove the link at the bottom.

---------- Update already available----------

I'll call this V1.2.
It now displays the time the user was banned.
« Last Edit: May 31, 2008, 05:21:38 AM by Ninjadude101 »

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Uban PHP Viewer
« Reply #1 on: May 30, 2008, 05:18:03 PM »
Nice job!
Experiencing God's grace one day at a time.

Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
Re: Uban PHP Viewer
« Reply #2 on: May 30, 2008, 05:34:01 PM »
Very nice. :D
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

Offline Ninjadude101

  • Newbie
  • *
  • Posts: 38
  • Karma: 4
Re: Uban PHP Viewer
« Reply #3 on: May 30, 2008, 05:45:45 PM »
Yay, I did something helpful ^^

Offline Sc00by22

  • Jr. Member
  • **
  • Posts: 98
  • Karma: 0
Re: Uban PHP Viewer
« Reply #4 on: May 31, 2008, 03:14:07 AM »
That's very good, I can use Uban but my server company don't allow outbound mysql connections

Offline Ninjadude101

  • Newbie
  • *
  • Posts: 38
  • Karma: 4
Re: Uban PHP Viewer
« Reply #5 on: May 31, 2008, 04:39:16 AM »
That's very good, I can use Uban but my server company don't allow outbound mysql connections

Owned. I have some spare databases on my hosting.. I could let you use one for some spare change..

EDIT: Oh wait do you mean your gmod server host don't allow that?

Cybernetic-servers! http://billing.cybernetic-servers.co.uk/whmcs/aff.php?aff=009

Please use that link cause its a referral link yay - mind you it kind of depends where you are. This one is in UK, but my friends from all over the world seem to have decent pings (below 50 mainly)
« Last Edit: May 31, 2008, 05:24:44 AM by Ninjadude101 »

Offline Ninjadude101

  • Newbie
  • *
  • Posts: 38
  • Karma: 4
Re: Uban PHP Viewer
« Reply #6 on: May 31, 2008, 08:08:48 PM »
I've made some updates to my demo page (Not actually a demo its my real page) Basically it now shows only active bans and you can click a hyperlink to see all bans.
Will be releasing this shortly.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Uban PHP Viewer
« Reply #7 on: May 31, 2008, 08:10:00 PM »
Good work! Are you going to have it make pages for when you have 100+ bans?
Experiencing God's grace one day at a time.

Offline AviZ

  • Newbie
  • *
  • Posts: 32
  • Karma: 0
Re: Uban PHP Viewer
« Reply #8 on: May 31, 2008, 08:37:06 PM »
why not have it all on the one page and do pageation of about 12 items per page?

also have a diffrence for the ban times. e,g 1 day ban

anyway heres my pages http://bans.impulsegaming.org

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Uban PHP Viewer
« Reply #9 on: May 31, 2008, 08:43:04 PM »
Very nice AviZ.
Experiencing God's grace one day at a time.

Offline Ninjadude101

  • Newbie
  • *
  • Posts: 38
  • Karma: 4
Re: Uban PHP Viewer
« Reply #10 on: June 01, 2008, 04:52:26 AM »
also have a diffrence for the ban times. e,g 1 day ban
How do you mean?

I had a look at your page, and im fairly new to MySQL and PHP scripting, So would you be able to help me with pagination? I've found a few places on the interwebs with condes to use but i can't make head or tail from them. Also they are from back in 2003

I have future plans to build a search box to search steamids only. (as Uban doesn't pick up all characters. Like my old clantag was picked up as weird combinations of letters.)
And i also plan to have an identical page for server admins to be able to unban them, however this page would obviously have to be passworded.
« Last Edit: June 01, 2008, 05:49:26 AM by Ninjadude101 »

Offline AviZ

  • Newbie
  • *
  • Posts: 32
  • Karma: 0
Re: Uban PHP Viewer
« Reply #11 on: June 01, 2008, 02:35:11 PM »
im new to it too, however google is a wonderful tool :)

http://impulsegaming.org/serverbans <---- Pageation

Offline Ninjadude101

  • Newbie
  • *
  • Posts: 38
  • Karma: 4
Re: Uban PHP Viewer
« Reply #12 on: June 01, 2008, 02:44:01 PM »
I like what you have done with that. Could you send me the source code? (Obviously removing your database details)

Offline AviZ

  • Newbie
  • *
  • Posts: 32
  • Karma: 0
Re: Uban PHP Viewer
« Reply #13 on: June 01, 2008, 02:58:13 PM »
yep ok

Heres the pageation fix.


Offline Ninjadude101

  • Newbie
  • *
  • Posts: 38
  • Karma: 4
Re: Uban PHP Viewer
« Reply #14 on: June 01, 2008, 03:24:56 PM »
Thanks, Applying my current bugfixes and updates to it. Should be another version soon :D