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

Reply
 
Thread Tools
Read PMs Details »»
Read PMs
Version: 0.7, by Dream Dream is offline
Developer Last Online: Sep 2010 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 3.6.8 Rating:
Released: 08-05-2006 Last Update: Never Installs: 1657
Re-useable Code Additional Files  
No support by the author.

This will let you read your member's private messages.

Features:

- 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 100 PMs sent

Installation:

Upload "read_pms.php" to your admincp folder and "cpnav_rpm.xml" to your includes/xml folder. Do not import the xml, upload it!!!

Usage:

On your admin control panel, under the "User" menu theres a link to the Read PMs mod. Only Super Administrators can use it.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
too_cool_3

Comments
  #252  
Old 08-22-2007, 03:57 PM
Shazz's Avatar
Shazz Shazz is offline
 
Join Date: Jun 2006
Location: Utah
Posts: 4,758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DiesellMinded View Post
OK Do you read Pm's on vbFAQ :nervous:
What are you doing illegal? rofl
Reply With Quote
  #253  
Old 08-22-2007, 03:58 PM
Shazz's Avatar
Shazz Shazz is offline
 
Join Date: Jun 2006
Location: Utah
Posts: 4,758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by josepheseven View Post
is there any way that i could give permissions to my other 2 admins to read them also ?
Super admin them...
Reply With Quote
  #254  
Old 08-26-2007, 09:58 AM
JWalker05 JWalker05 is offline
 
Join Date: May 2005
Location: Texas
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by josepheseven View Post
is there any way that i could give permissions to my other 2 admins to read them also ?
Like Shazz said, you can either SuperAdmin them or modify read_pms.php. I too wanted to allow some of my other admins to use this mod, but did not want to SuperAdmin them.

You can easily achieve this by modifying:
PHP Code:
// ########################## SUPERADMIN CHECK ############################
if (!in_array($vbulletin->userinfo['userid'], preg_split('#\s*,\s*#s'$vbulletin->config['SpecialUsers']['superadministrators'], -1PREG_SPLIT_NO_EMPTY)) ) {
 
rpm_print_stop_back("You don't have permission to access this page.");

to look something like:
PHP Code:
// ########################## SUPERADMIN CHECK ############################
if (!in_array($vbulletin->userinfo['userid'], preg_split('#\s*,\s*#s'$vbulletin->config['SpecialUsers']['pmadministration'], -1PREG_SPLIT_NO_EMPTY)) ) {
 
rpm_print_stop_back("You don't have permission to access this page.");

NOTE: The only change was "config['SpecialUsers']['superadministrators']" to "config['SpecialUsers']['pmadministration']" in read_pms.php.

After you make that change, add the following to includes/config.php:
PHP Code:
$config['SpecialUsers']['pmadministration'] = '3,5,36'
Replacing the 3,5,36 with the userid's you want to grant access to.

Hopefully that points you in the right direction.
Reply With Quote
  #255  
Old 09-01-2007, 05:37 AM
Ditzy.Britt Ditzy.Britt is offline
 
Join Date: Aug 2007
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i keep getting this error message when trying to upload the file into my acp
XML Error: unknown at Line 0

nevermind, figured it out.
Reply With Quote
  #256  
Old 09-03-2007, 01:50 PM
Ohiosweetheart Ohiosweetheart is offline
 
Join Date: Dec 2005
Location: N.E. Ohio
Posts: 2,291
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ohiosweetheart View Post
The statement was addressed to everyone, not just you DM. There are alot of other comments in the thread about reading pm's.

Quote:
Originally Posted by DiesellMinded View Post
OK Do you read Pm's on vbFAQ :nervous:
lol - nope.

Quote:
Originally Posted by Shazz View Post
What are you doing illegal? rofl
LOL!!
Reply With Quote
  #257  
Old 09-09-2007, 12:36 AM
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
Posts: 2,251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

1000 installs for a quick mod to code, not bad

I'll have to update this to show quotes some day.
Reply With Quote
  #258  
Old 09-09-2007, 01:40 AM
Shazz's Avatar
Shazz Shazz is offline
 
Join Date: Jun 2006
Location: Utah
Posts: 4,758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dream View Post
1000 installs for a quick mod to code, not bad

I'll have to update this to show quotes some day.
lol not bad
Congrats
Reply With Quote
  #259  
Old 09-11-2007, 01:56 AM
Crystal Shards Crystal Shards is offline
 
Join Date: Nov 2006
Location: Illinois
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's telling me I've got an invalid file via both file upload and FTP upload. What do I do about that?

~Crystal
Reply With Quote
  #260  
Old 09-11-2007, 02:08 AM
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
Posts: 2,251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you upload other files? If not, this must be a problem with your server.
Reply With Quote
  #261  
Old 09-11-2007, 04:29 AM
derfelix derfelix is offline
 
Join Date: Nov 2001
Posts: 204
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great hack !!!

I read through the thread but didnt find anything... so here is my question:

is there an easy way of hiding the Read PMs link in ACP for admins that are not allowed to use it??
(because I have questions and PMs (lol) : why am I not allowed.. I thought I was admin... etc..)

Thx for a reply..
Felix
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 12:53 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.13299 seconds
  • Memory Usage 2,329KB
  • Queries Executed 25 (?)
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_php
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete