Version: 1.00, by Erwin
Developer Last Online: May 2013
Version: 3.0.0
Rating:
Released: 01-04-2004
Last Update: Never
Installs: 116
No support by the author.
Warning System, Automatic Ban, Make Posts Invisible, Edit Signature/ Avatar/ Picture - Version 1.1
Okay, this is my private forum's custom warning/ suspension/ banning system and postbit moderator system. This is a fairly involved hack, so it is crucial that you follow the instructions closely. It would benefit experienced hackers the most. The following instructions are for an unhacked board. If you have hacked your board, or use different moderator usergroups, just make the appropriate changes.
With this hack, your staff and you will be able to:
1) Add/ Substract/ Reset Warning Points for a Member from a Popup Window in Postbit.
2) When the Member has Warning Points that reach a set level (up to you), the Member will be Automatically Banned.
3) Easily View a Member's Warning Points in the Postbit.
4) Have the ability to easily Edit a Member's Avatar/ Profile Pic/ Sig/ Reputation comments from a Popup Window in Postbit.
5) Suspend temporarily or Ban permanently a Member from a Popup Window in Postbit.
6) Have 2 categories of Banned Members -
..... a) Normal Banned members where the posts all remain, and
..... b) Troll Banned members, where all the posts in this usergroup
.......... i) Automatically becomes Invisible from all other members! You no longer have to manually search and delete their posts. They virtually disappear from your forums when they get put in this usergroup. Also, Troll Banned members get
.......... ii) Fake 404 errors and can no longer access your site.
Please be aware that this hack is designed for my private forums. If you want additional features, or customization, you have permission to do this yourself. Please do not expect me to customize this hack for your site.
FWIW, I've had this system running for 2 years now (obviously with different code). Time for me to share...
The installation instructions are in the HTML file in the ZIP file below. The warn.php is also in the ZIP file.
Screenshots:
1. Options available with the dropdown menu for staff.
Good job. I will add that to the first post giving credit to you.
Thanks!
Quote:
Originally Posted by Faranth
only problem with that is its still hard coded via usergroups
Eh? I read your first post in this thread, but I'm afraid I don't know what "tatchy" is. You mean you want it as a definable option in the AdminCP? I plan to tinker with this hack quite a bit, so if that's what you mean I could do the code for that (if Erwin doesn't mind, of course).
$perm['adminpermissions'] & CONTROLPANEL pull info from the currently logged in user, not the selected user -- so those won't work. I've been digging on vB.com and I can't seem to find anything relating to this. I was also digging through the default templates for a clue, but apparently they removed Administrator distinctive traits such as italics in Who's Online and Memberlist.
So.. until I can find how they want me to do it, usergroupid will have to do.
It's $perm['adminpermissions'] and yes, you're right.. that will work if I want to show to admins, but that's not what I'm trying to accomplish sadly.
I need to display warning options on a per user basis, if the selected user is an admin then the warning options will NOT be displayed for them when clicked -- which is why the usergroupid is being used.
$permisson[] gets the permissions of the logged in user, not the selected user.