Plugin Directory

Changeset 3356333


Ignore:
Timestamp:
09/04/2025 08:58:03 PM (6 months ago)
Author:
fullworks
Message:

Update to version 1.0.1 from GitHub

Location:
fullworks-active-users-monitor
Files:
4 added
5 edited
1 copied

Legend:

Unmodified
Added
Removed
  • fullworks-active-users-monitor/assets/blueprints/blueprint.json

    r3356322 r3356333  
    11{
    2   "$schema": "https://playground.wordpress.net/blueprint-schema.json",
    3   "landingPage": "/wp-admin/users.php",
    4   "preferredVersions": {
    5     "php": "8.0",
    6     "wp": "latest"
    7   },
    8   "phpExtensionBundles": [
    9     "kitchen-sink"
    10   ],
    11   "features": {
    12     "networking": true
    13   },
    14   "steps": [
    15     {
    16       "step": "installPlugin",
    17       "pluginZipFile": {
    18         "resource": "wordpress.org/plugins",
    19         "slug": "fullworks-active-users-monitor"
    20       }
     2    "landingPage": "/wp-admin/users.php",
     3    "preferredVersions": {
     4        "php": "7.4",
     5        "wp": "5.9"
    216    },
    22     {
    23       "step": "activatePlugin",
    24       "plugin": "fullworks-active-users-monitor"
    25     },
    26     {
    27       "step": "login",
    28       "username": "admin",
    29       "password": "password"
    30     },
    31     {
    32       "step": "setSiteOptions",
    33       "options": {
    34         "blogname": "Active Users Monitor Demo",
    35         "blogdescription": "Testing the Fullworks Active Users Monitor plugin"
    36       }
    37     },
    38     {
    39       "step": "runPHP",
    40       "code": "<?php\n// Create some test users with different roles\n$test_users = [\n    ['user_login' => 'editor_user', 'user_pass' => 'password', 'user_email' => 'editor@example.com', 'role' => 'editor', 'display_name' => 'Editor User'],\n    ['user_login' => 'author_user', 'user_pass' => 'password', 'user_email' => 'author@example.com', 'role' => 'author', 'display_name' => 'Author User'],\n    ['user_login' => 'subscriber_user', 'user_pass' => 'password', 'user_email' => 'subscriber@example.com', 'role' => 'subscriber', 'display_name' => 'Subscriber User']\n];\n\nforeach ($test_users as $user_data) {\n    if (!username_exists($user_data['user_login'])) {\n        $user_id = wp_create_user($user_data['user_login'], $user_data['user_pass'], $user_data['user_email']);\n        if (!is_wp_error($user_id)) {\n            $user = new WP_User($user_id);\n            $user->set_role($user_data['role']);\n            wp_update_user(['ID' => $user_id, 'display_name' => $user_data['display_name']]);\n        }\n    }\n}"
    41     },
    42     {
    43       "step": "writeFile",
    44       "path": "/wordpress/wp-content/mu-plugins/playground-demo.php",
    45       "data": "<?php\n/**\n * Playground Demo Helper for Active Users Monitor\n */\n\n// Add a notice to explain the demo\nadd_action('admin_notices', function() {\n    if (get_current_screen()->id === 'users') {\n        echo '<div class=\"notice notice-info\"><p><strong>Welcome to the Active Users Monitor Demo!</strong><br>';\n        echo 'This is a demo environment with test users. The online status indicators show who is currently logged in.<br>';\n        echo 'Try opening different browser tabs/windows and logging in as different users to see the real-time tracking!</p></div>';\n    }\n});\n\n// Simulate some online activity for demo purposes\nadd_action('init', function() {\n    // This would normally happen automatically when users log in\n    // For demo, we'll just ensure the admin user appears as online\n    if (is_user_logged_in() && current_user_can('manage_options')) {\n        // The plugin will track this automatically\n    }\n});"
    46     }
    47   ]
     7    "phpExtensionBundles": [
     8        "kitchen-sink"
     9    ],
     10    "steps": [
     11        {
     12            "step": "login",
     13            "username": "admin",
     14            "password": "password"
     15        }
     16    ]
    4817}
  • fullworks-active-users-monitor/tags/1.0.1/fullworks-active-users-monitor.php

    r3356322 r3356333  
    44 * Plugin URI:        https://fullworks.net/products/active-users-monitor/
    55 * Description:       Provides real-time visibility of logged-in users for administrators with visual indicators and filtering capabilities.
    6  * Version:           1.0.0
     6 * Version:           1.0.1
    77 * Requires at least: 5.9
    88 * Requires PHP:      7.4
     
    2525
    2626// Define plugin constants with unique prefix (minimum 4 characters).
    27 define( 'FWAUM_VERSION', '1.0.0' );
     27define( 'FWAUM_VERSION', '1.0.1' );
    2828define( 'FWAUM_PLUGIN_FILE', __FILE__ );
    2929define( 'FWAUM_PLUGIN_PATH', plugin_dir_path( __FILE__ ) );
  • fullworks-active-users-monitor/tags/1.0.1/readme.txt

    r3356322 r3356333  
    11=== Fullworks Active Users Monitor ===
    2 Contributors: alanef, fullworks
    3 Donate link: https://fullworks.net/
     2Contributors: fullworks
     3Donate link: https://ko-fi.com/wpalan
    44Tags: users, monitoring, active users, online users, admin tools
    55Requires at least: 5.9
    66Tested up to: 6.8
    7 Stable tag: 1.0.0
     7Stable tag: 1.0.1
    88Requires PHP: 7.4
    99License: GPLv2 or later
     
    131131
    132132== Changelog ==
     133
     134= 1.0.1 =
     135* Fixed contributor name and donation link
     136* Added WordPress Playground blueprint for easy preview
     137* Added plugin assets to readme
     138* Minor documentation improvements
    133139
    134140= 1.0.0 =
  • fullworks-active-users-monitor/trunk/fullworks-active-users-monitor.php

    r3356322 r3356333  
    44 * Plugin URI:        https://fullworks.net/products/active-users-monitor/
    55 * Description:       Provides real-time visibility of logged-in users for administrators with visual indicators and filtering capabilities.
    6  * Version:           1.0.0
     6 * Version:           1.0.1
    77 * Requires at least: 5.9
    88 * Requires PHP:      7.4
     
    2525
    2626// Define plugin constants with unique prefix (minimum 4 characters).
    27 define( 'FWAUM_VERSION', '1.0.0' );
     27define( 'FWAUM_VERSION', '1.0.1' );
    2828define( 'FWAUM_PLUGIN_FILE', __FILE__ );
    2929define( 'FWAUM_PLUGIN_PATH', plugin_dir_path( __FILE__ ) );
  • fullworks-active-users-monitor/trunk/readme.txt

    r3356322 r3356333  
    11=== Fullworks Active Users Monitor ===
    2 Contributors: alanef, fullworks
    3 Donate link: https://fullworks.net/
     2Contributors: fullworks
     3Donate link: https://ko-fi.com/wpalan
    44Tags: users, monitoring, active users, online users, admin tools
    55Requires at least: 5.9
    66Tested up to: 6.8
    7 Stable tag: 1.0.0
     7Stable tag: 1.0.1
    88Requires PHP: 7.4
    99License: GPLv2 or later
     
    131131
    132132== Changelog ==
     133
     134= 1.0.1 =
     135* Fixed contributor name and donation link
     136* Added WordPress Playground blueprint for easy preview
     137* Added plugin assets to readme
     138* Minor documentation improvements
    133139
    134140= 1.0.0 =
Note: See TracChangeset for help on using the changeset viewer.