vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Read User's PMs for Admins (https://vborg.vbsupport.ru/showthread.php?t=36752)

ExcErr 03-31-2002 10:12 AM

thx, i will write one hack very soon

rawnet 03-31-2002 11:47 AM

Hi ExcErr,

Just wanted to say thank you for releasing this. Such functionality is always going to be controversial, but I too have this requirement and thank you for your efforts.

Ross

Mutt 03-31-2002 12:33 PM

open admin/readprv.php

Very nice. I know that someone else made one of these but I never looked at it. I'm going to dig it up and see if it had any additional features. In the mean time here are 2 little things I added.

find

PHP Code:

?>
<p><b>vBulletin Administrators' PM Reading Panel</b><br> 

right before it add

PHP Code:

if ($fr!="") {
$nextaction="<input type=\"hidden\" name=\"to\" value=\"".$fr."\">";
$nextname="Incoming";
$thisname="Outgoing";
} else {
$nextaction="<input type=\"hidden\" name=\"fr\" value=\"".$to."\">";
$nextname="Outcoming";
$thisname="Incoming";



find
PHP Code:

<font size='1'>Software Developed by <a href="mailto:dominator@azwave.net">RaVeN (aka ExcErr)</a> espcially For vBulletin v 2.2.2 & Your vB Version is <? echo $versionnumber;?></font></p>

right after add

PHP Code:

<p align=center><form action="<? echo $PHP_SELF; ?>"  name="name" method="post">
<? echo $nextaction; ?>
<input type="hidden" name="action" value="read">
<input type="submit" value="   View <? echo $nextname; ?> PMs for this User   " accesskey="s">
</form></p>

<p><font size=3><strong><? echo $thisname; ?> PMs</strong></font></p>

this will add a button to switch between incoming and outgoing messages for the current ID




open admin/user.php

find

PHP Code:

makelinkcode("delete pms","user.php?s=$session[sessionhash]&action=killpms&userid=$user[userid]&ids=$ids&username=$user[username]").

and change it to
PHP Code:

makelinkcode("delete pms","user.php?s=$session[sessionhash]&action=killpms&userid=$user[userid]&ids=$ids&username=$user[username]").
        
makelinkcode("view pms","readprv.php?s=$session[sessionhash]&action=read&to=$user[userid]").


this will add a view pms link to your pm statistics page

ExcErr 04-04-2002 06:53 AM

2 Mutt.

Very nice! Thank`s for your addons!!! :)

cityofangelus 06-24-2002 01:36 PM

This could come in very useful thanks for this hack :D

Have one quesion if you can do this with PM's is there anyway to do this with posts and threads that have been deleted???

Anyone that could point me the direction I would appreciate it :D

Thanks

alster 11-26-2007 08:42 AM

What's the address in the browser I should write so I can identify the userid ?


All times are GMT. The time now is 01:46 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.00958 seconds
  • Memory Usage 1,733KB
  • 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
  • (6)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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