tenants
Well-known member
The following will redirect me from my "thread page"->overlay back to the "thread page",
but how can I return the user back to the parent forum
(I'll use phrases once I've gotten everything to work)
For instance, if I'm in "myforum.com/someforum/mythread
with the url: myforum.com/threads/mysome-thread.46/
I press a button, it does some request, and the above redirect works.
how do I redirect back to myforum.com/index.php?forums/someforum/
Code:
return $this->responseRedirect(
XenForo_ControllerResponse_Redirect::SUCCESS,
$this->getDynamicRedirect(),
'your thread has been bumped'
);
but how can I return the user back to the parent forum
(I'll use phrases once I've gotten everything to work)
For instance, if I'm in "myforum.com/someforum/mythread
with the url: myforum.com/threads/mysome-thread.46/
I press a button, it does some request, and the above redirect works.
how do I redirect back to myforum.com/index.php?forums/someforum/