vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Moderators Functions - Moderation Auto-PM v4.0.6 (https://vborg.vbsupport.ru/showthread.php?t=241248)

kastak 04-24-2010 10:00 PM

Moderation Auto-PM v4.0.6
 
1 Attachment(s)
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

meschiash 04-25-2010 04:36 PM

Tested - all ok. Thank's

tafreeh 04-25-2010 06:30 PM

wow.. this is most wanted plugin :) thanks allot... I Will try it later on..

Cheers

Greight 04-25-2010 07:20 PM

Does the Recycle Bin forum need to be visible for users ? At the moment when I move posts to new threads there no pm is sent.

FractalizeR 04-25-2010 07:46 PM

1 Attachment(s)
I translated it into Russian. Here are language files

Please include them into original package.

Hornstar 04-25-2010 08:02 PM

Thanks, I look forward to installing this once I upgrade.

YankForum 04-25-2010 08:02 PM

always loved this hack

kastak 04-25-2010 10:26 PM

Quote:

Originally Posted by Greight (Post 2027218)
Does the Recycle Bin forum need to be visible for users ? At the moment when I move posts to new threads there no pm is sent.

Hi Greight, the Recycle Bin forum doesn't need to be visible for users. I checked this and this function works good. Remember, PM is not sent to yourself.

Quote:

Originally Posted by FractalizeR (Post 2027227)
I translated it into Russian. Here are language files

Please include them into original package.

Hello FractalizeR! Thanks for translation! I added it to package:)


UPDATE
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)

1. Upload file
/includes/functions_modpm.php

2. Import product
product-modpm.xml (set allow overwrite to yes if you are upgrading from a previous version)

Adem GEN? 04-26-2010 09:12 AM

1 Attachment(s)
FireFox
vBulletin 4.0.0 ver

Action in Moderation

"Content Encoding Error"
Attachment 116325

Not a problem when I refresh the page

kastak 04-26-2010 10:16 AM

Quote:

Originally Posted by AdemGEN? (Post 2027486)
FireFox
vBulletin 4.0.0 ver

Action in Moderation

"Content Encoding Error"
Attachment 116325

Not a problem when I refresh the page

I would need admincp access to your site so that i can check it out.

Please send this info in a PM.

Adem GEN? 04-26-2010 12:12 PM

Quote:

Originally Posted by kastak (Post 2027510)
I would need admincp access to your site so that i can check it out.

Please send this info in a PM.

I try my local computer

kastak 04-26-2010 12:26 PM

Quote:

Originally Posted by AdemGEN? (Post 2027562)
I try my local computer

Please try on online site.

Megatr0n 04-26-2010 12:33 PM

kastak, great hack but any chance this can be back ported to the 3.8 series?

Plus, will you also be adding other Moderations such as Approving and Unapproving of Posts/Attachments etc?

Adem GEN? 04-26-2010 12:51 PM

OK, I'll try later
===========================

For this mod, the Turkish language file here

kastak 04-26-2010 02:43 PM

Quote:

Originally Posted by Megatr0n (Post 2027575)
kastak, great hack but any chance this can be back ported to the 3.8 series?

Moderation Auto-PM v3.0.1 works good with vBulletin 3.8 but this modification is in the Modification Graveyard. I believe that in this case I can't port my version to vBulletin 3.8. Sorry.

Quote:

Originally Posted by Megatr0n (Post 2027575)
Plus, will you also be adding other Moderations such as Approving and Unapproving of Posts/Attachments etc?

This version has these options. Look at the screens.

Quote:

Originally Posted by AdemGEN? (Post 2027589)

Thanks AdemGEN?! Can I add Turkish language to package?:)

Extra PC 04-26-2010 03:14 PM

1 Attachment(s)
work perfect

just one problem

u need to exclude bbcode from the pm message

look at picture and u understand what i meaning sorry my forum in arabic language just look to the red square

fluidswork 04-26-2010 03:47 PM

Great ..........

Adem GEN? 04-26-2010 03:58 PM

Quote:

Originally Posted by kastak (Post 2027641)
Thanks AdemGEN?! Can I add Turkish language to package?:)

Of course you can add

goran424 04-27-2010 12:20 AM

Very nice, thanks!

Manoel J?nior 04-27-2010 01:30 AM

Bery, very, very THANKSSSS

tafreeh 04-28-2010 02:57 AM

sorry but it just not sending out any pm to anyone...

kastak 04-28-2010 11:15 AM

Quote:

Originally Posted by AdemGEN? (Post 2027681)
Of course you can add

Thanks, I added it in 4.0.3 version!

Quote:

Originally Posted by Extra PC (Post 2027649)
work perfect


just one problem


u need to exclude bbcode from the pm message

look at picture and u understand what i meaning sorry my forum in arabic language just look to the red square

Thanks, this has been resolved in 4.0.3 version!

Quote:

