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

Reply
 
Thread Tools
Read PMs (PM Management Suite Lite) Details »»
Read PMs (PM Management Suite Lite)
Version: 3.8.17, by Mosh Mosh is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 3.8.x Rating:
Released: 03-24-2009 Last Update: 01-13-2011 Installs: 713
Additional Files Translations  
No support by the author.

Please click Mark as Installed if you are using this hack.

IMPORTANT NOTICE: This hack can only be used by Super Administrators.


What Does This Hack Do?[hr]hr[/hr]
This version is a major update (a virtual re-write, there is very little original code left) of Dream's Read PMs hack v0.7. Permission for me to release this hack is shown here, and blessings are given by Dream here.

This hack will allow you as a Super Administrator to read your member's private messages.

Please, lets not get into a discussion in this support thread about the suitability of this hack and invading privacy etc, (I have seen this happen in other threads, so, I am pre-empting people before it starts). If you have a moral objection to this hack, please don't comment on it, just don't install it, it is as simple as that. This hack is here for people who want to use it, I have no opinion about it one way or the other.

Original Features by Dream:
  • List PMs separated by sent/received given a username or id
  • List all users with PMs
  • Search PMs by exact text, all words and at least one of the words
  • List the latest X PMs sent
Fixed in this version:
  • BBCode in PMs is now parsed correctly !!!!
  • To and BCC fields when reading a single PM now display correctly
  • If a PM is displayed in Latest X PMs that has been deleted by all parties (from, to, cc, bcc) and it has not yet been deleted permanently by the hourly cron job, it will display a proper error message when clicking on the link for it, instead of displaying a database error
  • Any PMs that a user sent to others that included the themselves in the To or BCC now show up in Received PMs (they did not before)
  • High server load when clicking List Users with PMs, especially if there are 1000s of users that have PMs (now split into categories acording to how many PMs a user has)
Added in this version:
  • Now completely phrased (uses a language file that has 75 custom phrases that take the form $rpmphrase['phrase_name']), so can be translated into other languages very easily by creating a separate phrase file for each language
  • Now available in 7 languages:
    • English
    • Italian
    • German
    • Brazilian/Portuguese
    • Spanish
    • Turkish
    • French
  • Read Single PM - read a single PM by typing in pmtextid
  • Minimum length for each search term, and the ability to disable it
  • userids now displayed next to user (From, To and BCC)
  • userids are now click-able and linked to their admincp user profile, so user can be edited (ie prune all PMs from a spammer)
  • A more complete message is displayed if admin user is not super administrator, it has a link to vBulletin manual
  • To column to Lastest X PMs
  • To column to the recieved section of Read A User's PMs
  • To and From columns to Search for PMs
  • A lot of the formatting has been changed to make it look better (that is just my opinion)
  • Extra links to various functions for each user
  • Other things I can not think of right now

Frequently Asked Questions

Question:
How do I hide the Read PMs link?
Answer:
The only way to do so, is to not upload cpnav_rpm.xml and to use a shortcut/bookmark to http://<your-forum-path-here>/admincp/read_pms.php? instead.
Question:
How do I fix the following error when I upgrade to PHP 5.3.x and above?
PHP Code:
DeprecatedAssigning the return value of new by reference is deprecated in xxxxxx 
Answer:
The fix is available here - https://vborg.vbsupport.ru/showpost....&postcount=235

vBulletin Version Compatibility[hr]hr[/hr]
This hack can be used with vBulletin versions 3.6.0 - 3.8.8. This may even work for v3.5.x (but has not been tested).

The version of this hack that is compatible with vBulletin v4.0.0 or later versions is available here.



Hack Support[hr]hr[/hr]
IMPORTANT: This hack is no longer supported.


Branding[hr]hr[/hr]
There is a small unobtrusive block of copyright branding text at the bottom of each page generated by this hack, which is there to promote my work and allow you to use this hack for free.

You are NOT allowed to remove my copyright branding from this hack.


Install/Uninstall Instructions[hr]hr[/hr]
IMPORTANT: THERE ARE NO FILES TO IMPORT INTO THE ADMINCP

The readme.txt instructions file is included in attached .zip file. The upgrade instructions are exactly the same as the install instructions.


Translations[hr]hr[/hr]
Official Language Files (included in the zip file):
  • read_pms_eng.php - English by Mosh
  • read_pms_ita.php - Italian by anonymous
  • read_pms_deu.php - German by Speedy1505
  • read_pms_bra.php - Brazilian/Portuguese by Setokaiba (SW)
  • read_pms_esp.php - Spanish by cloferba
  • read_pms_tur.php - Turkish by Adem GEN?
  • read_pms_fre.php - French by Dadoo


Version History[hr]hr[/hr]
v3.8.17 - Saturday 15th January 2011
-- Altered: updated 3 phrases in the Turkish language file "read_pms_tur.php"

v3.8.16 - Sunday 9th January 2011
-- Added: French language file "read_pms_fre.php" - thanks to Dadoo
-- Updated: "readpms.php" to accommodate the new language
-- Updated: Instructions

v3.8.15 - Saturday 8th January 2011
-- Added: Turkish language file "read_pms_tur.php" - thanks to Adem GEN?
-- Updated: "readpms.php" to accommodate the new language
-- Updated: Instructions

v3.8.014 - Sunday 23rd August 2009
-- Added: Spanish language file "read_pms_esp.php" - thanks to cloferba
-- Updated: "readpms.php" to accommodate the new language
-- Updated: Instructions

v3.8.013 - Friday 14th August 2009
-- Added: Brazilian (Portuguese) language file "read_pms_bra.php" - thanks to Setokaiba (SW)
-- Updated: "readpms.php" to accommodate the new language
-- Updated: Instructions

v3.8.012 - Thursday 13th August 2009
-- Added: German language file "read_pms_deu.php" - thanks to Speedy1505
-- Updated: "readpms.php" to accommodate the new language
-- Updated: Instructions

v3.8.011 - Wednesday 12th August 2009
-- Added: Italian language file "read_pms_ita.php" - author wishes to remain anonymous
-- Updated: "readpms.php" to accommodate the new language
-- Updated: Instructions on how to change language files

v3.8.010 - Saturday 25th July 2009
-- Fixed: Typo on line 63 of 'readpms.php' - thanks to Andrea (Silvio)
-- Fixed: Typo on line 171 of 'readpms.php' - thanks to macc
-- Fixed: Typo on line 476 of 'readpms.php'
-- Fixed: Typo on line 483 of 'readpms.php'

v3.8.009 - Monday 6th July 2009
-- Fixed: Invalid argument supplied for foreach() error a very small percentage of people were experiencing
-- Added: 1 phrase

v3.8.008 - Saturday 4rd July 2009
-- Fixed: Several missing </div>s
-- Fixed: Uncached BBCode templates (save up-to 4 queries when viewing a PM)
-- Added: New English language phrase file - 74 new phrases
-- Added: 'To' column to 'Lastest X PMs'
-- Added: 'To' column to the recieved section of 'Read A User's PMs'
-- Added: 'To' and 'From' columns to 'Search for PMs'
-- Updated: A virtual re-write of the base code to remove all the hard-coded phrases

v3.8.007 - Thursday 2nd July 2009
-- Fixed: Now correctly parses BBCode Tags !!!
-- Added: Correct header when viewing single PMs
-- Updated: Screenshots

v3.8.006 - Tuesday 31st March 2009
-- Fixed: High server load when finding PMs for single user id or username
-- Fixed: Problems with hacks that have custom BBCode being called by the "bbcode_fetch_tags" file hook

v3.8.005 - Saturday 28th March 2009
-- Added: Read Single PM - read a single PM by typing in pmtextid
-- Added: Ability to disable the limit minimum length a key search word can be

v3.8.004 - Friday 27th March 2009
-- Changed: Layout of PM lists, individual PMs, sent/received PMs, Search Results
-- Fixed: High server load when clicking List Users with PMs, especially if there are 1000s of users that have PMs (now split into categories acording to how many PMs a user has)
-- Removed: From info for individual users sent PMs
-- Added: Constant to limit minimum length a key search word can be, to limit higher server loads when trying to search for a keyword with a length of 1 (ie. "a"). This minimum is currently set at 4, but can be altered by editing read_pms.php)
-- Added: Various links (depending what function you are using) to view all a users PMs, go to the users pmstats page, edit the user and send the user a PM

v3.8.003 - Thursday 26th March 2009
-- Fixed: The Plain Text BBcode parser version of the PM message body was stretching the screen too wide, now word wraps

v3.8.002 - Thursday 26th March 2009
-- Fixed: The unparsed version of the PM message body was stretching the screen too wide, now instead of just leaving unparsed, I have used the Plain Text BBcode parser instead.

v3.8.001 - Tuesday 24th March 2009
-- Initial Release


Thanks[hr]hr[/hr]
A big thanks goes out to Dream, whose original hack and permission to re-use his code enabled me to release this hack.


Show Your Appreciation [hr]hr[/hr]
Although not required, if you have enjoyed the benefits of this hack, and would like show your appreciation for my efforts, then please feel free to click on the Support Developer link and donate any amount you feel is appropriate.

Download Now

File Type: zip read_pms.zip (21.9 KB, 1338 views)

Screenshots

File Type: jpg screenshot1.jpg (98.1 KB, 0 views)
File Type: jpg screenshot2.jpg (86.9 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #232  
Old 01-14-2011, 02:56 PM
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Update: v3.8.17
-- Altered: updated 3 phrases in the Turkish language file "read_pms_tur.php"

This is just a language update. There is no new functionality, no bug fixes, just updated an existing language. So, only update if you feel the need to.

As Adem GEN? is continuing to keep the ball rolling with language translations (thank you once again Adem GEN? ), I will make the following request to everybody.

As a lot of people benefit from this hack, if you have time, I would urge you to help me out and give back to the community at the same time, by providing a translation in your native language (as long as there is not an official translation already out there).

So, if you read and write a different language other than Brazilian, English, German, Italian, Spanish or Turkish, and have a couple of hours to provide a translation in your language, please see the Translations section in the first post for more information.
Reply With Quote
  #233  
Old 04-05-2011, 06:37 PM
Jeff Bade Jeff Bade is offline
 
Join Date: Apr 2005
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just installed it..
Not sure about keeping it yet..

Anyway it's use can be logged in the Control Panel Log?
Reply With Quote
  #234  
Old 04-07-2011, 09:12 PM
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Jeff Bade View Post
Anyway it's use can be logged in the Control Panel Log?
There is no Control Panel logging performed at all.
Reply With Quote
  #235  
Old 10-21-2011, 02:49 PM
Chadi's Avatar
Chadi Chadi is offline
 
Join Date: May 2004
Location: USA
Posts: 2,043
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Upgraded php to 5.3x and now I get this in backend:

Code:
Deprecated: Assigning the return value of new by reference is deprecated in /home/user/public_html/includes/init.php on line 55

Deprecated: Assigning the return value of new by reference is deprecated in /home/user/public_html/includes/init.php on line 107

Deprecated: Assigning the return value of new by reference is deprecated in /home/user/public_html/includes/init.php on line 111

Deprecated: Assigning the return value of new by reference is deprecated in /home/user/public_html/includes/init.php on line 119

Deprecated: Assigning the return value of new by reference is deprecated in /home/user/public_html/includes/init.php on line 130

Deprecated: Assigning the return value of new by reference is deprecated in /home/user/public_html/includes/init.php on line 134

Deprecated: Assigning the return value of new by reference is deprecated in /home/user/public_html/includes/init.php on line 142

Deprecated: Assigning the return value of new by reference is deprecated in /home/user/public_html/includes/init.php on line 211

Deprecated: Assigning the return value of new by reference is deprecated in /home/user/public_html/includes/init.php on line 389

Deprecated: Assigning the return value of new by reference is deprecated in /home/user/public_html/includes/class_core.php on line 2552
Reply With Quote
  #236  
Old 10-22-2011, 10:21 PM
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Chadi View Post
Upgraded php to 5.3x and now I get this in backend:

Code:
Deprecated: Assigning the return value of new by reference is deprecated in /home/user/public_html/includes/init.php on line 55

Deprecated: Assigning the return value of new by reference is deprecated in /home/user/public_html/includes/init.php on line 107

Deprecated: Assigning the return value of new by reference is deprecated in /home/user/public_html/includes/init.php on line 111

Deprecated: Assigning the return value of new by reference is deprecated in /home/user/public_html/includes/init.php on line 119

Deprecated: Assigning the return value of new by reference is deprecated in /home/user/public_html/includes/init.php on line 130

Deprecated: Assigning the return value of new by reference is deprecated in /home/user/public_html/includes/init.php on line 134

Deprecated: Assigning the return value of new by reference is deprecated in /home/user/public_html/includes/init.php on line 142

Deprecated: Assigning the return value of new by reference is deprecated in /home/user/public_html/includes/init.php on line 211

Deprecated: Assigning the return value of new by reference is deprecated in /home/user/public_html/includes/init.php on line 389

Deprecated: Assigning the return value of new by reference is deprecated in /home/user/public_html/includes/class_core.php on line 2552
In PHP 5 and above pass-by-reference is done automatically, but in PHP 4 had to be done explicitly. As of PHP 5.3 you will get the deprecated warning message appear.

What you need to do is edit read_pms.php, at line 502 find:

PHP Code:
    $bbcode_parser =& new vB_BbCodeParser($vbulletinfetch_tag_list()); 
and change it to:

PHP Code:
    $bbcode_parser = new vB_BbCodeParser($vbulletinfetch_tag_list()); 
That should fix your issue

I am probably not going to put a fix for download yet, as most vBulletin v 3.x.x installations still reside on servers that have not been upgraded to PHP 5.3 and above yet.
Reply With Quote
  #237  
Old 10-26-2011, 03:03 AM
Chadi's Avatar
Chadi Chadi is offline
 
Join Date: May 2004
Location: USA
Posts: 2,043
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, but I tried that, didn't fix it.
Reply With Quote
  #238  
Old 10-26-2011, 06:58 AM
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Chadi View Post
Thanks, but I tried that, didn't fix it.
That does fix it for this hack, as there is only 1 "pass by reference" in the read_pms.php file.

You have remember that even vBulletin 3.8.7 PL2 (latest version of 3.8.x) has not been designed with PHP 5 in mind and PHP 5.3 will display multiple depreciated messages without this hack installed at all.

For instance, I just checked and there are 16 lines in vBulletin 3.8.7 PL2's includes/init.php file that will generate the depreciated message you are getting and I have not even checked any other vBulletin files, so I suspect there are a lot more of them.

You are going to need to post about this at vBulletin.com if it has not already been flagged.
Reply With Quote
  #239  
Old 12-06-2011, 10:38 PM
Gardemarin Gardemarin is offline
 
Join Date: Apr 2008
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

VB 3.8.5

I have an error message before the table, when the field "TO" contains "Recipients can not be displayed."

If i have 3 or 5 field with "Recipients can not be displayed", then 3 or 5 error message displayed and soon...

Please, fix this issue.

PHP Code:
WARNINGarray_values() [function.array-values]: The argument should be an array
in line 430 of file /home/.../admincp/read_pms.php
Trace path
:
, function 
all_error_handlerline
/home/.../admincp/read_pms.php, function array_valuesline 430 
PHP Code:
WARNINGarray_values() [function.array-values]: The argument should be an array
in line 216 of file /home/.../admincp/read_pms.php
Trace path
:
, function 
all_error_handlerline
/home/.../admincp/read_pms.php, function array_valuesline 216 
Reply With Quote
  #240  
Old 04-21-2012, 06:02 AM
Mark_Zuckerberg Mark_Zuckerberg is offline
 
Join Date: Sep 2011
Posts: 195
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

changed the code

Code:
    $bbcode_parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());
to

$bbcode_parser = new vB_BbCodeParser($vbulletin, fetch_tag_list());


but still the same error see the screencaps

Reply With Quote
  #241  
Old 04-21-2012, 09:22 PM
mahmo0od mahmo0od is offline
 
Join Date: Nov 2011
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

woooooooow
good mod
i will install it
thank u friend
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 07:05 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.05289 seconds
  • Memory Usage 2,378KB
  • Queries Executed 26 (?)
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
  • (3)bbcode_code
  • (5)bbcode_php
  • (3)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
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)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_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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • 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