![]() |
Warning System, Automatic Ban, Make Posts Invisible, Edit Signature/ Avatar/ Picture
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. https://vborg.vbsupport.ru/attachmen...chmentid=15463 2. Popup window from postbit to warn members. https://vborg.vbsupport.ru/attachmen...chmentid=15466 3. Popup window from postbit to suspend or ban members. https://vborg.vbsupport.ru/attachmen...chmentid=15465 4. Popup window from postbit to edit signature. https://vborg.vbsupport.ru/attachmen...chmentid=15468 5. Popup window from postbit to edit avatar. https://vborg.vbsupport.ru/attachmen...chmentid=15469 NOTE: You can also edit profile pictures, reputation comments, etc. but I can't be bothered making screenshots of all the features. ;) Enjoy! :) With Erwin's Permision I've made an HTL Version of this hack. HTL version (thanks to Dan) here: Attached Fileshttps://vborg.vbsupport.ru/Warning_System_Automatic_Ban_Make_Posts_Invisible_ Edit_Signature_Avatar.htl Normal version here: |
Think you have a long enough title?
And you should attach it to a .txt, remember? Bad Erwin. ;) Looks like a nice hack, I'll give it a shot later. :) |
How to use this hack:
You control your members via the vB3 dropdown menu by clicking on a member's Username. You then basically choose what to do, and a Popup Window will come up. Just choose what you want to do. Easy. When you Troll Ban a member, ALL of the member's threads and posts disappear. They disappear from Forumdisplay, Showthread, even in Newreply (where the posts are quoted). This is a quick way of removing offensive posts by trolls. As a bonus, Troll Banned members get fake 404 errors when they try to access your site. ;) Anyway, install it, and let me know what you think. A screenshot of the Postbit Moderator Dropdown Menu Controls, Popup Warning Window, Popup Banning Window, Popup Edit Avatar Window... I won't post screenshots of the rest of the Popup Windows, it's fairly common sense. ;) |
Great hack, I need something like this! I'll install when vB goes Gold.
Erwin, all the extra options you have in that screenshot like "Edit xx's Avatar" etc, is that another hack?? |
Excellent! Thanks Erwin
My mods have been asking about the warning system from VB2. This one will blow them away. I'll install it the instant I upgrade to RC1! Cheers |
Quote:
|
Wow, nice hack Erwin! I could definately be using this ;)
[high]* Koutaru clicks install[/high] |
Quote:
|
Quote:
|
Nice one, Ill install as soon as I upgrade in about 1 week.
|
How about a log on what the mods do?
|
Hi, I included the Hack, but I use the postbit_lagancy. What should I do to get the windows like they were posted? Thank for any help
|
Quote:
|
Great hack, but there's a few things I noticed:
1. In my default RC1 installation, I do not have the line HTML Code:
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&userlist=buddy&u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr> HTML Code:
<if condition="$show['search']"> 3. "banning.php" does not exist in admincp, it does in modcp though. Might want to mention that. ;) 4. When a call is made to warn.php, all I get is a blank screen. I'm working on tracking that down as we speak. |
hi m8 i cant seem to get this to work
i followed all the install instructions and i am geting the extra options when i ckick on the user name only problem is when i chose any of the new options i get a pop up and it says HTTP 404 - File not found Internet Explorer what can i have done wrong? thanks for any help given rob |
I have a question or two..
1. Does this warning system allow warning 'reasons' to be entered? So that a record can be kept as to why the warning was issued. Also does it send a message to the user alerting them to their warning.. and indicating why they were warned? 2. Does the system allow ME to create warning types (with different values) so that if a user spams the site I can "Spam Warn" +7 warning points, or if they are just disrespectful to others "Disrespect Warn" +2.. this allows me to instantly apply warning to members based on WARNINGS that I've setup? Thanks Aceman |
Nice hack. Will install it later.
|
beauty!
|
Hi Erwin,
in the template mod for 'postbit', this: <if condition="($bbuserinfo[usergroupid]==5 || $bbuserinfo[usergroupid]==6 || $bbuserinfo[usergroupid]==7)"> <tr><td class="vbmenu_option"><span onmouseover="this.style.cursor='hand';" onClick="window.open('warn.php?$session[sessionurl]newuser=$post[userid]&username=$userinfo[username]&warnings=$post[field40]','warn','width=500,height=350')"><b>Warn $post[username] - Current Warnings: ($post[field40])</b></span></td></tr> needs to have the field40 changed to the "hack Installers" field for warnings or it won't display. Also, the template "warning" that you had us create is called from the program as "warn" Once i made the changes above, and the "***" changes to "modcp" it works great Paratek Smacks the install! |
First post updated to correct mistakes. :sorry:
1. Change "*****" to "modcp" in your postbit template (or whatever your moderator cp directory is). 2. Change "field40" in your postbit template to your "Warning" profilefieldid. 3. Change the name of the new template "warning" to "warn". Sorry about this. I have updated the first post to Version 1.1 to signify the changes. It should work fine now. :) |
This is fantastic Erwin....
|
Nice one
*install |
works 100% now thanks :)
|
Erwin, not sure if anyone else has come across this. If i select on a users postbit to activate the drop down box, it will display Warnings ( ). If I click to either add or subtract a warning, then it will display the number as Warnings(0) or whatever. Also, it wont display in the users profile unless you have actually warned a user. Even if it is Warnings (0) it will display. I guess what I am asking, is there a way to have it default and start every one at (0) instead of nothing at all?
also, which choice should this be set at? Field Required Yes No No, but display at registration |
Quote:
As for that option, choose No. |
Quote:
|
Quote:
|
This is a great hack, but not worth installing now, because vB still isn't stable.
|
erwin doesnt part of your hack sort of do the tatchy trick?
|
Quote:
|
ah ok, i was just asking :) nice job, i wont be adding it to my live boards till down the road, but very nice work :)
|
One question i have..
I tried logging in as one of my moderators, and they now have this option in ALL the forums, even the ones they're not moderator of, how can i prevent this? I know it's all useroptions, but because of my forum setup i'd need them to be able to do this only to the users that visit the forums they're moderating. |
Quote:
UPDATE userfield SET field# = 0; (replace field# with the custom profilefield for warning points) |
Installed except it doesn't seem to work when i add to users warning points?
|
Solved the problem with adding an auto refresh to post, as it was updating just needed to be refreshed :P.
Ignore previous post |
Quote:
Great hack, Erwin. :D |
lol my only question is why wasn't it made a standard :P
|
simply amazing, will install once vb goes gold
|
Quick modification I made, if anyone is interested:
In POSTBIT (or POSTBIT_LEGACY) template - Replace: HTML Code:
<if condition="($bbuserinfo[usergroupid]==5 || $bbuserinfo[usergroupid]==6 || $bbuserinfo[usergroupid]==7)"> HTML Code:
<if condition="$post[usergroupid]!=6 AND can_moderate($forum[forumid], '', $bbuserinfo[userid])"> |
Quote:
nice addition well done :) rob :) |
All times are GMT. The time now is 06:35 AM. |
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:
|