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
  #122  
Old 07-04-2009, 06:41 PM
-=Leb=-'s Avatar
-=Leb=- -=Leb=- is offline
 
Join Date: Jan 2008
Location: Sweden
Posts: 353
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

GJ and thx for the update
Reply With Quote
  #123  
Old 07-04-2009, 09:30 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 mariocaz View Post
And that error appears only when I am in the Read Pm?s Control Panel.
I need for you to tell me a bit more, as you are only 1 of 2 people (92 people so far have downloaded this) who have reported this issue.

Can you tell me what parts of Read PM's CP you are on about (it is not specific enough), I am trying to find out where it occurring.
Reply With Quote
  #124  
Old 07-04-2009, 11:25 PM
Sunka Sunka is offline
 
Join Date: Mar 2008
Location: Croatia
Posts: 400
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Same error...screenshot is in the attachment
vBulletin v3.8.3
PHP v5.2.9

Error come only when you list PMs (show last 100 PMs, or when you search PMs with some word)
Attached Images
File Type: jpg 1.jpg (110.1 KB, 0 views)
Reply With Quote
  #125  
Old 07-05-2009, 03:33 AM
radmoose's Avatar
radmoose radmoose is offline
 
Join Date: Jul 2006
Posts: 96
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Same errors on 2 different installs

One Install...
Shows the TO for the last 55 items then errors.
vBulletin 3.8.1 Patch Level 1
PHP 5.2.5
MySQL Version 5.0.81-community
Second Install...
WHen showing last 250, 2 of the items about midway show the error but the rest are OK.
vBulletin 3.8.2
PHP 5.2.5
MySQL Version 5.0.81-community

Not having any other issues on either site
Reply With Quote
  #126  
Old 07-05-2009, 04:09 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 hassshasss View Post

Mosh's Read PMs - Show Latest PMs


Warning: Invalid argument supplied for foreach() in [path]/xxxxxx/read_pms.php on line 606

Warning: Invalid argument supplied for foreach() in [path]/xxxxxx/read_pms.php on line 606

Warning: Invalid argument supplied for foreach() in [path]/xxxxxx/read_pms.php on line 606
Show Last 100 PMs
pmtextid PM Title From To Date
xxxxxxxx xxxxx xxxxxx xxxxx
Quote:
Originally Posted by mariocaz View Post
Yes I am havieng the same error in my ACP

Code:
Warning: Invalid argument supplied for foreach() in [path]/admincp/read_pms.php on line 606
I have vB 3.7.6

PHP Version 5.2.9

And that error appears only when I am in the Read Pm?s Control Panel.

What else do you need ?
Quote:
Originally Posted by Sunka View Post
Same error...screenshot is in the attachment
vBulletin v3.8.3
PHP v5.2.9


Error come only when you list PMs (show last 100 PMs, or when you search PMs with some word)
Quote:
Originally Posted by radmoose View Post
Same errors on 2 different installs

One Install...
Shows the TO for the last 55 items then errors.
vBulletin 3.8.1 Patch Level 1
PHP 5.2.5
MySQL Version 5.0.81-community
Second Install...
WHen showing last 250, 2 of the items about midway show the error but the rest are OK.
vBulletin 3.8.2
PHP 5.2.5
MySQL Version 5.0.81-community

Not having any other issues on either site
What I think is happening is that the for some reason the array that holds the To, CC and BCC users for certain PMs is not being picked up, and as a consequence empty arrays are being passed to the function that creates the list of recipients that is displayed in the To field. I have done a change that should display a message Reciepients can not be displayed. if I am right.

[s]Can all four of you try the file attached and let me know if it works (i.e. no error messages and displaying the message above in some fields? Simply over-write your old version with this one.[/s]

If it fixes the issue, I will release a new version

EDIT: Removed attachment, as this has now been rolled into the official v3.8.009 release.
Reply With Quote
  #127  
Old 07-05-2009, 04:59 PM
Sunka Sunka is offline
 
Join Date: Mar 2008
Location: Croatia
Posts: 400
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mosh View Post
What I think is happening is that the for some reason the array that holds the To, CC and BCC users for certain PMs is not being picked up, and as a consequence empty arrays are being passed to the function that creates the list of recipients that is displayed in the To field. I have done a change that should display a message Reciepients can not be displayed. if I am right.

Can all four of you try the file attached and let me know if it works (i.e. no error messages and displaying the message above in some fields? Simply over-write your old version with this one.

If it fixes the issue, I will release a new version
For me is working with this fix :up:
Reply With Quote
  #128  
Old 07-05-2009, 05:35 PM
BigDog56 BigDog56 is offline
 
Join Date: Jan 2007
Posts: 430
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Worked for me also
Reply With Quote
  #129  
Old 07-06-2009, 04:49 AM
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Update: 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

As a lot of people benefit from this hack, again, 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 English, and have a couple of hours to provide a translation in your language, please see the Translations section above for more information.
Reply With Quote
  #130  
Old 07-06-2009, 05:40 AM
yotsume's Avatar
yotsume yotsume is offline
 
Join Date: Dec 2006
Posts: 844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there any way to get your version of this Reading PMs mod to be listed by user name rather than totals. It seems to be a waste of time to first list the PMs by totals. I need it to show a list of usernames.

Anyway to get this to list like Dreams version but with your updates?
Reply With Quote
  #131  
Old 07-06-2009, 05:54 AM
radmoose's Avatar
radmoose radmoose is offline
 
Join Date: Jul 2006
Posts: 96
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The error issue is resolved.

In the individual PM, there is no TO listed. Not sure what is up with that.
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 03:20 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.05355 seconds
  • Memory Usage 2,370KB
  • 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
  • (1)bbcode_code
  • (1)bbcode_php
  • (6)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
  • (4)pagenav_pagelink
  • (2)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
  • (4)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