Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Per user Edit/Deletion flood control (plugin) Details »»
Per user Edit/Deletion flood control (plugin)
Version: 1.00, by bairy bairy is offline
Developer Last Online: Jul 2023 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 3.6.0 Rating:
Released: 09-23-2006 Last Update: Never Installs: 32
Uses Plugins
 
No support by the author.

What does it do
There are two parts to this.
1. Allows you to specify users who cannot edit or delete their posts.
2. Has an optional trigger to catch people who delete or edit too many of their posts in too short a time. You specify the limits.

Why?
If you haven't had them already you probably will at some point: The tantrumers.
These are people who one day decide they hate you and/or your board, usually just after you've deleted one of their posts or pissed them off some how, and they'll want out. Instead of leaving quietly and gracefully they'll go on a mad rampage to edit/delete/both all their posts.
With 3.5/3.6's ajax, this is made very easy so they can do a fair bit of damage before you're able to stop them.

How does it work?
When a member goes to edit their post, either via the inline editor or the "full" editor, a check is made to see if they actually can. If they can't, they're shown an error message of your choice.
If they can, a check is made to see how many edits and/or deletions they have done recently. If it's "too many too fast" (the limits are specified by you), then they are stopped and an optional PM is sent to a member of your choice (probably to you) saying so, this is so the edits and/or deletions can be investigated.

Features
  • You can turn the whole system on/off
  • You can manually add users to the list.
  • Automatic trigger can be turned on/off. If it's on, you can specify the limits.
  • You can specify the message they recieve when they are disallowed.
  • You (or any member) can be sent a PM notifying you off a trigger being set off. The PM contains useful links by default.
  • You can exclude usergroups and individual users from the check.
  • Just one plugin.

Caveats
  • Thread Tools Dropdown > Thread Delete is not checked meaning if you allow a usergroup to utilise that feature, they can do it all they like.
  • Hard Deletions (physically removed) posts are not checked against. To do this would mean making a new table, and since I assume you trust people you give such power to, I have no desire to add such a check.
  • Adds one query every time edit is pressed. Adds between 1 and 4 more to the edit post script, dependant on what happens.
  • Private Message counts don't seem to be updating properly on my test board when a PM is sent. I'm using vB's own datamanager so I can only guess there's a bug with that.

To do
  • As soon as I figure out how, allow the messages to be phrased.
  • As soon as I figure out how, allow the optional PM to be sent to more than one member, e.g. two or more admins.
  • Possibly make a way for moderators to control who can and can't edit. Depends if there's enough demand.
  • Throw 'Thread Delete' into the check. There isn't a hook in an ideal place but it's possible. Depends if there's enough demand.

Support
Not much.
If there's a bug, I'll try and fix it.
If there's a way to edit or delete posts that I missed, I'll try and plug it.
If it clashes with another mod, I'll look at fixing it if it's an easy fix.
No "it doesn't work" support given. It works just fine on a clean install of 3.6.0 gold.

Screens
There's not really much to screenshot, so I've just taken a sample few.
options.png is the admincp options
Image1.png is the default "you can't" message for those who can't edit/delete.
Image2.png is the same message but in the inline editor (vB feature)
Image3.png is the default PM you get when someone sets off the trigger.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 09-27-2006, 07:33 AM
bairy bairy is offline
 
Join Date: Oct 2005
Posts: 184
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This hack is kinda designed to replace the editing time limit.

The time limit check is done before this plugin is reached, so it'd have to be flipped over so that everyone can edit any aged post but you can input usergroups that are limited by time.

It's a possibility but not something I'm planning at the moment. Perhaps in future.
Reply With Quote
  #13  
Old 10-04-2006, 11:55 AM
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
Posts: 1,674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I missed this one until I saw it in your sig. Very nice, thanks for the contribution!
Reply With Quote
  #14  
Old 10-12-2006, 06:10 AM
Keyser Soze Keyser Soze is offline
 
Join Date: Apr 2005
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice mod. Is it compatible with vB 3.5.x or is there a version for this vBulletin-Version?
Reply With Quote
  #15  
Old 10-12-2006, 11:47 AM
bairy bairy is offline
 
Join Date: Oct 2005
Posts: 184
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I haven't tested it with 3.5 though for some reason I'm thinking it's not compatible. I'm not sure why, must have been a thought that came to me when I was coding it.

I did do a 3.5 version. It's much more complicated and requires file edits but does practically the same thing: https://vborg.vbsupport.ru/showthread.php?t=110918
Reply With Quote
  #16  
Old 10-17-2006, 03:25 PM
scan-pa scan-pa is offline
 
Join Date: May 2006
Location: Lebanon Co. Pa. USA
Posts: 189
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Would it be possible to add a per forum on / off feature?
Reply With Quote
  #17  
Old 11-11-2006, 08:50 AM
luroca luroca is offline
 
Join Date: Jul 2002
Posts: 142
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice. Thanks.
Reply With Quote
  #18  
Old 11-27-2006, 07:52 AM
klaush klaush is offline
 
Join Date: Oct 2005
Posts: 340
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bairy View Post
I haven't tested it with 3.5 though for some reason I'm thinking it's not compatible. I'm not sure why, must have been a thought that came to me when I was coding it.

I did do a 3.5 version. It's much more complicated and requires file edits but does practically the same thing: https://vborg.vbsupport.ru/showthread.php?t=110918
Yes, it will work for 3.5.x if you delete in the product the line:

executionorder="2"

Thanks, good stuff!

Edit:

Aaarggll..., on issue left:

Invalid SQL:

SELECT dateline
FROM vb3_deletionlog
WHERE userid = 4549
UNION ALL
SELECT dateline
FROM vb3_editlog
WHERE userid = 4549
ORDER BY dateline DESC
LIMIT 4, 1;

MySQL-Fehler : Unknown column 'dateline' in 'field list'
Fehler-Nr. : 1054
Datum : Monday, November 27th 2006 @ 11:06:05 AM


Any idea bairy?
Reply With Quote
  #19  
Old 11-27-2006, 03:42 PM
bairy bairy is offline
 
Join Date: Oct 2005
Posts: 184
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes. 3.5's deletionlog doesn't have a dateline field.
I don't think the deletion date is recorded at all in 3.5.

a) You can't use this 3.6 product.
b) You can edit the code so it doesn't left join the deletionlog table, though that means that the "how many deletions have they done in the last x mins" won't work (meaning people can delete all they want), and makes the "how many edits and deletions have they done in the last x mins" more unreliable. However it will still be acceptable if people only edit, e.g. if you don't allow people to delete their posts.
Even with that fixed there may be other problems on 3.5
Reply With Quote
  #20  
Old 04-03-2008, 12:22 AM
tirol07 tirol07 is offline
 
Join Date: Mar 2007
Location: Austria
Posts: 71
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks.
Reply With Quote
  #21  
Old 04-03-2008, 10:41 PM
mahsazn mahsazn is offline
 
Join Date: Feb 2008
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

doesn't work for 3.6.8?...
Reply With Quote
Reply


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


All times are GMT. The time now is 07:02 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08592 seconds
  • Memory Usage 2,299KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete