Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[OzzModz] PM Spy Details »»
[OzzModz] PM Spy
Version: 1.4.0, by ozzy47 ozzy47 is offline
Developer Last Online: Dec 2021 Show Printable Version Email this Page

Category: Private Messages Enhancements - Version: 4.x.x Rating:
Released: 11-08-2013 Last Update: 01-17-2014 Installs: 87
DB Changes Uses Plugins Auto-Templates
Additional Files Translations  
No support by the author.

Another mod brought to you by,


[OzzModz] PM Spy, has won MOTM for December 2013 Mod of the Month!

First off this mod, [Chris] PM Spy, has been taken over by me. It did belong to Christos Teriakis. He has since given me full rights to the mod, so I am releasing it here. Only thing I have changed as of yet is the title, added the link and changed some template names, so it is basically the same mod. To upgrade from that mod is the same as any other time, unzip the files, load them to your server, overwriting the old files, then import the new xml. Please remember, this mod is as new to me as anyone installing it, so we are both on a learning curve.

*** Restriction in use ***
Please note that the Ajax Datagrid that comes as free to you is a commercial script and thus using it outside the specific folder (christeris/datagrid) is not allowed by the script's license agreement.

Note: As of now, if your database is running as mysqli, this mod may not work, there has been one report of this.

1.- What is PM Spy
It's a very simple utility to help Admins/Moderators (depending on usergroup permissions), to know what is happening behind the scenes. In simple words with this utility you can search all user PM's using Ajax (search as you type).
  • You can search on:
    • Sender
    • Recipient(s)
    • Title
    • Message
    • Send date
  • Usernames are clickable to user profile
  • Moving the mouse over the title you can see the full message in tooltip. Don't forget that the text that your enter as search in Title also searches in Message body.
  • Multi mark PMs as read, or unread if viewing PM's you have read already (does not affects the User Read vb option).
  • By clicking the title you can change indexing Ascending/Descending to all fields.
2.- Todo List.
If I see that this mod has enough popularity, I have in mind to extend it by adding some more features.

3.- Installation
  1. Download and unzip the file PMSpy_XXXX.zip
  2. Upload the content of upload folder to the directory where your vB installation is. To be sure: pmspy.php must be on the same directory as global.php, forum.php etc.
  3. CMOD 666 the file: christeris/datagrid/logs/errorlog.txt
  4. Goto Admincp and import product-pmspy.xml
  5. There are some settings at Settings --> Options --> [OzzModz] PM Spy Settings, including usergroup settings
  6. You can access PM Spy by clicking on the PM Spy link in the Quick Links Menu.
  7. New to v1.2.0 Users that are set to superadministrators in includes/config.php will be able to use the system, no matter which usergroups you have set to be able to use it. This means, if you leave the setting, Usergroups Allowed To Use PM Spy empty, only superadministrators will be able to use the mod.
-------------------------------------------------------------------------------------------

If you like this mod please hit the button to the right ---->

Please remember to click the, button to the right if you installed the mod ---->

What does 'Marking As Installed' do ?

* It helps you to stay on top of updates - members who have installed modifications will be notified whenever new updates are available.

* For security issues - vbulletin.org will contact all members who have installed a modification whenever a security issue is brought to their attention.

* Marking a modification as installed also helps me know how many people are using my work, giving me extra incentive to provide more features and new modifications.

I appreciate the support!
-------------------------------------------------------------------------------------------

v1.1.0 Nov 8th 2013
  • Initial Release.
v1.1.1 Nov 9th 2013
  • Fixed the error, Warning: Invalid argument supplied for foreach() in [path]\christeris\datagrid\includes\pmspy_functions.php (Line 19)
  • Fixed the count issues joeychgo reported.
v1.2.0 11th Nov 2013
  • Now you can have it so only users that are set to superadministrators in includes/config.php will be able to use the system, no matter which usergroups you have set to be able to use it. This means, if you leave the setting, Usergroups Allowed To Use PM Spy empty, only superadministrators will be able to use the mod.
v1.3.0 16th Nov 2013
  • Finally fixed the To Users column to show properly.
  • Added the ability to filter the results by To Users.
  • Added a new page, that you can view PM's that you had marked as read, before you were only able to view PM's you did not read.
  • Added ability to mark PM's that you already read, as unread.
  • There was one site that had the Invalid argument error, so I had to change it so if it could not read the receivers userid, it will show Unknown User ID in the To User(s) column. I have no clue why it is happening, but is seems under certain circumstances it might.
v1.4.0 Jan 18th 2014
  • Fixed a issue where users could see the PM's even if they did not have permissions, and no I am not going to tell you how they could have, for obvious reasons.
  • Added a option to rename the error log, so you can keep it out of prying eyes.
-------------------------------------------------------------------------------------------

Note: Please do not fill this thread up with opnions on if this mod is moral, should be made, or any other hate it type stuff. If you don't like it, don't use it, it's that simple. I really don't care if you don't like it, so you telling me this has no merit. This is a thread to help those out who use the mod, not a discussion on why you feel it is a bad or un-necessary mod.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
5 благодарности(ей) от:
K4GAP, RichieBoy67, socialteenz, SolidSnakeLive, tbworld

Comments
  #72  
Old 11-16-2013, 04:10 PM
Nirjonadda Nirjonadda is offline
 
Join Date: Dec 2011
Location: Italy
Posts: 739
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have Installed and get error page, Is this error happening on your site?
Code:
Warning: mysql_query(): Access denied for user 'nobody'@'localhost' (using password: NO) in ..../christeris/datagrid/class/phpmydatagrid.class.php on line 355

Warning: mysql_query(): A link to the server could not be established in ..../christeris/datagrid/class/phpmydatagrid.class.php on line 355

