Warning [2] Undefined array key "display_in_posts" - Line: 268 - File: inc/plugins/myshowcase/forum_hooks.php PHP 8.4.24 (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

Rule: Promote based on their profile fields. - ougcNetwork

To promote users based on their profile fields use the following configuration. Here we are going promote users that filled their Location default field which FID is 3.

Code:
{
  "whereClauses": [
    {
      "tableName": "userfields",
      "columnName": "fid3",
      "columnValue": "",
      "columnOperator": "!="
    }
  ],
  "logicalOperator": "AND"
}

If you are using plugin version 1.8.23 or lower :

  • []Table: userfields
    [
    ]Field: fid3
    [
    ]Field Value: empty
  • Field Type: Not equal to

* Adjust this to fit your profile field.