Changeset 11214
- Timestamp:
- Jun 2, 2011, 10:22:15 PM (13 years ago)
- Location:
- extensions/Comments_Access_Manager
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Comments_Access_Manager/changelog.txt
r11208 r11214 12 12 2.2.4 - Bug fixed : Installation from scratch error. 13 13 Bug fixed : If "Comments for all" is disabled and a specified group of users can post comments without admin validation, the administrator had to still validate them. 14 15 2.2.5 - Bug fixed : Validation was always need even if "Validation" option was unset. -
extensions/Comments_Access_Manager/include/functions.inc.php
r11208 r11214 52 52 } 53 53 54 if ((isset($conf_CM[6]) and $conf_CM[6] == 'true') and !is_a_guest() )54 if ((isset($conf_CM[6]) and $conf_CM[6] == 'true') and !is_a_guest() and $conf['comments_validation']) 55 55 { 56 56 if (CM_CheckValidGroup($comm['author']) or is_admin()) … … 75 75 elseif ((isset($conf_CM[2]) and $conf_CM[2] == 'false') and (isset($conf_CM[4]) and $conf_CM[4] == 'true') and $conf['comments_validation']) // Comments authorized group unset - Auto validation group set 76 76 { 77 if (CM_CheckValidGroup($comm['author']) )77 if (CM_CheckValidGroup($comm['author']) and $conf['comments_validation']) 78 78 { 79 79 $comment_action = 'validate'; // Comment is validated if author is not in the validated group … … 91 91 array_push($infos, l10n('CM_Not_Allowed_Author')); 92 92 } 93 elseif (CM_CheckValidGroup($comm['author']) )93 elseif (CM_CheckValidGroup($comm['author']) and $conf['comments_validation']) 94 94 { 95 95 $comment_action = 'validate'; // Comment is validated if author is not in the validated group -
extensions/Comments_Access_Manager/main.inc.php
r11208 r11214 2 2 /* 3 3 Plugin Name: Comments Access Manager 4 Version: 2.2. 44 Version: 2.2.5 5 5 Description: Gérer l'accès aux commentaites - Manage comments access 6 6 Plugin URI: http://piwigo.org/ext/extension_view.php?eid=545
Note: See TracChangeset
for help on using the changeset viewer.