vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Private Message Workbench: Read, Search, Delete, Report and more (https://vborg.vbsupport.ru/showthread.php?t=95698)

T2DMan 03-24-2007 04:54 PM

and another two file changes:

1. same admincp/mh_pmwbrd.php file

after the following line

HTML Code:

    $pmtext = mh_pmwb_fetch_pmtext($vbulletin->GPC['pmtextid'], true);
add
HTML Code:

    $cclist = array();
    $bcclist = array();
    $touser = unserialize($pmtext['touserarray']);
    foreach($touser AS $key => $item)
    {
        if (is_array($item))
        {
            foreach($item AS $subkey => $subitem)
            {
                ${$key.'list'}[]=$subitem;
            }
        }
        else
        {
            $bcclist[]=$item;
        }
    }

replace
HTML Code:

    print_label_row($vbphrase['mh_pmwb_to_users'] . ":", (is_array(unserialize($pmtext['touserarray'])) ? implode(", ", array_values(unserialize($pmtext['touserarray']))) : null));
with
HTML Code:

    print_label_row($vbphrase['mh_pmwb_to_users'] . ":",    implode(", ",$bcclist).implode(", ",$cclist) );
2. admincp/mh_pmwbrp.php file

after
HTML Code:

    $pmreport = mh_pmwbrp_fetch_pmreport($vbulletin->GPC['pmreportid'], true, true);
add
HTML Code:

    $cclist = array();
    $bcclist = array();
    $touser = unserialize($pmreport['touserarray']);
    foreach($touser AS $key => $item)
    {
        if (is_array($item))
        {
            foreach($item AS $subkey => $subitem)
            {
                ${$key.'list'}[]=$subitem;
            }
        }
        else
        {
            $bcclist[]=$item;
        }
    }

replace
HTML Code:

    print_label_row($vbphrase['mh_pmwb_to_users'] . ":", (is_array(unserialize($pmreport['touserarray'])) ? implode(", ", array_values(unserialize($pmreport['touserarray']))) : null));
with
HTML Code:

    print_label_row($vbphrase['mh_pmwb_to_users'] . ":",    implode(", ",$bcclist).implode(", ",$cclist));
so how have I done? I think I now have them all?

Black Widow 03-28-2007 08:25 PM

Thanks a lot man.
It works like a charm...:)

fluentdesigns 03-28-2007 09:40 PM

Is this a full update or just a hack to make it work?

T2DMan 03-29-2007 01:44 AM

It is not a full update, just a hack to make it work.
Please let me know if there are any other things that are not working. I might get around to changing those too. I notice that when I "delete" a reported pm, that the message remains there. So not sure what is happening there.

fluentdesigns 05-22-2007 11:52 PM

is there any 3.6 mod that is similar to this?

Shazz 05-23-2007 04:08 AM

Quote:

Originally Posted by fluentdesigns (Post 1252985)
is there any 3.6 mod that is similar to this?

Read PM would be the most simular

fluentdesigns 05-30-2007 02:45 AM

I get this when I update the hack for 3.6...

Sorry, you don't have permission to access the administrative controls on this page.

If you need to access this page, ask your lead administrator to enable your permissions for this page using the Administrator Permissions section of the control panel.

any ideas?

Alfa1 07-25-2007 07:54 PM

Can you please update this great add-on with a keyword alert, like the PM moderation hack had. (Now in the graveyard)

fluentdesigns 07-25-2007 08:24 PM

Ya I dont want to see this mod die.. its hands down the best PM management mod.

CoTTon 08-05-2007 03:51 AM

what about pictures? this mod doesnt show the pictures if people send pictures over...


All times are GMT. The time now is 04:20 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.01487 seconds
  • Memory Usage 1,744KB
  • 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
  • (8)bbcode_html_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