IBResource Опубликовано 31 Января 2014 Жалоба Поделиться Опубликовано 31 Января 2014 This hook allows you to specify which custom profile fields have to be unique amongst your members. It is similar to the built-in IP.Board functionality which ensures that member names and email addresses are unique. FeaturesRuns on all boards from 3.2.3 onwardsSupports the built-in custom profile fields, and your own custom profile fieldsCan be switched on and off for individual profile fieldsFully integrated into AdminCPTests for field uniqueness in User Control Panel AND on Member RegistrationModerators and Admins can override the uniqueness requirement through their own ModCP and AdminCPAll text used in the hook is imported into language files so you can edit to suit or localizeFully automatic install and deinstall, no hand edits requiredInstallation/Deinstallation Simply install/deinstall the hook in your AdminCP Usage/Set UpIn AdminCP, select Members -> Custom Profile FieldsNote the extra column which shows whether Custom Profile Fields must be unique (see screenshot for example)Select the Unique Yes/No toggle when adding or editing custom profile fields. (see screenshot) Test CaseIn AdminCP, set a custom profile field to be unique AND required on registrationInput a value into the custom profile field for yourself to be something unique, not used by anybody elseTry and register a new user and use the same value in the custom profile field that you are using yourselfIf you see the error message and registration does not complete, then the hook is installed correctly (see main screenshot) Перейти на сайт Invision Power Ссылка на комментарий Поделиться на других сайтах Прочее
Рекомендуемые сообщения