Warning [2] Undefined array key "display_in_posts" - Line: 268 - File: inc/plugins/myshowcase/forum_hooks.php PHP 8.4.21 (Linux)
  1. errorHandler->error

    /inc/class_error.php:163

  2. errorHandler->error_callback

    /var/www/vendor/sentry/sentry/src/ErrorHandler.php:354

  3. Sentry\ErrorHandler->handleError

    /inc/plugins/myshowcase/forum_hooks.php:268

  4. MyShowcase\Hooks\Forum\showthread_start

    /inc/class_plugins.php:197

  5. pluginSystem->run_hooks

    /showthread.php:473

Grant invite codes to all users at once. - ougcNetwork

It is possible to grant new invite codes to all users automatically.

You can only grant a specific amount of new invite codes on a set interval of time to all users regardless of user active invite codes, or any other setting.

Follow the next steps to properly use this feature.

  1. []First, go to ACP » User Groups » Edit User Group » Invite System » Maximum Active Invitations.
    [
    ]This setting allows you to set the amount of new invite codes to grant on a per group basis.
    []Then go to ACP » Board Settings » OUGC Invite System » OUGC Invite System.
    [
    ]This setting allows you to set the time interval between each new invite codes.
    []This setting allows you to set the amount of new invite codes to grant on a per group basis.
    [
    ]Finally, go to ACP » Task Manager » Edit Task » OUGC Invite System.
  2. Make sure the task is enabled .

The task system has a limit of 50 users per execution so you might want to update the execution time based on the quantity of users your forum has.