Warning: mysql_query(): Access denied for user 'nobody'@'localhost' (using password: NO) in ..../christeris/datagrid/class/phpmydatagrid.class.php on line 355

Warning: mysql_query(): A link to the server could not be established in ..../christeris/datagrid/class/phpmydatagrid.class.php on line 355

Warning: mysql_query(): Access denied for user 'nobody'@'localhost' (using password: NO) in ..../christeris/datagrid/class/phpmydatagrid.class.php on line 355

Warning: mysql_query(): A link to the server could not be established in ..../christeris/datagrid/class/phpmydatagrid.class.php on line 355

Warning: mysql_query(): Access denied for user 'nobody'@'localhost' (using password: NO) in ..../christeris/datagrid/class/phpmydatagrid.class.php on line 355

Warning: mysql_query(): A link to the server could not be established in ..../christeris/datagrid/class/phpmydatagrid.class.php on line 355

Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in ..../christeris/datagrid/class/phpmydatagrid.class.php on line 357

Warning: mysql_query(): Access denied for user 'nobody'@'localhost' (using password: NO) in ..../christeris/datagrid/class/phpmydatagrid.class.php on line 355

Warning: mysql_query(): A link to the server could not be established in ..../christeris/datagrid/class/phpmydatagrid.class.php on line 355

Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in ..../christeris/datagrid/class/phpmydatagrid.class.php on line 357
Reply With Quote
  #73  
Old 11-16-2013, 04:15 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Where are you seeing that error?
Reply With Quote
  #74  
Old 11-16-2013, 04:24 PM
Nirjonadda Nirjonadda is offline
 
Join Date: Dec 2011
Location: Italy
Posts: 739
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

On the top page above forum logo , when go to pmspy_read.php and pmspy.php.
Reply With Quote
  #75  
Old 11-16-2013, 04:27 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are you using mysql or mysqli?
Reply With Quote
  #76  
Old 11-16-2013, 04:36 PM
Nirjonadda Nirjonadda is offline
 
Join Date: Dec 2011
Location: Italy
Posts: 739
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think using mysql but does not know how to check?
Server Type : Linux
Web Server : Apache
PHP : 5.4.20
MySQL Version : 5.1.70-cll
Reply With Quote
  #77  
Old 11-16-2013, 04:38 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Check in your config.php file.

Code:
    //    ****** DATABASE TYPE ******
    //    This is the type of the database server on which your vBulletin database will be located.
    //    Valid options are mysql and mysqli, for slave support add _slave.  Try to use mysqli if you are using PHP 5 and MySQL 4.1+
    // for slave options just append _slave to your preferred database type.
$config['Database']['dbtype'] = 'mysql';
Reply With Quote
  #78  
Old 11-16-2013, 04:47 PM
Nirjonadda Nirjonadda is offline
 
Join Date: Dec 2011
Location: Italy
Posts: 739
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes i am using mysqli. This config.php file get vB 4.2.2 File upload but before i am using mysql.

Code:
//	****** DATABASE TYPE ******
	//	This is the type of the database server on which your vBulletin database will be located.
	//	Valid options are mysql and mysqli, for slave support add _slave.  Try to use mysqli if you are using PHP 5 and MySQL 4.1+
	// for slave options just append _slave to your preferred database type.
$config['Database']['dbtype'] = 'mysqli';
Reply With Quote
  #79  
Old 11-16-2013, 05:06 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok lets try this, upload this file to, christeris/datagrid/class and let me know if that fixes it.
Reply With Quote
  #80  
Old 11-16-2013, 05:13 PM
Nirjonadda Nirjonadda is offline
 
Join Date: Dec 2011
Location: Italy
Posts: 739
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No,does not fixed now error line is

Code:
Warning: mysql_query(): Access denied for user 'nobody'@'localhost' (using password: NO) in ..../christeris/datagrid/class/phpmydatagrid.class.php on line 377
Warning: mysql_query(): A link to the server could not be established in ..../christeris/datagrid/class/phpmydatagrid.class.php on line 377
Warning: mysql_query(): Access denied for user 'nobody'@'localhost' (using password: NO) in ..../christeris/datagrid/class/phpmydatagrid.class.php on line 377
Warning: mysql_query(): A link to the server could not be established in ..../christeris/datagrid/class/phpmydatagrid.class.php on line 377
Warning: mysql_query(): Access denied for user 'nobody'@'localhost' (using password: NO) in ..../christeris/datagrid/class/phpmydatagrid.class.php on line 377
Warning: mysql_query(): A link to the server could not be established in ..../christeris/datagrid/class/phpmydatagrid.class.php on line 377
Warning: mysql_query(): Access denied for user 'nobody'@'localhost' (using password: NO) in ..../christeris/datagrid/class/phpmydatagrid.class.php on line 377
Warning: mysql_query(): A link to the server could not be established in ..../christeris/datagrid/class/phpmydatagrid.class.php on line 377
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in ..../christeris/datagrid/class/phpmydatagrid.class.php on line 379
Warning: mysql_query(): Access denied for user 'nobody'@'localhost' (using password: NO) in ..../christeris/datagrid/class/phpmydatagrid.class.php on line 377
Warning: mysql_query(): A link to the server could not be established in ..../christeris/datagrid/class/phpmydatagrid.class.php on line 377
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in ..../christeris/datagrid/class/phpmydatagrid.class.php on line 379
Reply With Quote
  #81  
Old 11-16-2013, 05:25 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok at least those are different lines, try one more time, upload this file to, christeris/datagrid/class and let me know if that fixes it.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:45 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05016 seconds
  • Memory Usage 2,320KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (5)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete