Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Moderation Auto-PM v2.0.1 Details »»
Moderation Auto-PM v2.0.1
Version: 2.0.1, by Alan @ CIT Alan @ CIT is offline
Developer Last Online: Apr 2012 Show Printable Version Email this Page

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.

Comments
  #322  
Old 05-23-2007, 07:51 PM
mfyvie mfyvie is offline
 
Join Date: Mar 2007
Location: Zurich, Switzerland
Posts: 336
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, I figured it out. I discovered that there was actually no plugin to handle the case where someone edits a thread thread via the Edit Thread option on the Thread Tools menu. Since I frequently change thread titles via this method (rather than from the forum view via AJAX) I was really missing these functions.

Therefore, effectively the following functionality was missing when using the edit thread option:

Title edit notification
Stick/Unstick notification
Open/Close notification

The attached plugin fixes these issues. It's tested on my setup only which is VB 3.6.7 PL1, using Auto-PM v2.0.1.

I'm sorry - I don't know very much about writing plugins, so I can't actually support this add-in. Hopefully it will be picked up by the author and included into the standard build. I'll send him an email to let him know.

Next I'm going to try and work on an integration between Auto-PM and the vbRecycle mod.
Reply With Quote
  #323  
Old 05-24-2007, 04:55 PM
mfyvie mfyvie is offline
 
Join Date: Mar 2007
Location: Zurich, Switzerland
Posts: 336
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For those people running vBRecycle I've just released a bridge mod between vBRecycle and Moderation Auto-PM. It extends the functionality of Moderation Auto-PM to also generate PMs to users when the recycle function is used.

You can find this mod here.

Please note, this has nothing to do with the XML file attached to my previous post - the previous post concerns providing some functionality that was missing from the original file.

It would be good if the functionality in both of these modifications were rolled into an updated version of Moderation Auto-PM so that support for vBRecycle could be provided automatically.
Reply With Quote
  #324  
Old 05-24-2007, 07:25 PM
Alan @ CIT Alan @ CIT is offline
 
Join Date: Nov 2004
Location: South UK
Posts: 625
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Mfyvie,

Thanks for the additions / updates to this mod, I'm sure they'll come in very useful to others here

Unfortunately, I'm afraid that I cannot add them to the original mod. Along with not owning a vBulletin licence, I lost most of the code to my mods a while ago after a PC replacement. Also, I'm afraid that I cannot edit this mod post either (due to the lack of licence) so I cannot add your mods to the description either

However, as mentioned in this post, the offer still stands for someone to take over this mod

Thanks,
Alan.
Reply With Quote
  #325  
Old 05-24-2007, 08:43 PM
mfyvie mfyvie is offline
 
Join Date: Mar 2007
Location: Zurich, Switzerland
Posts: 336
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Alan,

Thanks stopping by! I must say this sounds like a great shame. I think you did a fantastic job with this mod, and it has made life on my board SO much better!

I guess there is some good news and some bad news. The good news is that since I already have the current version, it would be relatively easy for me to roll all my changes into it (including support for vBRecycle (if installed)) and to export it again as a new version. There is just a very small bug - but if you could give me some advice on it I'm sure it won't be a big issue.

As much as I'd love to take over your mod for you, I'm afraid I just don't have the technical skills (with VB and PHP in any case) to answer any requests for feature enhancements or support it properly. I just wouldn't be able to do it justice.

If we can figure out some other way to get the files updated (I PM'd one of the admins to ask for help), I'd be more than happy to repackage a new version though.

Regards,
Mark
Reply With Quote
  #326  
Old 05-25-2007, 11:15 AM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Alan @ CIT View Post
I'm afraid that I cannot edit this mod post either (due to the lack of licence) so I cannot add your mods to the description either
Hmm, that's an oversight in the permissions. When we gave members of the coders group permission to reply in their own modifications (to continue supporting them) it should have included the ability to edit their replies as well, but it seems that got missed. Try now.
Reply With Quote
  #327  
Old 05-27-2007, 09:40 PM
Gwendolin Gwendolin is offline
 
Join Date: Jan 2007
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have a problem with exclude forums.

I changed in class_autopm_checker.php

var $exclude = false;
to
var $exclude = true;

Now in the excluded forums will don't send a pm if a thread is deleted, but if posts will deleted it sends a pm, it works just with threads.

Did I need to change more things?
Reply With Quote
  #328  
Old 05-28-2007, 08:13 AM
zooro zooro is offline
 
Join Date: Aug 2005
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it work with 3.6.7 ?
Reply With Quote
  #329  
Old 05-31-2007, 08:10 AM
Niels84 Niels84 is offline
 
Join Date: Nov 2006
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by zooro View Post
Is it work with 3.6.7 ?
It seems to be working on 3.6.7 on my board. Nevertheless, for some mysterious reason, PMs are sent, but the pmtotal and pmunread counters aren't updated... Anyone knows how to solve this?
Reply With Quote
  #330  
Old 05-31-2007, 01:54 PM
Makc666's Avatar
Makc666 Makc666 is offline
 
Join Date: Dec 2002
Location: MSK-RU
Posts: 392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Niels84 View Post
It seems to be working on 3.6.7 on my board. Nevertheless, for some mysterious reason, PMs are sent, but the pmtotal and pmunread counters aren't updated... Anyone knows how to solve this?
[S]Those PMs are sent as a system one. In other words they have system flag. That is why they didn't not count.[/S]
Reply With Quote
  #331  
Old 05-31-2007, 02:04 PM
Niels84 Niels84 is offline
 
Join Date: Nov 2006
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Makc666 View Post
Those PMs are sent as a system one. In other words they have system flag. That is why they didn't not count.
Hi Maxim,

is there any way (in code) to alter the flag?
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 01:51 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.05009 seconds
  • Memory Usage 2,321KB
  • 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
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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