Tweaks

Hide custom text from specific groups

To display text only for specific user groups, refer to the below snippet and insert into a custom homepage item:

In this example, we are using groupID 999 which is the Guest Group.

<script>
    if(activeInfo.user.groupID !== 999){
        var cssSettings = `
            .hidden-for-non-guest {
                display: none;
            }
        `;
        $('#guest-css').html(cssSettings);
    }
</script>
<style id="guest-css"></style>
<div class="hidden-for-non-guest">
    <h1>You're a guest.  Please log in!</h1>
</div>
This is text everyone sees.

Steps to reproduce

A user who is logged in

A user who is not logged in

Windows - Optimizing PHP-FPM to get faster load times of tabs in Organizr.

  1. Open Command Prompt as an Administrator
  2. Type the following command set php and you should see 2 variables
    1. PHP_FCGI_CHILDREN=3
      and
    2. PHP_FCGI_MAX_REQUESTS=128
  3. Run the following command to increase the value of PHP_FCGI_CHILDREN:
    1. SETX /m PHP_FCGI_CHILDREN 1000
  4. Close Command Prompt.
  5. Open Command Prompt as Administrator and run set php and check that PHP_FCGI_CHILDREN value changed from 3 to 1000.

Adapted from: https://technicalramblings.com/blog/optimizing-php-fpm-to-get-faster-load-times-of-tabs-in-organizr/