public function integrateWithVC()
 {
     global $upme_roles;
     parent::integrateWithVC();
     $users_ids = array(__('Display Profile Based on URL', 'upme') => '');
     $active_users = $upme_roles->get_active_users();
     foreach ($active_users as $k => $user) {
         $name = trim(get_user_meta($user->ID, 'first_name', true) . ' ' . get_user_meta($user->ID, 'last_name', true));
         $name = $name == '' ? $user->data->user_login : $name;
         $users_ids[$name] = $user->ID;
     }
     $exclude_fields = array('user_pass', 'user_pass_confirm');
     $profile_fields = get_option('upme_profile_fields');
     $display_fields = array();
     foreach ($profile_fields as $field) {
         if (isset($field['type']) && $field['type'] == 'usermeta' && isset($field['field']) && !in_array($field['meta'], $exclude_fields)) {
             $display_fields[$field['name']] = $field['meta'];
         }
     }
     /*
     Add your Visual Composer logic here.
     Lets call vc_map function to "register" our custom shortcode within Visual Composer interface.
     
     More info: http://kb.wpbakery.com/index.php?title=Vc_map
     */
     vc_map(array("name" => __("UPME Profile", 'upme'), "description" => __("User Profile for UPME", 'upme'), "base" => "upme_profile_vc", "class" => "", "controls" => "full", "icon" => plugins_url('assets/upme-vc.png', __FILE__), "category" => __('UPME', 'upme'), "params" => array(array("type" => "textfield", "holder" => "div", "class" => "", "heading" => __("Name for the Profile", 'upme'), "param_name" => "name", "value" => '', "description" => __("Add specific name to profile to load different filters on different profile shortcodes. If not specified, this will add a dynamic random string as the name.", 'upme')), array("type" => "dropdown", "holder" => "div", "class" => "", "heading" => __("User", 'upme'), "param_name" => "id", "value" => $users_ids, "std" => '', "description" => __("This is used to select user(s) to be displayed or display the profile based on current URL. This is optional.", 'upme')), array("type" => "dropdown", "holder" => "div", "class" => "", "heading" => __("Profile View Type", 'upme'), "param_name" => "view", "value" => array(__('Display Full Profile', 'upme') => 'default', __('Display Compact Profile', 'upme') => 'compact', __('Display Selected Fields on Profile', 'upme') => 'fields'), "std" => 'default', "description" => __("Select the type of view profile. Full profile displays all fields. Compact profile only displays the profile header. Selected fields allows you to select the filds to be displayed in profile..", 'upme')), array("type" => "upme_multiple_select", "holder" => "div", "class" => "", "heading" => __("Profile Fields", 'upme'), "param_name" => "profile_fields", "value" => $display_fields, "std" => '', "description" => __("You can use this option to include fields to be shown in the profile.This is optional and only used when you have the selected fields option for the Profile View Type.", 'upme')), array("type" => "dropdown", "holder" => "div", "class" => "", "heading" => __("Display User ID", 'upme'), "param_name" => "show_id", "value" => array(__("No", 'upme') => 'no', __("Yes", 'upme') => 'yes'), "std" => 'no', "description" => __("This is used to display/hide user ID on profile.", 'upme')), array("type" => "dropdown", "holder" => "div", "class" => "", "heading" => __("Display Profile Status", 'upme'), "param_name" => "show_profile_status", "value" => array(__("No", 'upme') => 'no', __("Yes", 'upme') => 'yes'), "std" => 'no', "description" => __("This is used to display/hide user profile status on profile.", 'upme')), array("type" => "dropdown", "holder" => "div", "class" => "", "heading" => __("Display Profile Stats", 'upme'), "param_name" => "show_stats", "value" => array(__("Yes", 'upme') => 'yes', __("No", 'upme') => 'no'), "std" => 'yes', "description" => __("This is used to display/hide posts and comments counts on profile.", 'upme')), array("type" => "dropdown", "holder" => "div", "class" => "", "heading" => __("Display Social Bar", 'upme'), "param_name" => "show_social_bar", "value" => array(__("Yes", 'upme') => 'yes', __("No", 'upme') => 'no'), "std" => 'yes', "description" => __("This is used to display/hide social icons on profile.", 'upme')), array("type" => "dropdown", "holder" => "div", "class" => "", "heading" => __("Display User Role", 'upme'), "param_name" => "show_role", "value" => array(__("No", 'upme') => 'no', __("Yes", 'upme') => 'yes'), "std" => 'no', "description" => __("This is used to display/hide user role on profile.", 'upme')), array("type" => "dropdown", "holder" => "div", "class" => "", "heading" => __("Use In Sidebar", 'upme'), "param_name" => "use_in_sidebar", "value" => array(__("No", 'upme') => 'no', __("Yes", 'upme') => 'yes'), "std" => 'no', "description" => __("This is entirely optional. You can decide to show the search inside a page\n    or in the sidebar.", 'upme')), array("type" => "textfield", "holder" => "div", "class" => "", "heading" => __("Logout Redirect", 'upme'), "param_name" => "logout_redirect", "value" => '', "description" => __("Users will be redirected to this URL after logged out from profile.", 'upme')))));
 }
 public function integrateWithVC()
 {
     parent::integrateWithVC();
     $fields = array(__('Select', 'upme') => '');
     $filters = array(__('Select', 'upme') => '');
     $exclude_fields = array(__('Select', 'upme') => '');
     $supported_fields = array('text', 'textarea', 'date');
     $profile_fields = get_option('upme_profile_fields');
     foreach ($profile_fields as $field) {
         if (isset($field['type']) && $field['type'] == 'usermeta' && isset($field['field']) && in_array($field['field'], $supported_fields)) {
             $fields[$field['name']] = $field['meta'];
             $exclude_fields[$field['name']] = $field['meta'];
         }
         if (isset($field['type']) && $field['type'] == 'usermeta') {
             $filters[$field['name']] = $field['meta'];
         }
     }
     /*
     Add your Visual Composer logic here.
     Lets call vc_map function to "register" our custom shortcode within Visual Composer interface.
     
     More info: http://kb.wpbakery.com/index.php?title=Vc_map
     */
     vc_map(array("name" => __("UPME Search", 'upme'), "description" => __("Search form for UPME", 'upme'), "base" => "upme_search_vc", "class" => "", "controls" => "full", "icon" => plugins_url('assets/upme-vc.png', __FILE__), "category" => __('UPME', 'upme'), "params" => array(array("type" => "textfield", "holder" => "div", "class" => "", "heading" => __("Name for the Search Form", 'upme'), "param_name" => "name", "value" => '', "description" => __("Add specific name to search form to load different filters on different search\n\tforms. If not specified, this will add a dynamic random string as the name.", 'upme')), array("type" => "upme_multiple_select", "holder" => "div", "class" => "", "heading" => __("Fields", 'upme'), "param_name" => "fields", "value" => $fields, "std" => '', "description" => __("This is used to match the specified criteria using AND/OR operator. This is optional.", 'upme')), array("type" => "upme_multiple_select", "holder" => "div", "class" => "", "heading" => __("Filters", 'upme'), "param_name" => "filters", "value" => $filters, "std" => '', "description" => __("This is used to match the specified criteria using AND/OR operator. This is optional.", 'upme')), array("type" => "upme_multiple_select", "holder" => "div", "class" => "", "heading" => __("Exclude Fields", 'upme'), "param_name" => "exclude_fields", "value" => $exclude_fields, "std" => '', "description" => __("You can use this option to exclude some text fields from the default search.This is optional.", 'upme')), array("type" => "dropdown", "holder" => "div", "class" => "", "heading" => __("Operator", 'upme'), "param_name" => "operator", "value" => array(__("AND", 'upme') => 'AND', __("OR", 'upme') => 'OR'), "std" => 'no', "description" => __("This is used to match the specified criteria using AND/OR operator.", 'upme')), array("type" => "dropdown", "holder" => "div", "class" => "", "heading" => __("Use In Sidebar", 'upme'), "param_name" => "use_in_sidebar", "value" => array(__("No", 'upme') => 'no', __("Yes", 'upme') => 'yes'), "std" => 'no', "description" => __("This is entirely optional. You can decide to show the search inside a page\n\tor in the sidebar.", 'upme')), array("type" => "dropdown", "holder" => "div", "class" => "", "heading" => __("Show Combined Search", 'upme'), "param_name" => "show_combined_search", "value" => array(__("Yes", 'upme') => 'yes', __("No", 'upme') => 'no'), "std" => 'yes', "description" => __("Used to hide combined search option and only use the search on search filters.", 'upme')), array("type" => "textfield", "holder" => "div", "class" => "", "heading" => __("Reset Button Text", 'upme'), "param_name" => "reset_button_text", "value" => '', "description" => __("Used to change the text displayed inside the search reset button.", 'upme')), array("type" => "textfield", "holder" => "div", "class" => "", "heading" => __("Search Button Text", 'upme'), "param_name" => "button_text", "value" => '', "description" => __("Used to change the text displayed on search button.", 'upme')), array("type" => "textfield", "holder" => "div", "class" => "", "heading" => __("Combined Search Text", 'upme'), "param_name" => "combined_search_text", "value" => '', "description" => __("Used to change the text displayed inside the search box.", 'upme')), array("type" => "textfield", "holder" => "div", "class" => "", "heading" => __("Users are Called as", 'upme'), "param_name" => "users_are_called", "value" => '', "description" => __("Used change the text display for users.", 'upme')))));
 }
 public function integrateWithVC()
 {
     parent::integrateWithVC();
     /*
     Add your Visual Composer logic here.
     Lets call vc_map function to "register" our custom shortcode within Visual Composer interface.
     
     More info: http://kb.wpbakery.com/index.php?title=Vc_map
     */
     vc_map(array("name" => __("UPME Member Content", 'upme'), "description" => __("Content for UPME Members", 'upme'), "base" => "upme_member_vc", "class" => "", "controls" => "full", "icon" => plugins_url('assets/upme-vc.png', __FILE__), "category" => __('UPME', 'upme'), "params" => array(array("type" => "textarea_html", "holder" => "div", "class" => "", "heading" => __("Content", "upme"), "param_name" => "content", "value" => "", "description" => __("Enter your content for members.", "upme")))));
 }
 public function integrateWithVC()
 {
     parent::integrateWithVC();
     /*
     Add your Visual Composer logic here.
     Lets call vc_map function to "register" our custom shortcode within Visual Composer interface.
     
     More info: http://kb.wpbakery.com/index.php?title=Vc_map
     */
     vc_map(array("name" => __("UPME Logout", 'upme'), "description" => __("Logout button for UPME", 'upme'), "base" => "upme_logout_vc", "class" => "", "controls" => "full", "icon" => plugins_url('assets/upme-vc.png', __FILE__), "category" => __('UPME', 'upme'), "params" => array(array("type" => "textfield", "holder" => "div", "class" => "", "heading" => __("CSS Class", 'upme'), "param_name" => "class", "value" => '', "description" => __("CSS class used for the logout link.", 'upme')), array("type" => "textfield", "holder" => "div", "class" => "", "heading" => __("Redirect URL", 'upme'), "param_name" => "redirect_to", "value" => '', "description" => __("Useres are redirected to the specified URL after logging out.", 'upme')))));
 }
 public function integrateWithVC()
 {
     parent::integrateWithVC();
     /*
     Add your Visual Composer logic here.
     Lets call vc_map function to "register" our custom shortcode within Visual Composer interface.
     
     More info: http://kb.wpbakery.com/index.php?title=Vc_map
     */
     vc_map(array("name" => __("UPME Login", 'upme'), "description" => __("Login form for UPME", 'upme'), "base" => "upme_login_vc", "class" => "", "controls" => "full", "icon" => plugins_url('assets/upme-vc.png', __FILE__), "category" => __('UPME', 'upme'), "params" => array(array("type" => "dropdown", "holder" => "div", "class" => "", "heading" => __("Use In Sidebar", 'upme'), "param_name" => "use_in_sidebar", "value" => array(__("No", 'upme') => 'no', __("Yes", 'upme') => 'yes'), "std" => 'no', "description" => __("This will change the CSS styling to better fit inside a small width sidebar.", 'upme')), array("type" => "textfield", "holder" => "div", "class" => "", "heading" => __("Redirect URL", 'upme'), "param_name" => "redirect_to", "value" => '', "description" => __("Useres are redirected to the specified URL after logging in.", 'upme')), array("type" => "dropdown", "holder" => "div", "class" => "", "heading" => __("Captcha", 'upme'), "param_name" => "captcha", "value" => array(__("No", 'upme') => 'no', __("Yes", 'upme') => 'yes', __("reCaptcha", 'upme') => 'recaptcha', __("FunCaptcha", 'upme') => 'funcaptcha', __("Captcha", 'upme') => 'captcha'), "std" => 'no', "description" => __("Show the Login Form with captcha, uses the captcha plugn selected in UPME settings. You can specify the captcha to be used.", 'upme')), array("type" => "dropdown", "holder" => "div", "class" => "", "heading" => __("Show Registration Link", 'upme'), "param_name" => "register_link", "value" => array(__("Yes", 'upme') => 'yes', __("No", 'upme') => 'no'), "std" => 'yes', "description" => __("Enable/Disable registration link in login form.", 'upme')), array("type" => "dropdown", "holder" => "div", "class" => "", "heading" => __("Show Forgot Password Link", 'upme'), "param_name" => "forgot_link", "value" => array(__("Yes", 'upme') => 'yes', __("No", 'upme') => 'no'), "std" => 'yes', "description" => __("Enable/Disable forgot password link in login form.", 'upme')), array("type" => "textfield", "holder" => "div", "class" => "", "heading" => __("Custom Register Link Text", 'upme'), "param_name" => "register_text", "value" => '', "description" => __("Display custom text for registration link in login form.", 'upme')), array("type" => "textfield", "holder" => "div", "class" => "", "heading" => __("Custom Forgot Password Link Text", 'upme'), "param_name" => "forgot_text", "value" => '', "description" => __("Display custom text for forgot password in login form.", 'upme')), array("type" => "textfield", "holder" => "div", "class" => "", "heading" => __("Custom Register Page URL", 'upme'), "param_name" => "custom_register_url", "value" => '', "description" => __("Custom URL for the registration page.", 'upme')), array("type" => "textfield", "holder" => "div", "class" => "", "heading" => __("Custom Forgot Password URL", 'upme'), "param_name" => "custom_forgot_url", "value" => '', "description" => __("Custom URL for the forgot password page.", 'upme')))));
 }
 public function integrateWithVC()
 {
     parent::integrateWithVC();
     /*
     Add your Visual Composer logic here.
     Lets call vc_map function to "register" our custom shortcode within Visual Composer interface.
     
     More info: http://kb.wpbakery.com/index.php?title=Vc_map
     */
     vc_map(array("name" => __("UPME Reset Password", 'upme'), "description" => __("Reset Password form for UPME", 'upme'), "base" => "upme_reset_password_vc", "class" => "", "controls" => "full", "icon" => plugins_url('assets/upme-vc.png', __FILE__), "category" => __('UPME', 'upme'), "params" => array(array("type" => "textfield", "holder" => "div", "class" => "", "heading" => __("Name for the Reset Password Form", 'upme'), "param_name" => "name", "value" => '', "description" => __("Add specific name to reset password form.", 'upme')))));
 }
 public function integrateWithVC()
 {
     global $upme_roles;
     $roles = $upme_roles->upme_available_user_roles_registration();
     $roles_vc = array(__('Select', 'upme') => '');
     foreach ($roles as $k => $v) {
         $roles_vc[$v] = $k;
     }
     parent::integrateWithVC();
     /*
     Add your Visual Composer logic here.
     Lets call vc_map function to "register" our custom shortcode within Visual Composer interface.
     
     More info: http://kb.wpbakery.com/index.php?title=Vc_map
     */
     vc_map(array("name" => __("UPME Registration", 'upme'), "description" => __("Registration form for UPME", 'upme'), "base" => "upme_registration_vc", "class" => "", "controls" => "full", "icon" => plugins_url('assets/upme-vc.png', __FILE__), "category" => __('UPME', 'upme'), "params" => array(array("type" => "textfield", "holder" => "div", "class" => "", "heading" => __("Name for Registration Form", 'upme'), "param_name" => "name", "value" => '', "description" => __("Add specific name to registration form to load different fields on different registration forms. If not specified, this will add a dynamic random string as the name.", 'upme')), array("type" => "dropdown", "holder" => "div", "class" => "", "heading" => __("Use In Sidebar", 'upme'), "param_name" => "use_in_sidebar", "value" => array(__("No", 'upme') => 'no', __("Yes", 'upme') => 'yes'), "std" => 'no', "description" => __("This will change the CSS styling to better fit inside a small width sidebar.", 'upme')), array("type" => "textfield", "holder" => "div", "class" => "", "heading" => __("Redirect URL", 'upme'), "param_name" => "redirect_to", "value" => '', "description" => __("Useres are redirected to the specified URL after logging in.", 'upme')), array("type" => "dropdown", "holder" => "div", "class" => "", "heading" => __("Captcha", 'upme'), "param_name" => "captcha", "value" => array(__("No", 'upme') => 'no', __("Yes", 'upme') => 'yes', __("reCaptcha", 'upme') => 'recaptcha', __("FunCaptcha", 'upme') => 'funcaptcha', __("Captcha", 'upme') => 'captcha'), "std" => 'no', "description" => __("Show the Login Form with captcha, uses the captcha plugn selected in UPME settings. You can specify the captcha to be used.", 'upme')), array("type" => "dropdown", "holder" => "div", "class" => "", "heading" => __("Display Login Link", 'upme'), "param_name" => "display_login", "value" => array(__("Yes", 'upme') => 'yes', __("No", 'upme') => 'no'), "std" => 'yes', "description" => __("Displays the login link on registration form for already registered users.", 'upme')), array("type" => "dropdown", "holder" => "div", "class" => "", "heading" => __("User Role", 'upme'), "param_name" => "user_role", "value" => $roles_vc, "std" => 'yes', "description" => __("Add specific to the registration form. Once user_role attribute is added, all users registred with this form will get the defined user role instead of default user role.", 'upme')))));
 }
 public function integrateWithVC()
 {
     global $upme_roles;
     parent::integrateWithVC();
     $users_ids = array();
     $active_users = $upme_roles->get_active_users();
     foreach ($active_users as $k => $user) {
         $name = trim(get_user_meta($user->ID, 'first_name', true) . ' ' . get_user_meta($user->ID, 'last_name', true));
         $name = $name == '' ? $user->data->user_login : $name;
         $users_ids[$name] = $user->ID;
     }
     $exclude_fields = array('user_pass', 'user_pass_confirm');
     $profile_fields = get_option('upme_profile_fields');
     $group_meta_keys = array(__('Select', 'upme') => '0');
     $display_fields = array();
     $order_by_fields = array(__('Select', 'upme') => '0');
     foreach ($profile_fields as $field) {
         if (isset($field['type']) && $field['type'] == 'usermeta' && isset($field['field']) && !in_array($field['meta'], $exclude_fields)) {
             $group_meta_keys[$field['name']] = $field['meta'];
             $display_fields[$field['name']] = $field['meta'];
             $order_by_fields[$field['name']] = $field['meta'];
         }
     }
     $user_roles = $upme_roles->upme_get_available_user_roles();
     $roles_vc = array();
     foreach ($user_roles as $k => $v) {
         $roles_vc[$v] = $k;
     }
     $user_predefined_fields = array('ID' => 'ID', 'login' => 'Username', 'nicename' => 'Display Name', 'email' => 'Email', 'url' => 'URL', 'registered' => 'Registered Date', 'post_count' => 'Post Count');
     $order_by_fields = array_merge($user_predefined_fields, $order_by_fields);
     /*
     Add your Visual Composer logic here.
     Lets call vc_map function to "register" our custom shortcode within Visual Composer interface.
     
     More info: http://kb.wpbakery.com/index.php?title=Vc_map
     */
     vc_map(array("name" => __("UPME Member List", 'upme'), "description" => __("Member List for UPME", 'upme'), "base" => "upme_member_list_vc", "class" => "", "controls" => "full", "icon" => plugins_url('assets/upme-vc.png', __FILE__), "category" => __('UPME', 'upme'), "params" => array(array("type" => "textfield", "holder" => "div", "class" => "", "heading" => __("Name for the Member List", 'upme'), "param_name" => "name", "value" => '', "description" => __("Add specific name to member list to load different filters on different member list shortcodes. If not specified, this will add a dynamic random string as the name.", 'upme'), "group" => "Filtering"), array("type" => "dropdown", "holder" => "div", "class" => "", "heading" => __("Profile Grouping Type", 'upme'), "param_name" => "group", "value" => array(__('Group All Users', 'upme') => 'all', __('Group Selected Users', 'upme') => 'users'), "std" => '', "description" => __("Select the grouping type for member list. Group All Users displays all active users in the site. Group Selected Users allows you to select the users to be displayed in member list..", 'upme'), "group" => "Filtering"), array("type" => "upme_multiple_select", "holder" => "div", "class" => "", "heading" => __("Users", 'upme'), "param_name" => "id", "value" => $users_ids, "std" => '', "description" => __("This is used to select user(s) to be displayed in the member list instead of all users. This is used when selected users option is selected for Profile Grouping Type.", 'upme'), "group" => "Filtering"), array("type" => "dropdown", "holder" => "div", "class" => "", "heading" => __("Group Meta Key", 'upme'), "param_name" => "group_meta", "value" => $group_meta_keys, "std" => '', "description" => __("This is used to group and filter users by custom field. Select the custom field used for grouping.", 'upme'), "group" => "Filtering"), array("type" => "textfield", "holder" => "div", "class" => "", "heading" => __("Group Meta Value", 'upme'), "param_name" => "group_meta_value", "value" => '', "description" => __("This is used to specify the value of the custom field for grouping members.", 'upme'), "group" => "Filtering"), array("type" => "dropdown", "holder" => "div", "class" => "", "heading" => __("Profile View Type", 'upme'), "param_name" => "view", "value" => array(__('Display Full Profile', 'upme') => 'default', __('Display Compact Profile', 'upme') => 'compact', __('Display Selected Fields on Profile', 'upme') => 'fields'), "std" => 'default', "description" => __("Select the type of view profile. Full profile displays all fields. Compact profile only displays the profile header. Selected fields allows you to select the filds to be displayed in profile..", 'upme'), "group" => "Filtering"), array("type" => "upme_multiple_select", "holder" => "div", "class" => "", "heading" => __("Profile Fields", 'upme'), "param_name" => "profile_fields", "value" => $display_fields, "std" => '', "description" => __("You can use this option to include fields to be shown in the profile.This is optional and only used when you have the selected fields option for the Profile View Type.", 'upme'), "group" => "Filtering"), array("type" => "upme_multiple_select", "holder" => "div", "class" => "", "heading" => __("User Roles", 'upme'), "param_name" => "role", "value" => $roles_vc, "std" => '', "description" => __("This is used to select the user roles to be allowed for the member list.", 'upme'), "group" => "Filtering"), array("type" => "dropdown", "holder" => "div", "class" => "", "heading" => __("Order by Field", 'upme'), "param_name" => "order_by", "value" => $order_by_fields, "std" => '', "description" => __("This is used to select the custom field used for ordering the results.", 'upme'), "group" => "Filtering"), array("type" => "dropdown", "holder" => "div", "class" => "", "heading" => __("Hide Admins", 'upme'), "param_name" => "hide_admins", "value" => array(__('No', 'upme') => 'no', __('Yes', 'upme') => 'yes'), "std" => 'no', "description" => __("This is used to group and filter users by custom field. Select the custom field used for grouping.", 'upme'), "group" => "Filtering"), array("type" => "dropdown", "holder" => "div", "class" => "", "heading" => __("Order Results", 'upme'), "param_name" => "order", "value" => array(__('ASC', 'upme') => 'ASC', __('DESC', 'upme') => 'DESC'), "std" => 'DESC', "description" => __("Defines the Sort/order of the profiles displayed..", 'upme'), "group" => "General"), array("type" => "dropdown", "holder" => "div", "class" => "", "heading" => __("Hide Until Search", 'upme'), "param_name" => "hide_until_search", "value" => array(__('No', 'upme') => 'no', __('Yes', 'upme') => 'yes'), "std" => 'no', "description" => __("Hides/Shows user list and only shows search results until search is completed.", 'upme'), "group" => "General"), array("type" => "textfield", "holder" => "div", "class" => "", "heading" => __("Users Per Page", 'upme'), "param_name" => "users_per_page", "value" => '', "description" => __("Number of user profiles to be displayed inside a single page..", 'upme'), "group" => "General"), array("type" => "dropdown", "holder" => "div", "class" => "", "heading" => __("Limit Results", 'upme'), "param_name" => "limit_results", "value" => array(__('No', 'upme') => 'no', __('Yes', 'upme') => 'yes'), "std" => 'no', "description" => __("Limit the member list to fixed number of users without pagination.", 'upme'), "group" => "General"), array("type" => "dropdown", "holder" => "div", "class" => "", "heading" => __("Open Profiles In New Window", 'upme'), "param_name" => "new_window", "value" => array(__('No', 'upme') => 'no', __('Yes', 'upme') => 'yes'), "std" => 'no', "description" => __("Open profiles in a new window from the members list.", 'upme'), "group" => "General"), array("type" => "dropdown", "holder" => "div", "class" => "", "heading" => __("Open Profiles In Modal Window", 'upme'), "param_name" => "modal", "value" => array(__('No', 'upme') => 'no', __('Yes', 'upme') => 'yes'), "std" => 'no', "description" => __("Open profiles in a modal window from a member list with compact view.", 'upme'), "group" => "General"), array("type" => "textfield", "holder" => "div", "class" => "", "heading" => __("Logout Redidirect URL", 'upme'), "param_name" => "logout_redirect", "value" => '', "description" => __("Used for specifying the redirect URL after the logout button is clicked from the profile..", 'upme'), "group" => "General"), array("type" => "dropdown", "holder" => "div", "class" => "", "heading" => __("Show Result Count", 'upme'), "param_name" => "show_result_count", "value" => array(__("No", 'upme') => 'no', __("Yes", 'upme') => 'yes'), "std" => 'no', "description" => __("Display/Hide number of results generated from the user list.", 'upme'), "group" => "Display Options"), array("type" => "dropdown", "holder" => "div", "class" => "", "heading" => __("Number of Columns", 'upme'), "param_name" => "width", "value" => array(__("Select", 'upme') => '0', __("2 Columns", 'upme') => '2', __("3 Columns", 'upme') => '3'), "std" => '0', "description" => __("Number of user profiles to be displayed inside a single page..", 'upme'), "group" => "Display Options"), array("type" => "dropdown", "holder" => "div", "class" => "", "heading" => __("Display User ID", 'upme'), "param_name" => "show_id", "value" => array(__("No", 'upme') => 'no', __("Yes", 'upme') => 'yes'), "std" => 'no', "description" => __("This is used to display/hide user ID on profile.", 'upme'), "group" => "Display Options"), array("type" => "dropdown", "holder" => "div", "class" => "", "heading" => __("Display Profile Status", 'upme'), "param_name" => "show_profile_status", "value" => array(__("No", 'upme') => 'no', __("Yes", 'upme') => 'yes'), "std" => 'no', "description" => __("This is used to display/hide user profile status on profile.", 'upme'), "group" => "Display Options"), array("type" => "dropdown", "holder" => "div", "class" => "", "heading" => __("Display Profile Stats", 'upme'), "param_name" => "show_stats", "value" => array(__("Yes", 'upme') => 'yes', __("No", 'upme') => 'no'), "std" => 'yes', "description" => __("This is used to display/hide posts and comments counts on profile.", 'upme'), "group" => "Display Options"), array("type" => "dropdown", "holder" => "div", "class" => "", "heading" => __("Display Social Bar", 'upme'), "param_name" => "show_social_bar", "value" => array(__("Yes", 'upme') => 'yes', __("No", 'upme') => 'no'), "std" => 'yes', "description" => __("This is used to display/hide social icons on profile.", 'upme'), "group" => "Display Options"), array("type" => "dropdown", "holder" => "div", "class" => "", "heading" => __("Display User Role", 'upme'), "param_name" => "show_role", "value" => array(__("No", 'upme') => 'no', __("Yes", 'upme') => 'yes'), "std" => 'no', "description" => __("This is used to display/hide user role on profile.", 'upme'), "group" => "Display Options"))));
 }