UPME General Settings
You can find these settings under the General Settings section. These settings are intended for site-wide configurations that are not directly related to user profile management. Following screenshot preview the General Settings section.
Let’s take a look at the available options in General Settings section and their functionality.
This setting is used to define the stylesheet(theme) for UPME layouts. It will contain the value of default as default option. This means that the styles for UPME is generated from the
default.css file. This CSS file is located inside styles folder of UPME plugin.
By default, there is another option called None – I will use custom CSS. This option disables most of the UPME styles. If you choose this option, you will have to generate the necessary CSS for UPME through another plugin or your theme.
Also, you have the ability to use your own stylesheet(theme).Creating a custom theme is a simple process. First, you have to create a new css file inside the styles folder and copy all the styles from
default.css file. Then, you can adjust the styles as you wish in the custom CSS file. Once its saved, you will have the new CSS file available for selection in Style setting. Select the custom CSS file and save the setting to apply the custom CSS for UPME.
This setting defines the display date format for UPME. There are 10 date formats available for selection. No matter what format you use, dates will be stored in database using the mm/dd/yy format. The dates will be converted to the respective format, when displaying inside profiles. Following are the available formats for UPME date fields.
- mm/dd/yy – 02/09/2015
- yy/mm/dd – 2015/02/09
- dd/mm/yy – 09/02/2015
- yy-mm-dd – 2015-02-09
- dd-mm-yy – 09-02-2015
- mm-dd-yy – 02-09-2015
- MM d, yy – February 9, 2015
- d M, y – 9 Feb, 15
- d MM, y – 9 February, 15
- DD, d MM, yy – Monday, 9 February, 2015
There are scenarios where UPME users are confused about the usage of this setting. Assume that you are using another plugin to save the dates for users in a different fromat. Later, you want to use these data as a upme custom field and hence you create a new field. However, we expect the dates to be mm/dd/yy format. Therefore, you might face conflicts when working with dates from other plugin. In such scenarios, you will have to convert the dates into the UPME default format.
This setting defines the display status of WordPress admin bar on the top. There are 3 options available for selection called, Enabled, Hide from Non-Admin Users, Hide from All Users. Default options is Enabled. Let’s look at the functionality of each of these 3 options.
- Enabled – This options enables admin bar for all logged in users regardless of the user type.
- Hide from Non-Admin Users – This options hides admin bar for all logged in users, except administrators.
- Hide from All Users – This options hides admin bar for all logged in users, regarless of the user type.
Lighbox Avatar Cropping
This option lets users crop the profile image after uploading. By default, this setting is enabled. It’s not mandatory to enable this setting. However, its usefull for letting users crop images, so that they get the exact part of the image as profile picture. Also this prevents profile images with very large sizes.
Image cropping for profile image will appear as shown in the following screenshot. This image cropping box is loaded by clicking the Update Image button and uploading and image from Edit Profile section.
Please note that lightbox avatar cropping uses Fancybox script for its functionality. If you have other plugins or themes with older fancybox script versions, you might not be able to use the avatar cropping feature.
Use AJAX on Custom Fields
This option allows you to use AJAX for saving and updating custom fields. By default, this setting is disabled and normal form submissions will be used. As your custom fields list gets larger, it would be difficult to manage field updation or creation with normal form submissions. It will take considerable amount of time to make a single change and reload the list. In such scenarios, you can enable this option. After enabling, you can create or update multiple fields without refreshing the page. There will be AJAX success or error message for each field creation or updation. Once all the changes are made, you can refresh the page once to display all the changes made through AJAX.