ENXF NET
Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
- Joined
- Nov 13, 2018
- Messages
- 27,119
- Points
- 823
Reputation:
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
Read more
Continue reading...
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:
Click to expand...Code:XF.ready(() => { const params = new...
Read more
Continue reading...