Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

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

Version: 3.5.0 Rating:
Released: 06-29-2005 Last Update: 08-05-2006 Installs: 719
Re-useable Code Additional Files  
No support by the author.

Adds "Users >> Read PMs" to the AdminCP

Version History
(0.1) First release, read pms by entering userid
(0.2) Shows a list of users that have pms
(0.3) Search pms
(0.4) Made superadmin only
(0.5) Read pms by entering username (or userid)
(0.6) Shows a list of the last X pms
(0.7) Parses message and separate sent from received on list of PMs

Installation
- Upload "read_pms.php" to your admincp folder
- Upload "cpnav_rpm.xml" to your includes/xml folder

This is pretty basic, you can only read right.

search keywords: admin read pm private message messages administrator

Show Your Support

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

Comments
  #12  
Old 07-01-2005, 01:53 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This hack is for vB3.5 (beta), not for 3.0.6

This will never work since it uses new techniques not available in 3.0.6
Reply With Quote
  #13  
Old 07-01-2005, 02:02 PM
n_wattam n_wattam is offline
 
Join Date: Nov 2004
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ah.... lol... got the decimal point in wrong place... ...
Reply With Quote
  #14  
Old 07-06-2005, 12:05 AM
Biker_GA Biker_GA is offline
 
Join Date: Oct 2004
Location: Where my hat is
Posts: 829
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How could I change this to where only Super Admins could read the PMs?
Reply With Quote
  #15  
Old 07-06-2005, 01:01 AM
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
Posts: 2,251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

get 0.4 and upload read_pms.php or edit yours and add

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

Code:
print_cp_header();
Reply With Quote
  #16  
Old 07-06-2005, 01:06 AM
Biker_GA Biker_GA is offline
 
Join Date: Oct 2004
Location: Where my hat is
Posts: 829
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you. We use this one only when there's an issue that requires it, and we've limited to just 3 individuals who are super admins.
Reply With Quote
  #17  
Old 07-06-2005, 01:09 AM
Biker_GA Biker_GA is offline
 
Join Date: Oct 2004
Location: Where my hat is
Posts: 829
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm assuming I upload the php file to /forum/admincp and then import the xml file?

Edit -- Ummm. Never mind. Read the first post again. :speechless:
Reply With Quote
  #18  
Old 07-06-2005, 01:11 AM
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
Posts: 2,251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yeah I wouldnt use this myself if it werent superadmin only

edit1: if you havent installed it before, upload both files, if you did just upload the php. the xml is the same since 0.1

edit2: ok
Reply With Quote
  #19  
Old 07-06-2005, 02:52 PM
Joe Gronlund Joe Gronlund is offline
 
Join Date: Jun 2005
Location: Toronto, Ontario, Canada
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Why is there 4 zip files on the first page??
Reply With Quote
  #20  
Old 07-06-2005, 03:10 PM
Biker_GA Biker_GA is offline
 
Join Date: Oct 2004
Location: Where my hat is
Posts: 829
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Joe Gronlund
Why is there 4 zip files on the first page??
(0.1) Original release
(0.2) Shows a list of users that have pms
(0.3) Search pms
(0.4) Made superadmin only
Reply With Quote
  #21  
Old 07-06-2005, 03:16 PM
Joe Gronlund Joe Gronlund is offline
 
Join Date: Jun 2005
Location: Toronto, Ontario, Canada
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Biker_GA
(0.1) Original release
(0.2) Shows a list of users that have pms
(0.3) Search pms
(0.4) Made superadmin only

I see,, thanks
Reply With Quote
Reply

Thread Tools

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 02:54 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.06653 seconds
  • Memory Usage 2,295KB
  • 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
  • (2)bbcode_code
  • (2)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
  • (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
  • (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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete