Page 9 of 22

Re: [BETA] simple acp pm read [1.0.3B]

Posted: Mon Nov 05, 2007 3:24 pm
by NMI888
I would love to say what error messages I am getting, but I am NOT getting ANY error messages.
When going into PM module thru the ACP (as directed by MOD author), I get the following message...
Information
No pm data
my forums - http://forums.thedeificnmi.com

Re: [BETA] simple acp pm read [1.0.3B]

Posted: Fri Nov 09, 2007 2:01 am
by spacefish
joebart72 wrote:Solution for this problem :

Code: Select all

[phpBB Debug] PHP Notice: in file /includes/acp/acp_prvmsg.php on line 67: Undefined variable: to
[phpBB Debug] PHP Notice: in file /includes/acp/acp_prvmsg.php on line 67: Undefined variable: to
[phpBB Debug] PHP Notice: in file /includes/acp/acp_prvmsg.php on line 67: Undefined variable: to
[phpBB Debug] PHP Notice: in file /includes/acp/acp_prvmsg.php on line 67: Undefined variable: to
Open :

Code: Select all

includes\acp\acp_prvmsg.php
Find : (line 67)

Code: Select all

$to .= ($to) ? ', ' . $to_link : $to_link;
Replace with :

Code: Select all

@$to .= ($to) ? ', ' . $to_link : $to_link;
Thanks for this. I only started getting this error when I changed brands of PHP and MySQL and it only appears when the debug lines in config.php are uncommented. Comment out those lines again, make the (line 67) edit and the errors 'appear' to go away but really, they don't as I just found after installing Highway of Life's phpBB3 Error Logging Tool. <-- Cool MOD. :)

Re: [BETA] simple acp pm read [1.0.3B]

Posted: Sat Nov 10, 2007 6:25 pm
by jujolina
Hallo !! ^^ I've installed the mod and it's really useful ! Only some things to say...nothing bad but i think this can make the mod better ;)
  1. give the admin the possibility to delete or export the message ( from the table in the admin panel )
  2. if some users write long messages, they seems linke this:
    Image

    they appear truncated...I suggest a scroll bar to make the reading more comfortable..
  3. Add the possibility for administrators to order messagge viewing by sender,date,subject etc...
  4. clicking on the name of users ( sender or not ) I'm redirected to their Profile on my board; I think it would be more useful if, clicking on the names, I'll be redirected to their profile on my ACP..
Make me know what do you think about this ^^

Re: [BETA] simple acp pm read [1.0.3B]

Posted: Sun Nov 11, 2007 9:37 am
by jujolina
Sorry for the bump but...no-one answering me ?

Re: [BETA] simple acp pm read [1.0.3B]

Posted: Thu Nov 15, 2007 4:42 am
by notsa
please help i also get this error:
Information
No pm data

Re: [BETA] simple acp pm read [1.0.3B]

Posted: Thu Nov 15, 2007 6:36 am
by king.mob.gr
notsa wrote:please help i also get this error:
Information
No pm data
in config.php when it's

Code: Select all

$dbms = 'mysqli';
i get the same error
when i change it to

Code: Select all

$dbms = 'mysql';
Works fine. Try this

Re: [BETA] simple acp pm read [1.0.3B]

Posted: Sat Nov 17, 2007 1:40 am
by mej284
I wanted to thank the author for this mod, I just got done installing and testing on RC7 and it works great.

Some things I think would be nice. Be able to set permissions so only the site admins can see this. Also a way to adjust the lengths of the columns. This might work for a wide screen display but not a 4x3 display.

Thanks again.

Re: [BETA] simple acp pm read [1.0.3B]

