Changeset 8092 for extensions
- Timestamp:
- Dec 12, 2010, 4:01:06 PM (14 years ago)
- Location:
- extensions/NBC_UserAdvManager/trunk
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/NBC_UserAdvManager/trunk/admin/UAM_admin.php
r8072 r8092 118 118 119 119 $_POST['UAM_GTAutoMailText'] = str_replace('\"', '"', str_replace("\'", "'", str_replace("\\\\", "\\", $_POST['UAM_GTAutoMailText']))); 120 121 $_POST['UAM_AdminValidationMail_Text'] = str_replace('\"', '"', str_replace("\'", "'", str_replace("\\\\", "\\", $_POST['UAM_AdminValidationMail_Text']))); 120 122 121 123 //Check if CR-LF exist at begining and end of mail exclusion list - If yes, removes them … … 160 162 $_POST['UAM_RedirToProfile'], 161 163 $_POST['UAM_GTAuto'], 162 $_POST['UAM_GTAutoDel'],163 164 $_POST['UAM_GTAutoMail'], 164 165 $_POST['UAM_GTAutoDelText'], 165 166 $_POST['UAM_GTAutoMailText'], 166 167 (isset($_POST['UAM_Downgrade_Group'])?$_POST['UAM_Downgrade_Group']:''), 167 (isset($_POST['UAM_Downgrade_Status'])?$_POST['UAM_Downgrade_Status']:'')); 168 (isset($_POST['UAM_Downgrade_Status'])?$_POST['UAM_Downgrade_Status']:''), 169 $_POST['UAM_AdminValidationMail_Text'] 170 ); 168 171 169 172 $conf['UserAdvManager'] = serialize($newconf_UAM); … … 252 255 } 253 256 //configuration value for downgrade users 254 if (isset($conf_UAM[2 7]) and $conf_UAM[27] == $row['id'])257 if (isset($conf_UAM[26]) and $conf_UAM[26] == $row['id']) 255 258 { 256 259 $Downgrade = $row['id']; … … 331 334 { 332 335 $status_options[$status] = l10n('user_status_'.$status); 333 if (isset($conf_UAM[2 8]) and $conf_UAM[28] == $status)336 if (isset($conf_UAM[27]) and $conf_UAM[27] == $status) 334 337 { 335 338 $Downgrade_Status = $status; … … 395 398 'UAM_GTAUTO_TRUE' => $conf_UAM[22]=='true' ? 'checked="checked"' : '' , 396 399 'UAM_GTAUTO_FALSE' => $conf_UAM[22]=='false' ? 'checked="checked"' : '' , 397 'UAM_GTAUTODEL_TRUE' => $conf_UAM[23]=='true' ? 'checked="checked"' : '' , 398 'UAM_GTAUTODEL_FALSE' => $conf_UAM[23]=='false' ? 'checked="checked"' : '' , 399 'UAM_GTAUTOMAIL_TRUE' => $conf_UAM[24]=='true' ? 'checked="checked"' : '' , 400 'UAM_GTAUTOMAIL_FALSE' => $conf_UAM[24]=='false' ? 'checked="checked"' : '' , 401 'UAM_GTAUTODEL_TEXT' => $conf_UAM[25], 402 'UAM_GTAUTOMAILTEXT' => $conf_UAM[26], 403 'UAM_Downgrade_Group' => $conf_UAM[27], 404 'UAM_Downgrade_Status' => $conf_UAM[28], 400 'UAM_GTAUTOMAIL_TRUE' => $conf_UAM[23]=='true' ? 'checked="checked"' : '' , 401 'UAM_GTAUTOMAIL_FALSE' => $conf_UAM[23]=='false' ? 'checked="checked"' : '' , 402 'UAM_GTAUTODEL_TEXT' => $conf_UAM[24], 403 'UAM_GTAUTOMAILTEXT' => $conf_UAM[25], 404 'UAM_Downgrade_Group' => $conf_UAM[26], 405 'UAM_Downgrade_Status' => $conf_UAM[27], 406 'UAM_ADMINVALIDATIONMAIL_TEXT' => $conf_UAM[28], 405 407 'UAM_PASSWORD_TEST_SCORE' => $UAM_Password_Test_Score, 406 408 'UAM_ERROR_REPORTS4' => $UAM_Exclusionlist_Error, … … 966 968 { 967 969 ForceValidation($user_id); 970 validation_mail($user_id); 968 971 } 969 972 array_push( -
extensions/NBC_UserAdvManager/trunk/admin/template/global.tpl
r8065 r8092 201 201 {'UAM_Confirm_Mail_local'|@translate} 202 202 <br><br> 203 {if $UAM_CONFIRM_MAIL_FALSE} 204 <div class="uam_hide"> 205 {/if} 206 <ul> 207 <li> 208 <label class="cluetip" title="{'UAM_AdminValidationMail'|translate}|{'UAM_AdminValidationMail_d'|translate}"> 209 {'UAM_AdminValidationMail_Text'|@translate} 210 </label> 211 <br><br> 212 <textarea class="uam_textfields" name="UAM_AdminValidationMail_Text" id="UAM_AdminValidationMail_Text" rows="10" {$TAG_INPUT_ENABLED}>{$UAM_ADMINVALIDATIONMAIL_TEXT}</textarea> 213 <br><br> 214 </li> 215 </ul> 216 {if $UAM_CONFIRM_MAIL_FALSE} 217 </div> 218 {/if} 203 219 </li> 204 220 {if $UAM_CONFIRM_MAIL_FALSE} … … 433 449 <li><label class="cluetip" title="{'UAM_GTAutoDelTitle'|translate}|{'UAM_GTAutoDelTitle_d'|translate}">{'UAM_GTAutoDel'|@translate}</label> 434 450 <br><br> 435 <input type="radio" value="false" {$UAM_GTAUTODEL_FALSE} name="UAM_GTAutoDel">{'UAM_GTAutoDel_false'|@translate}<br>436 <input type="radio" value="true" {$UAM_GTAUTODEL_TRUE} name="UAM_GTAutoDel">{'UAM_GTAutoDel_true'|@translate}<br><br>437 451 <textarea class="uam_textfields" name="UAM_GTAutoDelText" id="UAM_GTAutoDelText" rows="10" {$TAG_INPUT_ENABLED}>{$UAM_GTAUTODEL_TEXT}</textarea> 438 452 <br><br> … … 445 459 </li> 446 460 447 {if $UAM_GTAUTODEL_TRUE} 448 <div class="uam_hide"> 449 {/if} 450 <li><label class="cluetip" title="{'UAM_GTAutoGpTitle'|translate}|{'UAM_GTAutoGpTitle_d'|translate}">{'UAM_GTAutoGp'|@translate}</label><br><br> 451 <ul> 452 <li> 453 <label> 454 {'UAM_Expired_Group'|@translate} 455 </label> 456 <br> 457 <div id="uam_leftmargin"> 458 {html_options name="UAM_Downgrade_Group" options=$Downgrade_Group.group_options selected=$Downgrade_Group.group_selected} 459 </div> 460 <br><br> 461 </li> 462 463 <li> 464 <label> 465 {'UAM_Expired_Status'|@translate} 466 </label> 467 <br> 468 <div id="uam_leftmargin"> 469 {html_options name="UAM_Downgrade_Status" options=$Downgrade_Status.Status_options selected=$Downgrade_Status.Status_selected} 470 </div> 471 <br><br> 472 </li> 473 </ul> 474 475 <ul> 476 <li><label class="cluetip" title="{'UAM_GTAutoMailTitle'|translate}|{'UAM_GTAutoMailTitle_d'|translate}">{'UAM_GTAutoMail'|@translate}</label><br><br> 477 <input type="radio" value="false" {$UAM_GTAUTOMAIL_FALSE} name="UAM_GTAutoMail">{'UAM_GTAutoMail_false'|@translate}<br> 478 <input type="radio" value="true" {$UAM_GTAUTOMAIL_TRUE} name="UAM_GTAutoMail">{'UAM_GTAutoMail_true'|@translate}<br><br><br> 479 <textarea class="uam_textfields" name="UAM_GTAutoMailText" id="UAM_GTAutoMailText" rows="10" {$TAG_INPUT_ENABLED}>{$UAM_GTAUTOMAILTEXT}</textarea><br><br> 480 </li> 481 </ul> 461 <li><label class="cluetip" title="{'UAM_GTAutoGpTitle'|translate}|{'UAM_GTAutoGpTitle_d'|translate}">{'UAM_GTAutoGp'|@translate}</label><br><br> 462 <ul> 463 <li> 464 <label> 465 {'UAM_Expired_Group'|@translate} 466 </label> 467 <br> 468 <div id="uam_leftmargin"> 469 {html_options name="UAM_Downgrade_Group" options=$Downgrade_Group.group_options selected=$Downgrade_Group.group_selected} 470 </div> 471 <br><br> 482 472 </li> 483 {if $UAM_GTAUTODEL_TRUE} 484 </div> 485 {/if} 473 474 <li> 475 <label> 476 {'UAM_Expired_Status'|@translate} 477 </label> 478 <br> 479 <div id="uam_leftmargin"> 480 {html_options name="UAM_Downgrade_Status" options=$Downgrade_Status.Status_options selected=$Downgrade_Status.Status_selected} 481 </div> 482 <br><br> 483 </li> 484 </ul> 485 486 <ul> 487 <li><label class="cluetip" title="{'UAM_GTAutoMailTitle'|translate}|{'UAM_GTAutoMailTitle_d'|translate}">{'UAM_GTAutoMail'|@translate}</label><br><br> 488 <input type="radio" value="false" {$UAM_GTAUTOMAIL_FALSE} name="UAM_GTAutoMail">{'UAM_GTAutoMail_false'|@translate}<br> 489 <input type="radio" value="true" {$UAM_GTAUTOMAIL_TRUE} name="UAM_GTAutoMail">{'UAM_GTAutoMail_true'|@translate}<br><br><br> 490 <textarea class="uam_textfields" name="UAM_GTAutoMailText" id="UAM_GTAutoMailText" rows="10" {$TAG_INPUT_ENABLED}>{$UAM_GTAUTOMAILTEXT}</textarea><br><br> 491 </li> 492 </ul> 493 </li> 486 494 </ul> 487 495 {if $UAM_GTAUTO_FALSE} -
extensions/NBC_UserAdvManager/trunk/changelog.txt.php
r8087 r8092 215 215 Bug 2046 fixed - Using Piwigo's $conf['insensitive_case_logon'] = true option works again with UAM 216 216 Bug 2053 fixed - Manual validation by admins wasn't working correctly 217 Bug 2054 217 Bug 2054 fixed - Add of customized email notification to validated users when admins validate them manually 218 218 Bug 2056 fixed - Automated tasks are available to delete or downgrade ghost users with or without email notification 219 219 Add of Latvian (lv_LV) translation (Thx to Aivars Baldone) -
extensions/NBC_UserAdvManager/trunk/include/functions.inc.php
r8087 r8092 369 369 } 370 370 371 // Ghost accounts auto deletion372 if ((isset($conf_UAM[22]) and $conf_UAM[22] == 'true') and (isset($conf_UAM[23]) and $conf_UAM[23] == 'true'))373 {374 if (count($collection) > 0)375 {376 if (in_array($user['id'], $collection))377 {378 invalidate_user_cache();379 380 foreach ($collection as $user_id)381 {382 delete_user($user_id);383 }384 logout_user();385 redirect(UAM_PATH.'del_account.php');386 }387 else388 {389 foreach ($collection as $user_id)390 {391 delete_user($user_id);392 }393 }394 }395 }396 397 371 // Ghost accounts auto group or status downgrade with or without information email sending and autodeletion if user already reminded 398 if ((isset($conf_UAM[22]) and $conf_UAM[22] == 'true') and ( isset($conf_UAM[23]) and $conf_UAM[23] == 'false') and ((isset($conf_UAM[27]) and $conf_UAM[27] <> -1) or (isset($conf_UAM[28]) and $conf_UAM[28] <> -1)))372 if ((isset($conf_UAM[22]) and $conf_UAM[22] == 'true') and ((isset($conf_UAM[26]) and $conf_UAM[26] <> -1) or (isset($conf_UAM[27]) and $conf_UAM[27] <> -1))) 399 373 { 400 374 if (count($collection) > 0) … … 450 424 451 425 // Change user status 452 if ($conf_UAM[2 8] <> -1)426 if ($conf_UAM[27] <> -1) 453 427 { 454 428 $query = " 455 429 UPDATE ".USER_INFOS_TABLE." 456 SET status = '".$conf_UAM[2 8]."'430 SET status = '".$conf_UAM[27]."' 457 431 WHERE user_id = '".$user_id."' 458 432 ;"; … … 461 435 462 436 // Change user group 463 if ($conf_UAM[2 7] <> -1)437 if ($conf_UAM[26] <> -1) 464 438 { 465 439 $query = " … … 467 441 (user_id, group_id) 468 442 VALUES 469 ('".$user_id."', '".$conf_UAM[2 7]."')443 ('".$user_id."', '".$conf_UAM[26]."') 470 444 ;"; 471 445 pwg_query($query); … … 473 447 474 448 // Auto send email notification on group / status downgrade only if never reminded before 475 if (isset($conf_UAM[2 4]) and $conf_UAM[24] == 'true')449 if (isset($conf_UAM[23]) and $conf_UAM[23] == 'true') 476 450 { 477 451 // Set reminder true … … 508 482 } 509 483 } 510 // Logged-in user cleanup 511 invalidate_user_cache(); 512 log_user($user['id'], false); 513 redirect(make_index_url()); 484 485 if (!$reminder) // If user never reminded for ghost account 486 { 487 // Logged-in user cleanup 488 invalidate_user_cache(); 489 log_user($user['id'], false); 490 redirect(make_index_url()); 491 } 492 elseif ($reminder) // If user already reminded for ghost account 493 { 494 // Logged-in user cleanup 495 invalidate_user_cache(); 496 log_user($user['id'], false); 497 redirect(UAM_PATH.'del_account.php'); 498 } 514 499 } 515 500 else // Process if an admin or webmaster user is logged … … 561 546 562 547 // Change user status 563 if ($conf_UAM[2 8] <> -1)548 if ($conf_UAM[27] <> -1) 564 549 { 565 550 $query = " 566 551 UPDATE ".USER_INFOS_TABLE." 567 SET status = '".$conf_UAM[2 8]."'552 SET status = '".$conf_UAM[27]."' 568 553 WHERE user_id = '".$user_id."' 569 554 ;"; … … 572 557 573 558 // Change user group 574 if ($conf_UAM[2 7] <> -1)559 if ($conf_UAM[26] <> -1) 575 560 { 576 561 $query = " … … 578 563 (user_id, group_id) 579 564 VALUES 580 ('".$user_id."', '".$conf_UAM[2 7]."')565 ('".$user_id."', '".$conf_UAM[26]."') 581 566 ;"; 582 567 pwg_query($query); … … 584 569 585 570 // Auto send email notification on group / status downgrade 586 if (isset($conf_UAM[2 4]) and $conf_UAM[24] == 'true')571 if (isset($conf_UAM[23]) and $conf_UAM[23] == 'true') 587 572 { 588 573 // Set reminder true … … 983 968 // debugging 984 969 // ********************** 985 //$content = get_user_language_desc($conf_UAM[19])."\n\n";970 //$content = $infos1.get_absolute_root_url(); 986 971 //MailLog($email,$subject,$content,$language); 987 972 // ********************** … … 994 979 * Function called from functions.inc.php to send notification email when user have been downgraded 995 980 * 996 * @param : user id, username, email address , confirmation981 * @param : user id, username, email address 997 982 * 998 983 */ … … 1032 1017 $subject = '['.$conf['gallery_title'].'] '.l10n_args(get_l10n_args('Demotion of %s', stripslashes($username))); 1033 1018 1034 if (isset($conf_UAM[2 6]) and $conf_UAM[26] <> '')1019 if (isset($conf_UAM[25]) and $conf_UAM[25] <> '') 1035 1020 { 1036 1021 if (function_exists('get_user_language_desc')) 1037 1022 { 1038 $custom_txt = get_user_language_desc($conf_UAM[2 6])."\n\n";1039 } 1040 else $custom_txt = l10n($conf_UAM[2 6])."\n\n";1023 $custom_txt = get_user_language_desc($conf_UAM[25])."\n\n"; 1024 } 1025 else $custom_txt = l10n($conf_UAM[25])."\n\n"; 1041 1026 } 1042 1027 … … 1066 1051 // debugging 1067 1052 // ********************** 1068 //$content = ($infos1."\n\n".$infos2."\n\n").get_absolute_root_url(); 1053 //$content = ($custom_txt.l10n_args($infos1)."\n\n".l10n_args($infos2)."\n\n").get_absolute_root_url(); 1054 //MailLog($email,$subject,$content,$language); 1055 // ********************** 1056 1057 // Switching back to default language 1058 switch_lang_back(); 1059 } 1060 1061 /** 1062 * Function called from UAM_admin.php to send notification email when user registration have been manually validated by admin 1063 * 1064 * @param : user id 1065 * 1066 */ 1067 function validation_mail($id) 1068 { 1069 global $conf; 1070 1071 $conf_UAM = unserialize($conf['UserAdvManager']); 1072 1073 include_once(PHPWG_ROOT_PATH.'include/functions_mail.inc.php'); 1074 1075 $custom_txt = ""; 1076 1077 // We have to get the user's language in database 1078 $query =' 1079 SELECT user_id, language 1080 FROM '.USER_INFOS_TABLE.' 1081 WHERE user_id = '.$id.' 1082 ;'; 1083 $data = pwg_db_fetch_assoc(pwg_query($query)); 1084 1085 // Check if user is already registered (profile changing) - If not (new registration), language is set to current gallery language 1086 if (empty($data)) 1087 { 1088 // And switch gallery to this language before using personalized and multilangual contents 1089 $language = pwg_get_session_var( 'lang_switch', $user['language'] ); 1090 switch_lang_to($language); 1091 } 1092 else 1093 { 1094 // And switch gallery to this language before using personalized and multilangual contents 1095 $language = $data['language']; // Usefull for debugging 1096 switch_lang_to($data['language']); 1097 load_language('plugin.lang', UAM_PATH); 1098 } 1099 1100 // Retreive users email and user name from id 1101 $query =' 1102 SELECT id, username, mail_address 1103 FROM '.USERS_TABLE.' 1104 WHERE id = '.$id.' 1105 ;'; 1106 $result = pwg_db_fetch_assoc(pwg_query($query)); 1107 1108 $subject = '['.$conf['gallery_title'].'] '.l10n_args(get_l10n_args('Validation of %s', stripslashes($result['username']))); 1109 1110 if (isset($conf_UAM[28]) and $conf_UAM[28] <> '') 1111 { 1112 if (function_exists('get_user_language_desc')) 1113 { 1114 $custom_txt = get_user_language_desc($conf_UAM[28])."\n\n"; 1115 } 1116 else $custom_txt = l10n($conf_UAM[28])."\n\n"; 1117 } 1118 1119 $infos = array( 1120 get_l10n_args('User: %s', stripslashes($result['username'])), 1121 get_l10n_args('Email: %s', $result['mail_address']), 1122 get_l10n_args('', ''), 1123 ); 1124 1125 // Sending the email with subject and contents 1126 pwg_mail($result['mail_address'], array( 1127 'subject' => $subject, 1128 'content' => (l10n_args($infos)."\n\n".$custom_txt), 1129 )); 1130 1131 // ********************** 1132 // Email sending debugger 1133 // This is only to trace 1134 // the send of emails for 1135 // debugging 1136 // ********************** 1137 //$email = $result['mail_address']; 1138 //$content = (l10n_args($infos)."\n\n".$custom_txt); 1069 1139 //MailLog($email,$subject,$content,$language); 1070 1140 // ********************** -
extensions/NBC_UserAdvManager/trunk/include/upgradedb.inc.php
r8065 r8092 287 287 $Newconf_UAM[22] = 'false'; 288 288 $Newconf_UAM[23] = 'false'; 289 $Newconf_UAM[24] = ' false';290 $Newconf_UAM[25] = 'Sorry, your account has been de leted due to a too long time passed since your last visit.';291 $Newconf_UAM[26] = ' Sorry, your account has been deprecated due to a too long time passed since your last visit. Please, use the following link to revalidate your account.';289 $Newconf_UAM[24] = 'Sorry, your account has been deleted due to a too long time passed since your last visit.'; 290 $Newconf_UAM[25] = 'Sorry, your account has been deprecated due to a too long time passed since your last visit. Please, use the following link to revalidate your account.'; 291 $Newconf_UAM[26] = '-1'; 292 292 $Newconf_UAM[27] = '-1'; 293 $Newconf_UAM[28] = ' -1';293 $Newconf_UAM[28] = 'Thank you to have registered the gallery. Your account has been manually validated by admin. You can now visit all the gallery for free !'; 294 294 295 295 $update_conf = serialize($Newconf_UAM); -
extensions/NBC_UserAdvManager/trunk/language/de_DE/plugin.lang.php
r6775 r8092 272 272 $lang['UAM_RedirToProfile_true'] = ' Aktivieren'; 273 273 // --------- End: New or revised $lang ---- from version 2.15.4 274 275 276 // --------- Starting below: New or revised $lang ---- from version 2.16.0 277 /* TODO */$lang['UAM_Expired_Group'] = '<b>Group</b> for user\'s registration has expired<br>'; 278 /* TODO */$lang['UAM_Expired_Status'] = '<b>Status</b> for user\'s registration has expired<br>'; 279 /* TODO */$lang['UAM_GTAuto'] = 'Automatic management of ghosts users'; 280 $lang['UAM_GTAuto_false'] = ' Deaktivieren (Standard)'; 281 $lang['UAM_GTAuto_true'] = ' Aktivieren'; 282 /* TODO */$lang['UAM_GTAutoDel'] = 'Automatic deletion of accounts'; 283 /* TODO */$lang['UAM_GTAutoGp'] = 'Automatic change of group / status'; 284 /* TODO */$lang['UAM_GTAutoMail'] = 'Automatically sending an email when changing group / status'; 285 /* TODO */$lang['UAM_GTAutoMail_false'] = ' Disable (default)'; 286 /* TODO */$lang['UAM_GTAutoMail_true'] = ' Enable'; 287 /* TODO */$lang['Deleted_Account_Redirection_Page'] = 'Access denied - Account destroyed!'; 288 /* TODO */$lang['title_redir_page'] = 'Access denied for having an account destroyed!'; 289 /* TODO */$lang['Error_GTAutoMail_cannot_be_set_without_ConfirmMail'] = 'Consistency error in the configuration chosen:<br><br> 290 "Setting the followed registrations and other options > Ghost visitors management (Ghost Tracker) > Automatic management of ghosts users > Automatically sending an email when changing group / status" can not be activated if "Setting confirmations and validations of registration > Confirmation of registration - Validation by user" is not enabled at first.<br><br> 291 To ensure consistency, the option "Automatically sending an email when changing group / status" was automatically repositioned "disabled".<br><br>'; 292 /* TODO */$lang['Demotion of %s'] = 'Demotion of %s'; 293 /* TODO */$lang['UAM_AdminValidationMail_Text'] = 'Notification of manual registration validation'; 294 /* TODO */$lang['Validation of %s'] = 'Validation of %s'; 295 // --------- End: New or revised $lang ---- from version 2.16.0 274 296 ?> -
extensions/NBC_UserAdvManager/trunk/language/en_UK/plugin.lang.php
r6775 r8092 269 269 $lang['UAM_RedirToProfile_true'] = ' Enable'; 270 270 // --------- End: New or revised $lang ---- from version 2.15.4 271 272 273 // --------- Starting below: New or revised $lang ---- from version 2.16.0 274 $lang['UAM_Expired_Group'] = '<b>Group</b> for user\'s registration has expired<br>'; 275 $lang['UAM_Expired_Status'] = '<b>Status</b> for user\'s registration has expired<br>'; 276 $lang['UAM_GTAuto'] = 'Automatic management of ghosts users'; 277 $lang['UAM_GTAuto_false'] = ' Disable (default)'; 278 $lang['UAM_GTAuto_true'] = ' Enable'; 279 $lang['UAM_GTAutoDel'] = 'Automatic deletion of accounts'; 280 $lang['UAM_GTAutoGp'] = 'Automatic change of group / status'; 281 $lang['UAM_GTAutoMail'] = 'Automatically sending an email when changing group / status'; 282 $lang['UAM_GTAutoMail_false'] = ' Disable (default)'; 283 $lang['UAM_GTAutoMail_true'] = ' Enable'; 284 $lang['Deleted_Account_Redirection_Page'] = 'Access denied - Account destroyed!'; 285 $lang['title_redir_page'] = 'Access denied for having an account destroyed!'; 286 $lang['Error_GTAutoMail_cannot_be_set_without_ConfirmMail'] = 'Consistency error in the configuration chosen:<br><br> 287 "Setting the followed registrations and other options > Ghost visitors management (Ghost Tracker) > Automatic management of ghosts users > Automatically sending an email when changing group / status" can not be activated if "Setting confirmations and validations of registration > Confirmation of registration - Validation by user" is not enabled at first.<br><br> 288 To ensure consistency, the option "Automatically sending an email when changing group / status" was automatically repositioned "disabled".<br><br>'; 289 $lang['Demotion of %s'] = 'Demotion of %s'; 290 $lang['UAM_AdminValidationMail_Text'] = 'Notification of manual registration validation'; 291 $lang['Validation of %s'] = 'Validation of %s'; 292 // --------- End: New or revised $lang ---- from version 2.16.0 271 293 ?> -
extensions/NBC_UserAdvManager/trunk/language/es_ES/plugin.lang.php
r6775 r8092 271 271 $lang['UAM_RedirToProfile_true'] = ' Activar'; 272 272 // --------- End: New or revised $lang ---- from version 2.15.4 273 274 275 // --------- Starting below: New or revised $lang ---- from version 2.16.0 276 $lang['UAM_Expired_Group'] = '<b>Grupo</b> para el registro de usuario ha caducado<br>'; 277 $lang['UAM_Expired_Status'] = '<b>Estado </b> para el registro de usuario ha caducado<br>'; 278 $lang['UAM_GTAuto'] = 'Gestión automática de los Espíritus usuarios'; 279 $lang['UAM_GTAuto_false'] = ' Desactivar (por defecto)'; 280 $lang['UAM_GTAuto_true'] = ' Activar'; 281 $lang['UAM_GTAutoDel'] = 'Borrado automático de las cuentas'; 282 $lang['UAM_GTAutoGp'] = 'Cambio automático de grupo / estado'; 283 $lang['UAM_GTAutoMail'] = 'Automáticamente el envío de un correo electrónico cuando se cambia de grupo / estado'; 284 $lang['UAM_GTAutoMail_false'] = ' Desactivar (por defecto)'; 285 $lang['UAM_GTAutoMail_true'] = ' Activar'; 286 $lang['Deleted_Account_Redirection_Page'] = 'Acceso denegado - Cuenta destruido!'; 287 $lang['title_redir_page'] = 'Acceso denegado por haber destruido una cuenta!'; 288 $lang['Error_GTAutoMail_cannot_be_set_without_ConfirmMail'] = 'Error de coherencia en la configuración elegida:<br><br> 289 "Configuración de los registros seguidos y otras opciones > Gestión de Espíritu visitantes (Tracker Ghost) > Gestión automática de los Espíritus usuarios > Automáticamente el envío de un correo electrónico cuando se cambia de grupo / estado" no se puede activar si "Configuración de las confirmaciones y validaciones de registro > Confirmación de registro - La validación por el usuario" no está habilitada en un principio.<br><br> 290 Para garantizar la coherencia, la opción "Automáticamente el envío de un correo electrónico cuando se cambia de grupo / estado" fue colocado de nuevo de forma automática "Desactivar".<br><br>'; 291 $lang['Demotion of %s'] = 'Degradación de %s'; 292 $lang['UAM_AdminValidationMail_Text'] = 'Notificación de la validación manual de registro'; 293 $lang['Validation of %s'] = 'Validación de %s'; 294 // --------- End: New or revised $lang ---- from version 2.16.0 273 295 ?> -
extensions/NBC_UserAdvManager/trunk/language/fr_FR/help/plugin.lang.php
r8087 r8092 181 181 $lang['UAM_GTAutoTitle'] = 'Gestion automatique des utilisateurs fantomes'; 182 182 $lang['UAM_GTAutoTitle_d'] = 'Cette option permet d\'appliquer des règles de gestion automatisée des visiteurs fantômes. 183 <br><br>Principe de base : Un compte d\'utilisateur ayant atteind la limite maximale entre deux visites <b>et</b> ayant déjà été notifié par email est considéré comme expiré. On peut alors appliquer des règles de traitement automatisées telles que la suppression automatique des comptes expirés ou leur rétrogradation en restreignant l\'accès à la galerie (bascule automatique dans un groupe et/ou un statut à accès restreint).183 <br><br>Principe de base : Un utilisateur ayant atteind la limite maximale entre deux visites <b><u>et</u></b> ayant déjà été notifié par email est considéré comme expiré. On peut alors appliquer des règles de traitement automatisées telles que la suppression automatique des comptes expirés ou leur rétrogradation en restreignant l\'accès à la galerie (bascule automatique dans un groupe et/ou un statut à accès restreint). 184 184 <br><br>Le déclenchement de ces automatismes se réalise lors de la connexion des utilisateurs (n\'importe quel utilisateur !)à la galerie.'; 185 $lang['UAM_GTAutoDelTitle'] = 'Suppression automatique des comptes expirés'; 186 $lang['UAM_GTAutoDelTitle_d'] = 'Supprime automatiquement le compte d\'un utilisateur lorsque celui-ci est expiré. 187 <br><br>Fonction à utiliser avec précaution car la suppression des comptes est définitive et sans appel !<br><br> 188 La suppression survient lors de la connexion de l\'utilisateur qui est alors redirigé vers une page annonçant que son compte a été détruit. Un texte personnalisé peut être saisi dans le champ ci-dessous.<br> 189 Ce champ est compatible avec l\'extension FCK Editor et, pour une utilisation multi-langues, vous pouvez utiliser les balises [lang] du plugin Extended Description si celui-ci est actif.<br><br> 190 Note : Lorsque cette option est active, les autres règles automatiques ne sont pas accessibles.'; 185 $lang['UAM_GTAutoDelTitle'] = 'Message personnalisé de suppression de compte'; 186 $lang['UAM_GTAutoDelTitle_d'] = 'Ceci n\'est valable que lorsque l\'utilisateur dont le compte a expiré déclenche lui même le mécanisme de suppression (cas rare mais possible). Il est alors déconnecté de force de la galerie et redirigé vers une page indiquant la suppression de son compte et, éventuellement, les raisons de cette suppression.<br><br> 187 Un texte personnalisé pour cette page de redirection peut être saisi dans le champ ci-dessous qui est compatible avec l\'extension FCK Editor. Pour une utilisation multi-langues, vous pouvez utiliser les balises [lang] du plugin Extended Description si celui-ci est actif.'; 191 188 $lang['UAM_GTAutoGpTitle'] = 'Changement automatique de groupe / statut'; 192 189 $lang['UAM_GTAutoGpTitle_d'] = 'Le changement automatique de groupe ou de statut équivaut à une rétrogradation des comptes concernés et fonctionne sur le même principe que le groupe ou le statut de validation (voir "Paramétrage des confirmations et validations d\'inscriptions"). Il conviendra donc de définir un groupe et/ou un statut rétrogradant l\'accès à la galerie. Si cela a déjà été défini avec l\'utilisation de la fonction Confirmation d\'inscription, on peut utiliser ces mêmes groupe / statut.<br><br> 193 <b style="color: red;">Point important :</b> Si un utilisateur fantôme n\'a toujours pas donné signe de vie après le délai imparti malgré la notification par mail, il est automatiquement supprimé de la base de données.';190 <b style="color: red;">Point important :</b> Si un utilisateur fantôme n\'a toujours pas donné signe de vie après le délai imparti et malgré la notification automatique par mail (si activée), il est automatiquement supprimé de la base de données.'; 194 191 $lang['UAM_GTAutoMailTitle'] = 'Email automatique sur changement de groupe / statut'; 195 192 $lang['UAM_GTAutoMailTitle_d'] = 'Lorsqu\'un compte est expiré (changement de groupe / statut rétrogradant le visiteur), un email d\'information peut être envoyé pour préciser les raisons de ce changement et le moyen de recouvrer l\'accès initial à la galerie. 196 <br>Pour ce faire, un lien de revalidation de l\'inscription est joint à l\'email (génération automatique d\'une nouvelle clé de validation). 193 <br>Pour ce faire, un lien de revalidation de l\'inscription est joint à l\'email (génération automatique d\'une nouvelle clé de validation).<b style="color: red;">Si l\'utilisateur a déjà été notifié, son compte est automatiquement détruit.</b> 197 194 <br><br>Saisissez aussi le texte personnalisé qui expliquera les raisons de la rétrogradation et qui accompagnera le lien de validation. Le texte personnalisé n\'est pas obligatoire mais vivement conseillé. En effet, vos visiteurs inscrits n\'apprécieront que moyennement de recevoir un email ne contenant qu\'un simple lien sans plus d\'explications. ;-) 198 195 <br><br>Pour une utilisation multi-langues, vous pouvez utiliser les balises [lang] du plugin Extended Description si celui-ci est actif. 199 196 <br><br><b style="color: red;">Attention : L\'emploi de cette fonction est intimement lié à l\'option de confirmation d\'inscription par l\'utilisateur (confirmation par mail) et ne peut pas être activée sans cette option.</b>'; 197 $lang['UAM_AdminValidationMail'] = 'Notification de validation d\'inscription manuelle'; 198 $lang['UAM_AdminValidationMail_d'] = 'Lorsqu\'un administrateur ou un webmestre de la galerie valide manuellement une inscription en attente, un email de notification est automatiquement envoyé à l\'utilisateur concerné. Saisissez ici le texte qui apparaîtra dans cet email.<br><br> 199 Pour une utilisation multi-langues, vous pouvez utiliser les balises [lang] du plugin Extended Description si celui-ci est actif.'; 200 200 // --------- End: New or revised $lang ---- from version 2.16.0 201 201 ?> -
extensions/NBC_UserAdvManager/trunk/language/fr_FR/plugin.lang.php
r8065 r8092 278 278 $lang['UAM_GTAutoDel'] = 'Suppressions automatiques des comptes'; 279 279 $lang['UAM_GTAutoGp'] = 'Changement automatique de groupe / statut'; 280 $lang['UAM_GTAutoDel_false'] = ' Désactiver (valeur par défaut)';281 $lang['UAM_GTAutoDel_true'] = ' Activer';282 280 $lang['UAM_GTAutoMail'] = 'Email automatique sur changement de groupe / statut'; 283 281 $lang['UAM_GTAutoMail_false'] = ' Désactiver (valeur par défaut)'; … … 286 284 $lang['title_redir_page'] = 'Accès refusé pour cause de compte détruit !'; 287 285 $lang['Error_GTAutoMail_cannot_be_set_without_ConfirmMail'] = 'Erreur de cohérence dans la configuration choisie :<br><br> 288 "Paramétrage des suivis des inscrits et autres options > Gestion des visiteurs fantômes (Ghost Tracker) > Gestion automatique des utilisateurs fantomes > Email automatique sur changement de groupe / statut" ne peut pas être activé si "Paramétrage des confirmations et validations d\'inscriptions> Confirmation d\'inscription - Validation par le visiteur" n\'est pas activé au préalable.<br><br>286 "Paramétrage des suivis des inscrits et autres options > Gestion des visiteurs fantômes (Ghost Tracker) > Gestion automatique des utilisateurs fantomes > Email automatique sur changement de groupe / statut" ne peut pas être activé si "Paramétrage des confirmations et validations d\'inscriptions > Confirmation d\'inscription - Validation par le visiteur" n\'est pas activé au préalable.<br><br> 289 287 Pour garantir la cohérence, l\'option "Email automatique sur changement de groupe / statut" a été automatiquement repositionnée en "désactivé".<br><br>'; 290 288 $lang['Demotion of %s'] = 'Rétrogradation de %s'; 289 $lang['UAM_AdminValidationMail_Text'] = 'Notification de validation d\'inscription manuelle'; 290 $lang['Validation of %s'] = 'Validation de %s'; 291 291 // --------- End: New or revised $lang ---- from version 2.16.0 292 292 ?> -
extensions/NBC_UserAdvManager/trunk/language/it_IT/plugin.lang.php
r8077 r8092 278 278 $lang['UAM_GTAutoDel'] = 'Cancellazione automatica dei conti'; 279 279 $lang['UAM_GTAutoGp'] = 'Cambiamento automatico del gruppo / statuto'; 280 $lang['UAM_GTAutoDel_false'] = ' Disattivare (di default)';281 $lang['UAM_GTAutoDel_true'] = ' Attivare';282 280 $lang['UAM_GTAutoMail'] = 'Emailing di rilancio automatico'; 283 281 $lang['UAM_GTAutoMail_false'] = ' Disattivare (di default)'; … … 289 287 Per garantire la coerenza, l\'opzione "Email automatica su cambiamento del gruppo / statuto" è stata automaticamente riposizionata in "disattivato".<br><br>'; 290 288 $lang['Demotion of %s'] = 'Retrocessione di %s'; 289 /* TODO */$lang['UAM_AdminValidationMail_Text'] = 'Notification of manual registration validation'; 290 /* TODO */$lang['Validation of %s'] = 'Validation of %s'; 291 291 // --------- End: New or revised $lang ---- from version 2.16.0 292 292 ?> -
extensions/NBC_UserAdvManager/trunk/language/lv_LV/plugin.lang.php
r8069 r8092 269 269 $lang['UAM_RedirToProfile_true'] = ' Iespējot'; 270 270 // --------- End: New or revised $lang ---- from version 2.15.4 271 272 273 // --------- Starting below: New or revised $lang ---- from version 2.16.0 274 /* TODO */$lang['UAM_Expired_Group'] = '<b>Group</b> for user\'s registration has expired<br>'; 275 /* TODO */$lang['UAM_Expired_Status'] = '<b>Status</b> for user\'s registration has expired<br>'; 276 /* TODO */$lang['UAM_GTAuto'] = 'Automatic management of ghosts users'; 277 /* TODO */$lang['UAM_GTAuto_false'] = ' Disable (default)'; 278 /* TODO */$lang['UAM_GTAuto_true'] = ' Enable'; 279 /* TODO */$lang['UAM_GTAutoDel'] = 'Automatic deletion of accounts'; 280 /* TODO */$lang['UAM_GTAutoGp'] = 'Automatic change of group / status'; 281 /* TODO */$lang['UAM_GTAutoMail'] = 'Automatically sending an email when changing group / status'; 282 /* TODO */$lang['UAM_GTAutoMail_false'] = ' Disable (default)'; 283 /* TODO */$lang['UAM_GTAutoMail_true'] = ' Enable'; 284 /* TODO */$lang['Deleted_Account_Redirection_Page'] = 'Access denied - Account destroyed!'; 285 /* TODO */$lang['title_redir_page'] = 'Access denied for having an account destroyed!'; 286 /* TODO */$lang['Error_GTAutoMail_cannot_be_set_without_ConfirmMail'] = 'Consistency error in the configuration chosen:<br><br> 287 "Setting the followed registrations and other options > Ghost visitors management (Ghost Tracker) > Automatic management of ghosts users > Automatically sending an email when changing group / status" can not be activated if "Setting confirmations and validations of registration > Confirmation of registration - Validation by user" is not enabled at first.<br><br> 288 To ensure consistency, the option "Automatically sending an email when changing group / status" was automatically repositioned "disabled".<br><br>'; 289 /* TODO */$lang['Demotion of %s'] = 'Demotion of %s'; 290 /* TODO */$lang['UAM_AdminValidationMail_Text'] = 'Notification of manual registration validation'; 291 /* TODO */$lang['Validation of %s'] = 'Validation of %s'; 292 // --------- End: New or revised $lang ---- from version 2.16.0 271 293 ?> -
extensions/NBC_UserAdvManager/trunk/maintain.inc.php
r8065 r8092 26 26 Best regards, 27 27 28 The admin of the gallery.','false','false','false','false','false',' false','Sorry, your account has been deleted due to a too long time passed since your last visit.','Sorry, your account has been deprecated due to a too long time passed since your last visit. Please, use the following link to revalidate your account.',-1,-1);28 The admin of the gallery.','false','false','false','false','false','Sorry, your account has been deleted due to a too long time passed since your last visit.','Sorry, your account has been deprecated due to a too long time passed since your last visit. Please, use the following link to revalidate your account.',-1,-1,'Thank you to have registered the gallery. Your account has been manually validated by admin. You can now visit all the gallery for free !'); 29 29 30 30 $q = '
Note: See TracChangeset
for help on using the changeset viewer.