Can't delete PM's

This is an archive of the phpBB 2.0.x support forum. Support for phpBB2 has now ended.
Forum rules
Following phpBB2's EoL, this forum is now archived for reference purposes only.
Please see the following announcement for more information: viewtopic.php?f=14&t=1385785
Locked
Hangingon
Registered User
Posts: 4
Joined: Wed Jul 27, 2005 11:34 pm

Can't delete PM's

Post by Hangingon » Wed Jul 27, 2005 11:37 pm

Last edited by Hangingon on Thu Jul 28, 2005 12:25 am, edited 1 time in total.

User avatar
nuckfan15
Registered User
Posts: 1849
Joined: Fri Jul 09, 2004 4:46 am
Location: Vancouver, BC
Name: Travis

Post by nuckfan15 » Thu Jul 28, 2005 12:07 am

Can you please fill out this : http://www.phpbb.com/phpBB/viewtopic.php?t=128123

Thankyou :)

Hangingon
Registered User
Posts: 4
Joined: Wed Jul 27, 2005 11:34 pm

Post by Hangingon » Thu Jul 28, 2005 12:15 am

URL: www.beatingthebeast.com/forum

Template(s) used: Sub silver

Any and all MODs: Account activation overview, Admin e-mail list, Admin user list, Birthday mod, Block bad bots, Copy post to clipboard, Country Flags, Extended Pm notification, Get last xx hours posts, Image resize fix, Indivdual ignore signature and avatar, IP registration log, IP search, IP tracking, Last visit, PM export, PM reply image, Report posts, Restrict guest access, Simply merge, watched topics list

Do you use a port of phpBB:

Version of phpBB: 2.0.17

Version of PHP: 4.3.10

Which database server and version: Mysql Version 4.0.22-standard

Host: ipowerweb

Did someone install this for you/who: I did

Is this an upgrade/from what to what: From 2.0.16 to 2.0.17

Is this a conversion/from what to what: N/A

Have you searched for your problem: Yes

If so, what terms did you try: Delete Pm, can't delete Pm, delete private message

State the nature of your problem: Can't delete PM's in the inbox, can delete in all other boxes

Do you have a test account for us: No but will add if needed

User avatar
nuckfan15
Registered User
Posts: 1849
Joined: Fri Jul 09, 2004 4:46 am
Location: Vancouver, BC
Name: Travis

Post by nuckfan15 » Thu Jul 28, 2005 12:45 am

Sounds like a MOD problem to me, look over any changes you have made.

Additionally, phpBB support is for phpBB only, so you might want to try the authors thread here at phpBB.com, if its not here, your out of luck.

Good Luck. :)
Travis aka Nuckfan15 - No Private Support
Make use of the Support Request Template when seeking support.

Saint_hh
Registered User
Posts: 362
Joined: Thu Mar 31, 2005 5:16 pm
Location: Hamburg / Germany
Name: Kevin
Contact:

Post by Saint_hh » Sat Aug 06, 2005 9:05 pm

Yes, it is a problem with the PM Reply MOD. I made a fix for it today:

Code: Select all

# 
#-----[ OPEN ]--------------------------------------------- 
# 
privmsg.php (Version 2.0.17)

#
#-----[ FIND ]---------------------------------------------
#
$delete_type = "privmsgs_to_userid = " . $userdata['user_id'] . " AND (
            privmsgs_type = " . PRIVMSGS_READ_MAIL . " OR privmsgs_type = " . PRIVMSGS_NEW_MAIL . " OR privmsgs_type = " . PRIVMSGS_UNREAD_MAIL . " )";
            break; 

#
#-----[ REPLACE WITH ]---------------------------------------------
# 
$delete_type = "privmsgs_to_userid = " . $userdata['user_id'] . " AND (
            privmsgs_type = " . PRIVMSGS_READ_MAIL . " OR privmsgs_type = " . PRIVMSGS_NEW_MAIL . " OR privmsgs_type = " . PRIVMSGS_UNREAD_MAIL . " OR privmsgs_type = " . PRIVMSGS_REPLY_MAIL . " )";
            break;

Regards,

Saint

Hangingon
Registered User
Posts: 4
Joined: Wed Jul 27, 2005 11:34 pm

Post by Hangingon » Tue Sep 27, 2005 12:37 am

:D

Worked like a charm!!!!!!! Thanks a bunch!

Sheila

fmal
Registered User
Posts: 7
Joined: Wed Feb 15, 2006 8:19 pm

Post by fmal » Wed Feb 15, 2006 8:28 pm

For does not work: I can't find PRIVMSGS_REPLY_MAIL defined anywhere in includes/constants.php:
// Private messaging
define('PRIVMSGS_READ_MAIL', 0);
define('PRIVMSGS_NEW_MAIL', 1);
define('PRIVMSGS_SENT_MAIL', 2);
define('PRIVMSGS_SAVED_IN_MAIL', 3);
define('PRIVMSGS_SAVED_OUT_MAIL', 4);
define('PRIVMSGS_UNREAD_MAIL', 5);

so I have an error!

User avatar
jwunderly
Registered User
Posts: 5740
Joined: Sun Mar 30, 2003 2:18 pm
Location: Easton, PA (in the groove)

Post by jwunderly » Wed Feb 15, 2006 9:44 pm

fmal wrote: For does not work: I can't find PRIVMSGS_REPLY_MAIL defined anywhere in includes/constants.php:
// Private messaging
define('PRIVMSGS_READ_MAIL', 0);
define('PRIVMSGS_NEW_MAIL', 1);
define('PRIVMSGS_SENT_MAIL', 2);
define('PRIVMSGS_SAVED_IN_MAIL', 3);
define('PRIVMSGS_SAVED_OUT_MAIL', 4);
define('PRIVMSGS_UNREAD_MAIL', 5);

so I have an error!


Our staff Telepath is on vacation. Please copy the Support Request Template body into a reply to this topic and complete it as fully as possible, so that we may provide assistance.
John (A cranky old man. "Looking for an echo ...")
using any control-panel install/update is like shooting yourself in the foot. It won't kill you, but you're really going to hobble around until it heals.
Using the wrong tools (Front Page, DreamWeaver) gives the same results
Do not PM me for Support!

Locked

Return to “2.0.x Support Forum”

Who is online

Users browsing this forum: No registered users and 31 guests