Posted: Sat Nov 17, 2007 1:43 am
by oglach
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3368: Cannot modify header information - headers already sent by (output started at /language/en/common.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3370: Cannot modify header information - headers already sent by (output started at /language/en/common.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3371: Cannot modify header information - headers already sent by (output started at /language/en/common.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3372: Cannot modify header information - headers already sent by (output started at /language/en/common.php:1)



Im getting this???

Re: [BETA] simple acp pm read [1.0.3B]

Posted: Sun Nov 18, 2007 4:19 pm
by naushadhassam
king.mob.gr wrote:
notsa wrote:please help i also get this error:
Information
No pm data
in config.php when it's

Code: Select all

$dbms = 'mysqli';
i get the same error
when i change it to

Code: Select all

$dbms = 'mysql';
Works fine. Try this
perfect .

it works great

Re: [BETA] simple acp pm read [1.0.3B]

Posted: Fri Nov 23, 2007 7:06 pm
by Sandrus
Yes, I had problems first too, but now it's how it have to be. No, actually not. I see the messages, but when I want to go to page 2, 3, 4,... and other, it doesn't work. I get this error:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, --mailadres-- and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Edit: I can see the first and last page, but not the others.

Re: [BETA] simple acp pm read [1.0.3B]

Posted: Fri Nov 30, 2007 2:25 am
by Mandarola
I installed perfectly, but I've a problem in the large

look Image

I can't see the author, nor date...and when I click on the second page, it appears this error:

Code: Select all

SQL ERROR [ mysql4 ]

Unknown column 'g_5' in 'where clause' [1054]

SQL

SELECT * FROM phpbb_users WHERE user_id = g_5

BACKTRACE

FILE: includes/db/mysql.php
LINE: 158
CALL: dbal->sql_error()

FILE: includes/acp/acp_prvmsg.php
LINE: 52
CALL: dbal_mysql->sql_query()

FILE: includes/acp/acp_prvmsg.php
LINE: 123
CALL: parse_to_address()

FILE: includes/functions_module.php
LINE: 463
CALL: acp_prvmsg->main()

FILE: adm/index.php
LINE: 74
CALL: p_master->load_active()
what can I resolve this problem?

Re: [BETA] simple acp pm read [1.0.3B]

Posted: Fri Dec 07, 2007 8:31 pm
by CentaurAtlas
Hi,
Anyone running this on RC 8? Just checking!
:-)

Re: [BETA] simple acp pm read [1.0.3B]

Posted: Fri Dec 07, 2007 10:13 pm
by azzurri
I have a supermoderator which I have given access to the ACP. Can I prevent him from using this hack?

Re: [BETA] simple acp pm read [1.0.3B]

Posted: Fri Dec 07, 2007 11:02 pm
by spacefish
If you only want founders to view priv messages, then:

Open includes/acp/acp_prvmsg.php

Code: Select all

Find:
		// Start initial var setup


Add, before:
	// Only Board Founders can view Priv Messages 
	if ($user->data['user_type'] != USER_FOUNDER)
	{
		trigger_error($user->lang['NO_AUTH_OPERATION'], E_USER_WARNING);
	}

Re: [BETA] simple acp pm read [1.0.3B]

Posted: Sat Dec 08, 2007 8:24 am
by foxy111
Mandarola wrote:I installed perfectly, but I've a problem in the large

look Image

I can't see the author, nor date...and when I click on the second page, it appears this error:

Code: Select all

SQL ERROR [ mysql4 ]

Unknown column 'g_5' in 'where clause' [1054]

SQL

SELECT * FROM phpbb_users WHERE user_id = g_5

BACKTRACE

FILE: includes/db/mysql.php
LINE: 158
CALL: dbal->sql_error()

FILE: includes/acp/acp_prvmsg.php
LINE: 52
CALL: dbal_mysql->sql_query()

FILE: includes/acp/acp_prvmsg.php
LINE: 123
CALL: parse_to_address()

FILE: includes/functions_module.php
LINE: 463
CALL: acp_prvmsg->main()

FILE: adm/index.php
LINE: 74
CALL: p_master->load_active()
what can I resolve this problem?

The same proplem with me :(
any idea ?