mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
- updated settings texts;
This commit is contained in:
@@ -1645,7 +1645,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'id' => 'profile_template',
|
||||
'type' => 'select',
|
||||
'label' => __( 'Profile Default Template', 'ultimate-member' ),
|
||||
'tooltip' => __( 'This will be the default template to output profile', 'ultimate-member' ),
|
||||
'description' => __( 'This will be the default template to output profile', 'ultimate-member' ),
|
||||
'default' => um_get_metadefault( 'profile_template' ),
|
||||
'options' => UM()->shortcodes()->get_templates( 'profile' ),
|
||||
'size' => 'small',
|
||||
@@ -1655,7 +1655,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'type' => 'text',
|
||||
'label' => __( 'Profile Maximum Width', 'ultimate-member' ),
|
||||
'default' => um_get_metadefault( 'profile_max_width' ),
|
||||
'tooltip' => __( 'The maximum width this shortcode can take from the page width', 'ultimate-member' ),
|
||||
'description' => __( 'The maximum width this shortcode can take from the page width', 'ultimate-member' ),
|
||||
'size' => 'small',
|
||||
),
|
||||
array(
|
||||
@@ -1663,14 +1663,14 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'type' => 'text',
|
||||
'label' => __( 'Profile Area Maximum Width', 'ultimate-member' ),
|
||||
'default' => um_get_metadefault( 'profile_area_max_width' ),
|
||||
'tooltip' => __( 'The maximum width of the profile area inside profile (below profile header)', 'ultimate-member' ),
|
||||
'description' => __( 'The maximum width of the profile area inside profile (below profile header)', 'ultimate-member' ),
|
||||
'size' => 'small',
|
||||
),
|
||||
array(
|
||||
'id' => 'profile_icons',
|
||||
'type' => 'select',
|
||||
'label' => __( 'Profile Field Icons', 'ultimate-member' ),
|
||||
'tooltip' => __( 'This is applicable for edit mode only', 'ultimate-member' ),
|
||||
'description' => __( 'This is applicable for edit mode only', 'ultimate-member' ),
|
||||
'default' => um_get_metadefault( 'profile_icons' ),
|
||||
'options' => array(
|
||||
'field' => __( 'Show inside text field', 'ultimate-member' ),
|
||||
@@ -1684,7 +1684,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'type' => 'text',
|
||||
'label' => __( 'Profile Primary Button Text', 'ultimate-member' ),
|
||||
'default' => um_get_metadefault( 'profile_primary_btn_word' ),
|
||||
'tooltip' => __( 'The text that is used for updating profile button', 'ultimate-member' ),
|
||||
'description' => __( 'The text that is used for updating profile button', 'ultimate-member' ),
|
||||
'size' => 'medium',
|
||||
),
|
||||
array(
|
||||
@@ -1692,14 +1692,14 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'type' => 'checkbox',
|
||||
'label' => __( 'Profile Secondary Button', 'ultimate-member' ),
|
||||
'default' => um_get_metadefault( 'profile_secondary_btn' ),
|
||||
'tooltip' => __( 'Switch on/off the secondary button display in the form', 'ultimate-member' ),
|
||||
'description' => __( 'Switch on/off the secondary button display in the form', 'ultimate-member' ),
|
||||
),
|
||||
array(
|
||||
'id' => 'profile_secondary_btn_word',
|
||||
'type' => 'text',
|
||||
'label' => __( 'Profile Secondary Button Text', 'ultimate-member' ),
|
||||
'default' => um_get_metadefault( 'profile_secondary_btn_word' ),
|
||||
'tooltip' => __( 'The text that is used for cancelling update profile button', 'ultimate-member' ),
|
||||
'description' => __( 'The text that is used for cancelling update profile button', 'ultimate-member' ),
|
||||
'conditional' => array( 'profile_secondary_btn', '=', 1 ),
|
||||
'size' => 'medium',
|
||||
),
|
||||
@@ -1707,7 +1707,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'id' => 'default_avatar',
|
||||
'type' => 'media',
|
||||
'label' => __( 'Default Profile Photo', 'ultimate-member' ),
|
||||
'tooltip' => __( 'You can change the default profile picture globally here. Please make sure that the photo is 300x300px.', 'ultimate-member' ),
|
||||
'description' => __( 'You can change the default profile picture globally here. Please make sure that the photo is 300x300px.', 'ultimate-member' ),
|
||||
'upload_frame_title' => __( 'Select Default Profile Photo', 'ultimate-member' ),
|
||||
'default' => array(
|
||||
'url' => UM_URL . 'assets/img/default_avatar.jpg',
|
||||
@@ -1719,14 +1719,14 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'url' => true,
|
||||
'preview' => false,
|
||||
'label' => __( 'Default Cover Photo', 'ultimate-member' ),
|
||||
'tooltip' => __( 'You can change the default cover photo globally here. Please make sure that the default cover is large enough and respects the ratio you are using for cover photos.', 'ultimate-member' ),
|
||||
'description' => __( 'You can change the default cover photo globally here. Please make sure that the default cover is large enough and respects the ratio you are using for cover photos.', 'ultimate-member' ),
|
||||
'upload_frame_title' => __( 'Select Default Cover Photo', 'ultimate-member' ),
|
||||
),
|
||||
array(
|
||||
'id' => 'disable_profile_photo_upload',
|
||||
'type' => 'checkbox',
|
||||
'label' => __( 'Disable Profile Photo Upload', 'ultimate-member' ),
|
||||
'tooltip' => __( 'Switch on/off the profile photo uploader', 'ultimate-member' ),
|
||||
'description' => __( 'Switch on/off the profile photo uploader', 'ultimate-member' ),
|
||||
'default' => um_get_metadefault( 'disable_profile_photo_upload' ),
|
||||
),
|
||||
array(
|
||||
@@ -1735,7 +1735,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'label' => __( 'Profile Photo Size', 'ultimate-member' ),
|
||||
'default' => um_get_metadefault( 'profile_photosize' ),
|
||||
'options' => UM()->files()->get_profile_photo_size( 'photo_thumb_sizes' ),
|
||||
'tooltip' => __( 'The global default of profile photo size. This can be overridden by individual form settings', 'ultimate-member' ),
|
||||
'description' => __( 'The global default of profile photo size. This can be overridden by individual form settings', 'ultimate-member' ),
|
||||
'size' => 'small',
|
||||
),
|
||||
array(
|
||||
@@ -1743,7 +1743,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'type' => 'checkbox',
|
||||
'label' => __( 'Profile Cover Photos', 'ultimate-member' ),
|
||||
'default' => um_get_metadefault( 'profile_cover_enabled' ),
|
||||
'tooltip' => __( 'Switch on/off the profile cover photos', 'ultimate-member' ),
|
||||
'description' => __( 'Switch on/off the profile cover photos', 'ultimate-member' ),
|
||||
),
|
||||
array(
|
||||
'id' => 'profile_coversize',
|
||||
@@ -1751,7 +1751,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'label' => __( 'Profile Cover Size', 'ultimate-member' ),
|
||||
'default' => um_get_metadefault( 'profile_coversize' ),
|
||||
'options' => UM()->files()->get_profile_photo_size( 'cover_thumb_sizes' ),
|
||||
'tooltip' => __( 'The global default width of cover photo size. This can be overridden by individual form settings', 'ultimate-member' ),
|
||||
'description' => __( 'The global default width of cover photo size. This can be overridden by individual form settings', 'ultimate-member' ),
|
||||
'conditional' => array( 'profile_cover_enabled', '=', 1 ),
|
||||
'size' => 'small',
|
||||
),
|
||||
@@ -1759,7 +1759,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'id' => 'profile_cover_ratio',
|
||||
'type' => 'select',
|
||||
'label' => __( 'Profile Cover Ratio', 'ultimate-member' ),
|
||||
'tooltip' => __( 'Choose global ratio for cover photos of profiles', 'ultimate-member' ),
|
||||
'description' => __( 'Choose global ratio for cover photos of profiles', 'ultimate-member' ),
|
||||
'default' => um_get_metadefault( 'profile_cover_ratio' ),
|
||||
'options' => array(
|
||||
'1.6:1' => '1.6:1',
|
||||
@@ -1775,41 +1775,41 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'type' => 'checkbox',
|
||||
'label' => __( 'Profile Header Meta Text Icon', 'ultimate-member' ),
|
||||
'default' => 0,
|
||||
'tooltip' => __( 'Display field icons for related user meta fields in header or not', 'ultimate-member' ),
|
||||
'description' => __( 'Display field icons for related user meta fields in header or not', 'ultimate-member' ),
|
||||
),
|
||||
array(
|
||||
'id' => 'profile_show_name',
|
||||
'type' => 'checkbox',
|
||||
'label' => __( 'Show display name in profile header', 'ultimate-member' ),
|
||||
'default' => um_get_metadefault( 'profile_show_name' ),
|
||||
'tooltip' => __( 'Switch on/off the user name on profile header', 'ultimate-member' ),
|
||||
'description' => __( 'Switch on/off the user name on profile header', 'ultimate-member' ),
|
||||
),
|
||||
array(
|
||||
'id' => 'profile_show_social_links',
|
||||
'type' => 'checkbox',
|
||||
'label' => __( 'Show social links in profile header', 'ultimate-member' ),
|
||||
'default' => um_get_metadefault( 'profile_show_social_links' ),
|
||||
'tooltip' => __( 'Switch on/off the social links on profile header', 'ultimate-member' ),
|
||||
'description' => __( 'Switch on/off the social links on profile header', 'ultimate-member' ),
|
||||
),
|
||||
array(
|
||||
'id' => 'profile_show_bio',
|
||||
'type' => 'checkbox',
|
||||
'label' => __( 'Show user description in header', 'ultimate-member' ),
|
||||
'default' => um_get_metadefault( 'profile_show_bio' ),
|
||||
'tooltip' => __( 'Switch on/off the user description on profile header', 'ultimate-member' ),
|
||||
'description' => __( 'Switch on/off the user description on profile header', 'ultimate-member' ),
|
||||
),
|
||||
array(
|
||||
'id' => 'profile_show_html_bio',
|
||||
'type' => 'checkbox',
|
||||
'label' => __( 'Enable HTML support for user description', 'ultimate-member' ),
|
||||
'tooltip' => __( 'Switch on/off to enable/disable support for html tags on user description.', 'ultimate-member' ),
|
||||
'description' => __( 'Switch on/off to enable/disable support for html tags on user description.', 'ultimate-member' ),
|
||||
),
|
||||
array(
|
||||
'id' => 'profile_bio_maxchars',
|
||||
'type' => 'text',
|
||||
'label' => __( 'User description maximum chars', 'ultimate-member' ),
|
||||
'default' => um_get_metadefault( 'profile_bio_maxchars' ),
|
||||
'tooltip' => __( 'Maximum number of characters to allow in user description field in header.', 'ultimate-member' ),
|
||||
'description' => __( 'Maximum number of characters to allow in user description field in header.', 'ultimate-member' ),
|
||||
'conditional' => array( 'profile_show_bio', '=', 1 ),
|
||||
'size' => 'small',
|
||||
),
|
||||
@@ -1818,7 +1818,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'type' => 'select',
|
||||
'label' => __( 'Profile Header Menu Position', 'ultimate-member' ),
|
||||
'default' => um_get_metadefault( 'profile_header_menu' ),
|
||||
'tooltip' => __( 'For incompatible themes, please make the menu open from left instead of bottom by default.', 'ultimate-member' ),
|
||||
'description' => __( 'For incompatible themes, please make the menu open from left instead of bottom by default.', 'ultimate-member' ),
|
||||
'options' => array(
|
||||
'bc' => __( 'Bottom of Icon', 'ultimate-member' ),
|
||||
'lc' => __( 'Left of Icon (right for RTL)', 'ultimate-member' ),
|
||||
@@ -1830,14 +1830,14 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'type' => 'checkbox',
|
||||
'label' => __( 'Show a custom message if profile is empty', 'ultimate-member' ),
|
||||
'default' => um_get_metadefault( 'profile_empty_text' ),
|
||||
'tooltip' => __( 'Switch on/off the custom message that appears when the profile is empty', 'ultimate-member' ),
|
||||
'description' => __( 'Switch on/off the custom message that appears when the profile is empty', 'ultimate-member' ),
|
||||
),
|
||||
array(
|
||||
'id' => 'profile_empty_text_emo',
|
||||
'type' => 'checkbox',
|
||||
'label' => __( 'Show the emoticon', 'ultimate-member' ),
|
||||
'default' => um_get_metadefault( 'profile_empty_text_emo' ),
|
||||
'tooltip' => __( 'Switch on/off the emoticon (sad face) that appears above the message', 'ultimate-member' ),
|
||||
'description' => __( 'Switch on/off the emoticon (sad face) that appears above the message', 'ultimate-member' ),
|
||||
'conditional' => array( 'profile_empty_text', '=', 1 ),
|
||||
),
|
||||
),
|
||||
@@ -1855,7 +1855,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'id' => 'register_template',
|
||||
'type' => 'select',
|
||||
'label' => __( 'Registration Default Template', 'ultimate-member' ),
|
||||
'tooltip' => __( 'This will be the default template to output registration', 'ultimate-member' ),
|
||||
'description' => __( 'This will be the default template to output registration', 'ultimate-member' ),
|
||||
'default' => um_get_metadefault( 'register_template' ),
|
||||
'options' => UM()->shortcodes()->get_templates( 'register' ),
|
||||
'size' => 'small',
|
||||
@@ -1865,14 +1865,14 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'type' => 'text',
|
||||
'label' => __( 'Registration Maximum Width', 'ultimate-member' ),
|
||||
'default' => um_get_metadefault( 'register_max_width' ),
|
||||
'tooltip' => __( 'The maximum width this shortcode can take from the page width', 'ultimate-member' ),
|
||||
'description' => __( 'The maximum width this shortcode can take from the page width', 'ultimate-member' ),
|
||||
'size' => 'small',
|
||||
),
|
||||
array(
|
||||
'id' => 'register_align',
|
||||
'type' => 'select',
|
||||
'label' => __( 'Registration Shortcode Alignment', 'ultimate-member' ),
|
||||
'tooltip' => __( 'The shortcode is centered by default unless you specify otherwise here', 'ultimate-member' ),
|
||||
'description' => __( 'The shortcode is centered by default unless you specify otherwise here', 'ultimate-member' ),
|
||||
'default' => um_get_metadefault( 'register_align' ),
|
||||
'options' => array(
|
||||
'center' => __( 'Centered', 'ultimate-member' ),
|
||||
@@ -1885,7 +1885,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'id' => 'register_icons',
|
||||
'type' => 'select',
|
||||
'label' => __( 'Registration Field Icons', 'ultimate-member' ),
|
||||
'tooltip' => __( 'This controls the display of field icons in the registration form', 'ultimate-member' ),
|
||||
'description' => __( 'This controls the display of field icons in the registration form', 'ultimate-member' ),
|
||||
'default' => um_get_metadefault( 'register_icons' ),
|
||||
'options' => array(
|
||||
'field' => __( 'Show inside text field', 'ultimate-member' ),
|
||||
@@ -1899,7 +1899,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'type' => 'text',
|
||||
'label' => __( 'Registration Primary Button Text', 'ultimate-member' ),
|
||||
'default' => um_get_metadefault( 'register_primary_btn_word' ),
|
||||
'tooltip' => __( 'The text that is used for primary button text', 'ultimate-member' ),
|
||||
'description' => __( 'The text that is used for primary button text', 'ultimate-member' ),
|
||||
'size' => 'medium',
|
||||
),
|
||||
array(
|
||||
@@ -1907,14 +1907,14 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'type' => 'checkbox',
|
||||
'label' => __( 'Registration Secondary Button', 'ultimate-member' ),
|
||||
'default' => 1,
|
||||
'tooltip' => __( 'Switch on/off the secondary button display in the form', 'ultimate-member' ),
|
||||
'description' => __( 'Switch on/off the secondary button display in the form', 'ultimate-member' ),
|
||||
),
|
||||
array(
|
||||
'id' => 'register_secondary_btn_word',
|
||||
'type' => 'text',
|
||||
'label' => __( 'Registration Secondary Button Text', 'ultimate-member' ),
|
||||
'default' => um_get_metadefault( 'register_secondary_btn_word' ),
|
||||
'tooltip' => __( 'The text that is used for the secondary button text', 'ultimate-member' ),
|
||||
'description' => __( 'The text that is used for the secondary button text', 'ultimate-member' ),
|
||||
'conditional' => array( 'register_secondary_btn', '=', 1 ),
|
||||
'size' => 'medium',
|
||||
),
|
||||
@@ -1923,7 +1923,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'type' => 'text',
|
||||
'label' => __( 'Registration Secondary Button URL', 'ultimate-member' ),
|
||||
'default' => um_get_metadefault( 'register_secondary_btn_url' ),
|
||||
'tooltip' => __( 'You can replace default link for this button by entering custom URL', 'ultimate-member' ),
|
||||
'description' => __( 'You can replace default link for this button by entering custom URL', 'ultimate-member' ),
|
||||
'conditional' => array( 'register_secondary_btn', '=', 1 ),
|
||||
'size' => 'medium',
|
||||
),
|
||||
@@ -1931,7 +1931,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'id' => 'register_role',
|
||||
'type' => 'select',
|
||||
'label' => __( 'Registration Default Role', 'ultimate-member' ),
|
||||
'tooltip' => __( 'This will be the default role assigned to users registering thru registration form', 'ultimate-member' ),
|
||||
'description' => __( 'This will be the default role assigned to users registering thru registration form', 'ultimate-member' ),
|
||||
'default' => um_get_metadefault( 'register_role' ),
|
||||
'options' => UM()->roles()->get_roles( __( 'Default', 'ultimate-member' ) ),
|
||||
'size' => 'small',
|
||||
|
||||
Reference in New Issue
Block a user