Dake Bible Discussion BoardDeleting private messages.

General Discussion Forum devoted to the study of God's Word in Honor of Finis J. Dake.
Post Reply
User avatar
Ironman
Little Children, Let No Man Deceive You: He that Doeth Righteousness is Righteous, Even as He is Righteous
Posts: 2997
Joined: Thu Jul 07, 2011 11:29 pm
Location: Australia

Deleting private messages.

Post by Ironman »

Try as I may, I am unable to delete my Private Messages. When I try I keep getting this massage

The submitted form was invalid. Try submitting again.

Must be something wrong with the board??

Ironman.


Galatians 4: 16, Am I therefore become your enemy, because I tell you the truth?

User avatar
Ironman
Little Children, Let No Man Deceive You: He that Doeth Righteousness is Righteous, Even as He is Righteous
Posts: 2997
Joined: Thu Jul 07, 2011 11:29 pm
Location: Australia

Re: Deleting private messages.

Post by Ironman »

Anyone else having problems deleting old P.M.'s ?


Galatians 4: 16, Am I therefore become your enemy, because I tell you the truth?

User avatar
Spiritblade Disciple
Moderator
Posts: 5509
Joined: Sat Aug 07, 2004 6:27 pm

Re: Deleting private messages.

Post by Spiritblade Disciple »

I cannot delete them, either, Haz.


Matthew 5:19-20 New King James Version
"Whoever therefore breaks one of the least of these commandments, and teaches men so, shall be called least in the kingdom of heaven; but whoever does and teaches them, he shall be called great in the kingdom of heaven. For I say to you, that unless your righteousness exceeds the righteousness of the scribes and Pharisees, you will by no means enter the kingdom of heaven."

User avatar
bibleman
Administrator
Posts: 3104
Joined: Tue Aug 04, 1998 5:23 pm
Location: South Carolina
Contact:

Re: Deleting private messages.

Post by bibleman »

Seems to be a glitch in the software.

https://www.phpbb.com/community/viewtopic.php?t=2539181

Let me see what I can do.


God bless
Leon Bible

http://www.ministryhelps.com
http://www.dakebible.com
http://www.dakebibleboard.com
https://www.facebook.com/groups/DakeBibleDiscussion/

The fault in Bible complications is not with God or the Bible, but with men who refuse to believe what God says and think we have to interpret what He says in order to get the meaning. Dake Bible -Mark 11:17 note

User avatar
bibleman
Administrator
Posts: 3104
Joined: Tue Aug 04, 1998 5:23 pm
Location: South Carolina
Contact:

Re: Deleting private messages.

Post by bibleman »

OK got it fixed.

Here is what I had to do:

https://github.com/phpbb/phpbb/pull/5821/files
5 phpBB/includes/functions_privmsgs.php

@@ -958,6 +958,11 @@ function handle_mark_actions($user_id, $mark_action)
{
case 'mark_important':

if (!check_form_key('ucp_pm_view'))
{
trigger_error('FORM_INVALID');
}

$sql = 'UPDATE ' . PRIVMSGS_TO_TABLE . "
SET pm_marked = 1 - pm_marked
WHERE folder_id = $cur_folder_id

10 phpBB/includes/ucp/ucp_pm.php

@@ -209,14 +209,14 @@ function main($id, $mode)
$submit_mark = false;
}

if (($move_pm || $submit_mark) && !check_form_key('ucp_pm_view'))
{
trigger_error('FORM_INVALID');
}

// Move PM
if ($move_pm)
{
if (!check_form_key('ucp_pm_view'))
{
trigger_error('FORM_INVALID');
}

$move_msg_ids = (isset($_POST['marked_msg_id'])) ? $request->variable('marked_msg_id', array(0)) : array();
$cur_folder_id = $request->variable('cur_folder_id', PRIVMSGS_NO_BOX);


4 phpBB/includes/ucp/ucp_pm_viewfolder.php

@@ -32,7 +32,7 @@ function view_folder($id, $mode, $folder_id, $folder)

$folder_info = get_pm_from($folder_id, $folder, $user->data['user_id']);

add_form_key('ucp_pm_view_folder');
add_form_key('ucp_pm_view');

if (!$submit_export)
{
@@ -199,7 +199,7 @@ function view_folder($id, $mode, $folder_id, $folder)
$enclosure = $request->variable('enclosure', '');
$delimiter = $request->variable('delimiter', '');

if (!check_form_key('ucp_pm_view_folder'))
if (!check_form_key('ucp_pm_view'))
{
trigger_error('FORM_INVALID');
}


God bless
Leon Bible

http://www.ministryhelps.com
http://www.dakebible.com
http://www.dakebibleboard.com
https://www.facebook.com/groups/DakeBibleDiscussion/

The fault in Bible complications is not with God or the Bible, but with men who refuse to believe what God says and think we have to interpret what He says in order to get the meaning. Dake Bible -Mark 11:17 note

User avatar
Spiritblade Disciple
Moderator
Posts: 5509
Joined: Sat Aug 07, 2004 6:27 pm

Re: Deleting private messages.

Post by Spiritblade Disciple »

Thank you.
I'm glad it was fixable.

You seem to be something of a code warrior :robot: .


Matthew 5:19-20 New King James Version
"Whoever therefore breaks one of the least of these commandments, and teaches men so, shall be called least in the kingdom of heaven; but whoever does and teaches them, he shall be called great in the kingdom of heaven. For I say to you, that unless your righteousness exceeds the righteousness of the scribes and Pharisees, you will by no means enter the kingdom of heaven."

User avatar
bibleman
Administrator
Posts: 3104
Joined: Tue Aug 04, 1998 5:23 pm
Location: South Carolina
Contact:

Re: Deleting private messages.

Post by bibleman »

Spiritblade Disciple wrote:
Tue Apr 14, 2020 2:10 pm
Thank you.
I'm glad it was fixable.

You seem to be something of a code warrior :robot: .
Not really - just a little monkey see monkey do!


God bless
Leon Bible

http://www.ministryhelps.com
http://www.dakebible.com
http://www.dakebibleboard.com
https://www.facebook.com/groups/DakeBibleDiscussion/

The fault in Bible complications is not with God or the Bible, but with men who refuse to believe what God says and think we have to interpret what He says in order to get the meaning. Dake Bible -Mark 11:17 note

User avatar
Spiritblade Disciple
Moderator
Posts: 5509
Joined: Sat Aug 07, 2004 6:27 pm

Re: Deleting private messages.

Post by Spiritblade Disciple »

That works, too!


Matthew 5:19-20 New King James Version
"Whoever therefore breaks one of the least of these commandments, and teaches men so, shall be called least in the kingdom of heaven; but whoever does and teaches them, he shall be called great in the kingdom of heaven. For I say to you, that unless your righteousness exceeds the righteousness of the scribes and Pharisees, you will by no means enter the kingdom of heaven."

User avatar
Ironman
Little Children, Let No Man Deceive You: He that Doeth Righteousness is Righteous, Even as He is Righteous
Posts: 2997
Joined: Thu Jul 07, 2011 11:29 pm
Location: Australia

Re: Deleting private messages.

Post by Ironman »

Thank you!


Galatians 4: 16, Am I therefore become your enemy, because I tell you the truth?

Post Reply