Advanced Config Keys

Applies to: Jamroom 7.0+ Last verified: 2026-10-24
  • What they are

    Advanced config keys are settings for specialized cases, too minor for the ACP. They're stored in data/config/config.php.

    ACP > Modules > Core > System Core > Tools > Advanced Config adds and deletes them. Choose a Config Key from the list, which shows the help and default of each, enter the Config Value, and click Create New Config Key.

  • A wrong value can stop your site from working. Change keys only when you need to, and note what you changed.

  • Keys in the Advanced Config list

    These are the keys a fresh Jamroom 7.0.3 offers. Other modules add their own.

    Key Default What it does
    jrCore_disable_db_templates off on turns off templates changed in the Template Editor: only the files are used
    jrCore_disable_counter_ip_check (not set) Modules (comma separated) whose stream counts don't check for repeat IPs
    jrCore_max_system_queue_workers 12 The most queue workers at once
    jrCore_queue_worker_ratio 100 The percent chance a request becomes a queue worker
    jrCore_queue_skip_lock off on uses SKIP LOCKED in queue queries (MySQL 8 and newer)
    jrCore_db_connect_timeout 2 Seconds to wait for the database
    jrCore_db_persistent off on uses persistent database connections
    jrCore_sql_mode true The SQL_MODE to use, or true to turn it off
    jrCore_play_key_expire_hours 8 Hours until a play key expires
    jrCore_form_session_expire_hours 4 Hours until a form session expires
    jrCore_bbcode_languages (not set) Languages for syntax colors in [code] blocks, comma separated
    jrCore_time_offset_seconds (not set) Seconds to add to or subtract from the time zone
    jrCore_log_throttle_ttl 10 Seconds to suppress repeated Activity Log entries
    jrImage_jpeg_quality 85 JPEG quality of resized images
    jrImage_min_disk_free_megabytes (not set) Keep this many megabytes free by pruning the image cache
    jrProfile_disable_profile_disk_usage off on stops tracking disk use per profile
    jrProfile_disable_active_check off on stops {jrCore_list} checking that profiles are active
    jrUser_session_expire_visitor (not set) Seconds sessions of logged-out visitors are kept
    jrUser_session_expire_bot 900 Seconds bot sessions are kept
    jrUser_login_activity_log on off stops logging logins to the Activity Log
    jrDeveloper_disable_developer_mode (not set) Stops Developer Mode from being turned on
  • Keys you add by hand

    Some keys aren't in the tool's list. Add them to data/config/config.php on your server, one line each, then reset the caches:

    $_conf['jrCore_disable_play_cookies'] = 'on';
    $_conf['jrCore_disable_xframe'] = true;
    $_conf['jrProfile_disable_pulse'] = 'on';
  • Key What it does
    jrCore_disable_play_cookies on stops checking play cookies on stream URLs, so other sites can link to them. See Allow Streaming from Other Sites.
    jrCore_disable_xframe Lets other sites show your pages in a frame. See Refused to display in a frame.
    jrProfile_disable_pulse on stops the profile "pulse" requests that check for new notifications every few seconds. Useful while you watch network requests in the browser.

Tags