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

Reply
 
Thread Tools
Moderation Auto-PM v4.0.6 Details »»
Moderation Auto-PM v4.0.6
Version: 4.0.6, by kastak kastak is offline
Developer Last Online: Oct 2023 Show Printable Version Email this Page

Category: Moderators Functions - Version: 4.2.0 Rating:
Released: 04-24-2010 Last Update: 04-13-2011 Installs: 484
Uses Plugins
Additional Files Translations  
No support by the author.

Hello all!

Moderation Auto-PM v4.0.6

What does this hack do?
When a thread is opened/closed, stuck/unstuck, moved, or a post is deleted, a PM will be automatically sent to the poster to inform them of this.

Instructions
  1. Upload all *.php files to your vBulletin includes directory
  2. Import the product XML (set allow overwrite to yes if you are upgrading from a previous version)
  3. Please remember to click Mark as Installed if you use this modification.
  4. Show Your Support by Donating
  5. Done

Features
  • The text of the pm is no longer hardcoded but uses phrases
  • Ability to "respect" a recycle bin forum (lots of bigger boards still seem to use this)
  • Moderation Auto-PM will not show the user where their thread/post is being moved to/from if they do not have permission to view the forum (example if you move a thread to a staff only forum the original poster would be denied access)
  • Ability to exclude certain forums (no notification send at all)
  • Never send a pm to yourself also solved

It has support for the following types of moderation:
  • Thread Edit Title (Inline Moderation)
  • Thread Ajax Open/Close (Inline Moderation)
  • Thread Ajax Delete (Inline Moderation)
  • Thread Aprove (Inline Moderation)
  • Thread Un-Approve (Inline Moderation)
  • Thread Open (Inline Moderation)
  • Thread Close (Inline Moderation)
  • Thread Move (Inline Moderation)
  • Thread Delete (Inline Moderation)
  • Thread Un-Delete (Inline Moderation)
  • Thread Stick (Inline Moderation)
  • Thread Un-Stick (Inline Moderation)
  • Post Ajax Edit (Inline Moderation)
  • Post Ajax Delete (Inline Moderation)
  • Post Aprove (Inline Moderation)
  • Post Un-Approve (Inline Moderation)
  • Post Move (Inline Moderation)
  • Post Delete (Inline Moderation)
  • Post Un-Delete (Inline Moderation)
  • Attachment Approve (Inline Moderation)
  • Attachments Un-Approve (Inline Moderation)
  • Thread Move (Standard)
  • Thread Move Simple (Standard)
  • Thread Open (Standard)
  • Thread Close (Standard)
  • Thread Delete (Standard)
  • Thread Stick (Standard)
  • Thread Un-Stick (Standard)
  • Thread Un-Delete (Standard)
  • Post Un-Delete (Standard)

Translations
Polish (pl_PL), lang-pl-modpm.xml - meschiash
Russian (ru_RU), lang-ru-1251-modpm.xml, lang-ru-utf8-modpm.xml - FractalizeR
Turkish (tr_TR), vbulletin-auto-pm-on-thread-moderation-Turkish-language.xml - AdemGEN?
Italian (it_IT), lang-it-modpm.xml - Asterix_ita

All translations are in the "do_not_upload" directory. If you have created your own language pack, or have an update of an existing one, you can send .xml file to me so that I can bundle it into Moderation Auto-PM v4.0.6.

Changelog
Version 4.0.1 (25.04.2010)
- FEATURE: updated for vBulletin 4.x
- FIX: minor bugs fixed
Version 4.0.2 (26.04.2010)
- FEATURE: added Russian language - FractalizeR
- FIX: changed notification from 'moved' to 'deleted' when message has been moved to trash
- FIX: fixed notification when thread has been closed (AJAX)
Version 4.0.3 (28.04.2010)
- FEATURE: added notification when post has been undeleted (STANDARD)
- FEATURE: added Turkish language - AdemGEN?
- FEATURE: added Polish language (utf8)
- FEATURE: automatically set reason to 'moved to trash' when message has been moved to trash
- FIX: strips away bbcode from a given string, leaving plain text
- FIX: minor bugs fixed
Version 4.0.4 (13.05.2010)
- FEATURE: added ability to exclude certain usergroups (no notification send at all)
- FEATURE: changed ability to exclude certain forums from "comma separated" to "selection list" (no notification send at all)
- FEATURE: added Italian language - Asterix_ita
Version 4.0.5 (05.07.2010)
- FIX: fixed exclude forums
Version 4.0.6 (14.04.2011)
- FIX: fixed language problem (the mod uses language A and the user language B, the message the user gets is in the mod language so he does not understand - solved)
- FIX: minor bugs fixed
- IMPROVED: source code cleaned

Download Now

File Type: zip modpm_4.0.4.zip (33.6 KB, 319 views)
File Type: zip modpm_4.0.5.zip (33.4 KB, 740 views)
File Type: zip modpm_4.0.6.zip (35.9 KB, 1753 views)

Screenshots

