VaultBBDocs
MyBBVaultBB Core

Configuration & Settings

All configurable settings for VaultBB Core and what they do.

Configuration & Settings

VaultBB Core's settings are available in the MyBB Admin CP under:

Admin CP → Configuration → Settings → VaultBB Core


Settings Reference

Enable VaultBB Core

PropertyValue
Setting namevaultbb_core_enabled
TypeYes / No
DefaultYes

The master on/off switch for Core runtime services. Disabling this prevents Core from running any runtime logic during global_start, but does not remove the VaultBB admin tab or affect installed VaultBB plugins' own hooks.

Disabling Core while other VaultBB plugins are active may cause those plugins to lose access to shared Core services. Only disable for debugging purposes.


Debug Mode

PropertyValue
Setting namevaultbb_core_debug
TypeYes / No
DefaultNo

When enabled, Core's ErrorHandler records PHP errors and unhandled exceptions directly into the VaultBB logs table. Log entries created by debug mode use the error severity and include the exception message and context in their JSON payload.

Debug mode is intended for development environments. On production forums, leave this off to avoid flooding the logs table with routine PHP notices.


Time Format

PropertyValue
Setting namevaultbb_core_time_format
TypeSelect
Options12 = 12-hour (e.g. 9:43 PM) · 24 = 24-hour (e.g. 21:43)
Default24

Controls how timestamps are displayed across all VaultBB admin pages — including the Dashboard's "last seen" column and the Logs viewer. The display respects the forum's configured timezone offset (timezoneoffset setting).


Log Retention (days)

PropertyValue
Setting namevaultbb_core_log_retention_days
TypeNumeric
Default90

Log entries older than this many days are automatically deleted by the VaultBB Core: Log Cleanup scheduled task, which runs daily at 03:00.

Set to 0 to disable automatic cleanup (not recommended for high-traffic forums).


Stored Version (internal)

PropertyValue
Setting namevaultbb_core_store_version
TypeText

Do not edit. Core uses this value to track the installed version and detect when schema upgrades are needed. Manually changing it may prevent migrations from running correctly.


Update Checker Settings (internal)

Two additional settings are created by the Update Checker module and are stored in the same settings group. They are not shown in the standard settings UI and should not be edited manually.

Setting namePurpose
vaultbb_update_cacheJSON-encoded result of the last update check
vaultbb_update_last_checkUnix timestamp of the last update check

These are automatically managed by the Updates page in the VaultBB admin tab.


ErrorHandler

\VaultBB\Core\ErrorHandler registers a PHP error handler and exception handler on every page load, regardless of whether Debug Mode is enabled. When Debug Mode is on, caught errors are written to vaultbb_logs. When it is off, the handler registers silently without logging anything.

This means enabling Debug Mode never requires a plugin reactivation — the logging behaviour is controlled purely by the setting at runtime.

On this page