- Compatible XF Versions
- 2.1
- 2.2
- Additional Requirements
- php 7.4+
Site in development mode
git client & CLI access to install
Allows overriding XF options via URL. Unauthenticated.
Not for general use!
Usage
Prefix xf.options. to the option name;
Array values should be encoded as json;
Warnings
Only runs when development mode is enabled, logs an error otherwise.
A site with this add-on installed should not be internet accessible as this allows guest/non-admin access to changing core XenForo settings which may result in remote arbitrary code execution
Installing
Not for general use!
Usage
Prefix xf.options. to the option name;
Code:
http://example.org/?xf.options.boardActive=0
Array values should be encoded as json;
Code:
http://example.org/?xf.options.tosUrl={"type":"default"}
Warnings
Only runs when development mode is enabled, logs an error otherwise.
A site with this add-on installed should not be internet accessible as this allows guest/non-admin access to changing core XenForo settings which may result in remote arbitrary code execution
Installing
Code:
git clone https://github.com/Xon/XenForo2-OptionsByUrl.git src/addons/SV/OptionsByUrl
php cmd.php xf-addon:install SV/OptionsByUrl