Version: 2.0.1, by Alan @ CIT
Developer Last Online: Apr 2012
Category: Moderators Functions -
Version: 3.6.0 Beta 2
Rating:
Released: 05-14-2006
Last Update: 06-21-2006
Installs: 376
Uses Plugins
Additional Files
No support by the author.
Moderation Auto-PM
Version 2.0.1
What is it?
Moderation Auto-PM will automaticly send a Private Message to the user whenever their thread, post or attachment is moderated using the Thread Tools or Inline Moderation Tools.
It has support for the following types of moderation:
Thread: Move
Thread: Delete
Thread: Undelete
Thread: Stick
Thread: Unstick
Thread: Open
Thread: Close
Thread: Approve
Thread: Unapprove
Thread: Title Edit
Post: Edit
Post: Move
Post: Delete
Post: Undelete
Post: Approve
Post: Unapprove
Attachment: Approve
Attachment: Unapprove
All options can be turned on/off in the AdminCP. Moderation Auto-PM will not show the user where their thread is being moved to/from if they do not have permission to view the forum. You can also set a "master" exclude list of forum IDs that will never be touched by Moderation Auto-PM.
What's new in Version 2.0.1?
Added support for opening and closing threads by double-clicking on the thread icon
Fixed a bug caused by a missing phrase
Credit for this release goes to ConqSoft, as he notice the missing phrase bug, and suggested the new Ajax open/close feature
What's new in Version 2.0?
Fully compatible with both vB 3.5.4 and vBulletin 3.6 Beta 2 or above! :banana:
Support for editing posts / titles using the ajax quick edit bits
Support for deleting posts via quick edit
Don't send a PM if you are moderating your own thread
Send a Delete PM instead of a Move PM if moved to a particular forum (ie, a recycle bin type forum)
Age Cutoff Point - if the item is over a certain age, a PM won't be sent
A couple of tiny bugfixes that no-one noticed
How do I install / configure it?
Please see the install.txt file contained within the zip.
How do I upgrade?
If you are upgrading from a previous version of this mod (any version), just upload the 3 PHP files, making sure to overwrite the old ones and re-import the Product XML, making sure you set "Allow Overwrite" to Yes.
If you are upgrading from PM on Thread Move, please uninstall that hack first, then install this one following the instructions in install.txt
Thanks go to redlabour for kindly providing a German translation for the phrases and to everyone who nominated this mod or voted for this mod in HotM June
Important: Unfortunately, my leased vBulletin licence has now expired, and I won't be renewing it until September which means I will be unable to reply to this thread, or update this mod until then. I'm hopeful that the great vBulletin.org community will step in to answer any questions in my absence though See you all in early September!
Note The screenshots below are only an example of the messages. The message text is fully editable
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
ModerationAuto-PM won't send PMs for changes made by Kirby's hack, but I'll see what I can do to add support for it in a future version - no promises though
ModerationAuto-PM won't send PMs for changes made by Kirby's hack, but I'll see what I can do to add support for it in a future version - no promises though
Ahh, I see. It currently only has support for the Thread Tools menu, and the Inline Moderation dropdown. I'll see about adding support for other options in a future version.
thats it.. no i am using the edit post method. the post i wanna delete.. click edit(opens the quick reply ajax based editor) then click delete)(soft delete) and it fails this way.
// Fetch posts $post = $db->query_first(" SELECT post.postid, post.threadid, post.parentid, post.visible, post.title, thread.forumid, thread.title AS thread_title, thread.postuserid, thread.firstpostid, thread.visible AS thread_visible FROM " . TABLE_PREFIX . "post AS post LEFT JOIN " . TABLE_PREFIX . "thread AS thread USING (threadid) WHERE postid = $postid ");
its covering only soft delete as of now.. thats cos i added it to delete_complete hook
you can add to editpost_delete_start
to cover for hard deletes also but then add the can_moderate checks also as it might..(i use the word might) happen that the pm might be sent when the actual deletion errors out due to say a permission prob.. highly unlikely but well on my board i give only soft delete permissions so i didn't take the chance.
but yeah inserting above code to editpost_delete_start should cover for both the soft and hard deletes
its covering only soft delete as of now.. thats cos i added it to delete_complete hook
you can add to editpost_delete_start
to cover for hard deletes also but then add the can_moderate checks also as it might..(i use the word might) happen that the pm might be sent when the actual deletion errors out due to say a permission prob.. highly unlikely but well on my board i give only soft delete permissions so i didn't take the chance.
but yeah inserting above code to editpost_delete_start should cover for both the soft and hard deletes
I'll stick with the way you are doing it then. I only want Admins to be able to hard delete on my site anyway, so we should be all set with your code. And thank you for posting it, sir.
Not to sound ignorant here, but how do I set it so only Admins can hard-delete posts and threads? I don't think I've ever bothered with that before, to tell you the truth, or I don't remember dealing with it, anyway.