Jake Vanderwerf
2026-09-09 8318f60480aedd4aa1e64dc35468247dfbba9316
base/users.php
@@ -1,4 +1,7 @@
<?php
if (!defined('ABSPATH')) {
   exit;
}
/**
 * JVB_USER -> defines user roles. Mainly for Dashboard/Directory sites
 *      Structure: slug => $options
@@ -25,25 +28,25 @@
 */
$defaults = [];
if (array_key_exists('enthusiast', JVB_SITE) && JVB_SITE['enthusiast'] === true) {
   $defaults['enthusiast'] = [
      'label'            => 'Enthusiast',
      'has_dashboard'    => true,
      'can_create'       => [],
      'can_register'     => true,
      'can_favourite'      => true,
      'keep_stats'       => true,
      'join_text'        => 'Save your favourites. Get Notified.',
      'join_title'       => 'Welcome to the Scene.',
      'join_description' => [
         'Save your favourites for easy access',
         'Get notified when your favourite artists add new content',
         'Stay in the loop with local flash days and events',
         'Discover styles and artists that match your vision'
      ],
      'join_bonus'       => '<strong>BONUS: </strong>Everything\'s free. And always will be. We work with partners vetted by the community to keep the lights on.',
   ];
}
//if (array_key_exists('enthusiast', JVB_SITE) && JVB_SITE['enthusiast'] === true) {
// $defaults['enthusiast'] = [
//    'label'            => 'Enthusiast',
//    'has_dashboard'    => true,
//    'can_create'       => [],
//    'can_register'     => true,
//    'can_favourite'      => true,
//    'keep_stats'       => true,
//    'join_text'        => 'Save your favourites. Get Notified.',
//    'join_title'       => 'Welcome to the Scene.',
//    'join_description' => [
//       'Save your favourites for easy access',
//       'Get notified when your favourite artists add new content',
//       'Stay in the loop with local flash days and events',
//       'Discover styles and artists that match your vision'
//    ],
//    'join_bonus'       => '<strong>BONUS: </strong>Everything\'s free. And always will be. We work with partners vetted by the community to keep the lights on.',
// ];
//}
$users = array_merge($defaults, apply_filters('jvb_user', []));
define('JVB_USER', $users);