Page 1 of 13

[ABD] PM Spy

Posted: Thu Jul 17, 2008 3:18 pm
by david63
Classification: Add-on

MOD Name: PM Spy
MOD Version: 0.0.1
MOD Description: Adds an Admin option to list/read/sort all of the board's PM's with the ability to delete PM's.

Language: English

Licence: GNU General Public License v2

Installation Level: Easy
Installation Time: ~3 Minutes
Format: Modx

Download File: Download

I fully understand that to some having the ability to read a user's Private Messages is considered to be "underhand", and in some countries, possibly illegal. If you have any doubts, or concerns, then do not download and install this mod.

Re: [BETA] PM Spy

Posted: Thu Jul 17, 2008 3:35 pm
by Topdrag
Do you possibly have any screenshots of this MOD for users to see?

Re: [BETA] PM Spy

Posted: Thu Jul 17, 2008 4:05 pm
by Origin30
Looks good, installing now!

Re: [BETA] PM Spy

Posted: Thu Jul 17, 2008 4:14 pm
by Topdrag
I am having one little issue. I am unable o view the module in the ACP after the install process. I have checked the permissions and they seems to be correct. Any ideas?

Re: [BETA] PM Spy

Posted: Thu Jul 17, 2008 4:15 pm
by Origin30
Have this on viewing pm spy in mods.

Code: Select all

[phpBB Debug] PHP Notice: in file /includes/acp/acp_pm_spy.php on line 112: Undefined index: NO_PM_DATA

Warning: Cannot modify header information - headers already sent by (output started at includes/functions.php:2989) in /adm/index.php on line 149

Warning: Cannot modify header information - headers already sent by (output started at includes/functions.php:2989) in /adm/index.php on line 151

Warning: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2989) in /adm/index.php on line 152

Warning: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2989) in /adm/index.php on line 153

Re: [BETA] PM Spy

Posted: Thu Jul 17, 2008 4:33 pm
by Origin30
Just spotted, the above error is only where there are no pm's in the system, working okay when there are.

Re: [BETA] PM Spy

Posted: Thu Jul 17, 2008 4:40 pm
by darkonia
very nice mod, easy installation, no errors so far.
thx :ugeek:

Re: [BETA] PM Spy

Posted: Thu Jul 17, 2008 7:47 pm
by david63
Topdrag wrote:I am unable o view the module in the ACP after the install process.
That looks as if something has gone wrong with the install process. Did you copy all of the files over correctly before you ran install_pn_spy.php?

@Origin30 - that is a missing language variable and will only show id you have debug turned on. Will be fixed in next version. Thanks.

Re: [BETA] PM Spy

Posted: Thu Jul 17, 2008 7:57 pm
by Topdrag
Yes I did. I made sure everything was uploaded and ready to run.

Re: [BETA] PM Spy

Posted: Thu Jul 17, 2008 8:08 pm
by ibelphegor
Hi david63,
Thanks for the mod work great.

Can you make that PM's that still not read be with different color?
For example if X sent to Y And Y not read So X & Y will be red.

Regards,
uzi.

Re: [BETA] PM Spy

Posted: Thu Jul 17, 2008 8:28 pm
by david63
ibelphegor wrote: Can you make that PM's that still not read be with different color?
If they are in "No box" then they are unread.

Re: [BETA] PM Spy

Posted: Thu Jul 17, 2008 9:10 pm
by ibelphegor
david63 wrote:
ibelphegor wrote: Can you make that PM's that still not read be with different color?
If they are in "No box" then they are unread.
Yes, i know that but i but for me different color will be best.

Re: [BETA] PM Spy

Posted: Thu Jul 17, 2008 10:18 pm
by Insomniac'
A french translation for the info_acp_pm_spy.php :

<?php
/**
*
* acp [English]
*
* @package disclaimer
* @version 1.0.0
* @copyright (c) 2008 david63
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/

/**
* DO NOT CHANGE
*/
if (!defined('IN_PHPBB'))
{
exit;
}

if (empty($lang) || !is_array($lang))
{
$lang = array();
}

// DEVELOPERS PLEASE NOTE
//
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
//
// Placeholders can now contain order information, e.g. instead of
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
// translators to re-order the output of data while ensuring it remains correct
//
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
// equally where a string contains only two placeholders which are used to wrap text
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine

