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)
-   -   Admins can view user's PM's (https://vborg.vbsupport.ru/showthread.php?t=32625)

FFMania 05-05-2002 05:00 AM

I installed this hack, and when I go to pm.php, this is what I get.

Code:

Database error in vBulletin Control Panel 2.2.5:

Invalid SQL: SELECT * FROM user WHERE user.userid=
mysql error: You have an error in your SQL syntax near '' at line 1

mysql error number: 1064

Date: Sunday 05th of May 2002 01:50:27 AM
Script: http://forums.ffinsider.net/admin/pm.php
Referer:


Scott MacVicar 05-05-2002 10:25 AM

ok if you had read any posts in this thread, you will see that you need to find the user then click show users pm's within the page.

Come on its in the post above yours LOL

springbok 05-05-2002 04:50 PM

Hi,

I am running 2.2.5, but it says "Viewing User PM's is restricted.". I have added the admin inot the pm.php file and checked the spelling very carefully, but it keep on saying this.

Any idea?

Scott MacVicar 05-05-2002 05:07 PM

you need to put in the userid, not the username

springbok 05-05-2002 06:06 PM

Its working now. Cheers

kanima 05-28-2002 03:26 PM

Either through the control panel or direct i get this

Warning: Failed opening '/com/ip-subspace.com/www/forum/admin/pm.php' for inclusion (include_path='.:/usr/local/lib/php') in Unknown on line 0

this is version vb 2.2.1

Tungsten 05-28-2002 03:38 PM

Nice hack. When I saw first saw this I thought "Nah... too much of a big brother tactic" but recently I had some complaints about a particular user sending very hateful and sometimes lewd PMs to other users.

Thanks to this hack I was able to dig into his PM box and see that the complaints were indeed true.

It's a power that could be used for good or bad, but it definitely helped out in this case. Kudos!

kanima 05-28-2002 04:00 PM

figured it out , rights issue.

Scott MacVicar 05-28-2002 09:13 PM

Yep kanima, if the file doesn't exist or php doesn't have permission to read the file you get that error

ThePeak 06-02-2002 07:14 PM

Great! Thanks PPN :)


All times are GMT. The time now is 01:19 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.01352 seconds
  • Memory Usage 1,734KB
  • 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_code_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