Page 1 of 1

Security 1.03 Special - Protect adm & mods problem

PostPosted: Mon Sep 11, 2006 3:37 am
Author: flappadap
Hello !

I cannot change the following values in the "Special" section of Security 1.03 :

Protect admin & moderator accounts
Amount of allowed admins
Amount of allowed mods

Everything else there is working.

I have the admin_security.php from the update archive.

I have the phpbb_config Table Entries :

Code: Select all
 phpBBSecurity_allowed_admins     phpBBSecurity_allowed_sessions       500 phpBBSecurity_Allow_Change       0 phpBBSecurity_answer      phpBBSecurity_answer_over    0 phpBBSecurity_auto_ban       1 phpBBSecurity_backup_filename    backup phpBBSecurity_backup_folder      backup phpBBSecurity_backup_on      1 phpBBSecurity_backup_time    08 phpBBSecurity_Cback_Ban      1 phpBBSecurity_Clike_Ban      1 phpBBSecurity_DDoS_Ban       1 phpBBSecurity_DDoS_level     1 phpBBSecurity_disallowed_agents       phpBBSecurity_disallowed_referers     phpBBSecurity_Encoded_Ban    1 phpBBSecurity_File_Ban       1 phpBBSecurity_guest_matches      5 phpBBSecurity_last_backup_date       11 phpBBSecurity_login_limit    5 phpBBSecurity_notify_admin       1 phpBBSecurity_notify_admin_em    1 phpBBSecurity_notify_admin_id phpBBSecurity_notify_admin_pm       1 phpBBSecurity_password_min_length    0 phpBBSecurity_Perl_Ban       1 phpBBSecurity_per_page       100 phpBBSecurity_question        phpBBSecurity_question_over      0 phpBBSecurity_SQL_Ban    1 phpBBSecurity_total_attempts     3 phpBBSecurity_Union_Ban      1 phpBBSecurity_use_password_length    0 phpBBSecurity_use_password_match     0 phpBBSecurity_version    1.0.3  


Do I miss something somewhere ???

What could be the probelm ??

Thanks & regards,

Robert.

PostPosted: Mon Sep 11, 2006 4:31 am
Author: Jacky
I seems to have the same problem too. Any suggestions?

Re: Security 1.03 Special - Protect adm & mods problem

PostPosted: Mon Sep 11, 2006 5:06 am
Author: found it
hi

You need to make sure that the settings in includes/phpbb_security.php..

this file holds the codes you added when you installed your database if you upgraded your site recently with the security mod from version 1.02 to 1.0.3 then you might have forgotten to set this file correctly...

If you have forgotten the info that should be in this file you can find it in your phpmyadmin in the config table...

I hope that helps

:mrgreen:

Re: Security 1.03 Special - Protect adm & mods problem

PostPosted: Mon Sep 11, 2006 6:06 am
Author: flappadap
Ok, I modified phpbb_security.php

Code: Select all
      function phpBBSecurity_AdminConfigName()         {         return 'phpBBSecurity_allowed_admins';         }             function phpBBSecurity_ModConfigName()         {         return 'phpBBSecurity_allowed_mods';         }             function phpBBSecurity_UseSpecial()         {         return 'phpBBSecurity_block_unwanted';         }                  


The entry 'phpBBSecurity_allowed_admins' existed already in the Table phpbb_config.
However the other 2 entries were somehow missing ... ???? Hm ...
I created the 2 missing entries with the above names and no value manually ...

And here we go .. it works ...

However, I feel a bit uncertain if this is now also proof when there are updates and so on ... ???

Thanks for the hint

Regards,

Robert.