Changeset 3982
- Timestamp:
- Oct 6, 2009, 10:27:54 PM (15 years ago)
- Location:
- extensions/NBC_UserAdvManager/trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/NBC_UserAdvManager/trunk/admin/global.tpl
r3918 r3982 36 36 <br><br> 37 37 </li> 38 <br> 39 <div style="text-align: center; font-size: 1.1em; color: red;"><b>{'UserAdvManager_Confirm_Group_Notice'|@translate}</b></div> 40 <br> 38 41 <li><label>{'UserAdvManager_No_Confirm_Group'|@translate}</label><br> 39 42 {html_options name="UserAdvManager_No_Confirm_Group" options=$No_Confirm_Group.group_options selected=$No_Confirm_Group.group_selected} … … 44 47 <br><br> 45 48 </li> 49 <br> 50 <div style="text-align: center; font-size: 1.1em; color: red;"><b>{'UserAdvManager_Confirm_Status_Notice'|@translate}</b></div> 51 <br> 46 52 <li><label>{'UserAdvManager_No_Confirm_Status'|@translate}</label><br> 47 53 {html_options name="UserAdvManager_No_Confirm_Status" options=$No_Confirm_Status.Status_options selected=$No_Confirm_Status.Status_selected} … … 63 69 </li> 64 70 <li><label>{'UserAdvManager_MailExclusion_List'|@translate}</label><br> 65 <textarea name="UserAdvManager_MailExclusion_List" id="UserAdvManager_MailExclusion_List" rows="3" cols=" 30" {$TAG_INPUT_ENABLED}>{$UserAdvManager_MAILEXCLUSION_LIST}</textarea>71 <textarea name="UserAdvManager_MailExclusion_List" id="UserAdvManager_MailExclusion_List" rows="3" cols="80" {$TAG_INPUT_ENABLED}>{$UserAdvManager_MAILEXCLUSION_LIST}</textarea> 66 72 </li> 67 73 </ul> -
extensions/NBC_UserAdvManager/trunk/include/functions_UserAdvManager.inc.php
r3920 r3982 7 7 { 8 8 global $conf; 9 load_language('plugin.lang', NBC_UserAdvManager_PATH); 9 10 $conf_nbc_UserAdvManager = isset($conf['nbc_UserAdvManager']) ? explode(";" , $conf['nbc_UserAdvManager']) : array(); 10 11 … … 333 334 pwg_query($query); 334 335 335 if ($conf_nbc_UserAdvManager[3] <> -1) 336 if ($conf_nbc_UserAdvManager[3] <> -1) // Delete user from unvalidated users group 336 337 { 337 338 $query = " … … 343 344 } 344 345 345 if ($conf_nbc_UserAdvManager[4] <> -1) // Change user's group346 if ($conf_nbc_UserAdvManager[4] <> -1) // Add user to validated users group 346 347 { 347 $query = "348 DELETE FROM ".USER_GROUP_TABLE."349 WHERE user_id = '".$data['user_id']."'350 AND group_id = '".$conf_nbc_UserAdvManager[4]."'351 ;";352 pwg_query($query);353 354 348 $query = " 355 349 INSERT INTO ".USER_GROUP_TABLE." -
extensions/NBC_UserAdvManager/trunk/language/en_UK/plugin.lang.php
r3881 r3982 13 13 $lang['UserAdvManager_Mail_Info_true'] = ' Send an information mail to the user when he registes or updates his profile.'; 14 14 $lang['UserAdvManager_Mail_Info_false'] = ' Turns off the sending of mail.'; 15 $lang['UserAdvManager_MailInfo_Text'] = ' Text used to introduce the email sent to user on his registration or at his profile update.<br>(!!! <b style="text-decoration: blink underline;">WARNING !</b> Use the multi language tags from Extended Description plugin if this plugin is activated !!!)';15 $lang['UserAdvManager_MailInfo_Text'] = ' Text used to introduce the email sent to user to allow him to validate his email address<br><b style="color: red;">(!!! </b><b style="text-decoration: underline; color: red;">WARNING !</b> <b style="color: red;">Use the multi language tags from Extended Description plugin if this plugin is activated !!!)</b>'; 16 16 $lang['UserAdvManager_No_Casse'] = ' User insensitive'; 17 17 $lang['UserAdvManager_No_Casse_true'] = ' Make the user account insensitive at the registration and the identification step'; … … 23 23 $lang['UserAdvManager_Confirm_Mail_true'] = ' Send an email to user to allow him to validate his email and his registration.'; 24 24 $lang['UserAdvManager_Confirm_Mail_false'] = ' Use the default Piwigo registration system (without registration validation).'; 25 $lang['UserAdvManager_ConfirmMail_Text'] = 'Text used to introduce the email sent to user to allow him to validate his email address<br>(!!! <b style="text-decoration: blink underline;">WARNING !</b> Use the multi language tags from Extended Description plugin if this plugin is activated !!!)'; 25 $lang['UserAdvManager_ConfirmMail_Text'] = ' Text used to introduce the email sent to user to allow him to validate his email address<br><b style="color: red;">(!!! </b><b style="text-decoration: underline; color: red;">WARNING !</b> <b style="color: red;">Use the multi language tags from Extended Description plugin if this plugin is activated !!!)</b>'; 26 $lang['UserAdvManager_Confirm_Group_Notice'] = 'WARNING : Using validation groups requires that you have created at least one user group and is defined "by default" in Piwigo\'s user groups management.'; 26 27 $lang['UserAdvManager_No_Confirm_Group'] = 'Group to use for the users who haven\'t validated their email address.'; 27 28 $lang['UserAdvManager_Validated_Group'] = 'Group to use for the users who have validated their email address.'; 29 $lang['UserAdvManager_Confirm_Status_Notice'] = 'WARNING : The use of status validation requires that you have kept the "Guest" user with default setting (as user template) for new registered. Note you can set any other user as a template for new registered. Please refer to the Piwigo\'s documentation for more details.'; 28 30 $lang['UserAdvManager_No_Confirm_Status'] = 'Status to use for the users who haven\'t validated their email address.'; 29 31 $lang['UserAdvManager_Validated_Status'] = 'Status to use for the users who have validated their email address. Let ------- for using default Piwigo values'; … … 55 57 $lang['UserAdvManager_ConfirmMail_Remail_true'] = 'Enable email reminder'; 56 58 $lang['UserAdvManager_ConfirmMail_Remail_false'] = 'Disable email reminder'; 57 $lang['UserAdvManager_ConfirmMail_ReMail_Txt1'] = 'Custom content of the recall message with regeneration of validation key.<br>If left blank, the recall mail will include only the validation link. It is therefore strongly advised to take a little explanatory text. (NB: The text pre-filled with the installation of the plugin is given as an example)<br><br> (!!! <b style="text-decoration: blink underline;">WARNING !</b> Text modification is available <b>ONLY</b> if email reminder is enabled. Use the multi language tags from Extended Description plugin if this plugin is activated !!!)';58 $lang['UserAdvManager_ConfirmMail_ReMail_Txt2'] = 'Custom content of the recall message without regeneration of validation key.<br>If left blank, the recall mail will include only the validation link. It is therefore strongly advised to take a little explanatory text. (NB: The text pre-filled with the installation of the plugin is given as an example)<br><br> (!!! <b style="text-decoration: blink underline;">WARNING !</b> Text modification is available <b>ONLY</b> if email reminder is enabled. Use the multi language tags from Extended Description plugin if this plugin is activated !!!)';59 $lang['UserAdvManager_ConfirmMail_ReMail_Txt1'] = 'Custom content of the recall message with regeneration of validation key.<br>If left blank, the recall mail will include only the validation link. It is therefore strongly advised to take a little explanatory text. (NB: The text pre-filled with the installation of the plugin is given as an example)<br><br><b style="color: red;">(!!! </b><b style="text-decoration: underline; color: red;">WARNING !</b> <b style="color: red;">Text modification is available ONLY if email reminder is enabled. Use the multi language tags from Extended Description plugin if this plugin is activated !!!)</b>'; 60 $lang['UserAdvManager_ConfirmMail_ReMail_Txt2'] = 'Custom content of the recall message without regeneration of validation key.<br>If left blank, the recall mail will include only the validation link. It is therefore strongly advised to take a little explanatory text. (NB: The text pre-filled with the installation of the plugin is given as an example)<br><br><b style="color: red;">(!!! </b><b style="text-decoration: underline; color: red;">WARNING !</b> <b style="color: red;">Text modification is available ONLY if email reminder is enabled. Use the multi language tags from Extended Description plugin if this plugin is activated !!!)</b>'; 59 61 60 62 … … 77 79 /* Mailing */ 78 80 $lang['infos_mail %s'] = '%s, please find here your information to login the gallery :'; 81 $lang['User: %s'] = 'User : %s'; 79 82 $lang['Password: %s'] = 'Password: %s'; 80 83 $lang['Add of %s'] = 'Add of %s'; -
extensions/NBC_UserAdvManager/trunk/language/fr_FR/plugin.lang.php
r3917 r3982 13 13 $lang['UserAdvManager_Mail_Info_true'] = ' Envoyer un mail à l\'utilisateur reprenant ses infos lors de son inscription ou la mise à jour de son profil.'; 14 14 $lang['UserAdvManager_Mail_Info_false'] = ' Désactive l\'envoi de mail d\'info.'; 15 $lang['UserAdvManager_MailInfo_Text'] = ' Texte utilisé pour l\'introduction du mail envoyé à l\'utilisateur pour son inscription ou la mise à jour de son profil<br>(!!! <b style="text-decoration: blink underline;">ATTENTION !</b> Utilisez la méthode multi language du plugin Extended Description si celui-ci est activé !!!)';15 $lang['UserAdvManager_MailInfo_Text'] = ' Texte utilisé pour l\'introduction du mail envoyé à l\'utilisateur pour son inscription ou la mise à jour de son profil<br><b style="color: red;">(!!! </b><b style="text-decoration: underline; color: red;">ATTENTION !</b> <b style="color: red;">Utilisez la méthode multi language du plugin Extended Description si celui-ci est activé !!!)</b>'; 16 16 $lang['UserAdvManager_No_Casse'] = 'Utilisateur insensible à la casse'; 17 17 $lang['UserAdvManager_No_Casse_true'] = ' Rendre le compte utilisateur insensible à la casse, lors de l\'inscription et l\identification.'; … … 23 23 $lang['UserAdvManager_Confirm_Mail_true'] = ' Envoyer un mail permettant a l\'utilisateur de confirmer son adresse email et donc son compte utilisateur.'; 24 24 $lang['UserAdvManager_Confirm_Mail_false'] = ' Système d\'inscription et de mise à jour standard sans confirmation de l\'adresse email.'; 25 $lang['UserAdvManager_ConfirmMail_Text'] = 'Texte utilisé pour l\'introduction du mail envoyé à l\'utilisateur pour confirmer son adresse mail<br>(!!! <b style="text-decoration: blink underline;">ATTENTION !</b> Utilisez la méthode multi language du plugin Extended Description si celui-ci est activé !!!)'; 25 $lang['UserAdvManager_ConfirmMail_Text'] = ' Texte utilisé pour l\'introduction du mail envoyé à l\'utilisateur pour confirmer son adresse mail<br><b style="color: red;">(!!! </b><b style="text-decoration: underline; color: red;">ATTENTION !</b> <b style="color: red;">Utilisez la méthode multi language du plugin Extended Description si celui-ci est activé !!!)</b>'; 26 $lang['UserAdvManager_Confirm_Group_Notice'] = 'ATTENTION : L\'utilisation des groupes de validation nécessite que vous ayez créé au moins un groupe d\'utilisateurs et qu\'il soit défini "par défaut" dans la gestion des groupes d\'utilisateurs de Piwigo.'; 26 27 $lang['UserAdvManager_No_Confirm_Group'] = 'Groupe à utiliser pour les utilisateurs qui n\'ont pas encore confirmé leur adresse email'; 27 28 $lang['UserAdvManager_Validated_Group'] = 'Groupe à utiliser pour les utilisateurs qui ont validé leur adresse email'; 29 $lang['UserAdvManager_Confirm_Status_Notice'] = 'ATTENTION : L\'utilisation des status de validation nécessite que vous ayez conservé l\'utilisateur "Guest" pour le paramétrage par défaut (modèle) pour les nouveaux inscrits. A noter : Vous pouvez définir n\'importe quel autre utilisateur comme modèle pour les nouveaux inscrits. Reportez-vous à la documentation de Piwigo pour plus de détails.'; 28 30 $lang['UserAdvManager_No_Confirm_Status'] = 'Status utilisateur à utiliser pour les utilisateurs qui n\'ont pas encore confirmé leur adresse email'; 29 31 $lang['UserAdvManager_Validated_Status'] = 'Status utilisateur à utiliser pour les utilisateurs qui ont validé leur adresse email, laissez ------- pour garder la valuer par défaut de PWG'; … … 55 57 $lang['UserAdvManager_ConfirmMail_Remail_true'] = 'Activer le rappel par mail'; 56 58 $lang['UserAdvManager_ConfirmMail_Remail_false'] = 'Désactiver le rappel par mail'; 57 $lang['UserAdvManager_ConfirmMail_ReMail_Txt1'] = 'Contenu personnalisé du message de rappel avec regénération de clé de validation.<br>Si laissé vide, le mail de rappel ne comportera que le lien de validation. Il est donc vivement conseillé de saisir un petit texte explicatif. (NB : Le texte pré renseigné à l\'installation du plugin est donné en exemple)<br><br> (!!! <b style="text-decoration: blink underline;">ATTENTION !</b> La modification du texte n\'est possible <b>QUE</b> si le rappel par email est activé. Utilisez la méthode multi language du plugin Extended Description si celui-ci est activé !!!)';58 $lang['UserAdvManager_ConfirmMail_ReMail_Txt2'] = 'Contenu personnalisé du message de rappel sans regénération de clé de validation.<br>Si laissé vide, le mail de rappel sera vide. Il est donc vivement conseillé de saisir un petit texte explicatif. (NB : Le texte pré renseigné à l\'installation du plugin est donné en exemple)<br><br> (!!! <b style="text-decoration: blink underline;">ATTENTION !</b> La modification du texte n\'est possible <b>QUE</b> si le rappel par email est activé. Utilisez la méthode multi language du plugin Extended Description si celui-ci est activé !!!)';59 $lang['UserAdvManager_ConfirmMail_ReMail_Txt1'] = 'Contenu personnalisé du message de rappel avec regénération de clé de validation.<br>Si laissé vide, le mail de rappel ne comportera que le lien de validation. Il est donc vivement conseillé de saisir un petit texte explicatif. (NB : Le texte pré renseigné à l\'installation du plugin est donné en exemple)<br><br><b style="color: red;">(!!! </b><b style="text-decoration: underline; color: red;">ATTENTION !</b> <b style="color: red;">La modification du texte n\'est possible QUE si le rappel par email est activé. Utilisez la méthode multi language du plugin Extended Description si celui-ci est activé !!!)</b>'; 60 $lang['UserAdvManager_ConfirmMail_ReMail_Txt2'] = 'Contenu personnalisé du message de rappel sans regénération de clé de validation.<br>Si laissé vide, le mail de rappel sera vide. Il est donc vivement conseillé de saisir un petit texte explicatif. (NB : Le texte pré renseigné à l\'installation du plugin est donné en exemple)<br><br><b style="color: red;">(!!! </b><b style="text-decoration: underline; color: red;">ATTENTION !</b> <b style="color: red;">La modification du texte n\'est possible QUE si le rappel par email est activé. Utilisez la méthode multi language du plugin Extended Description si celui-ci est activé !!!)</b>'; 59 61 60 62 … … 77 79 /* Mailing */ 78 80 $lang['infos_mail %s'] = '%s, voici vos informations pour vous identifier sur la galerie :'; 81 $lang['User: %s'] = 'Utilisateur : %s'; 79 82 $lang['Password: %s'] = 'Mot de passe: %s'; 80 83 $lang['Add of %s'] = 'Création de %s'; -
extensions/NBC_UserAdvManager/trunk/main.inc.php
r3920 r3982 2 2 /* 3 3 Plugin Name: NBC UserAdvManager 4 Version: 2.11. 34 Version: 2.11.4 5 5 Description: Permet de renforcer les possibilités de gestion des utilisateurs - Enforce users management 6 6 Plugin URI: http://fr.piwigo.org/ext/extension_view.php?eid=216 … … 17 17 18 18 -- 2.10.3 : Final and fully functional release 19 Bug resolved on plugin activation19 Bug resolved on plugin activation 20 20 21 21 -- 2.10.4 : Bug fixed on profiles update … … 28 28 29 29 -- 2.10.8 : ConfirmMail page looks better (Sylvia theme only) 30 Improved code for checking author on guest comments30 Improved code for checking author on guest comments 31 31 32 32 -- 2.10.9 : Bug fixed - Missing english translation 33 Bug fixed - Notice on forbidden characters function use34 Bug fixed - Audit on forbidden characters in username didn't work35 Adding of email provider exclusion (like *@hotmail.com) - Warning ! -> Known bug : This feature doesn't work on user profile page. So, already registered users can change their email address to a forbiden one.33 Bug fixed - Notice on forbidden characters function use 34 Bug fixed - Audit on forbidden characters in username didn't work 35 Adding of email provider exclusion (like *@hotmail.com) - Warning ! -> Known bug : This feature doesn't work on user profile page. So, already registered users can change their email address to a forbiden one. 36 36 37 37 -- 2.10.9a : Email provider exclusion is no longer case sensitive … … 44 44 45 45 -- 2.10.9e : Compatibility improvement with PHP 5.3 - Some old functions will be deprecated like : 46 ereg replaced by preg_match47 eregi replace by preg_match with "i" moderator48 split replace by preg_split46 ereg replaced by preg_match 47 eregi replace by preg_match with "i" moderator 48 split replace by preg_split 49 49 50 50 -- 2.10.9f : Compatibility bug fixed when used with DynamicRecentPeriod plugin … … 59 59 Bug fixed : Sql syntax error on plugin activation 60 60 61 -- 2.11.3 : On Patricia's request (french forum), the unvalidated users management tab shows users according with the settings of unvalidated group and / or unvalidated status. 62 Email providers exclusion list can be set with CR/LF between each entry. The comma seperator (,) is still mandatory. 63 Bug fixed : Bad translation tag in french language file. 64 Improvement of unvalidated users management tab - Expired users are displayed in red color text. 61 -- 2.11.3 : On Patricia's request (french forum and bug 1173), the unvalidated users management tab shows users according with the settings of unvalidated group and / or unvalidated status. 62 Feature 1172 : Email providers exclusion list can be set with CR/LF between each entry. The comma seperator (,) is still mandatory. 63 Bug 1175 fixed : Bad translation tag in french language file. 64 Improvement of unvalidated users management tab (feature 1174)- Expired users are displayed in red color text. 65 66 -- 2.11.4 : Bug 1177 fixed : Width of excluded email providers list reset to ancient value (80 col) 67 Bug 1179 fixed : Adding a notice in plugin inline documentation for use of validation groups and status. A default group must be set in Piwigo's groups settings and the "Guest" (or another user) must be set as default for status values. 68 Bug 1182 fixed : Language tag missing in confirmation email generation 65 69 66 70 */
Note: See TracChangeset
for help on using the changeset viewer.