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
  #112  
Old 07-02-2009, 12:47 AM
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

This update has now finally solved the biggest ongoing issue of BBCode not being shown in this hack (it has been the case since Dream first created this hack in June 2005 - over 4 years ago).

There should now be nothing more to fix
Reply With Quote
  #113  
Old 07-02-2009, 12:48 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 radmoose View Post
As there are no Update Instructions in the new file, do I just need to overwrite the PHP file if I had the previous version installed?
That is correct.

As there are no files to import into the AdminCP in this hack, all you need to do is just over-write the old files
Reply With Quote
  #114  
Old 07-02-2009, 01:49 PM
steve1966 steve1966 is offline
 
Join Date: Dec 2007
Posts: 504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks
Reply With Quote
  #115  
Old 07-02-2009, 08:52 PM
ITDarasgah's Avatar
ITDarasgah ITDarasgah is offline
 
Join Date: Mar 2009
Location: Pakistan
Posts: 144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

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

Has you will have noticed there is now a separate phrase language (as the hack has been previously hard coded with the English language). It now enables people to easily create alternative language files, and is something I encourage people to do if they have the time to do so, and post it here, so it can be added to the official hack. See the Translations section in the first post on how to create and submit new languages to be added into the official hack.
Reply With Quote
  #117  
Old 07-04-2009, 08:48 AM
hassshasss hassshasss is offline
 
Join Date: Apr 2008
Location: turkey
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default


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
Reply With Quote
  #118  
Old 07-04-2009, 09:24 AM
Centrix Centrix is offline
 
Join Date: Sep 2005
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I suggest you remove this mod if you installed it, for it is a voilation on the privacy law.
Users must be notified at the register and if they registered before this, they must agree or the mod must be disabled for them.
Reply With Quote
  #119  
Old 07-04-2009, 10:30 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
This is an issue with the To column information not being passed (or incorrect info being passed) to the function in question.

Also can I get a bit more info please? Such as vBulletin version, php version and if the same error occurs with other functions. Can you also post a screenshot of the error. If you are worried about revealing sensitive info, blank out the appropriate columns in the screenshot.

I may end up having to look at your installation to track what is happening if I can not help in this support thread.

Anyone else having this issue??
Reply With Quote
  #120  
Old 07-04-2009, 01:07 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Centrix View Post
I suggest you remove this mod if you installed it, for it is a voilation on the privacy law.
Users must be notified at the register and if they registered before this, they must agree or the mod must be disabled for them.
Read the first post next time please.
Quote:
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.
Further irrelevant posts will be deleted.
Reply With Quote
  #121  
Old 07-04-2009, 02:14 PM
mariocaz mariocaz is offline
 
Join Date: Feb 2008
Location: Mexico, D.F.
Posts: 424
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 ?
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 05:47 PM.


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.05465 seconds
  • Memory Usage 2,371KB
  • 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
  • (4)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
  • (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