Moderator: Integra Moderator
MWE_001 wrote: Since this is the only forum I can post in, here goes. I have an issue with the new security mod by amod it works great except for 1 little thing. Mods can not delete posts through the mods CP. It says are you sure, click yes, and get a general error that says password is not correct. I then logged in as Board Founder and I can delete post by post. I can not how ever delete posts through the mods CP neither. A WHOLE bunch of people are looking for the answer to this problem. Hopefully I can get some help so I can help them use this great phpBB Security mod. Thx in advance. Sorry not in support post, but as stated, I can not post in any forum but this one. Thx
Amod wrote: In the download
Docs/Features.txt
#====
#==== V1.0.3
#====
-> Added protection against passing certain functions & PHP variables in a URL.
-> Added account protection for the board owner in the User Admin -> Management.
-> Added account protection for the board owner in the User Admin -> Permissions.
-> Added a password verification to the modcp.php file so anyone who possibly fakes a user
with some kind of cookie exploit, can not delete topics/posts via modcp.php.
-> Per user request, added a way to delete old DB backups directly in the ACP. This is located
in the Special section, so only the allowed admins can do this.
-> Added some guest protection. With alot of programatic DDoS programs, all the guests will have
the same ip. With this new setting, you can limit how many sessions are stored on a per IP basis
for guests.
-> Added a way to disallow users to use the same username & pass combo, if their pass matches
their username, they will have to choose a different one.
-> Added a minimum characters for a user password. This can be toggled on/off in the ACP and
the minimum is also configurable.
-> Added a way to make all users update their passwords. Basically if you choose this, the first
visit when a user returns after you doing this, they will have to update their password.
-> Fixed the error when changing passwords. Sometimes it would cause a cookie mis-match error.
-> Fixed the cookie issue from phpBB 2.0.18++.
-> Fixed the backup feature error from phpBB 2.0.18++.
-> Made it so any time a user changes their profile, they have to also verify their password,
just to make sure it is them editing their profile.
-> Removed the htaccess verification on the ACP since phpBB finally includes it.
-> Removed the extra cookie checks since phpBB finally updated theirs.
-> Added a version status to the admin index to let you know if you're up to date or not.
And if
Quote:
A WHOLE bunch of people are looking for the answer to this problem.
Where true, they should post here, as your post is the first of it kind.
Main thing is check your file edits & make sure your mods are actually inputing their password.
Now im going to lock this per the announcement about posting in the wrong forums.
"MWE_001";p="4938" wrote: Found it humbled me once before over some edits. I sometimes shoot my mouth off without thinking first.
#
#-----[ 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: App360MonitorBot, Bing [Bot]