Pre-filled New Thread Message with Query Parameter

Status
This content is read-only, or is not open for further replies.

unproperlypropagated

Guest
offline
unproperlypropagated submitted a new resource:

Pre-filled New Thread Message with Query Parameter - Add a Query parameter to pre-set the message when creating a new thread

Allows you to define a message to be passed as content for a new thread, Xenforo already provides query parameters for the thread title and the prefix but not the post itself.

create a file here: /js/custom/prefill.js with this content:
JavaScript:

Code:
XF.ready(() => {

    const params = new...
Click to expand...

Read more

Continue reading...
 
Liked by:
Status
This content is read-only, or is not open for further replies.
Top Bottom