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...

Mag1c 08-07-2007 02:37 AM

someone help, i installed the upload folder to my forum root, then installed the basic plugin then the pm search plugin.. but there is no "pm workbench" bar to view the pms in my admin cp

Alfa1 08-07-2007 12:03 PM

Marco; please see the suggestions in this thread on vbulletin.com.

Marco van Herwaarden 08-07-2007 12:32 PM

@Mag1c

Did you upload the contents of the upload folder to your forumhome directory?

Marco van Herwaarden 08-07-2007 12:35 PM

@Alfa1

First of all i don't have much time to work on any of my modifications, so a new (3.6) version with added functionality is not very likely to happen soon.

Also the suggestions in that thread (only read the first post) are mostly aimed at the end-user. This modification is more an admin tool. Also some of the suggestions seem outdated.

Alfa1 08-07-2007 02:17 PM

I can imagine that coordinating this site will take up your time. Would you feel for the idea to have another coder look into expanding and port your add-on?
There is a lot of potential in your already superb hack. Like a merge with the now dead keyword alerts and PM report threads.

mlbvb 08-25-2007 09:41 PM

Thanks SOOO much T2DMan!! That Array thing has been bugging me forever now!! Your edits worked like a charm!!

I really hope that other coders can keep this mod alive and up to date!

GSM_electronic 10-22-2007 10:40 PM

I keep getting this errors on the header of the PM page:

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in .../httpdocs/forum/private.php(194) : eval()'d code on line 9

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in .../httpdocs/forum/includes/functions_mh_pmwb.php on line 23

Hack was fully working on my site, some time ago...

Any help?

Alfa1 12-15-2007 12:21 PM

I just moved servers. When accessing the PM workbench, I am getting this message:
Quote:

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.
I am the leading admin and all my permissions are set correctly in the Administrator Permissions section of the control panel.

Any idea's?

Marco van Herwaarden 12-20-2007 11:11 AM

Did you also add your userid to the config.php? (see install notes)

FlyBoy73 02-05-2008 08:06 PM

Marco, any plans to upgrade this to 3.7x?

zylstra 04-24-2008 04:08 AM

T2Dman, I implemented your file edits in posts #200 and #201 in admincp/mh_pmwbrd.php - I only use the search and read function - but I'm still getting the following error when I read a PM:

Code:

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /includes/adminfunctions_mh_pmwb.php(281) : eval()'d code on line 33

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /includes/adminfunctions_mh_pmwb.php(281) : eval()'d code on line 36

Warning: Invalid argument supplied for foreach() in /includes/functions.php on line 2508


fluentdesigns 04-24-2008 04:44 AM

I would donate some money to have this upgrade to 3.7

zylstra 04-24-2008 04:07 PM

I added a userid in the includes/config.php file but that user cannot see the PM Workbench item in the admincp. Is there anything else I need to do to let this admin see this?

gnrmarcel 06-12-2008 06:15 AM

works with 3.7.x?

fluentdesigns 06-12-2008 02:01 PM

This mod hasnt worked since 3.5 so i would say no. Sad as this mod was one of the most used backend tools.

Blackhat 09-07-2008 08:49 PM

what about this https://vborg.vbsupport.ru/showthrea...ight=search+pm

Alfa1 09-07-2008 09:20 PM

What about it?

PDM 09-09-2008 08:25 PM

for 3.7.x Do it work?

Puntoboy 09-17-2008 11:55 AM

I'm also wondering if this works with 3.7.3 PL1 as I've just upgraded my test forum and it no longer works.

deejayotto 09-25-2008 11:40 PM

trying to delete pms 3.7.3 PL1 error received:

Code:

Fatal error: Existing data passed is not an array
Called set_existing in [path]/includes/adminfunctions_mh_pmwb.php on line 397
Called mh_pmwb_build_pm_counters in [path]/includes/adminfunctions_mh_pmwb.php on line 170
Called mh_pmwb_delete_pmtext in [path]/admincp/mh_pmwbrd.php on line 532
in [path]/includes/class_dm.php on line 235

error receied if not from/to same user ... or the from/to user doesn't exist.

Alfa1 09-26-2008 12:18 PM

It works fine in vb 3.7.3
I am not sure about PL1

barca4ever 10-10-2008 06:06 PM

It was working fine until version 3.7, now its showing the following message:

Quote:

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.
Where can I add the permission to view this hack in admincp?

alan92rttt 11-05-2008 07:35 PM

Quote:

Originally Posted by Marco van Herwaarden (Post 768405)
If your are linked to this post because you clicked a Privacy Statement on a borad that you where visiting, this means that the Administrators of your board have installed the PM Workbench.

Where is this privacy statement normally found?

What happens a board were to install this and remove it from the privacy statement?

Puntoboy 11-08-2008 07:45 AM

Mine is working on 3.7.3 PL1 now but I'm getting "Array" in the tu user column instead of the username of the person it's being sent to.

Puntoboy 11-08-2008 07:46 AM

Quote:

Originally Posted by barca4ever (Post 1642124)
It was working fine until version 3.7, now its showing the following message:



Where can I add the permission to view this hack in admincp?

I had this issue and if I remember correctly it's due to the new config.php you are using. You need to add which users can use PM workbench to the config.php so when you upgraded this was probably lost. Find your old config.php and add the code, which is usually found at the bottom.

b00k 11-14-2008 12:07 AM

-----------

Under_Dog 12-19-2008 04:38 PM

Would someone please bring this back to life for Version 3.7.4 and beyond.

I am willing to pay a fair rate to get this mod working. Yes! Not a donation but an actual fee.

For you moral Nazi's,
I own my forum, there are non-profit, and used for a gaming community full of spammers and spies. I should be able to do what I want with what I bought.

Once again, I am willing to pay someone to get this mod working. I am a registered member of PayPal or we can discuss other forms of payment.

Please contact me via a PM or at black.rose@comcast.net

Alfa1 12-28-2008 02:45 AM

It works on vb 3.7.4PL1. I surely do hope that it will keep working on vb 3.8.

FloridaGerman 02-03-2009 01:33 AM

bump
any update on 3.8 prior to downloading?

fluentdesigns 02-03-2009 02:05 AM

I would like to see this updated to 3.8, I would surely donate a good amount to the cause.


All times are GMT. The time now is 04:46 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.01500 seconds
  • Memory Usage 1,821KB
  • 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
  • (8)bbcode_html_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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