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
  #52  
Old 05-16-2006, 07:42 PM
Alan @ CIT Alan @ CIT is offline
 
Join Date: Nov 2004
Location: South UK
Posts: 625
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It will still send them a PM telling them the thread was moved, but does not tell them where it was moved to.

The same applies if they cannot see the forum the thread was in (ie, you moved it to an admin area, and are moving it back to public), it will tell them the destination forum, but not the forum it was in (the admin one).

Thanks,
Alan.
Reply With Quote
  #53  
Old 05-16-2006, 11:15 PM
Sidewindr Sidewindr is offline
 
Join Date: Oct 2002
Location: Australia
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the update, I have uploaded it and will test later today
Reply With Quote
  #54  
Old 05-17-2006, 12:59 AM
Acers's Avatar
Acers Acers is offline
 
Join Date: Feb 2005
Posts: 180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Alan @ CIT
Yep, seems to work ok here.

Are you certain the forum you are deleting the thread in, isn't in the Exclude Forums list?

Also, does it do anything if you hard-delete the thread?

Thanks,
Alan.
hi..
well thread soft delete works fine

in the posts both the soft and physically remove are not working, all are set to yes in admincp options.
i have no forums in excluded forums list

thanks for support m8 btw.. good job
(using 1.01 version although vb is 3.5.2 so maybe that can be the issue if yours working)
Reply With Quote
  #55  
Old 05-17-2006, 06:46 AM
Alan @ CIT Alan @ CIT is offline
 
Join Date: Nov 2004
Location: South UK
Posts: 625
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Acers,

Hmm.. I'm at a bit of a loss I'm afraid. All seems to be working ok here.

How are you deleting the posts? Are you selecting them with the tickbox then using the inline moderation menu to delete them? Or some other way?

Also, if you get a chance, could you check your AdminCP -> Plugins for me please, and check that you have one called:

Mod Auto-PM :: Inline :: Post :: Delete

This should be using the hook inlinemod_start. Are there any other plugins listed that use that hook?

Thanks,
Alan.
Reply With Quote
  #56  
Old 05-17-2006, 08:13 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Alan, is there a way to includes all the setting under one main setting group. It would be easier than going to 4 different settings group to set this up. Maybe like a main setting group and 4 setting groups under that.

And excellent job, by the way.
Reply With Quote
  #57  
Old 05-17-2006, 08:15 AM
Alan @ CIT Alan @ CIT is offline
 
Join Date: Nov 2004
Location: South UK
Posts: 625
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That's how it was originally, but as I added more and more settings, it became unmanagable

All settings are by default set to yes, and in theory you should only have to visit each setting once, and that's only if you want to set it to No, so it shouldn't be too bad
Reply With Quote
  #58  
Old 05-17-2006, 08:24 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Maybe having them set to No as default would be better in case someone installed this and didn't do the settings right off the bat. I know when I installed it I had like a zillion IM windows open (I use Trillian) and was working on adding forums and threads on the site all at the same time.

Also, I use Andreas' auto-moderation hack for posts. Will this send notices for any posts that hack sends to moderation? I would like to have the option for that, if at all possible, unless it already does it. Then that would make this request kind a moot.
Reply With Quote
  #59  
Old 05-17-2006, 09:59 AM
Alan @ CIT Alan @ CIT is offline
 
Join Date: Nov 2004
Location: South UK
Posts: 625
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo
Also, I use Andreas' auto-moderation hack for posts. Will this send notices for any posts that hack sends to moderation? I would like to have the option for that, if at all possible, unless it already does it. Then that would make this request kind a moot.
Do you have a link to that hack?

Thanks,
Alan.
Reply With Quote
  #60  
Old 05-17-2006, 01:04 PM
Acers's Avatar
Acers Acers is offline
 
Join Date: Feb 2005
Posts: 180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
How are you deleting the posts? Are you selecting them with the tickbox then using the inline moderation menu to delete them? Or some other way?
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.

Attachment 47668


anyway the fix is to add this plugin also
(tested and working)

in hook location: editpost_delete_complete
add
PHP Code:
if ($_POST['do'] == 'deletepost')
{
    
$vbulletin->input->clean_array_gpc('p', array(
        
'reason'    => TYPE_STR
    
));

    
// 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
    "
);


    include_once(
DIR '/includes/class_autopm_checker.php');
    include_once(
DIR '/includes/class_autopm_parser.php');
    include_once(
DIR '/includes/functions_autopm.php');

    
mod_autopm($postid'delete''post'$post['threadid'], 0$vbulletin->GPC['reason']);


Reply With Quote
  #61  
Old 05-17-2006, 01:38 PM
Alan @ CIT Alan @ CIT is offline
 
Join Date: Nov 2004
Location: South UK
Posts: 625
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.

Glad to see you've got it working though

Thanks,
Alan.
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 03:04 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.05132 seconds
  • Memory Usage 2,326KB
  • 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_php
  • (3)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
  • (4)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