Working on a new control panel

General discussion regarding the project.

Moderator: Mod Squad

Post Reply
Malakai
Posts: 636
Joined: Thu Apr 20, 2006 6:02 pm
Location:

Working on a new control panel

Post by Malakai »

Since some of the stuff on worldgroup, specifically the javascript doesn't even seem to work on vista or the newer browsers or something, and because I'm running more than just one server type, I figured it was time to try to create my own control panel.

My first efforts were to create a who's online and where they are page. Basically, this has shows who's online on these servers:
Main Worldgroup Server
Synchronet Door Game Server
Legend of the Green Dragon Server
and Phaos Server

I would have liked to put a who's online and where they are section for the DMA server, but major tcp/ip's dos web server is just too primitive for that.

Here's a sample of my who's online page. It's not complete yet:
Image

As you can see, the variables function is still on that page but will be taken out when i find a suitable place for it.

Just for that simple legend of the green dragon who's online script was about five hours of nightmare. For some one who doesn't know PHP, I basically had to go through all of the php scripts and look for keywords to circumvent the page_footer calls. Why is this so important? The program has several security checks, to make sure you #1: use page_Footer in every script and secondly, that the page_footer actually has several functions in it, like paypal links, gif files, copyright links, version links, and a bunch of bloated crap that would have prevented me from putting on the who's online thing, at least in a neat little box like it's on now.

I finally was able to delete all of the security checks and got the page_footer part of the template to not show that crap in my who's online script.

As far as Phaos, it was a bit more simple. I copied the who.php to who2.php and header.php to header2.php, and then changed the who2.php to call header2.php instead of header.php. Then, I took out the session id/start functions, and then took out the authentication check, because the who's online function is set to display who's online only when you're logged in. Now, I don't have to be logged in to see it.

Later on, I'll probably split up the control panel in to Local and Remote. The local panel will give me more advanced security options for mysql and such, while remote will give me basic functions, for security purposes.

Malakai
Posts: 636
Joined: Thu Apr 20, 2006 6:02 pm
Location:

Post by Malakai »

I've now added an auto refresh tag to phaos and green dragon. So, every minute, it will auto-refresh. Synchronet's nodelist/who's online javscript automatically refreshes, and worldgroup's user listing auto refreshes as well.

Post Reply