Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Banned Members Log Details »
Banned Members Log
Mod Version: 3.8.004, by Mosh (Coder) Mosh is offline
Developer Last Online: Jun 2013 I like it Show Printable Version Email this Page

vB Version: 3.8.x Rating: (13 votes - 4.46 average) Installs: 171
Released: 31 Oct 2008 Last Update: 24 Jun 2009 Downloads: 1019
Not Supported Uses Plugins Auto-Template Code Changes Additional Files Re-usable Code Translations  

Please click Mark as Installed if you are using this hack.


What Does This Hack Do?

It is a update of my v3.7.x hack available here, with the addition of file hooks, hack authors can now use hooks to expand this hack if needed, and a new column for the usergroup the banned user has been put in.

This hack displays a log of all temporary and permanently banned members on it's own page, it is paginated (with page count on the permanent bans section) if there are more results than you selected per page in the AdminCP, temporary bans are only displayed on page 1 (if you have more temporary banned members than one page, you must be doing something wrong), along with a count on how many temporary and permanent banned members there are. Any users displayed on the page(s) will have links to display their profile, if clicked on.

It can also show an altered total member count on your forum's homepage (if enabled) to either show the altered members count (exclude all banned members), show the altered members and unconfirmed (Users Awaiting Email Confirmation) members count, show the altered members, unconfirmed members and banned members count, or you can disabled it altogether (so it shows the unaltered members count). Enabled or disabled, it does not generate any extra queries.

You can optionally add a link on either the navbar proper or quick links.

This hack is controlled by usergroup permissions.

As an added bonus (if enabled), if a usergroup has permissions to view the banned members log, then the banned members count on the forumhome page will be clickable and will load the banned members log if clicked on (if no permission, then it will not be clickable).


This hack was created because I liked the idea of this hack by jredrum, and as it is not supported, not phrased at all, has no pagination, and has no usergroup permissions to speak of, I decided to use the idea of that hack and rewrite it from scratch based on the ModCP file banning.php, I have also integrated my Total Member Count Excluding Banned Members hack into this one and have now retired it.

There is only one file change (to config.php), but no template changes at all and is fully phrased. This generates no extra queries on the forum homepage at all, and generates 9-11 queries (depending on options selected and if logged out/logged in) on the ban_log.php page.


vBulletin Version Compatibility

This hack can be used with vBulletin versions 3.6.0 - 3.8.8.

For the v4.0.x version of this hack - check here.



Hack Support/Feature Requests

IMPORTANT: This hack is no longer supported.


Branding

There is a small unobtrusive block of copyright branding text at the bottom of each page generated by this hack, which is there to promote my work and allow you to use this hack for free.

You are NOT allowed to remove my copyright branding from this hack.


Install/Uninstall Instructions

The InstallInstructions.txt instructions file is included in attached .zip file.


Screenshots

Shown in this order:
  • AdminCP Options
  • Banned Members Log (with temporary and permanent bans)
  • Banned user count shown in forum statistics on the forum homepage
  • Banned Members Log (with no temporary and permanent bans)
  • Message if there are no Banned Usergroups defined
  • Banned Members Log (with permanent bans and pagnation)

Version History

v3.8.004 - Wednesday 24th June 2009
-- Fixed: banned_log template (column mismatch)

v3.8.003 - Wednesday 25th February 2009
-- Fixed: Banned Members Log (3) plugin - replaced 2 x with (c) to prevent parse errors (rare cases)
-- Changed: Files - ban_log.php (streamlined a couple of SQL queries)
-- Changed: banned_log template (column display order)
-- Changed: banned_perm_row template (column display order)
-- Changed: banned_temp_row template (column display order)
-- Updated: Files - ban_log_cron.php, hooks_ban_log.xml
-- Updated: Installation Instructions
-- Updated: Screenshots

v3.8.002 - Thursday 19th February 2009
-- Changed: Files - ban_log.php (updated SQL queries)
-- Changed: banned_log template
-- Changed: banned_none template
-- Changed: banned_perm_row template
-- Changed: banned_temp_row template
-- Updated: Banned Members Log (3) plugin
-- Updated: Files - ban_log_cron.php, hooks_ban_log.xml
-- Updated: Installation Instructions (now includes un-install instructions)
-- Updated: Screenshots
-- Added: New column - Usergroups
-- Added: bangroup phrase
-- Added: VersionHistory.txt

v3.8.001 - Friday 31st October 2008
-- Added: File Hooks
-- Initial vBulletin v3.8.x release


Show Your Appreciation

Although not required, if you have enjoyed the benefits of this hack, and would like show your appreciation for my efforts, then please feel free to click on the Support Developer link and donate any amount you feel is appropriate.


Donations

I would like to thank the following people for their kind donations:

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	screenshot1.png
Views:	1078
Size:	57.6 KB
ID:	95459   Click image for larger version

Name:	screenshot2.jpg
Views:	785
Size:	57.1 KB
ID:	95460   Click image for larger version

Name:	screenshot3.png
Views:	575
Size:	4.1 KB
ID:	95461   Click image for larger version

Name:	screenshot4.jpg
Views:	577
Size:	56.5 KB
ID:	95462  

Click image for larger version

Name:	screenshot5.jpg
Views:	1036
Size:	64.4 KB
ID:	95463   Click image for larger version

