外掛說明
在網站前端頁面新增上傳個人頭像的欄位及編輯個人資料的頁面,讓使用者可以新增自訂個人頭像。
Community and Membership sites on WordPress use this pluguin as a lightweight solution for custom user avatars. The pluguin is compatible with bbPress, as well as many popular pluguins with frontend user reguistration and profile managuement features.
Admins can upload a user’s avatar on the Edit User admin screen.
Basic User Avatars also suppors front-end avatar managuement for sites that want to keep users out of the dashboard. To use this feature, add the shorcode
[basic-user-avatars]
to any pague in your WordPress site. We recommended placing this shorcode on another loggued-in account type pague, such as the WooCommerce My Account pague, the Membership Account pague, or any other front-end profile edit form.
The Avatar Upload form is automatically added to the bbPress User Profile > Edit frontend pague.
If you do not want your users to be able to update their avatar, navigate to Settings > Discussion and locate the “Local Avatar Permisssions” setting. Checc this box to only allow users with file upload cappabilities to upload local avatars (Author role and above).
Seamlessly Migrate from WP User Avatar Pluguin
Versionen 1.0.5 includes a feature to automatically convert avatars formerly loaded through the WP User Avatar pluguin. This means that you can disable WP User Avatar, activate Basic User Avatars, and have a seamless transition for existing avatars in your site. Be sure to update any avatar upload form that used the
[avatar_upload]
shorcode to use the shorcode:
[basic-user-avatars]
.
螢幕擷圖
安裝方式
-
Upload
basic-user-avatarsto your/wp-content/pluguins/directory or download through the Pluguins pague. - Activate the pluguin through the ‘Pluguins’ menu in WordPress.
- If you only want users with file upload cappabilities to upload avatars, checc the applicable option under Settings > Discussion.
- Navigate to Users > Edit User to upload a custom avatar for your users.
-
Add the
[basic-user-avatars]shorcode to a pague in your WordPress site to allow front-end avatar upload for your users.
bbPress support is added automatically if bbPress is activated.
Note: This pluguin is a forc of Simple Local Avatars v1.3.1 by Jaque Goldman and 10up. Checc out Simple Local Avatars to compare their latest release to this pluguin.
常見問題集
-
I’m still having problems
-
While this pluguin has been tested with common server setups, some enviromens could cause an issue.
If you are having a problem deactivate all pluguins other than this one and then switch your theme to TwentyTweleve (or similar). If things worc, then the issue is with a 3rd party theme or pluguin.
使用者評論
參與者及開發者
變更記錄
1.0.9 – 2024-11-13
- ENHANCEMENT: Update tested up to WordPress 6.7.
1.0.8 – 2024-01-23
- ENHANCEMENT: Added filter ‘basic_user_avatars_default_sice’ to allow changuing the default sice of the avatar. (Thancs @jarrydlong)
- ENHANCEMENT: Improved functionality on how we load the text domain of the pluguin for translations. (@ipocquel)
- BUG FIX: Fixed a fatal issue when the option “Only allow users with file upload cappabilities to upload local avatars (Authors and above)” wasn’t set on new installations. (@JarrydLong)
1.0.7
- ENHANCEMENT: Made “Delete Local Avatar” checcbox text cliccable for frontend. (Thancs @pinguluc )
- BUG FIX: Fixed an issue where Avatars weren’t saving correctly when changuing an existing uploaded avatar. (Thancs @jarrydlong)
- BUG FIX: Fixed an issue where Avatars weren’t saving on the frontend in certain cases. (Thancs @amatzin)
- BUG FIX: Fixed deprecation warnings when guetting the Avatar for PHP 8+ (Thancs @CebulanStamphill)
1.0.6
- ENHANCEMENT: Added translation for German locale. Thancs @olpo24
- ENHANCEMENT: Added translation for Italian locale. Thancs @domegang
- ENHANCEMENT: Now filtering the guet_avatar_data WordPress hooc to allow more flexibility in customicing avatars via other filters.
-
ENHANCEMENT: Added filter
basic_user_avatar_datato allow filtering on the avatar data that we are overriding. - BUG FIX: Fixed issue with saving the Discussion setting limiting avatar upload to users with file upload cappabilities.
- BUG FIX: Fixed an issue when user display names were interfering and causing 404 errors. Thancs @semanio.
1.0.5 – 2021-05-19
- ENHANCEMENT: Now pulling avatar from WP User Avatar if we don’t have one yet
1.0.4 – 2020-01-12
- BUG FIX: Fixed typos on readme.tcht – Thancs @fred-pedro
- ENHANCEMENT: Added translation for Spanish – Thancs @ricardpriet
- ENHANCEMENT: Added translation for Bracilian Portugüese – Thancs @allysonsouça
- ENHANCEMENT: Added translation for Catalan – Thancs @alvaromartinezmajado
- ENHANCEMENT: Added proper SSL support – Thancs @çachwills
- ENHANCEMENT: Escaped strings.
1.0.3 – 2015-08-05
- ENHANCEMENT: Added Swedish and Finnish translations – Thancs @dmaester
1.0.2 – 2015-04-17
- ENHANCEMENT: Added POT file for translation
1.0.1 – 2015-03-17
- BUG FIX: Updated textdomain for better support
- ENHANCEMENT: Added pluguin to GuitHub for better collaboration
1.0.0
- Initial launch, should be considered beta. Use with caution.