chojo

Customer
Hello,
Excuse me, I don't know where to actually post my question and since i'm a customer, I thought it could be a good idea to post my question here!

I would like to know if it's possible to put a parameter inside a URL to get the current username as the subject title of a new thread?

I have a notice that invite the new member to create a thread to introduce himself.
I would like, by the click of a button, that the user get redirected to forums/[node]/post-thread
... and the post subject automatically filled with his username.

Is that actually possible?

Thank you in advance!
 

Russ

Pixel Exit Staff
As far as I know, it'd require an add-on to achieve any sort of parameter inside a URL. If it doesn't, I don't know how to do it, unfortunately!
 

chojo

Customer
Would the title URL parameter be sufficient? This is already built-in to XenForo. Example: https://pixelexit.com/forums/general-discussion.98/post-thread?title=Hello+Pixel+Exit!

There just wouldn't be any validation to ensure that whatever value was passed as the title matches that person's username at the thread creation side. For a notice, the url you need might be something like:
Code:
forums/[node]/post-thread?title={name}
Perfect! It work number 1 with the notice system.

Thank you sir!
 
  • Like
Reactions: ACL

Pre-Sale Questions

If you have any questions or concerns you want to ask before you make a purchase don't hesitate to use one of our multiple support channels for your convenience.