Skip to content

Commit 428d70c

Browse files
committed
Prepare version 1.3.0
Added the "Color" tab to wp-admin > Ultimate Member > Settings > Appearance. Customized colors for extensions: - bbPress - Followers - Friends - Groups - ForumWP - JobBoardWP - Private Messages - Profile Completeness - Real-time Notifications - Social Activity - Social Login - User Bookmarks - User Notes - User Photos - User Reviews - WooCommerce - Verified Users Improved SQL queries optimization: - Added the "Speed up Reviews" setting. - Fixed the sql error in CAST(var AS NUMERIC) The plugin has been renamed to “Ultimate Member - Optimize and Color” since a new feature has been added.
1 parent c31dac8 commit 428d70c

28 files changed

+4250
-1361
lines changed

README.md

Lines changed: 82 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
1-
# Ultimate Member - Optimize
1+
# Ultimate Member - Optimize and Color
22

3-
Optimize loading for sites with the Ultimate Member plugin.
3+
Improves the performance of sites with Ultimate Member. Customize Ultimate Member colors.
44

55
## Key Features
66

77
- Removes CSS and JS files that belongs to Ultimate Member and its extensions on pages that do not have Ultimate Member components.
8-
- Combines CSS and JS files that belongs to Ultimate Member and its extensions on pages with Ultimate Member components.
8+
- Combines CSS and JS files that belongs to Ultimate Member and its extensions.
99
- Allows using Profile Photo and Cover Photo images from the browser cache.
1010
- Optimizes SQL queries to get posts and users faster.
11+
- Adds settings to customize Ultimate Member colors.
1112

1213
## Installation
1314

