vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Read PMs (https://vborg.vbsupport.ru/showthread.php?t=91369)

Marco van Herwaarden 07-01-2005 01:53 PM

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

n_wattam 07-01-2005 02:02 PM

ah.... lol... got the decimal point in wrong place... ;)...

Biker_GA 07-06-2005 12:05 AM

How could I change this to where only Super Admins could read the PMs?

Dream 07-06-2005 01:01 AM

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();

Biker_GA 07-06-2005 01:06 AM

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.

Biker_GA 07-06-2005 01:09 AM

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:

Dream 07-06-2005 01:11 AM

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

Joe Gronlund 07-06-2005 02:52 PM

Why is there 4 zip files on the first page??

Biker_GA 07-06-2005 03:10 PM

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

Joe Gronlund 07-06-2005 03:16 PM

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


All times are GMT. The time now is 05:11 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01286 seconds
  • Memory Usage 1,730KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete