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)

utahraves 02-08-2011 08:31 AM

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.

gsmlover4u 02-09-2011 09:18 AM

is it working with vb 4.1.1

AusPhotography 02-10-2011 01:18 AM

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.

kastak 02-10-2011 08:35 PM

I will realse update in next week. Please be patient.

AusPhotography 02-11-2011 03:24 AM

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>


DirtRider 02-17-2011 05:47 AM

Very cool mod thanks

051119 02-17-2011 04:30 PM

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?

addamroy 03-02-2011 03:00 AM

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.

PiroX 03-29-2011 09:24 PM

Quote:

Originally Posted by jluerken (Post 2145327)
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

kastak 04-14-2011 12:11 PM

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


All times are GMT. The time now is 03:54 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.03565 seconds
  • Memory Usage 1,739KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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