vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Administrative and Maintenance Tools - Read PMs (https://vborg.vbsupport.ru/showthread.php?t=123166)

Dream 04-12-2007 09:29 PM

Try removing this code from read_pms.php

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


And uploading to the modcp folder. Then mods need to use the full url to read_pms.php to use it.

edit: this will allow all mods to see this, not only super mods

kidcorral 04-22-2007 06:49 AM

I'm not sure if I'm asking this in the right place...forgive me if I have...but does anyone know of somewhere (a pay site, of course, not looking for a freebie) I could ask to install this in my vB forum for me? I don't have the foggiest clue how to do it despite the detailed instructions and would prefer to have a more experienced person do it. Please PM me with whom to contact please.

Thank you very much,
Kristen

Aimee1969 04-28-2007 11:13 AM

thanks...like the mod ;)

Dream 04-28-2007 11:16 AM

Glad you do :)

666 installs :eek:

Aimee1969 04-28-2007 06:15 PM

now I screwed things up....I tried to do "a shout box thing" after I did this. I messed up my whole board and my server set it back to yesterday for me. Well I lost this in the process...I can't get it back. Please help me.

When I do this:
Upload "read_pms.php" to your admincp folder

it says "failed" and it won't install it. What am I doing wrong? I have tried several times. I liked this too this am prior to my mix up.

Dream 04-28-2007 06:48 PM

Failed to FTP the file to your admincp folder?

RS_Jelle 04-28-2007 08:04 PM

Nice to see you joined the thread again, Dream :)

Any plans on releasing a new version for fixing the most important bugs? Correct BBCode parsing for messages (fix for example the missing quotes), wrong "to" array parsing due to the new vBulletin system of this and remove the wrong htmlspecialchars for the pm title. The latest one is very easy to fix, just remove the htmlspecialchars (htmlspecialchars is already ran by vBulletin itself before it's being stored in the database).

And ... some small new features to make management more efficient: link the user name on the read page to the /admincp/user.php?do=edit&u=xxx page (!)
A bigger feature suggestion: add BCC support to the mod, which has been added by vB 3.6.

Dream 04-28-2007 08:11 PM

Thanks for the hints RS_Jelle, I'll get to this mod again sometime, right now I'm kinda busy with my other mods.

Your suggestions are nice, I'll take them in consideration.

What do you expect the mod to do with BCC? Just show the list of users on BCC in the PM view page? Thinking about it I don't think this list is stored anywhere, the system should just create multiple PMs for different people.

RS_Jelle 04-28-2007 08:15 PM

Quote:

Originally Posted by Dream (Post 1237229)
What do you expect the mod to do with BCC? Just show the list of users on BCC in the PM view page? Thinking about it I don't think this list is stored anywhere, the system should just create multiple PMs for different people.

You are right, I just checked it and there is no BCC field. So -1 feature request :)

Aimee1969 04-28-2007 08:47 PM

Quote:

Originally Posted by Dream (Post 1237195)
Failed to FTP the file to your admincp folder?

yes..that was where.


All times are GMT. The time now is 03:53 PM.

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.01771 seconds
  • Memory Usage 1,740KB
  • 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
  • (1)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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