• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Move Thread or Assign Prefixes to Thread using PHP

I am building a system that is like an application to join certain parts of my forums and I am having a little bit of trouble currently.

So the user fills out a form which creates a thread in one of my nodes based on the response to the form. A created a system that puts buttons below every thread to make it easy to Accept/Deny the applications. Here is what it looks like:


When one of the moderators clicks Accept or Deny I want to promote or demote the author of the thread but also move the thread to either the Accepted or Denied sub-node. I figured out how to promote the author of the thread, but I am having trouble moving the threads.

I found this tutorial: https://github.com/Fuhrmann/xenforo...-a-cron-entry-to-move-threads-with-options.md

So if I can't move the threads using PHP when they press the button, would it be possible to assign a thread prefix using PHP? Any help would be appreciated.