Originally Posted by tafreeh (Post 2028388)
sorry but it just not sending out any pm to anyone...

Please download latest version. I think it should work now!:)

Asterix_ita 04-28-2010 01:04 PM

1 Attachment(s)
Italian Translation

Bisha 04-28-2010 09:08 PM

thanks!

Mohsen71 05-01-2010 06:30 AM

is this hack work on Vbulletin 3.8.5 ?
can you pleas help me for found and install this MOD for Vbulletin3.8.5 ?

syrn 05-01-2010 11:40 AM

very important plugin, thanx
installed and 5 *

Asterix_ita 05-01-2010 03:11 PM

control could be very useful to not send pm if the field reason is empty, at least for the change post or thread

kastak 05-13-2010 07:15 PM

Quote:

Originally Posted by Asterix_ita (Post 2028550)
Italian Translation

Hello Asterix_ita! Thanks for translation! I added it to package:)


UPDATE
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

1. Upload files
/includes/class_modpm_checker.php
/includes/functions_modpm.php


2. Import product
product-modpm.xml (set allow overwrite to yes if you are upgrading from a previous version)

Asterix_ita 05-14-2010 05:38 AM

1 Attachment(s)
hello kastak

I would understand if it can put a check on motivation white or it could do something coma figure for delete and edit

Thanks

update file language italian

GeorgeB85 05-15-2010 01:12 AM

Ignore this post...it works...congrats!

jaryx 05-15-2010 09:39 AM

- installed
- 5 stars
- nominated :D

Thanks!

kastak 05-16-2010 08:20 AM

Quote:

Originally Posted by Asterix_ita (Post 2036759)
hello kastak

I would understand if it can put a check on motivation white or it could do something coma figure for delete and edit

Thanks

Maybe in next version... :)

Quote:

Originally Posted by jaryx (Post 2037286)
- installed
- 5 stars
- nominated :D

Thanks!

Thanks!:D

stator 05-17-2010 02:51 PM

it is possible to include "Reason" when move, close a thread

Giving a reason available on deleting a thread

ChopSuey 05-21-2010 01:28 AM

Thanks for the update, definitely willl use this. I'll wait til its less buggy.

FractalizeR 05-21-2010 06:31 AM

It's not buggy.

Alfa1 05-21-2010 05:23 PM

Does this send the post/thread deletion reason to the member?

FractalizeR 05-22-2010 09:12 AM

Yes, it does

ellinofatsa 05-22-2010 11:48 AM

thankssssssssssssssssssss

ALBCODERS 05-22-2010 02:38 PM

When I edit a thread i See this Error.

Warning: include_once([path]/includes/class_modpm_checker.php) [function.include-once]: failed to open stream: No such file or directory in [path]/editpost.php(613) : eval()'d code on line 3

Warning: include_once() [function.include]: Failed opening '[path]/includes/class_modpm_checker.php' for inclusion (include_path='.:/usr/lib64/php:/usr/lib/php') in [path]/editpost.php(613) : eval()'d code on line 3

Warning: include_once([path]/includes/functions_modpm.php) [function.include-once]: failed to open stream: No such file or directory in [path]/editpost.php(613) : eval()'d code on line 4

Warning: include_once() [function.include]: Failed opening '[path]/includes/functions_modpm.php' for inclusion (include_path='.:/usr/lib64/php:/usr/lib/php') in [path]/editpost.php(613) : eval()'d code on line 4

Fatal error: Call to undefined function mod_pm() in /home2/muhabetl/public_html/albcoders/editpost.php(613) : eval()'d code on line 6

kastak 05-22-2010 04:01 PM

Quote:

Originally Posted by AlbCoder (Post 2041886)
When I edit a thread i See this Error.

Warning: include_once([path]/includes/class_modpm_checker.php) [function.include-once]: failed to open stream: No such file or directory in [path]/editpost.php(613) : eval()'d code on line 3

Warning: include_once() [function.include]: Failed opening '[path]/includes/class_modpm_checker.php' for inclusion (include_path='.:/usr/lib64/php:/usr/lib/php') in [path]/editpost.php(613) : eval()'d code on line 3

Warning: include_once([path]/includes/functions_modpm.php) [function.include-once]: failed to open stream: No such file or directory in [path]/editpost.php(613) : eval()'d code on line 4

Warning: include_once() [function.include]: Failed opening '[path]/includes/functions_modpm.php' for inclusion (include_path='.:/usr/lib64/php:/usr/lib/php') in [path]/editpost.php(613) : eval()'d code on line 4

Fatal error: Call to undefined function mod_pm() in /home2/muhabetl/public_html/albcoders/editpost.php(613) : eval()'d code on line 6

Please upload files (class_modpm_checker.php, functions_modpm.php) to corectly location:

example:
/your_forum_folder/includes


All times are GMT. The time now is 03:13 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01467 seconds
  • Memory Usage 1,836KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (16)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete