Resource icon

xF2 Add-on Options by URL 1.0.0

No permission to download
Compatible XF Versions
  1. 2.1
  2. 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;


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
Author
Admin
Size
4.6 KB
Extension
zip
Downloads
3
Views
7,623
First release
Last update

More resources from Admin

Similar resources

Media Video Options Admin
Gives XFMG additional parameters for ffmpeg
[OzzModz] DragonByte eCommerce Product Form Options Admin
Customize the product add/edit form, remove unneeded fields, etc
[XFF] - InfoPanels Options Admin
This addon adds extra features to the DragonByte Info Panel addon.
730Threads
2,282Messages
62,914Members
viratLatest member
Back