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
  #132  
Old 07-06-2009, 07:52 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 yotsume View Post
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?
Yes, but the reason I did it this way rather than leave it the way Dream does it, is because Dream's version works fine on smaller forums with only a few thousand members on it. But when you get into the tens of thousands of users and they all have at least one PM, then what happens with Dream's version, is that it starts taking thirty plus seconds for the query to complete as Dream's version does not have any form of pagination, thus rendering this hack unusable (I have actually replicated this issue on a Big Board).

That is why it is the way it is in this version.

I may look into doing it via username (no promises), but it would definitely need to have pagination incorporated to prevent making the hack useless. It would be in addition to to via PM totals, not instead of them. But like I said, no promises.
Reply With Quote
  #133  
Old 07-06-2009, 07:59 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
The error issue is resolved.

In the individual PM, there is no TO listed. Not sure what is up with that.
It means that the To array in the individual PM is not being retrieved from the database, and as a consequence it is not being displaced. It has been this way since v3.8.001 of this hack, so it is not the hack doing this.

Also, I have found that this happens with forums that are really old (i.e. they were installed with a vBulletin version below v3.5), as the structure of PMs changed around vBulletin v3.5, so older PMs created in version 3.0.x or below may not show the To and CC and BCC fields correctly with this hack.
Reply With Quote
  #134  
Old 07-06-2009, 08:18 AM
yotsume's Avatar
yotsume yotsume is offline
 
Join Date: Dec 2006
Posts: 844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I figured your design layout had to do with size of board issues. It would be awesome to have a paginated version that lists user names though. I hope you consider it.
Reply With Quote
  #135  
Old 07-06-2009, 09:52 AM
steve1966 steve1966 is offline
 
Join Date: Dec 2007
Posts: 504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DobieGillis? View Post
nothing personal, but I feel reading my users PM's is a violation of their rights. I could and would never think to do so.
This modification is very useful if members are are abusing or spaming a forum and if used in that context there is no raisng issue of violation of members rights.

thanks for the update
Reply With Quote
  #136  
Old 07-12-2009, 07:35 PM
TigerXtrm TigerXtrm is offline
 
Join Date: Nov 2005
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great hack. This should solve those pesky 'he said, she said' arguments.
Reply With Quote
  #137  
Old 07-19-2009, 07:54 AM
Lolli Lolli is offline
 
Join Date: Apr 2009
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed.
Reply With Quote
  #138  
Old 07-23-2009, 07:22 PM
jimjam jimjam is offline
 
Join Date: Jul 2007
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sorted
Reply With Quote
  #139  
Old 07-23-2009, 10:35 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 jimjam View Post
This mod was working fine. I uninstalled as per the instructions, however after a reinstall I get a fatal error. I have double checked the install and it is all OK with the three files in the right place.

Fatal error: Call to undefined function print_cp_header() in c:\home\default\wallaby.com\htdocs\read_pms.php on line 90
Quote:
Originally Posted by 1st Post (Hack Support <snippet>)
I will not be providing any support at all to people who have not clicked Mark as Installed.
See the above, but I will tell you only this until you have clicked Mark as Installed: You have not uploaded the files to the correct locations.
Reply With Quote
  #140  
Old 07-24-2009, 07:31 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 jimjam View Post
This mod was working fine. I uninstalled as per the instructions, however after a reinstall I get a fatal error. I have double checked the install and it is all OK with the three files in the right place.

Fatal error: Call to undefined function print_cp_header() in c:\home\default\wallaby.com\htdocs\read_pms.php on line 90
OK, now that you have clicked Mark As Installed, the first thing I noticed is that read_pms.php is not in your admincp folder. As print_cp_header() is an AdminCP function, if read_pms.php is not in the admincp folder, then you will have this issue - see the vBulletin API for more info.
Reply With Quote
  #141  
Old 07-24-2009, 07:32 AM
RC.'s Avatar
RC. RC. is offline
 
Join Date: Mar 2008
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice job...
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:52 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.05954 seconds
  • Memory Usage 2,366KB
  • 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_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
  • (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