SlimWP Simple Points
A lightweight dual-balance points system for WordPress with free and permanent points tracking.
by Hasan Aboul Hasan · github.com/hassancs91/slimwp-simple-points-plugin · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/hassancs91/slimwp-simple-points-plugin/archive/refs/heads/main.zipReadme
SlimWP Simple Points
A lightweight dual-balance points system for WordPress with free and permanent points tracking.
Description
SlimWP Simple Points is a flexible and powerful points management system for WordPress that allows you to implement gamification, loyalty programs, and user engagement features on your website. The plugin features a unique dual-balance system with both free (temporary) and permanent points.
Features
Core Features
- Dual Balance System: Manage both free/temporary points and permanent points
- User Dashboard: Beautiful user-facing dashboard for points management
- Admin Management: Comprehensive admin interface for managing user points
- Transaction History: Complete audit trail of all point transactions
- Shortcodes: Display points and balances anywhere on your site
- Security: Built with WordPress security best practices
Integrations
- WooCommerce Integration: Award points for purchases and allow points redemption
- Paid Memberships Pro Integration: Points based on membership levels
- Stripe Integration: Direct points purchase via Stripe
- Custom Hooks: Extensive hooks for developers to extend functionality
Developer Features
- REST API: Full REST API support for points management
- Hooks & Filters: Extensive customization options
- Clean Code: Following WordPress coding standards
- Database Optimized: Efficient database queries with proper indexing
Requirements
- WordPress 5.0 or higher
- PHP 7.4 or higher
- MySQL 5.6 or higher
Installation
From WordPress Admin
- Download the plugin zip file
- Navigate to Plugins > Add New in your WordPress admin
- Click "Upload Plugin" and select the downloaded file
- Click "Install Now" and then "Activate"
Manual Installation
- Download and unzip the plugin
- Upload the
slimwp-simple-pointsfolder to/wp-content/plugins/ - Activate the plugin through the 'Plugins' menu in WordPress
From GitHub
- Clone this repository or download as ZIP
- Place in your
/wp-content/plugins/directory - Activate through WordPress admin
Configuration
After activation:
- Navigate to SlimWP Points in your WordPress admin menu
- Configure your point settings in the Settings tab
- Set up integrations (WooCommerce, PMPro, Stripe) as needed
- Customize email notifications and messages
Usage
Shortcodes
Display user's total balance:
[slimwp_points_balance]
Display free points only:
[slimwp_points_balance type="free"]
Display permanent points only:
[slimwp_points_balance type="permanent"]
Display points dashboard:
[slimwp_points_dashboard]
PHP Functions
Get user's total balance:
$balance = slimwp_get_user_balance($user_id);
Add points to user:
slimwp_add_points($user_id, $amount, $type, $description);
Deduct points from user:
slimwp_deduct_points($user_id, $amount, $type, $description);
Hooks & Filters
Actions
slimwp_after_add_points- Fired after points are addedslimwp_after_deduct_points- Fired after points are deductedslimwp_after_transfer_points- Fired after points transfer
Filters
slimwp_points_balance_display- Modify balance displayslimwp_can_add_points- Control point additionslimwp_can_deduct_points- Control point deduction
WooCommerce Integration
When WooCommerce is active:
- Enable integration in SlimWP Points > Settings > WooCommerce
- Set points per currency unit
- Configure redemption settings
- Points will be automatically awarded on order completion
Paid Memberships Pro Integration
When PMPro is active:
- Enable integration in SlimWP Points > Settings > PMPro
- Configure points per membership level
- Set renewal point bonuses
- Points will be awarded on membership activation/renewal
Support
For support, feature requests, and bug reports, please use the GitHub Issues page.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Security
If you discover any security related issues, please email the author directly instead of using the issue tracker.
Changelog
1.0.7
- Added Paid Memberships Pro integration
- Improved security measures
- Enhanced admin interface
- Bug fixes and performance improvements
1.0.0
- Initial release
- Core points system
- WooCommerce integration
- Stripe integration
License
This project is licensed under the GPL v2 or later - see the LICENSE file for details.
Author
Hasan Aboul Hasan
- Website: https://learnwithhasan.com
- GitHub: @hassancs91
Acknowledgments
- WordPress Community
- All contributors and testers
- Plugin Update Checker by Yahnis Elsts