Most of the plugins here are made by B3 users and the authors may not visit frequently. If you need support for plugins or if questions remain unanswered, you will have to contact the author directly. Read the full Support Disclaimer here
NOTE: Do not attach plugins to your forumtopics! Attachements are periodically removed by maintenance tasks. Upload your plugins to our Downloads section instead!

You are here: Big Brother Bot ForumAdd-OnsPlugins DiscussionPlugins by xlr8or (Moderator: Freelander)Echelon Web Tool Modifications
Pages: [1] 2   Go Down
  Print  
Author Topic: Echelon Web Tool Modifications  (Read 10485 times) Bookmark and Share
Full Member
***
OS: Windows
Type: Renting Server with B3
Gameservers: COD2
Posts: 127
Offline Offline
WWW
« on: November 30, 2006, 08:06:29 AM »

Well, i kinda got a hair up my butt and dove into redoing the echelon web tool to the beat of a slightly different drum.

First, I created a 'dbs' table. Basically I got away from using the 'multidb' connect page and just put all the db's inside a single source. I then put a dropdown box on the login screen to ensure the person is logging into the correct db. So, its no longer limited in the amount of db's you can add but rather whats loaded into the table. I know a person could have kept adding to the array in the b3connect.php, but its much less code and cleaner. Plus, I wanted to make this change because I redid the permissions of echelon to use the actual game database. The username i used is the client B3 id and the password is a md5 hash of a string stored in 'clients' as 'webpassword' (I modified the clients table and added a 32 varchar).



I have also modified some of the file structures and am currently going through some of the meat and potatoes of the main pages to clean it up a bit. Not to mention, Ive added some ability to modify permissions directly from the web with a new permission page. No longer does someone have to go into the server and do a !putgroup or !ungroup.





I have alot to do and test yet, i just thought Id share with you what I was in the mist of doing.

Logged


Former Dev. (senate)
*****
Posts: 350
Offline Offline
« Reply #1 on: November 30, 2006, 09:11:06 AM »

Good work. Do you actually check the permissions of the user logging in to determin if they can ban etc? I can give you help with permissions and such if you like.
Logged
Full Member
***
OS: Windows
Type: Renting Server with B3
Gameservers: COD2
Posts: 127
Offline Offline
WWW
« Reply #2 on: November 30, 2006, 02:04:13 PM »

Yeah, I justed used X's authorize.php include he already had there. I just modified it a bit. I think permissions are fine.

Basically, each 'module' or 'menu item' has a page permission. Lets say, the permissions module is a Lvl 60. First, it wont display it iin the menu if its not available to the user. Second, it will kick them back to clients.php if they navigate to it directly.

I plan on beefing up a new file i created called 'config.php'. Obviously, its a config file to specify certain things a user may want to adjust (Display Rows, Permissions, etc..). I also plan on rewriting some of the SQL to make it smoother and less fluff in the php so its easier to read. Plus putting comments everywhere after all is said and done.

Ive only spent about 6-8 development hours on it and ive gotten pretty far in my quest.

The main thing I really want to add is a logging system so I know who does what!  Smiley
Logged

Hoody
Guest
« Reply #3 on: November 30, 2006, 02:11:21 PM »

Looks Good, Especially for 8hrs

Good Job XLR + soggyoreo

Great stuff! Smiley
Logged
Former Dev. (senate)
*****
Posts: 350
Offline Offline
« Reply #4 on: November 30, 2006, 02:18:47 PM »

What do you mean a logging system? Doesn't b3 do that already? Or do you mean that Echelon doesn't log when it bans, etc?
Logged
[ www.xlrstats.com ]
Project Lead
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 2022
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« Reply #5 on: December 01, 2006, 03:16:51 AM »

Excellent work! Dit you modify version 1.3.2? Cause it looks like an older version?

@Thorn: Could we make Echelon available in B3-SVN? With proper rights for those who work on it?
« Last Edit: December 01, 2006, 03:27:01 AM by xlr8or » Logged

Former Dev. (senate)
*****
Posts: 350
Offline Offline
« Reply #6 on: December 01, 2006, 09:41:11 AM »

Yeah, I'm moving b3 SVN to my own server soon. I'll take care of it then.
Logged
Full Member
***
OS: Windows
Type: Renting Server with B3
Gameservers: COD2
Posts: 127
Offline Offline
WWW
« Reply #7 on: December 01, 2006, 12:03:28 PM »

@Thorn

I want to log who updates stuff inside of echelon. IE: Gave permissions to someone, modified a menu, etc...

@X
Im not sure what version I am using Sad and Im too lazy to check Smiley
I believe I used the newest one which had my updates from top penalties among other things. Ive recoded the menu links to be dynamic, so that might be whats making it look a bit older.
Logged

Former Dev. (senate)
*****
Posts: 350
Offline Offline
« Reply #8 on: December 01, 2006, 01:11:49 PM »

b3 2.0 will have event logging, which will log every single event. This could be filtered to show you any type of event that occured. Of course a web tool would have to honor the logging rules to make it do that.
Logged
[ www.xlrstats.com ]
Project Lead
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 2022
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« Reply #9 on: December 01, 2006, 01:51:23 PM »

Latest version has support for css and a different aproach at the index and entrance, it looks like this:


Please hold on to your updates and do not release a modified older version, that would be too bad for both of us.
Pull the latest version from here: http://ftp.snt.utwente.nl/pub/games/callofduty/misc/b3/plugins/echelonb3-v1.3.2.zip
Logged

Full Member
***
OS: Windows
Type: Renting Server with B3
Gameservers: COD2
Posts: 127
Offline Offline
WWW
« Reply #10 on: December 03, 2006, 04:49:42 PM »

I wont release anything without giving you a sampler. Since Im really getting my hands dirty, it will be a while.
Logged

Jr. Member
**
Posts: 46
Offline Offline
WWW
« Reply #11 on: March 04, 2007, 03:54:34 AM »

Any news here soggyoreo?
Logged

B3 CoDII:  82.98.201.199:28960 (Jenny)
B3 CoDIV: 82.98.201.199:28961 (Nadja)

Used Plugins:
Xlrstats, Echolon, Pubbans, Pingkicker, Rotationsmgr, Chatplugin, Poweradmin2&4, Spreemsg, Configmgr,  Clantag control
Hoody
Guest
« Reply #12 on: March 05, 2007, 11:31:12 AM »

Looking Forward to using this! Let us know how its coming along!
Logged
Full Member
***
OS: Windows
Type: Renting Server with B3
Gameservers: COD2
Posts: 127
Offline Offline
WWW
« Reply #13 on: March 10, 2007, 10:43:45 AM »

Ran into a bunch of extra work on my website along with working 8 hours a day of my normal job. Haven't found time to come back to this.

However, I may be going a totally different route on this anyway. AJAX is a big thing now days, and I might just go with incorporating AJAX in with Echelon so that I don't have to redo pageloads. As soon as I get back to this and get it working with the new theme engine X did ill let you know.
Logged

Jr. Member
**
Posts: 46
Offline Offline
WWW
« Reply #14 on: May 31, 2007, 09:49:49 PM »

Any News?
 Tongue
I'm just ask every 3 Month, hope its a stimulus for you  Roll Eyes
Logged

B3 CoDII:  82.98.201.199:28960 (Jenny)
B3 CoDIV: 82.98.201.199:28961 (Nadja)

Used Plugins:
Xlrstats, Echolon, Pubbans, Pingkicker, Rotationsmgr, Chatplugin, Poweradmin2&4, Spreemsg, Configmgr,  Clantag control
Tags:
Pages: [1] 2   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal