Skip to content

Upload plugin ​

/dashboard/settings/upload-plugin

The upload plugin (PUP) adds an upload button to other websites, such as blogs and forums. Visitors of those websites use the button to upload files to your website. The plugin then inserts the embed codes into the editor box.

The plugin works on any website with user-editable content. On supported software, the button matches the editor toolbar, so no extra customization is needed:

bbPress, Discourse, Discuz!, Invision Power Board, MyBB, NodeBB, ProBoards, phpBB, Simple Machines Forum, Vanilla Forums, vBulletin, WoltLab and XenForo.

Plugin route ​

Toggles the /plugin page. This page shows how to install the plugin and has a tool for creating the plugin code. In that tool, users pick the button color palette, the embed codes to insert, and where to place the button.

ValueEffect
EnabledThe /plugin page is available, with a Plugin link in the About menu
DisabledThe /plugin page returns 404 and the menu link is removed

The default is Enabled. This setting doesn't affect administrators, who can always open /plugin.

This setting is always disabled when CHEVERETO_ENABLE_UPLOAD_PLUGIN is set to 0. In that case, /plugin returns 404 for everyone, administrators included. See Toggles.

PUP SDK URL ​

Sets a custom URL for the PUP SDK script, for example to serve it from a CDN. Leave it empty to use the script included with your website at /sdk/pup.js.

TypeAccepted
StringHTTP or HTTPS URL, or empty

WARNING

Chevereto doesn't copy the script for you. Copy /sdk/pup.js to the custom URL yourself, and copy it again after each Chevereto update so both files stay the same.

In the plugin code, the https: part is removed, so https://cdn.example.com/pup.js becomes //cdn.example.com/pup.js.

This setting is shown only when CHEVERETO_ENABLE_PUP_CUSTOM_URL is set to 1 (default). When it is set to 0, the setting is cleared and the default /sdk/pup.js is used. See Toggles.

Released under the Apache-2.0 License.