Page 1 of 6

Admin Banlist MOD

Posted: Mon Nov 11, 2002 2:56 pm
by tost
i need the mod which gives the user access to a page where all the baned people will be shown. i want the page to update automaticlly, so if there is some sort of mod like that please give me a link to it.

Posted: Sun Feb 23, 2003 7:55 am
by AbelaJohnB
Ok, going to have this as our next "KMR".

The last one was a bit harder (or so it seemed) than I thought it would be.

This one should be real easy.

In essance, here is what I'd like to see:

Within the ACP, under the section "User Admin" create a new link entitled "banned users".

This needs to utilize the 'pagenation', for bigger sites, so don't forget that. ;)

Should be a simple: One .ph file, One .tpl file.

Within this new .php file, I would like it to list all users that have been banned.

Provide a "drop-down list" to the admin can choose to also display by "ip address" and "email address" (default should be 'username').

Within the information displayed, let's show the following information:

  • username
  • user_email
  • user_posts
  • user_lastvisit
Display these in the same format that 'memberlist' does.

Perhaps additional features (perhaps after the [KMR Award] is given) would be the ability to have a check-box next to each member for mass unbanning (??)


Posted: Sun Feb 23, 2003 1:42 pm
by sj26
working on it...

Posted: Sun Feb 23, 2003 1:53 pm
by Flipper
Been working on something like this myself. Progress shot:

Here is the code: - Uploaded - 26th Feb. - v1.0.0 RC4

Pagination issues are still there but shouldn't cause too many issues (if any at all).

RC-4 - Fixed issue with IPs and E-mails (adding duplicate lines).

Posted: Mon Feb 24, 2003 12:27 am
by Maison Meltcalfe
bah beaten to it

Posted: Mon Feb 24, 2003 12:28 am
by Maison Meltcalfe
whoops (double)

Posted: Mon Feb 24, 2003 12:36 am
by agentneo
im still waiting to try one of these, but i need to start with something more simple

Posted: Mon Feb 24, 2003 2:47 am
by AbelaJohnB

Nice job so far. :mrgreen:

A couple of things I've noticed:

(1) The link shows under the "General Admin" and not the "User Admin" section ;)


Code: Select all

<input type="submit" name="submit_unban" value="" class="liteoption" />
next to the "Goto page" part.

Code: Select all

is not working, because

Code: Select all

doesn't exist within the lang file.

(3) last visit time is displayed in UNIX format ;)

Code: Select all


That's it for now :)

Nice job on the 'unban user' part.

Posted: Mon Feb 24, 2003 3:14 pm
by sj26
OK, I'm done.

I've posted a beta release thread here:

You can find a screenshot here:

You can download the latest version here:

Hope this is what you were after. Let me know how it goes.

Posted: Mon Feb 24, 2003 5:51 pm
by Luciouslinda

I have installed this MOD and it works great! Thanks mate..

Posted: Mon Feb 24, 2003 8:01 pm
by Flipper

Those issues should have been sorted and MOD reuploaded.

Posted: Mon Feb 24, 2003 10:03 pm
by AbelaJohnB
Flipper wrote: John,

Those issues should have been sorted and MOD reuploaded.

Good to hear :)

Where's the location for this?

Anybody else out there tried this?

Let's all see if Flipper can receive the next [KMR Award] :mrgreen:

Posted: Tue Feb 25, 2003 6:55 am
by Wooly Spud
I was trying it for about 4 hours but it just wouldnt work right. I got it to pull the data from the DB and pull everything up but when i changed it to make use of the template file it would just output the rows for the template acording to the accurate number of rows and stuff but it wouldnt put any of the data in any of the fields.

anyway i got PO'd cause i couldnt figure out why assign_block_vars wasnt working with the db info crap so i gave up. When i had it working without templates i had it removing banns and adding bans and sorting stuff but when it came to adapting it to the template it went to crap.

I think im gonna try the next one but if you dont mind pointing me to some info on the proper usage of the assign_block_vars function so i can figure out where i went wrong id much appreciate it.

Posted: Tue Feb 25, 2003 7:58 pm
by Flipper

It should be available from the above links (I overwrote the previous file). Anyone wanting to try a demo: Username: Flipper Password: admin. Note: Any data set will be reset every day or so.

Posted: Tue Feb 25, 2003 9:23 pm
by Bert The Weird
Thanks, this really does work and it seems great although i don't have anyone banned!

Thanks, only took 2 mins to install!