$lang = array_merge($lang, array(
'ACP_PM_SPY' => 'Espion MP',
'AUTHOR_IP' => 'IP Auteur',
'DATE' => 'Date',
'DELETE_PMS' => 'Supprimer les MP',
'NO_PM_SELECTED' => 'Aucun MP sélectionné',
'PM_BOX' => 'Boite MP',
'PM_SPY_READ' => 'Liste des messages privés',
'PM_SPY_READ_EXPLAIN' => 'Ici vous trouverez la liste de tous les messages privés de votre forum.',
'TO' => 'A',
'TOTAL_USERS' => 'Total des utilisateurs',
'PM_COUNT' => 'Compte des messages',

'INSTALL_NOT_DELETED' => 'Effacer lefichier pour installer ce module',

'PM_HOLDBOX' => 'Lu',
'PM_INBOX' => 'Dans la boite MP',
'PM_NOBOX' => 'No box',
'PM_OUTBOX' => 'Hors de la boite MP',
'PM_SAVED' => 'Sauvegardé',
'PM_SENTBOX' => 'Envoyé',

'SORT_FROM' => 'De',
'SORT_TO' => 'A',
'SORT_BCC' => 'BCC',
'SORT_PM_BOX' => 'Boite MP',

'LOG_PM_SPY' => '<strong>MP supprimés</strong><br />',
));

// Install
$lang = array_merge($lang, array(
'NO_FOUNDER' => 'Vous ne pouvez installer ce module. Vous devez disposer du statut Fondateur.',
'INSTALL_PM_SPY' => 'Installation de MP Espion',
'COMPLETE' => 'Installation résussie...',
));

?>

Re: [BETA] PM Spy

Posted: Thu Jul 17, 2008 10:50 pm
by ttuu
and hebrew translation its hare:

Code: Select all

<?php
/**
*
* acp [hebrew]
*
* @package disclaimer
* @version 1.0.0
* @copyright (c) 2008 david63
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/

/**
* DO NOT CHANGE
*/
if (!defined('IN_PHPBB'))
{
	exit;
}

if (empty($lang) || !is_array($lang))
{
	$lang = array();
}

// DEVELOPERS PLEASE NOTE
//
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
//
// Placeholders can now contain order information, e.g. instead of
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
// translators to re-order the output of data while ensuring it remains correct
//
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
// equally where a string contains only two placeholders which are used to wrap text
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine

$lang = array_merge($lang, array(
	'ACP_PM_SPY'			=> 'מרגל ההודעות הפרטיות',
	'AUTHOR_IP'				=> 'של כותב ההודעה IP',
	'DATE'					=> 'תאריך',
	'DELETE_PMS'			=> 'מחק הודעות פרטיות',
	'NO_PM_SELECTED'		=> 'לא נבחרו הודעות פרטיות',
	'PM_BOX'				=> 'תיקיית הודעות פרטיות',
	'PM_SPY_READ'			=> 'רשימת הודעות פרטיות',
	'PM_SPY_READ_EXPLAIN'	=> 'זאת רשימת ההודעות הפרטיות של כל המשתמשים בפורום.',
	'TO'					=> 'אל',
	'TOTAL_USERS'			=> 'כל המשתמשים',
	'PM_COUNT'				=> 'מספר הודעה',

	'INSTALL_NOT_DELETED'	=> 'קובץ התקנת המוד עדיין לא נמחק',

	'PM_HOLDBOX'			=> 'טיוטות',	
	'PM_INBOX'				=> 'דואר נכנס',
	'PM_NOBOX'				=> 'ללא תיקייה',
	'PM_OUTBOX'				=> 'דואר יוצא',
	'PM_SAVED'				=> 'הודעות שמורות',
	'PM_SENTBOX'			=> 'הודעות שנשלחו',

	'SORT_FROM'				=> 'מאת',
	'SORT_TO'				=> 'אל',
	'SORT_BCC'				=> 'עותק מוסתר',
	'SORT_PM_BOX'			=> 'תיקיית הודעות פרטיות',
	
	'LOG_PM_SPY'			=> '<strong>הודעות פרטיות נמחקו על ידי מרגל ההודעות הפרטיות</strong><br />',
));

// Install
$lang = array_merge($lang, array(
	'NO_FOUNDER'				=> 'אינך מורשה להתקין את המוד - עליך להיות מחובר כמייסד.',
	'INSTALL_PM_SPY'			=> 'מתקין מוד מרגל ההודעות הפרטיות',
	'COMPLETE'					=> 'התקנה הושלמה ...',
));

?>

Re: [BETA] PM Spy

Posted: Fri Jul 18, 2008 6:22 am
by chicochaleur29
hello, i have an error when i execute install_pm_spy.php

I use mysql 4
it's compatible?