'desc'=>__('This is the name that will be displayed for users on the front end of your site. Default setting uses first/last name as display name if it exists'),
'default'=>'full_name',
'options'=>array(
'username'=>'Username',
'full_name'=>'First name & last name',
'sur_name'=>'Last name & first name',
'initial_name'=>'First name & first initial of last name',
'initial_name_f'=>'First initial of first name & last name',
'first_name'=>'First name only',
'public_name'=>'Display name',
'field'=>'Custom field(s)',
),
'placeholder'=>__('Select...')
),
array(
'id'=>'display_name_field',
'type'=>'text',
'title'=>__('Display Name Custom Field(s)'),
'desc'=>'Specify the custom field meta key or custom fields seperated by comma that you want to use to display users name on the frontend of your site',
'required'=>array('display_name','=','field'),
),
)
);
/***
*** @
***/
$this->sections[]=array(
'icon'=>'um-icon-wrench-1',
'title'=>__('Account'),
'fields'=>array(
array(
'id'=>'account_tab_password',
'type'=>'switch',
'title'=>__('Password Account Tab'),
'default'=>1,
'desc'=>'Enable/disable the Password account tab in account page',
'on'=>'Enabled',
'off'=>'Disabled',
),
array(
'id'=>'account_tab_privacy',
'type'=>'switch',
'title'=>__('Privacy Account Tab'),
'default'=>1,
'desc'=>'Enable/disable the Privacy account tab in account page',
'on'=>'Enabled',
'off'=>'Disabled',
),
array(
'id'=>'account_tab_notifications',
'type'=>'switch',
'title'=>__('Notifications Account Tab'),
'default'=>0,
'desc'=>'Enable/disable the Notifications account tab in account page',
'desc'=>'Enable/disable the Delete account tab in account page',
'on'=>'Enabled',
'off'=>'Disabled',
),
array(
'id'=>'delete_account_text',
'type'=>'editor',
'title'=>__('Account Deletion Custom Text'),
'default'=>'Are you sure you want to delete your account? This will erase all of your account data from the site. To delete your account enter your password below',
'desc'=>__('This is custom text that will be displayed to users before they delete their accounts from your site','ultimatemember'),
'desc'=>__('Enter one IP per line, you can also use wildcards to block a specific range e.g. 41.83.*.*'),
'desc'=>__('This will block these IPs from accessing the site, you can use full IP numbers or target specific range with a wildcard')
),
array(
'id'=>'blocked_emails',
'type'=>'textarea',
'title'=>__('Blocked Email Addresses'),
'desc'=>__('Enter one email address per line and you can also specify all emails from specific service to be blocked by using wildcard: *@hotmail.com'),
'desc'=>__('This will block the specified e-mail addresses from being able to sign up or sign in to your site.')
),
array(
'id'=>'blocked_words',
'type'=>'textarea',
'title'=>__('Blacklist Words'),
'desc'=>__('The words specified here can not be used as username during registration, please enter one word per line to prevent the usage of this word in a username / during registration'),
'desc'=>__('This option lets you specify blacklist of words to prevent anyone from signing up with such a word as their username'),
'desc'=>'Whether to send the user an email when his account is approved',
),
array(
'id'=>'approved_email_sub',
'type'=>'text',
'title'=>__('Account Approved Email'),
'subtitle'=>__('Subject Line'),
'default'=>'Your account at {site_name} is now active',
'required'=>array('approved_email_on','=',1),
'desc'=>'This is the subject line of the e-mail',
),
array(
'id'=>'approved_email',
'type'=>'textarea',
'title'=>__('Account Approved Email'),
'subtitle'=>__('Message Body'),
'required'=>array('approved_email_on','=',1),
'default'=>'Hi {display_name},'."\r\n\r\n".
'Thank you for signing up with {site_name}! Your account is now active.'."\r\n\r\n".
'To login please visit the following url:'."\r\n\r\n".
'{login_url}'."\r\n\r\n".
'Your account e-mail: {email}'."\r\n".
'Your account username: {username}'."\r\n".
'Your account password: {password}'."\r\n\r\n".
'If you have any problems, please contact us at {admin_email}'."\r\n\r\n".
'Thanks,'."\r\n".
'{site_name}',
),
array(
'id'=>'checkmail_email_on',
'type'=>'switch',
'title'=>__('Account Activation Email'),
'default'=>1,
'desc'=>'Whether to send the user an email when his account needs e-mail activation',
),
array(
'id'=>'checkmail_email_sub',
'type'=>'text',
'title'=>__('Account Activation Email'),
'subtitle'=>__('Subject Line'),
'default'=>'Please activate your account',
'required'=>array('checkmail_email_on','=',1),
'desc'=>'This is the subject line of the e-mail',
),
array(
'id'=>'checkmail_email',
'type'=>'textarea',
'title'=>__('Account Activation Email'),
'subtitle'=>__('Message Body'),
'required'=>array('checkmail_email_on','=',1),
'default'=>'Hi {display_name},'."\r\n\r\n".
'Thank you for signing up with {site_name}! To activate your account, please click the link below to confirm your email address:'."\r\n\r\n".
'{account_activation_link}'."\r\n\r\n".
'If you have any problems, please contact us at {admin_email}'."\r\n\r\n".
'Thanks,'."\r\n".
'{site_name}',
),
array(
'id'=>'pending_email_on',
'type'=>'switch',
'title'=>__('Pending Review Email'),
'default'=>1,
'desc'=>'Whether to send the user an email when his account needs admin review',
),
array(
'id'=>'pending_email_sub',
'type'=>'text',
'title'=>__('Pending Review Email'),
'subtitle'=>__('Subject Line'),
'default'=>'Your account is pending review',
'required'=>array('pending_email_on','=',1),
'desc'=>'This is the subject line of the e-mail',
),
array(
'id'=>'pending_email',
'type'=>'textarea',
'title'=>__('Pending Review Email'),
'subtitle'=>__('Message Body'),
'required'=>array('pending_email_on','=',1),
'default'=>'Hi {display_name},'."\r\n\r\n".
'Thank you for signing up with {site_name}! Your account is currently being reviewed by a member of our team.'."\r\n\r\n".
'Please allow us some time to process your request.'."\r\n\r\n".
'If you have any problems, please contact us at {admin_email}'."\r\n\r\n".
'Thanks,'."\r\n".
'{site_name}',
),
array(
'id'=>'rejected_email_on',
'type'=>'switch',
'title'=>__('Account Rejected Email'),
'default'=>1,
'desc'=>'Whether to send the user an email when his account is rejected',
),
array(
'id'=>'rejected_email_sub',
'type'=>'text',
'title'=>__('Account Rejected Email'),
'subtitle'=>__('Subject Line'),
'default'=>'Your account has been rejected',
'required'=>array('rejected_email_on','=',1),
'desc'=>'This is the subject line of the e-mail',
),
array(
'id'=>'rejected_email',
'type'=>'textarea',
'title'=>__('Account Rejected Email'),
'subtitle'=>__('Message Body'),
'required'=>array('rejected_email_on','=',1),
'default'=>'Hi {display_name},'."\r\n\r\n".
'Thank you for applying for membership to {site_name}! We have reviewed your information and unfortunately we are unable to accept you as a member at this moment.'."\r\n\r\n".
'Please feel free to apply again at a future date.'."\r\n\r\n".
'Thanks,'."\r\n".
'{site_name}',
),
array(
'id'=>'inactive_email_on',
'type'=>'switch',
'title'=>__('Account Deactivated Email'),
'default'=>1,
'desc'=>'Whether to send the user an email when his account is deactivated',
),
array(
'id'=>'inactive_email_sub',
'type'=>'text',
'title'=>__('Account Deactivated Email'),
'subtitle'=>__('Subject Line'),
'default'=>'Your account has been deactivated',
'required'=>array('inactive_email_on','=',1),
'desc'=>'This is the subject line of the e-mail',
),
array(
'id'=>'inactive_email',
'type'=>'textarea',
'title'=>__('Account Deactivated Email'),
'subtitle'=>__('Message Body'),
'required'=>array('inactive_email_on','=',1),
'default'=>'Hi {display_name},'."\r\n\r\n".
'This is an automated email to let you know your {site_name} account has been deactivated.'."\r\n\r\n".
'If you would like your account to be reactivated please contact us at {admin_email}'."\r\n\r\n".
'Thanks,'."\r\n".
'{site_name}',
),
array(
'id'=>'deletion_email_on',
'type'=>'switch',
'title'=>__('Account Deleted Email'),
'default'=>1,
'desc'=>'Whether to send the user an email when his account is deleted',
),
array(
'id'=>'deletion_email_sub',
'type'=>'text',
'title'=>__('Account Deleted Email'),
'subtitle'=>__('Subject Line'),
'default'=>'Your account has been deleted',
'required'=>array('deletion_email_on','=',1),
'desc'=>'This is the subject line of the e-mail',
),
array(
'id'=>'deletion_email',
'type'=>'textarea',
'title'=>__('Account Deleted Email'),
'subtitle'=>__('Message Body'),
'required'=>array('deletion_email_on','=',1),
'default'=>'Hi {display_name},'."\r\n\r\n".
'This is an automated email to let you know your {site_name} account has been deleted. All of your personal information has been permanently deleted and you will no longer be able to login to {site_name}.'."\r\n\r\n".
'If your account has been deleted by accident please contact us at {admin_email}'."\r\n\r\n".
'desc'=>__('Quality is used to determine quality of image uploads, and ranges from 0 (worst quality, smaller file) to 100 (best quality, biggest file). The default range is 75.'),
'desc'=>'This is the title that is displayed on a specific user profile',
),
array(
'id'=>'profile_desc',
'type'=>'textarea',
'default'=>'{display_name} is on {site_name}. Join {site_name} to view {display_name}\'s profile',
'title'=>__('User Profile Dynamic Meta Description'),
'desc'=>__('You can use dynamic tags to display dynamic user profile data in this field.'),
'desc'=>__('This will be used in the meta description that is available for search-engines.')
),
)
);
/***
*** @
***/
$this->sections[]=array(
'icon'=>'um-icon-brush-1',
'title'=>__('Styling & Appearance'),
'fields'=>array(
)
);
$this->sections[]=array(
'subsection'=>true,
'title'=>__('General'),
'fields'=>array(
array(
'id'=>'active_color',
'type'=>'color',
'default'=>um_get_metadefault('active_color'),
'title'=>__('General Active Color'),
'validate'=>'color',
'desc'=>__('Active color is used commonly with many plugin elements as highlighted color or active selection for example. This color demonstrates the primary active color of the plugin','ultimatemember'),
'transparent'=>false,
),
array(
'id'=>'secondary_color',
'type'=>'color',
'default'=>um_get_metadefault('secondary_color'),
'title'=>__('General Secondary Color'),
'validate'=>'color',
'desc'=>__('Secondary color is used for hovers, or active state for some elements of the plugin','ultimatemember'),