File Type: jpg 2010-04-25_194008.jpg (93.9 KB, 0 views)
File Type: jpg 2010-04-25_194026.jpg (64.2 KB, 0 views)
File Type: jpg 2010-04-25_194115.jpg (33.2 KB, 0 views)
File Type: jpg 2010-04-25_194703.jpg (23.6 KB, 0 views)
File Type: jpg 2010-05-13_221756.jpg (79.6 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
8 благодарности(ей) от:
babyv0x, congthinh, ELROBLE, elsa23, liamwli, scottkoz20, Trangalleiro, wangyu1314

Comments
  #102  
Old 02-08-2011, 08:31 AM
utahraves's Avatar
utahraves utahraves is offline
 
Join Date: May 2007
Location: Utah
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would like to see this have the feature to PM a person when their thread has gone into moderation and for when it is released from moderation.
Reply With Quote
  #103  
Old 02-09-2011, 09:18 AM
gsmlover4u's Avatar
gsmlover4u gsmlover4u is offline
 
Join Date: Jan 2007
Posts: 348
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is it working with vb 4.1.1
Reply With Quote
  #104  
Old 02-10-2011, 01:18 AM
AusPhotography's Avatar
AusPhotography AusPhotography is offline
 
Join Date: Nov 2007
Location: Hobart & Adelaide .au
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When moving a thread via the Administrative / Move thread option
we get a redirect error.

The reason appears to be that in postings.php the hook 'threadmanage_move_simple'
is before the $threadman->save();

Somehow $threadinfo is wiped out. I think it maybe the PM datamanger call??

I've put a pit of trace code and that appears to be the issue.

I have no other code active on that hook.
Reply With Quote
  #105  
Old 02-10-2011, 08:35 PM
kastak kastak is offline
 
Join Date: Oct 2007
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I will realse update in next week. Please be patient.
Reply With Quote
  #106  
Old 02-11-2011, 03:24 AM
AusPhotography's Avatar
AusPhotography AusPhotography is offline
 
Join Date: Nov 2007
Location: Hobart & Adelaide .au
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

BTW this horrible hack fixes the move issue... (I edited the product file)

Code:
<plugin active="1" executionorder="5">
	<title>modpm :: Standard :: Thread :: Move</title>
	<hookname>threadmanage_move_redirect_orig</hookname>
	<phpcode><![CDATA[require_once (DIR . '/includes/class_modpm_checker.php');
require_once (DIR . '/includes/functions_modpm.php');

$savethreadinfo = $threadinfo;
mod_pm($threadinfo['threadid'], 'move', 'thread', $foruminfo['forumid'], $destforuminfo['forumid']);
$threadinfo = $savethreadinfo;]]></phpcode>
</plugin>
<plugin active="1" executionorder="5">
	<title>modpm :: Standard :: Thread :: Move Simple</title>
	<hookname>threadmanage_move_simple</hookname>
	<phpcode><![CDATA[require_once (DIR . '/includes/class_modpm_checker.php');
require_once (DIR . '/includes/functions_modpm.php');

$savethreadinfo = $threadinfo;
mod_pm($threadinfo['threadid'], 'move', 'thread', $foruminfo['forumid'], $destforuminfo['forumid']);
$threadinfo = $savethreadinfo;]]></phpcode>
</plugin>
Reply With Quote
  #107  
Old 02-17-2011, 05:47 AM
DirtRider DirtRider is offline
 
Join Date: Feb 2011
Location: South Africa
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very cool mod thanks
Reply With Quote
  #108  
Old 02-17-2011, 04:30 PM
051119 051119 is offline
 
Join Date: Jan 2008
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

At present when you delete a post it limits the number of characters it displays and displays a huge number of .....s at the end of the PM, even if the post is shorter than the limit.

I've looked into editing the phrase to display the whole post and remove the .....s but no idea where to do this.

Can anyone help?
Reply With Quote
  #109  
Old 03-02-2011, 03:00 AM
addamroy addamroy is offline
 
Join Date: Sep 2010
Posts: 352
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would like the ability to add more than one PM to send, depending on more filters.

For example, if user is member of usergroup-a, send PM-a, else send PM-b or something like that. Or at least, the ability to send a different PM to a user depending on their usergroup, but for the same action.
Reply With Quote
  #110  
Old 03-29-2011, 09:24 PM
PiroX's Avatar
PiroX PiroX is offline
 
Join Date: Jun 2009
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jluerken View Post
Yes absolutely correct.
The mod uses language A and the user language B the message the user gets is in the mod language so he does not understand.

I fixed it by adding both languages in all phrases but this looks unprofessional ^^
a fix coming for this?
we need that mod
Reply With Quote
  #111  
Old 04-14-2011, 12:11 PM
kastak kastak is offline
 
Join Date: Oct 2007
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

UPDATE
Version 4.0.6 (14.04.2011)
- FIX: fixed language problem (the mod uses language A and the user language B, the message the user gets is in the mod language so he does not understand - solved)
- FIX: minor bugs fixed
- IMPROVED: source code cleaned

INSTRUCTIONS
1. Upload all files
2. Import product 'product-modpm.xml' (set allow overwrite to yes if you are upgrading from a previous version)
3. If you use own language please change this in language file (all languages ​​have been updated in new package):
Code:
{1} replace with $modpm[username]
{2} replace with $modpm[itemid]
{3} replace with $modpm[item_name]
{4} replace with $modpm[source_id]
{5} replace with $modpm[source_name]
{6} replace with $modpm[dest]
{7} replace with $modpm[destname]
{8} replace with $modpm[reason]
{9} replace with $modpm[title_old]
{10} replace with $modpm[forum_url]
{11} replace with $modpm[bbtitle]
4. Please remember to click "Mark as Installed" if you use this modification
5) Show Your Support by Donating
6) Done
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 06:34 AM.


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.04917 seconds
  • Memory Usage 2,363KB
  • Queries Executed 28 (?)
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
  • (2)bbcode_code
  • (1)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
  • (8)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (8)postbit_attachment
  • (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_postinfo_query
  • fetch_postinfo
  • 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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete