![]() |
Banned Members Log
1 Attachment(s)
Please click Mark as Installed if you are using this hack.
What Does This Hack Do?[hr]hr[/hr] 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[hr]hr[/hr] 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[hr]hr[/hr] IMPORTANT: This hack is no longer supported. Branding[hr]hr[/hr] 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[hr]hr[/hr] The InstallInstructions.txt instructions file is included in attached .zip file. Screenshots[hr]hr[/hr] Shown in this order:
Version History[hr]hr[/hr] 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 [hr]hr[/hr] 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[hr]hr[/hr] I would like to thank the following people for their kind donations: |
I know this is going to be usefull to alot of people great job!
This has been requested many times. |
:up:
Small Q.... Display Banned Members Count On Forumhome? is showing 0 bans? I've got 235 banned members :confused: |
Quote:
|
Quote:
Thanks works perfectly now :up: |
any idea why i have this code on the left top ? if i click on the ban_log.php
 thanks |
Quote:
|
details pmed again thx for reply
|
Mosh,
in order to prevent 1 additional Query I'd use the following condition... Code:
if (!in_array($vbulletin->userinfo,$banned_allowed_groups)) instead of using this condition... Code:
if(!is_member_of($vbulletin->userinfo,$banned_allowed_groups)) This one saves 1 additional Query ;) |
Quote:
|
Great mod - would appreciate it if someone would post on here whether it works with 3.6.X earlier versions..sure it should though.
|
Works great on 3.7
Cheers |
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.
|
Quote:
|
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? |
Quote:
|
thx Mosh ;)
|
Installed, but disabled untill this errors gone :D
When this MOD is enable this errors shows on top of the page: On portal page: Code:
Parse error: syntax error, unexpected T_STRING in /home/pijanitv/public_html/forum/global.php(614) : eval()'d code on line 1445 On forum index page: Code:
Parse error: syntax error, unexpected T_STRING in /home/pijanitv/public_html/forum/global.php(614) : eval()'d code on line 1445 What to do? :confused: |
This hack will be useful on my site. Thank you very much.
|
Quote:
You need to check any other hacks that are using the parse_templates hook to see if they are the cause of the issue. If you can not track it down, you can always disable the Banned Members Log (3) plugin and live without the banned member count on the forumhome page. |
*Installed*
One thing - Where do I change the text in the Nav that says 'Banned Members Log'? Basically want to remove the 'Log' part. |
Great mod, if it weren't for the copyright notice. If every modder added the mod's name, the copyright notice, year and their own linked name to the mods they release all forums would look like a total mess. Great job on the mod, but until the notice is gone I won't be using it on my boards to keep away the unnecessary clutter, thank you.
|
Quote:
A few people have chosen to purchase a unbranded version from me, and they are happy to pay a small amount to remove the branding. I will not be removing the branding on the free version, as it is promotion for my work and the effort I went into creating the hack for free, providing it free, and with free support for people like you. |
Given that this is really a mod that's mostly going to be seen/used by moderators/admin and that that page is the only place his copyright notice appears, I see absolutely no problem with it. It's not anymore intrusive than any of the dozens of other mods that do in fact put links in the footer or elsewhere - including vbSEO which you have to pay for.
The mod does exactly what it says on the box with a minimum of fuss. Two links back to vbulletin.org - not his own personal sites - is an exceedingly small price to pay for such convenience. :) (note: the name of the site in my sig is a coincedence, I don't know the developer at all, just use his mod. :) ) |
1 Attachment(s)
This MOD is excelent, i like it, but i have one wish.
On my forum i'm using two banned groups. First is standart "Banned Users" and second is "Mutes users" and they have restricted access to posts and forum features. I like this BanLog, but problem is, users can't see who is "Banned" and who si "Muted", because all members in all "banned" groups are together. So can you please implement some settings to split tables in BanLog based on BannedUsergroup? OR add new column with BannedGroup name? Look at attached images what i mean. Thanks in advance Holy BTW: Sorry for my english |
Your English is fine, HolyKiller. And now that you've mentioned it, I'd like to see that feature in a future version myself. I'm not listing the "muted" people in the Ban Log at the moment but it would be useful!
|
Quote:
Quote:
I will probably go with the new column named Banned Group Name idea. However, I do not have time to look at it now, but will do so in the next month or so, as I have assignments to finish and 2 exams before I even look at or release new updates to any of my hacks (unless it is small updates/bug-fixes). |
Sorry to sound like a noob but do i add this to the config.php?
PHP Code:
Thanks again! |
It would be neat if the log would provide a link to the infraction discussion thread that is automatically created when an infraction is given.
Other than that, this is a great, neat little mod. |
Quote:
PHP Code:
|
Quote:
|
Quote:
Edit the banned_members_link phrase. |
What did the latest update do :) ?
|
Quote:
|
Update: v3.8.002
-- 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) -- Added: New column - Usergroups -- Added: bangroup phrase -- Added: VersionHistory.txt file |
Quote:
New column - Ban Usergroup, for forums that have more than one usergroup that banned members are assigned to when banned (temporary or permanent). |
Have you added it to the quick links yet? :P
|
Quote:
It has been in the AdminCP options since the first release of this hack (v3.7.001) in August 2008. Check Automatic Link Creation in vBulletin Options -> Banned Members Log. |
I get error msg after instalation on forum index page:
Code:
Warning: Unexpected character in input: ''' (ASCII=39) state=1 in /data/web/virtuals/xxxxxxx.xx/www/forum/global.php(609) : eval()'d code on line 25 Automatic Link Creation: Disabled Display Banned Members Count On Forumhome?: No EDIT: I installed vBulletin 3.8.0 instalation on my local and changed anything in vBulletin options. Then i installed this MOD and it works perfectly. After this i copied my "life" forum on my local and uninstalled ALL plugins and products and reverted ALL template changes. After this i installed this Banned members log and i again get the error msg. So, i think, problem is in vBulletin, not in this mod. But i rlly dont know how to find it :( Holy |
Quote:
|
All times are GMT. The time now is 06:27 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|