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)

Xplorer4x4 09-16-2005 12:59 AM

I believe there might be a bug in this when using RC3. I am able to access it but one of my other Admins who has full privleges is not able to access it. They were able to use it on RC2.

Bassicly he is getting a no permision messages. Is it just my board?

Biker_GA 09-16-2005 02:43 AM

Is he a superadmin?

Xplorer4x4 09-18-2005 04:05 AM

No he is not, but he has full Admin privleges. Is there a way to bypass this so all Admins can read PMs?

Dream 09-18-2005 06:45 AM

just remove

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.");
}


Boofo 09-18-2005 06:53 AM

Only Super Admins can read pms, right?

zemic 09-19-2005 01:06 PM

Assuming I remove the code above so all admins can read PM's.......

How would I make it so admins cannot read each others PM's :)

Xplorer4x4 09-20-2005 06:43 AM

Quote:

Originally Posted by Dream
just remove

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.");
}


Damn I was close, I tried to simply uncoment the first line there.
Thanks Dream!

Ken Woods 09-20-2005 06:17 PM

Odd question from me...I have version 3.0.9. I just installed this last week so thought I was getting the latest. Why are you guys talking about v3.5?

Marco van Herwaarden 09-20-2005 06:28 PM

vBulletin 3.5 is currently in Beta stages. You can download it from your member area.

Xplorer4x4 09-20-2005 06:29 PM

Ok actually there is a problem. I did your edit, and it apears to have removed the general format of the page. The hack still functions but instead of the page matching my ACP skin, it is a white page.


All times are GMT. The time now is 12:50 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.01751 seconds
  • Memory Usage 1,735KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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