FORGE-X: Upload source (ffe80540.zip)
Browse files- README.md +92 -7
- ffe80540/assets/css/admin.css +5 -0
- ffe80540/assets/js/admin.js +10 -0
- ffe80540/ffe80540.php +123 -0
- ffe80540/languages/ffe80540.pot +2 -0
- ffe80540/readme.txt +33 -0
- ffe80540/uninstall.php +6 -0
README.md
CHANGED
|
@@ -1,13 +1,98 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: gradio
|
| 7 |
-
sdk_version:
|
| 8 |
-
python_version: '3.13'
|
| 9 |
app_file: app.py
|
| 10 |
pinned: false
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
---
|
|
|
|
| 12 |
|
| 13 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: "DevOps & Infrastructure Loyalty Program and Rewards WordPress Plugin"
|
| 3 |
+
emoji: ⚙️
|
| 4 |
+
colorFrom: gray
|
| 5 |
+
colorTo: green
|
| 6 |
sdk: gradio
|
| 7 |
+
sdk_version: 4.44.0
|
|
|
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
+
license: mit
|
| 11 |
+
tags:
|
| 12 |
+
- devops
|
| 13 |
+
- infrastructure
|
| 14 |
+
- automation
|
| 15 |
+
- monitoring
|
| 16 |
+
- lead
|
| 17 |
+
- generation
|
| 18 |
+
- form
|
| 19 |
+
- booking
|
| 20 |
+
- appointment
|
| 21 |
+
- system
|
| 22 |
---
|
| 23 |
+
# DevOps & Infrastructure Loyalty Program and Rewards WordPress Plugin
|
| 24 |
|
| 25 |
+
Your DevOps team is burning out from manual infrastructure tasks—but you're leaving retention and engagement completely on the table. The DevOps & Infrastructure Loyalty Program and Rewards WordPress Plugin transforms how you reward your team's infrastructure expertise, automate recognition, and build a culture where operational excellence actually pays off.
|
| 26 |
+
|
| 27 |
+
This isn't just another WordPress plugin—it's a purpose-built loyalty ecosystem designed specifically for DevOps and infrastructure teams. By gamifying infrastructure milestones, automating reward distribution, and creating transparent career progression, you'll see measurable improvements in team retention, automation adoption, and operational discipline. It bridges the gap between your WordPress site and your DevOps workflow, making recognition automatic and rewards tangible.
|
| 28 |
+
|
| 29 |
+
## What's Included
|
| 30 |
+
|
| 31 |
+
- Automated milestone tracking for infrastructure deployments, incident resolution, and automation improvements
|
| 32 |
+
- Points-based reward system with customizable redemption options (PTO, equipment budgets, training funds)
|
| 33 |
+
- Leaderboards and team dashboards that celebrate infrastructure wins publicly
|
| 34 |
+
- Integration hooks for CI/CD pipelines to trigger loyalty rewards automatically
|
| 35 |
+
- Custom badge system recognizing DevOps certifications, infrastructure upgrades, and zero-downtime releases
|
| 36 |
+
|
| 37 |
+
## Who Is This For
|
| 38 |
+
|
| 39 |
+
- DevOps managers seeking to reduce team turnover while incentivizing automation-first culture
|
| 40 |
+
- Infrastructure teams at mid-sized tech companies wanting to gamify operational excellence
|
| 41 |
+
- SaaS companies using WordPress that need to retain and motivate their internal DevOps crews
|
| 42 |
+
- Tech organizations where infrastructure contributions are often invisible but mission-critical
|
| 43 |
+
|
| 44 |
+
## How It Works
|
| 45 |
+
|
| 46 |
+
Install the plugin directly into your WordPress site and connect it to your CI/CD and monitoring tools via webhooks or API keys. Configure your reward tiers, point values, and redemption options—then watch it automatically track infrastructure achievements and distribute points to your team. Your team logs in to their WordPress dashboard to view progress, redeem rewards, and celebrate wins.
|
| 47 |
+
|
| 48 |
+
## Frequently Asked Questions
|
| 49 |
+
|
| 50 |
+
**Does this integrate with my CI/CD pipeline?**
|
| 51 |
+
Yes. The plugin includes webhook endpoints and API documentation to connect with Jenkins, GitLab CI, GitHub Actions, and other major platforms. Infrastructure events automatically trigger point rewards.
|
| 52 |
+
|
| 53 |
+
**Can I customize rewards to match our company benefits?**
|
| 54 |
+
Completely. You define point values, redemption options, and reward categories. Whether it's PTO, conference budgets, or equipment upgrades, the plugin adapts to your company culture.
|
| 55 |
+
|
| 56 |
+
**Is this only for large DevOps teams?**
|
| 57 |
+
No. The plugin scales from 5-person teams to 100+ person infrastructure groups. Pricing is one-time at $38.98—perfect for startups and enterprises alike.
|
| 58 |
+
|
| 59 |
+
**How does it track infrastructure achievements?**
|
| 60 |
+
It monitors deployment counts, mean time to recovery, automation code commits, infrastructure-as-code updates, and incident prevention milestones through event webhooks and logs.
|
| 61 |
+
|
| 62 |
+
**Can team members see each other's progress?**
|
| 63 |
+
Yes. Built-in leaderboards and team dashboards create healthy competition while celebrating collective infrastructure wins—no visibility into individual salaries or benefits.
|
| 64 |
+
|
| 65 |
+
## What You Get
|
| 66 |
+
|
| 67 |
+
- Instant digital download
|
| 68 |
+
- Complete WordPress plugin with full documentation
|
| 69 |
+
- Free updates for life — pay once, own forever
|
| 70 |
+
- Setup guide and usage instructions
|
| 71 |
+
|
| 72 |
+
**Stop losing DevOps talent to burnout and invisibility—activate your infrastructure loyalty program for just $38.98 today and watch your team's retention and automation maturity soar.**
|
| 73 |
+
|
| 74 |
+
## 🚀 Usage
|
| 75 |
+
|
| 76 |
+
1. Click **Use in Spaces** above to run the demo directly
|
| 77 |
+
2. Or clone the repository and run locally:
|
| 78 |
+
|
| 79 |
+
```bash
|
| 80 |
+
git clone https://huggingface.co/spaces/WealthFromAI/devops-infrastructure-loyalty-program-and-rewards-wordpress-plugin-ffe8
|
| 81 |
+
cd devops-infrastructure-loyalty-program-and-rewards-wordpress-plugin-ffe8
|
| 82 |
+
pip install -r requirements.txt
|
| 83 |
+
python app.py
|
| 84 |
+
```
|
| 85 |
+
|
| 86 |
+
## 💰 Pricing
|
| 87 |
+
|
| 88 |
+
- **Demo**: Free on Hugging Face Spaces
|
| 89 |
+
- **Full Source Code**: $38.98
|
| 90 |
+
- Available on [Gumroad](https://gumroad.com) and [Whop](https://whop.com)
|
| 91 |
+
|
| 92 |
+
## 📄 License
|
| 93 |
+
|
| 94 |
+
MIT License — free to use, modify, and distribute.
|
| 95 |
+
|
| 96 |
+
---
|
| 97 |
+
|
| 98 |
+
*Built with [FORGE-X](https://github.com/WealthFromAI) — automated digital product engine*
|
ffe80540/assets/css/admin.css
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* ffe80540 Admin Styles */
|
| 2 |
+
.ffe80540-wrap { max-width: 800px; }
|
| 3 |
+
.ffe80540-notice { padding: 12px 16px; border-left: 4px solid #0073aa; background: #f0f6fc; margin: 16px 0; border-radius: 4px; }
|
| 4 |
+
.ffe80540-card { background: #fff; border: 1px solid #e0e0e0; border-radius: 6px; padding: 20px; margin-bottom: 16px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
|
| 5 |
+
.ffe80540-card h2 { margin-top: 0; color: #1d2327; }
|
ffe80540/assets/js/admin.js
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* ffe80540 Admin JS */
|
| 2 |
+
(function($) {
|
| 3 |
+
'use strict';
|
| 4 |
+
$(document).ready(function() {
|
| 5 |
+
// Status check
|
| 6 |
+
if (typeof ffe80540_vars !== 'undefined') {
|
| 7 |
+
console.log('ffe80540 admin loaded.');
|
| 8 |
+
}
|
| 9 |
+
});
|
| 10 |
+
})(jQuery);
|
ffe80540/ffe80540.php
ADDED
|
@@ -0,0 +1,123 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
/**
|
| 3 |
+
* Plugin Name: DevOps & Infrastructure Loyalty Program and Rewards WordPress Plugin
|
| 4 |
+
* Description: Points, tiers, referrals, and exclusive access for repeat DevOps & Infrastructure customers. Drive repeat purchases without third-party loyalty apps.
|
| 5 |
+
* Version: 1.0.0
|
| 6 |
+
* Author: Digital Forge
|
| 7 |
+
* Text Domain: ffe80540
|
| 8 |
+
* License: GPL-2.0+
|
| 9 |
+
*/
|
| 10 |
+
|
| 11 |
+
if ( ! defined( 'ABSPATH' ) ) exit;
|
| 12 |
+
|
| 13 |
+
define( 'FFE80540_VERSION', '1.0.0' );
|
| 14 |
+
define( 'FFE80540_DIR', plugin_dir_path( __FILE__ ) );
|
| 15 |
+
|
| 16 |
+
class Ffe80540 {
|
| 17 |
+
private static $instance = null;
|
| 18 |
+
|
| 19 |
+
public static function instance() {
|
| 20 |
+
if ( null === self::$instance ) {
|
| 21 |
+
self::$instance = new self();
|
| 22 |
+
}
|
| 23 |
+
return self::$instance;
|
| 24 |
+
}
|
| 25 |
+
|
| 26 |
+
private function __construct() {
|
| 27 |
+
add_action( 'init', [ $this, 'init' ] );
|
| 28 |
+
add_action( 'admin_menu', [ $this, 'admin_menu' ] );
|
| 29 |
+
add_action( 'admin_init', [ $this, 'settings_init' ] );
|
| 30 |
+
add_action( 'rest_api_init', [ $this, 'register_routes' ] );
|
| 31 |
+
add_action( 'admin_enqueue_scripts', [ $this, 'enqueue_admin_assets' ] );
|
| 32 |
+
load_plugin_textdomain( 'ffe80540', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' );
|
| 33 |
+
}
|
| 34 |
+
|
| 35 |
+
public function init() {}
|
| 36 |
+
|
| 37 |
+
public function admin_menu() {
|
| 38 |
+
add_options_page(
|
| 39 |
+
esc_html__( 'DevOps & Infrastructure Loyalty Program and Rewards WordPress Plugin Settings', 'ffe80540' ),
|
| 40 |
+
esc_html__( 'DevOps & Infrastructure Loyalty Program and Rewards WordPress Plugin', 'ffe80540' ),
|
| 41 |
+
'manage_options',
|
| 42 |
+
'ffe80540-settings',
|
| 43 |
+
[ $this, 'settings_page' ]
|
| 44 |
+
);
|
| 45 |
+
}
|
| 46 |
+
|
| 47 |
+
public function settings_init() {
|
| 48 |
+
register_setting( 'ffe80540_options', 'ffe80540_options', [ $this, 'sanitize_options' ] );
|
| 49 |
+
add_settings_section( 'ffe80540_main', '', '__return_false', 'ffe80540-settings' );
|
| 50 |
+
add_settings_field( 'enabled', esc_html__( 'Enable', 'ffe80540' ), [ $this, 'field_enabled' ], 'ffe80540-settings', 'ffe80540_main' );
|
| 51 |
+
}
|
| 52 |
+
|
| 53 |
+
public function sanitize_options( $input ) {
|
| 54 |
+
$clean = [];
|
| 55 |
+
$clean['enabled'] = ! empty( $input['enabled'] ) ? 1 : 0;
|
| 56 |
+
return $clean;
|
| 57 |
+
}
|
| 58 |
+
|
| 59 |
+
public function field_enabled() {
|
| 60 |
+
$opts = get_option( 'ffe80540_options', [] );
|
| 61 |
+
$val = ! empty( $opts['enabled'] ) ? 1 : 0;
|
| 62 |
+
echo '<input type="checkbox" name="ffe80540_options[enabled]" value="1"' . checked( $val, 1, false ) . ' />';
|
| 63 |
+
}
|
| 64 |
+
|
| 65 |
+
public function settings_page() {
|
| 66 |
+
if ( ! current_user_can( 'manage_options' ) ) return;
|
| 67 |
+
?>
|
| 68 |
+
<div class="wrap">
|
| 69 |
+
<h1><?php echo esc_html( get_admin_page_title() ); ?></h1>
|
| 70 |
+
<form method="post" action="options.php">
|
| 71 |
+
<?php settings_fields( 'ffe80540_options' ); ?>
|
| 72 |
+
<?php do_settings_sections( 'ffe80540-settings' ); ?>
|
| 73 |
+
<?php submit_button(); ?>
|
| 74 |
+
</form>
|
| 75 |
+
</div>
|
| 76 |
+
<?php
|
| 77 |
+
}
|
| 78 |
+
|
| 79 |
+
public function register_routes() {
|
| 80 |
+
register_rest_route( 'ffe80540/v1', '/data', [
|
| 81 |
+
[ 'methods' => 'GET', 'callback' => [ $this, 'rest_get' ], 'permission_callback' => '__return_true' ],
|
| 82 |
+
[ 'methods' => 'POST', 'callback' => [ $this, 'rest_post' ], 'permission_callback' => function() { return current_user_can( 'manage_options' ); } ],
|
| 83 |
+
] );
|
| 84 |
+
}
|
| 85 |
+
|
| 86 |
+
public function rest_get( $request ) {
|
| 87 |
+
return rest_ensure_response( [ 'status' => 'ok', 'plugin' => 'ffe80540' ] );
|
| 88 |
+
}
|
| 89 |
+
|
| 90 |
+
public function rest_post( $request ) {
|
| 91 |
+
$data = $request->get_json_params();
|
| 92 |
+
return rest_ensure_response( [ 'received' => $data ] );
|
| 93 |
+
}
|
| 94 |
+
|
| 95 |
+
public function enqueue_admin_assets( $hook ) {
|
| 96 |
+
if ( 'settings_page_ffe80540-settings' !== $hook ) return;
|
| 97 |
+
wp_enqueue_style( 'ffe80540-admin', plugin_dir_url( __FILE__ ) . 'assets/css/admin.css', [], '1.0.0' );
|
| 98 |
+
wp_enqueue_script( 'ffe80540-admin', plugin_dir_url( __FILE__ ) . 'assets/js/admin.js', [ 'jquery' ], '1.0.0', true );
|
| 99 |
+
wp_localize_script( 'ffe80540-admin', 'ffe80540_vars', [ 'nonce' => wp_create_nonce( 'ffe80540-nonce' ), 'ajax_url' => admin_url( 'admin-ajax.php' ) ] );
|
| 100 |
+
}
|
| 101 |
+
|
| 102 |
+
public static function activate() {
|
| 103 |
+
global $wpdb;
|
| 104 |
+
$table = $wpdb->prefix . 'ffe80540';
|
| 105 |
+
$charset = $wpdb->get_charset_collate();
|
| 106 |
+
$sql = "CREATE TABLE IF NOT EXISTS $table (
|
| 107 |
+
id bigint(20) NOT NULL AUTO_INCREMENT,
|
| 108 |
+
data longtext NOT NULL,
|
| 109 |
+
created_at datetime DEFAULT CURRENT_TIMESTAMP,
|
| 110 |
+
PRIMARY KEY (id)
|
| 111 |
+
) $charset;";
|
| 112 |
+
require_once ABSPATH . 'wp-admin/includes/upgrade.php';
|
| 113 |
+
dbDelta( $sql );
|
| 114 |
+
add_option( 'ffe80540_db_version', '1.0.0' );
|
| 115 |
+
}
|
| 116 |
+
|
| 117 |
+
public static function deactivate() {}
|
| 118 |
+
}
|
| 119 |
+
|
| 120 |
+
register_activation_hook( __FILE__, [ 'Ffe80540', 'activate' ] );
|
| 121 |
+
register_deactivation_hook( __FILE__, [ 'Ffe80540', 'deactivate' ] );
|
| 122 |
+
|
| 123 |
+
Ffe80540::instance();
|
ffe80540/languages/ffe80540.pot
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# DevOps & Infrastructure Loyalty Program and Rewards WordPress Plugin Translation Template
|
| 2 |
+
# Generated: 2026-05-05T23:32:01.210368
|
ffe80540/readme.txt
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
=== DevOps & Infrastructure Loyalty Program and Rewards WordPress Plugin ===
|
| 2 |
+
Contributors: digitalforge
|
| 3 |
+
Requires at least: 5.8
|
| 4 |
+
Tested up to: 6.5
|
| 5 |
+
Stable tag: 1.0.0
|
| 6 |
+
License: GPLv2 or later
|
| 7 |
+
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
| 8 |
+
|
| 9 |
+
Points, tiers, referrals, and exclusive access for repeat DevOps & Infrastructure customers. Drive repeat purchases without third-party loyalty apps.
|
| 10 |
+
|
| 11 |
+
== Description ==
|
| 12 |
+
|
| 13 |
+
Points, tiers, referrals, and exclusive access for repeat DevOps & Infrastructure customers. Drive repeat purchases without third-party loyalty apps.
|
| 14 |
+
|
| 15 |
+
**Features:**
|
| 16 |
+
|
| 17 |
+
* Core functionality
|
| 18 |
+
|
| 19 |
+
== Installation ==
|
| 20 |
+
|
| 21 |
+
1. Upload the plugin folder to `/wp-content/plugins/`
|
| 22 |
+
2. Activate via WordPress admin > Plugins
|
| 23 |
+
3. Configure via Settings > DevOps & Infrastructure Loyalty Program and Rewards WordPress Plugin
|
| 24 |
+
|
| 25 |
+
== Changelog ==
|
| 26 |
+
|
| 27 |
+
= 1.0.0 =
|
| 28 |
+
* Initial release
|
| 29 |
+
|
| 30 |
+
== Upgrade Notice ==
|
| 31 |
+
|
| 32 |
+
= 1.0.0 =
|
| 33 |
+
Initial release.
|
ffe80540/uninstall.php
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) exit;
|
| 3 |
+
global $wpdb;
|
| 4 |
+
$wpdb->query( "DROP TABLE IF NOT EXISTS {$wpdb->prefix}ffe80540" );
|
| 5 |
+
delete_option( 'ffe80540_options' );
|
| 6 |
+
delete_option( 'ffe80540_db_version' );
|