14-
__Note:__ This plugin requires the [Ultimate Member](https://wordpress.org/plugins/ultimate-member/) plugin to be installed first.
15+
**Note:** This plugin requires the [Ultimate Member](https://wordpress.org/plugins/ultimate-member/) plugin to be installed first.
1516

1617
### How to install from GitHub
1718

@@ -23,17 +24,69 @@ Once the plugin is cloned, enter your site admin dashboard and go to _wp-admin >
2324

2425
### How to install from ZIP archive
2526

26-
You can install this plugin from the [ZIP file](https://drive.google.com/file/d/1VBFGrOLrKmiFRCkPCeRUW6MTRjoOUA-P/view) as any other plugin. Follow [this instruction](https://wordpress.org/support/article/managing-plugins/#upload-via-wordpress-admin).
27+
You can install the plugin from this [ZIP file](https://drive.google.com/file/d/1DCro3M0qR4pUzx4SgHVNun0_c0V9Rq-x/view) as any other plugin. Follow [this instruction](https://wordpress.org/support/article/managing-plugins/#upload-via-wordpress-admin).
2728

2829
## How to use
2930

30-
Go to *wp-admin > Ultimate Member > Settings > General > Optimize* to manage settings.
31+
### How to customize Ultimate Member colors
32+
33+
Go to _wp-admin > Ultimate Member > Settings > Appearance > Colors_ and turn on the **Enable custom colors** setting then use settings below to customize Ultimate Member colors.
34+
35+
The **Colors** tab also contains tools that may be helpful:
36+
37+
- **Reset colors** - Restore the default color set, close to Ultimate Member's own colors. Current colors will be overridden.
38+
- **Export colors** - Save current color set to the _json_ file.
39+
- **Import colors** - Load color set from the _json_ file. Current colors will be overridden.
40+
41+
![UM Settings, Appearance, Color v1 3 0](https://github.com/user-attachments/assets/4333ac79-e02f-48b3-91b2-4be7bcf79e15)
42+
43+
#### Common
44+
45+
- **Active element**
46+
- **Active element text**
47+
- **Background**
48+
- **Light line**
49+
- **Line**
50+
- **Text**
51+
52+
#### Links and buttons
53+
54+
- **Link**
55+
- **Link hover**
56+
- **Primary button**
57+
- **Primary button hover**
58+
- **Primary button text**
59+
- **Secondary button**
60+
- **Secondary button hover**
61+
- **Secondary button text**
62+
63+
#### Fields and filters
64+
65+
- **Active element**
66+
- **Background**
67+
- **Background for item**
68+
- **Border**
69+
- **Placeholder**
70+
- **Text**
71+
- **Label**
72+
73+
#### Profile menu
74+
75+
- **Active tab**
76+
- **Background**
77+
- **Hover**
78+
- **Text**
79+
80+
### How to optimize Ultimate Member to improve performance
81+
82+
Go to _wp-admin > Ultimate Member > Settings > General > Optimize_ to manage settings.
3183

3284
![UM Settings, General, Optimize (v1 2 0)](https://github.com/user-attachments/assets/4eb8dae7-ae59-49c6-8f8a-b3f0111ef601)
3385

34-
### CSS and JS
86+
#### CSS and JS
3587

36-
Ultimate Member loads various styles and scripts that are necessary for its components to work. Extensions can also load their own styles and scripts. Loading many styles and scripts can slow down page rendering.
88+
Ultimate Member loads various styles and scripts that are necessary for its components to work.
89+
Extensions can also load their own styles and scripts. Loading many styles and scripts can slow down page rendering.
3790
It is recommended to disable loading of Ultimate Member styles and scripts on pages that do not have its components.
3891

3992
Loading one large style or script file has less impact on page rendering delay than loading multiple files.
@@ -44,9 +97,10 @@ It is recommended to combine multiple Ultimate Member styles and scripts into on
4497
- **Combine styles** - Combine CSS files queued by the Ultimate Member plugin and its extensions.
4598
- **Combine scripts** - Combine JS files queued by the Ultimate Member plugin and its extensions.
4699

47-
### Images
100+
#### Images
48101

49-
Ultimate Member does not allow using Cover Photo and Profile Photo images from the browser cache. This approach is safe and secure, but it slows down rendering pages with Ultimate Member components and loading the member directory.
102+
Ultimate Member does not allow using Cover Photo and Profile Photo images from the browser cache.
103+
This approach is safe and secure, but it slows down rendering pages with Ultimate Member components and loading the member directory.
50104
It is recommended to allow using images from the browser cache if your site is public.
51105

52106
Ultimate Member uses the largest Cover Photo thumbnail in the member directory on the desktop. Such large images are usually not necessary.
@@ -56,25 +110,36 @@ It is recommended to use an image that is 500px wide or slightly larger.
56110
- **Cover Photo caching** - Allow using Cover Photo images from the browser cache.
57111
- **Cover Photo size in directory** - Select the size of the Cover Photo thumbnail for the member directory.
58112

59-
### SQL queries
113+
#### SQL queries
60114

61-
Ultimate Member uses the standard WP_Query and WP_User_Query classes to build database queries. Queries built this way are reliable and stable, but not optimized. This slows down retrieving users in the user directory and posts in extensions that use custom post type, which slows down page rendering.
115+
Ultimate Member uses the standard WP_Query and WP_User_Query classes to build database queries.
116+
Queries built this way are reliable and stable, but not optimized.
117+
This slows down retrieving users in the user directory and posts in extensions that use custom post type, which slows down page rendering.
62118
It is recommended to enable SQL queries optimization to get posts and users faster.
63119

64120
- **Speed up member directories** - *(optional)* Optimize the SQL query that retrieves users for the member directory.
65121
- **Speed up Activity** - *(optional)* Optimize the SQL query that retrieves posts for the [Social Activity](https://ultimatemember.com/extensions/social-activity/) extension.
66122
- **Speed up Groups** - *(optional)* Optimize the SQL query that retrieves posts for the [Groups](https://ultimatemember.com/extensions/groups/) extension.
67123
- **Speed up Notes** - *(optional)* Optimize the SQL query that retrieves notes for the [User Notes](https://ultimatemember.com/extensions/user-notes/) extension.
68124
- **Speed up Photos** - *(optional)* Optimize the SQL query that retrieves albums for the [User Photos](https://ultimatemember.com/extensions/user-photos/) extension.
125+
- **Speed up Reviews** - *(optional)* Optimize the SQL query that retrieves reviews for the [User Reviews](https://ultimatemember.com/extensions/user-reviews/) extension.
69126

70127
## Support
71128

72-
This is a free extension created for the community. The Ultimate Member team does not provide support for this extension. Open new [issue](https://github.com/umdevelopera/um-optimize/issues) if you are facing a problem or have a suggestion.
129+
This is a free extension created for the community. The Ultimate Member team does not provide support for this extension.
130+
Open new [issue](https://github.com/umdevelopera/um-optimize/issues) if you are facing a problem or have a suggestion.
131+
132+
**Please give a star if you think this extension is useful. I wish to know how many people use it. Thanks.**
133+
134+
## Useful links
135+
136+
[Ultimate Member core plugin info and download](https://wordpress.org/plugins/ultimate-member)
137+
138+
[Ultimate Member documentation](https://docs.ultimatemember.com)
73139

74-
### Related links
140+
[Official extensions for Ultimate Member](https://ultimatemember.com/extensions/)
75141

76-
Ultimate Member home page: https://ultimatemember.com
142+
[Free extensions for Ultimate Member](https://docs.google.com/document/d/1wp5oLOyuh5OUtI9ogcPy8NL428rZ8PVTu_0R-BuKKp8/edit?usp=sharing)
77143

78-
Ultimate Member documentation: https://docs.ultimatemember.com
144+
[Code snippets for Ultimate Member](https://docs.google.com/document/d/1_bikh4JYlSjjQa0bX1HDGznpLtI0ur_Ma3XQfld2CKk/edit?usp=sharing)
79145

80-
Ultimate Member download: https://wordpress.org/plugins/ultimate-member

0 commit comments

Comments
 (0)