Title: Weal Profile
Author: Leo
Published: <strong>2026 年 5 月 26 日</strong>
Last modified: 2026 年 6 月 10 日

---

搜索插件

![](https://s.w.org/plugins/geopattern-icon/weal-profile.svg)

# Weal Profile

 作者：[Leo](https://profiles.wordpress.org/leouix/)

[下载](https://downloads.wordpress.org/plugin/weal-profile.1.4.0.zip)

 * [详情](https://cn.wordpress.org/plugins/weal-profile/#description)
 * [评价](https://cn.wordpress.org/plugins/weal-profile/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/weal-profile/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/weal-profile/#developers)

 [支持](https://wordpress.org/support/plugin/weal-profile/)

## 描述

Weal Profile adds a dedicated front-end account page for authenticated users (default:`/
my-account`), allowing them to manage selected profile fields without accessing 
the WordPress admin dashboard.

The plugin also includes an admin settings page where site administrators can configure
the account page and choose which profile fields are editable by users.

### Admin Features

Available in the WordPress admin menu under **Weal Profile**.

Administrators can:

 * Enable or disable profile fields shown on the public account page
 * Set a custom URL slug for the personal account page (default: `/my-account`)
 * Enable or disable the comment likes/dislikes system

Available profile fields:

 * Avatar\Gravatar
 * Display Name
 * Website URL
 * Nickname
 * First Name
 * Last Name
 * Biography

### Front-End User Features

On the public account page, logged-in users can:

 * Edit their personal profile information (based on admin settings)
 * Upload and remove a profile avatar
 * View their comment activity and reaction statistics (likes/dislikes received)

### Post Rating System

A 5-star rating system is automatically displayed on single post pages. Features:

 * Visitors can rate posts from 1 to 5 stars
 * Rating is stored in post meta (`rating_sum`, `rating_count`, `rating_average`)
 * Partial star visualisation (e.g. 3.5 stars shows 3 full + 1 half-filled star)
 * Anti-double-vote protection via cookies
 * AJAX-based submission with instant UI update
 * Schema.org `AggregateRating` markup for SEO

### Comment Likes / Dislikes

Logged-in users can like or dislike comments on posts. Features:

 * Toggle likes and dislikes with a single click
 * Active state visual feedback on voted buttons
 * Vote counts update instantly via AJAX
 * Configurable toggle in admin settings to enable/disable the system
 * Comment reaction statistics shown on the user profile page (total likes/dislikes
   received, top voted comments)
 * Dedicated database table (`weal_comment_votes`) for efficient vote storage
 * Unique constraint prevents duplicate votes per user per comment

### Achievements System

A motivational achievements and badges system that rewards users based on their 
comment activity. Features:

 * **Active User** badge — awarded when a user reaches a configurable threshold 
   of approved comments
 * **Nice User** badge — awarded when a user receives a configurable number of likes
   on comments
 * **Angry User** badge — awarded when a user receives a configurable number of 
   dislikes on comments
 * Badges are displayed on user avatars in the comments section
 * Configurable comment count targets for each achievement via the admin panel
 * REST API endpoints for managing achievement settings

### Activity Center

The plugin provides a convenient centralized space where users can track their comment
history and quickly return to conversations they participated in.

### Database

The plugin creates a custom database table on activation:

 * `wp_weal_comment_votes` — stores comment likes/dislikes (comment_id, user_id,
   is_liked, created_at)

When updating the plugin, the table is automatically created or updated via a version
check — no need to deactivate and reactivate.

## 屏幕截图

[[

[[

[[

[[

## 安装

 1. Upload the plugin folder to the `/wp-content/plugins/` directory, or install it
    through the WordPress Plugins screen.
 2. Activate the plugin through the **Plugins** menu in WordPress.
 3. Go to **WordPress Admin  Weal Profile**.
 4. Configure the account page URL and choose which profile fields users can edit.
 5. Visit the account page (default: `/my-account`) while logged in.

## 常见问题

### How can I access another user’s page?

Currently, users can only view and manage their own account information.

Support for public or shared user profile pages may be added in a future release.

### How does the rating system prevent double voting?

Each vote sets a cookie (`weal_voted_post_{post_id}`) valid for 1 year. Both the
REST API and JavaScript check for existing cookies to prevent multiple votes from
the same browser.

### Can I disable the comment likes feature?

Yes. Go to **WordPress Admin  Weal Profile** and uncheck “Enable likes and dislikes
on comments”.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Weal Profile」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Leo ](https://profiles.wordpress.org/leouix/)
 *   [ weal ](https://profiles.wordpress.org/weal/)

[帮助将「Weal Profile」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/weal-profile)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/weal-profile/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/weal-profile/)，或通过[RSS](https://plugins.trac.wordpress.org/log/weal-profile/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/weal-profile/)。

## 更新日志

### 1.4.0

 * Added achievements system: Active User, Nice User, and Angry User badges based
   on comment activity
 * Configurable comment count targets for each achievement in admin settings
 * Badge display on user avatars in comments
 * REST API endpoints for achievements management in admin panel

### 1.3.1

 * Added comment reactions display on user profile page
 * Improved user interaction with the interface

### 1.3.0

 * Added client-side caching
 * Improved user interaction with the interface

### 1.2.2

 * Improved responsive layout and styling for the profile page

### 1.2.1

 * Added display of records on the user page

## 额外信息

 *  版本 **1.4.0**
 *  最后更新：**2 天前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 6.2 或更高版本 **
 *  已测试的最高版本为 **7.0**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/weal-profile/)
 * 标签
 * [account page](https://cn.wordpress.org/plugins/tags/account-page/)[user account](https://cn.wordpress.org/plugins/tags/user-account/)
   [user profile](https://cn.wordpress.org/plugins/tags/user-profile/)
 *  [高级视图](https://cn.wordpress.org/plugins/weal-profile/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/weal-profile/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/weal-profile/reviews/)

## 贡献者

 *   [ Leo ](https://profiles.wordpress.org/leouix/)
 *   [ weal ](https://profiles.wordpress.org/weal/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/weal-profile/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://www.donationalerts.com/r/weal_plugin)