VibeFox Gamification — Help
Requirements
WordPress: 6.0 or later.
WooCommerce: 7.0 or later, installed and active. WordPress does not activate the plugin without it.
PHP: 8.0 or later.
VibeFox license key: bought on vibefox.net. One key works on one domain.
Installation
1. In WordPress go to Plugins > Add New > Upload Plugin, choose the plugin ZIP file and click Install Now. You can also upload the vfw_gamification folder to /wp-content/plugins/ by FTP.
2. Click Activate. WordPress opens VF Gamification > Settings > License. Paste your VibeFox license key into License key and click Activate. Until the key is active the plugin stays switched off and its menu shows only Settings (see License key).
3. Once the key is active, the plugin creates its tables, five default levels and the default earning rules. The menu VF Gamification appears with the pages Dashboard, Points, Members, Badges, Levels, Rewards, Referrals, Leaderboard, Banners and Settings.
4. Open VF Gamification > Settings to choose how purchase points are calculated and which modules are on.
5. Add at least one reward in VF Gamification > Rewards so customers can spend their points, and optionally badges and banners.
6. Customers find everything in My Account > My Points. If the tab shows a 404 page, go to Settings > Permalinks and click Save Changes once.
Configuration
General settings are on VF Gamification > Settings; the sections are listed on the left. Click Save Changes to save them. Earning rules, levels, badges, rewards and banners have their own admin pages (see Admin pages). On a multilingual site the text fields have their own value per language.
General > Modules
Each module can be switched off. All are on by default.
Points: automatic points for purchases, reviews, visits and other actions. Manual adjustments always work.
Levels: levels by points earned, with point multipliers.
Badges: badges awarded automatically when their conditions are met.
Rewards: customers exchange points for personal coupons.
Referral program: referral links and bonuses for invited friends.
Leaderboard: the [vfw_g_leaderboard] shortcode and REST endpoint.
Engagement banners: banners on product, cart, checkout and account pages.
Floating widget: a points badge in the corner of every page for logged-in customers.
Points > Purchases
Points label: the word displayed for points, for example Points, Coins or Stars. Empty = "Points" in the site language.
Purchase points: how purchase points are calculated.
Rate (N): default 1. Counted on product prices after discounts, without tax and shipping, then multiplied by the customer's level. Example: 1 per unit means a 25 € order earns 25 points; 5 % means 1 point. A product can override it in Product data > General with the field Points for purchase (points per purchased item, before the level multiplier; empty = default calculation).
Order statuses that award points: Completed (default) and/or Processing. Processing means paid online; cash on delivery orders earn on Completed. Cancelled, failed and refunded orders take the points back.
Points > Expiration
Points expire:
Expire after N days: default 365. Checked once a day. "After earning" applies to points earned after it was switched on. The balance never goes below zero because of expiry.
Display
My Account tab title: per language. Default: My Points.
Floating widget > Position: Bottom right (default), Bottom left, Top right or Top left.
Floating widget > Accent color: default #0073aa.
Leaderboard > Names shown publicly: First name + initial ("Anna K.", default), Display name, or Anonymous ("A***"). E-mails and logins are never shown.
Leaderboard > Show avatars: default on.
Referrals
Referral cookie lifetime (days): how long after clicking a referral link a sign-up still counts. Default 30.
Minimum order amount for the purchase bonus: the inviter gets the "Referral purchase" points when the friend completes an order of at least this amount. 0 = any amount (default). Sign-ups from one IP address are limited to 3 per inviter per day.
E-mails
Switches for the customer e-mails, all on by default: Points earned for an order, New level reached, New badge earned. The e-mails use the WooCommerce e-mail design and sender. Templates can be overridden in the theme: yourtheme/vfw-gamification/emails/.
Cron
Daily tasks: point expiry, birthday and anniversary bonuses run once a day via WP-Cron. The section shows the next and the last run. If WP-Cron is disabled on your server, call the URL shown there once a day from a real cron job.
Logging
Enable logging: written to a protected PHP file in the plugin folder (logs/vfw_g_log.php). Default: off.
Log level: Info (every points change), Warning or Error (default).
Log: the latest log entries.
Uninstall & Clear
Delete all data when the plugin is deleted: removes all points, badges, levels, rewards, referrals and settings. Coupons already issued stay in WooCommerce. Deactivating the plugin never deletes data. Default: off.
Cleanup buttons, each with the number of entries: Delete Disabled Banners; Delete Unused Reward Coupons (revokes unused reward coupons; coupons held by a checkout or referenced by an order are kept; points spent on rewards are not refunded); Delete Log Entries; Clear Leaderboard Cache (rankings are recalculated when the leaderboard is next opened).
License, Status, Import / Export
License holds the license block (see License key). Status shows your PHP, WordPress and WooCommerce versions against the minimum versions, and the multilingual support. Import / Export saves the settings to a JSON file and loads them on another site.
Admin pages
Dashboard
Totals: points issued (and in the last 30 days), points spent on rewards, outstanding balance customers can still redeem, members, badges awarded and reward coupons (and how many were used). Below are a setup checklist, Top members and Latest activity.
Points > Earning rules
One row per action with Points, Limit (0 = unlimited) with a period (in total, per day, per week, per month, per year), Level multiplier and Active. Click Save rules to save. Default amounts:
The level multiplier is on by default for purchase, daily visit, product review and social share.
Points > Transactions
The full points ledger: date, member, action, points, balance after, reference and note. Filters by member (e-mail, name or user ID), action and dates, sorting, and Export CSV.
Members
Customers with points (or all users) with balance, points earned in total, level, badges and last activity, with search and sorting. The member page shows the level progress, Add or remove points (Points (negative to remove) and Reason (shown to the customer)), Badges with Revoke, Award a badge, Reward coupons with their status (Valid, Used, Expired) and the Points history with Export CSV. A revoked badge keeps its bonus points; adjust them manually if needed.
Badges
Badges are awarded automatically when a customer meets the conditions, checked whenever they earn points or complete an order. Check all members now awards new badges to customers who already qualify. Add badge fields: Name, Rarity (Common, Rare, Epic, Legendary), Description (shown to customers), Image (square PNG/SVG, optional) from the Media Library, Bonus points when earned, Active, Secret (name and conditions hidden until earned) and Conditions. The customer must meet all conditions or any condition of: Points earned (lifetime) ≥, Paid orders ≥, Total spent ≥, Approved product reviews ≥, Invited friends ≥, Level reached, Days since registration ≥. Leave all rows empty for a badge you award manually on the member page. Each badge is awarded only once.
Levels
Customers reach a level by the points they have earned in total; spending points never lowers the level. Fields: Name, Color, Reached at (points earned in total) and Points multiplier. Default levels: Bronze from 0 (×1), Silver from 500 (×1.2), Gold from 2000 (×1.5), Platinum from 5000 (×2), Diamond from 10000 (×3). Two levels cannot start at the same number of points.
Rewards
Customers exchange points for a personal single-use coupon in My Account > My Points > Rewards. Add reward fields: Name, Type (Fixed cart discount, Percentage discount, Free shipping, Free product (1 item)), Description (shown to customers), Cost in points, Discount (amount or %), Free product, Available from level, Minimum cart amount for the coupon, Coupon valid for (days, 0 = no expiry), Times per customer (0 = unlimited), Total available (0 = unlimited) and Active. Coupons are single-use and restricted to the customer's e-mail. A reward that was already redeemed is switched off instead of deleted, and issued coupons keep working.
Referrals
Invited customers with the inviter, status (Registered, Made a purchase, Blocked (IP limit)), sign-up date and first purchase date.
Leaderboard
Points earned in the period: spent points still count, cancelled orders do not. Updated at most once an hour. The page shows each member's place, the name shown publicly and the level.
Banners
Add banner fields: Name (internal), Type (Next level (progress bar), How to earn points, Reward available), Placement (Product page, Cart, Checkout, My Account dashboard, Only via shortcode), Accent color, Text (empty = default text) with the placeholders {balance} {label} {level} {next_level} {remaining} {points}, and Active. A preview for your account is shown. Example: "Only {remaining} {label} to {next_level}!" on the cart page.
How it works
Product page: logged-in customers see "Buy and earn N Points" and, with the social share rule on, share buttons with "Share and earn N Points:".
Cart and checkout: a line You will earn shows the points for the current cart. In the Cart block it reads "You will earn N Points with this order".
Orders: when an order reaches an awarding status, the points are added once and noted on the order. Customer order e-mails show Points earned. A cancelled, failed or refunded order takes the points back; a partial refund takes back its share, and a full refund also removes the first purchase bonus. Pending payment and On hold orders never earn points.
My Account > My Points: the balance (Available), points earned in total, Your level with a progress bar to the next level, and the tabs History, Badges (earned and locked; secret badges stay hidden), Rewards (with Redeem, or Not enough points) with My coupons, and Invite friends with the referral link, a Copy button and the list of invited friends.
Redeeming: the balance, level and limits are checked on the server under a lock, so two parallel requests cannot spend the same points or exceed a limit. The coupon appears in My coupons. If WooCommerce cannot create the coupon, the points are returned.
Referrals: the referral link sets a cookie for the cookie lifetime; the first link wins. Self-referrals do not count, and sign-ups from one IP address are limited to 3 per inviter per day (the real connection address; forged proxy headers are ignored).
Floating widget: logged-in customers see their points and level progress in a corner of every page, with a link to My points & rewards. It is hidden on the checkout.
Birthday: customers enter the date once in My Account > Account details.
Multilingual: with WPML, Polylang or qTranslate-XT the points label, the tab title and the names of badges and rewards can be set per language.
The plugin works with WooCommerce High-Performance Order Storage (HPOS) and the Cart and Checkout blocks. Front-end files load only on pages that show plugin output.
Shortcodes
[vfw_g_points]: the balance. guest_text="…" shows a login link to guests.
[vfw_g_level], [vfw_g_progress]: the current level and the progress bar.
[vfw_g_badges show="earned|all"]: badges.
[vfw_g_leaderboard period="all|monthly|weekly" limit="50" per_page="10"]: the leaderboard with the current customer's place.
[vfw_g_rewards], [vfw_g_history limit="10"], [vfw_g_referral_link]: rewards, history and the referral link.
[vfw_g_banner type="target|get_points|reward"] or [vfw_g_banner id="3"]: a banner.
[vfw_g_points_for_product id="123"]: the points for a product.
Templates for My Points, badges, rewards, leaderboard, widget and e-mails can be copied to yourtheme/vfw-gamification/ and edited there.
REST API
Base: /wp-json/vfw-gamification/v1/. points/{user_id} (GET for the customer's own points or a shop manager, POST for shop managers), transactions/{user_id}, badges, badges/{user_id}, levels, leaderboard (public, no personal data), rewards, rewards/redeem (logged-in customers), referral/{user_id}.
License key
VibeFox license key: bought on vibefox.net. One key works on one domain.
The plugin works only with an activated key. Without it the plugin is switched off: its features, shortcodes, blocks, admin pages, scheduled tasks and e-mails do not run, and its menu shows only Settings with the License tab. Your settings and data are kept and come back as soon as a key is activated. Right after you activate the plugin in Plugins, WordPress opens this tab.
Open VF Gamification > Settings > License, paste the key into License key and click Activate. The plugin switches on at once (the page reloads). The block License — VibeFox Gamification then shows the masked key, the status Active until with the date and the domain, the buttons Check now, Change key, Remove key and the link Manage licenses and domains in your account.
Messages under the field: The key looks incomplete — copy the whole key from your account. (nothing is sent), Key not found. Check that you copied the whole key from your account., This key belongs to another product. (use the key bought for VibeFox Gamification) and Domain limit reached (free a slot for this domain in your account, then click Check now). After the site address changes, click Check now.
An expired license keeps the plugin working, but without updates and support. Remove key switches the plugin off on this site; the domain slot is freed only in your vibefox.net account. If the license server cannot be reached, the plugin keeps working on the last known status. When the plugin is deleted, the key and its status are always removed.
Troubleshooting
The plugin menu shows only Settings: the license key is not active. Open VF Gamification > Settings > License and click Activate (or Check now if a key is already entered); the messages under the field are explained in License key.
My Points shows a 404 page: go to Settings > Permalinks and click Save Changes once.
No points for an order: points are awarded only at the statuses in Order statuses that award points (default Completed), for customers with an account, and only when the Points module and the Purchase rule are on.
Customers cannot spend points: add at least one active reward. A customer sees No rewards available at your level yet. when every reward needs a higher level.
Redeem messages: Not enough points., This reward requires a higher level., You have already redeemed this reward the maximum number of times., This reward is no longer available. (total limit reached), Please try again in a moment. (another redemption is running).
Free shipping reward does not work: WooCommerce applies free shipping coupons only with a Free shipping method that requires a valid free shipping coupon in the customer's shipping zone.
New badge conditions are not applied to existing customers: click Check all members now on the Badges page.
Expiry or birthday bonuses do not run: check Settings > Cron. If WP-Cron is disabled, call the shown URL once a day.
For developers: actions vfw_g_points_earned, vfw_g_points_spent, vfw_g_badge_earned, vfw_g_level_up, vfw_g_referral_converted, vfw_g_reward_redeemed; filters vfw_g_points_amount, vfw_g_earning_rules, vfw_g_level_multiplier, vfw_g_leaderboard_query, vfw_g_leaderboard_name, vfw_g_reward_available, vfw_g_order_points, vfw_g_unpaid_processing_methods, vfw_g_referral_ip_daily_limit, vfw_g_client_ip, vfw_g_show_widget.
Uninstall
Deactivating the plugin keeps all data and only stops the daily task. To remove the plugin, deactivate and delete it on the Plugins page. The daily task and the license key and license status of this plugin are always removed. Points, transactions, badges, levels, rewards, referrals, banners, earning rules, settings, the plugin's user, product, order and review data, and the log files are removed only if Delete all data when the plugin is deleted was on. Otherwise they stay for a later re-install. Coupons that were already issued stay in WooCommerce.
Facebook, X, Telegram and WhatsApp are trademarks of their respective owners. This plugin is not affiliated with or endorsed by them.
