Allows overriding XF options via URL. Unauthenticated.
Not for general use!
Usage
Prefix
ie;
Code:
Array values should be encoded as json;
ie;
Code:
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:
Not for general use!
Usage
Prefix
xf.options. to the option name;ie;
Code:
http://example.org/?xf.options.boardActive=0Array values should be encoded as json;
ie;
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:
Code:
git clone https://github.com/Xon/XenForo2-OptionsByUrl.git src/addons/SV/OptionsByUrl
php cmd.php xf-addon:install SV/OptionsByUrl