Name:	screenshot6.jpg
Views:	606
Size:	31.0 KB
ID:	95464  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
ZH - Banned Members Ziki vBulletin 3.5 Add-ons 5 06 Jan 2007 02:23

Comments
  #2  
Old 31 Oct 2008, 04:45
Shazz's Avatar
Shazz Shazz is offline
 
Join Date: Jun 2006
Location: Utah
Real name: Shawn
I know this is going to be usefull to alot of people great job!
This has been requested many times.
Reply With Quote
  #3  
Old 31 Oct 2008, 19:04
Bounce's Avatar
Bounce Bounce is offline
 
Join Date: Mar 2004
Real name: J


Small Q....

Display Banned Members Count On Forumhome? is showing 0 bans?

I've got 235 banned members
__________________
Thanks for your help

J
Reply With Quote
  #4  
Old 01 Nov 2008, 07:39
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Real name: Mosh Shigdar
Originally Posted by hIBEES View Post


Small Q....

Display Banned Members Count On Forumhome? is showing 0 bans?

I've got 235 banned members
I take it you followed all of the installation instructions to the letter? Including the file edit to config.php in step 4 and ran the cron job in step 6 ? If so, you should get the correct number of banned members.
__________________
-- The WS Spiders List is still downloadable from vBulletin.com.
-- As of Monday 1st July 2013, I will no longer be supporting my hacks as I am leaving the vBulletin community due to medical and life-style reasons.
Reply With Quote
  #5  
Old 01 Nov 2008, 09:53
Bounce's Avatar
Bounce Bounce is offline
 
Join Date: Mar 2004
Real name: J
Originally Posted by Mosh View Post
Including the file edit to config.php in step 4
no lol

Thanks works perfectly now
__________________
Thanks for your help

J
Reply With Quote
  #6  
Old 01 Nov 2008, 14:57
Koidl Koidl is offline
 
Join Date: Apr 2008
any idea why i have this code on the left top ? if i click on the ban_log.php



thanks
Reply With Quote
  #7  
Old 02 Nov 2008, 06:16
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Real name: Mosh Shigdar
Originally Posted by Koidl View Post
any idea why i have this code on the left top ? if i click on the ban_log.php



thanks
Absolutely no idea. Can you post a screenshot showing this? And your site url, so I can have a look myself.
__________________
-- The WS Spiders List is still downloadable from vBulletin.com.
-- As of Monday 1st July 2013, I will no longer be supporting my hacks as I am leaving the vBulletin community due to medical and life-style reasons.
Reply With Quote
  #8  
Old 02 Nov 2008, 07:31
Koidl Koidl is offline
 
Join Date: Apr 2008
details pmed again thx for reply

Last edited by Koidl; 04 Nov 2008 at 08:51.
Reply With Quote
  #9  
Old 02 Nov 2008, 11:07
Mike-D Mike-D is offline
 
Join Date: Jan 2006
Real name: Michael
Mosh,
in order to prevent 1 additional Query I'd use the following condition...

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


instead of using this condition...

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


This one saves 1 additional Query
__________________
Acura & Honda Legend Forum
Reply With Quote
  #10  
Old 02 Nov 2008, 16:58
Bounce's Avatar
Bounce Bounce is offline
 
Join Date: Mar 2004
Real name: J
Originally Posted by Mike-D View Post
This one saves 1 additional Query
Where do you edit this mike?
__________________
Thanks for your help

J
Reply With Quote
  #11  
Old 02 Nov 2008, 20:02
bigcurt's Avatar
bigcurt bigcurt is offline
 
Join Date: Nov 2004
Real name: Curtis C.
Great mod - would appreciate it if someone would post on here whether it works with 3.6.X earlier versions..sure it should though.
__________________
My first vB template additions: Add User Color Legend - Add eBay profile to postbit
Curtis C.- Owner and Operator of KeyHunt
Important Linkage: Buy vB - vB Styles
Just wanna ask a vB related question contact me.
Reply With Quote
  #12  
Old 03 Nov 2008, 05:50
jambo_1969 jambo_1969 is offline
 
Join Date: May 2007
Works great on 3.7

Cheers
Reply With Quote
  #13  
Old 03 Nov 2008, 08:34
TheInsaneManiac TheInsaneManiac is online now
 
Join Date: Feb 2008
I will install if you could add a option to only display temporarily banned members. I see no reason why member need to know why others are banned, but if they are friends with that person and my staff temporarily bans them, they should know about it.
Reply With Quote
  #14  
Old 04 Nov 2008, 07:31
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Real name: Mosh Shigdar
Originally Posted by Koidl View Post
details pmed again thx for reply
Check your PM, should now be fixed.
__________________
-- The WS Spiders List is still downloadable from vBulletin.com.
-- As of Monday 1st July 2013, I will no longer be supporting my hacks as I am leaving the vBulletin community due to medical and life-style reasons.
Reply With Quote
  #15  
Old 07 Nov 2008, 17:45
Whitey Bear Whitey Bear is offline
 
Join Date: Sep 2008
Question

Is it possible to modify this so that temporary bans remain on the list permanently?

Also, would it be possible to show both temporary and permanent together under one table, prehaps with the User Name, Banned By, Banned On, Ban Time Remaining and Ban Reason fields visible?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 06:10.

Layout Options | Width: Wide Color: