Moderator: Integra Moderator
#
#-----[ OPEN ]---------------------------------------------
#
modcp.php
#
#-----[ FIND ]---------------------------------------------
# Dragonsys - Adjusted for easier find, the line which was here is located in the file multiple times
//
// Check if user did or did not confirm
// If they did not, forward them to the last page they were on
//
#
#-----[ BEFORE, ADD ]---------------------------------------------
#
#======================================================================= |
#==== Start: == phpBB Security ========================================= |
#==== v1.0.3 =========================================================== |
#====
if ( ($mode == 'delete') && ($confirm) )
{
$pass_one = isset($HTTP_POST_VARS['phpBBSecurity_verify']) ? $HTTP_POST_VARS['phpBBSecurity_verify'] : '';
$pass_two = $userdata['user_password'];
if (md5($pass_one) != $pass_two)
message_die(GENERAL_ERROR, $lang['PS_modcp_verify_fail']);
}
#====
#==== Author: aUsTiN [austin@phpbb-amod.com] [http://phpbb-tweaks.com] = |
#==== End: ==== phpBB Security ========================================= |
#======================================================================= |
#
#-----[ FIND ]---------------------------------------------
#
'MESSAGE_TEXT' => $lang['Confirm_delete_topic'],
#
#-----[ AFTER, ADD ]---------------------------------------------
#
#======================================================================= |
#==== Start: == phpBB Security ========================================= |
#==== v1.0.3 =========================================================== |
#====
'L_VERIFY' => '<br><br><span>'. $lang['PS_modcp_verify'] .' <input></span>',
#====
#==== Author: aUsTiN [austin@phpbb-amod.com] [http://phpbb-tweaks.com] = |
#==== End: ==== phpBB Security ========================================= |
#======================================================================= |
"gamesug";p="7824" wrote:I had the same problem and it was with my template. If your modcp.php file is edited perfectly make sure you do this step.
-----------------------------------
----[ OPEN ]-----------------------
-----------------------------------
templates/*/confirm_body.tpl
-----------------------------------
----[ FIND ]-----------------------
-----------------------------------
</form>
-----------------------------------
----[ ADD, BEFORE ]----------------
-----------------------------------
{L_VERIFY}
-----------------------------------
----[ CLOSE & SAVE ]---------------
-----------------------------------
Registered users: Bing [Bot], Helter, Majestic-12 [Bot]