Quote:
Originally Posted by DannyvdK
There isn't a function that I can call to move the thread for me?
|
Not that I know of, but I took the code from inlinemod.php and made a function out of it. I did a little testing, but it's definitely 'use at your own risk' (see attached).
BTW, the way it is now, if the 'destforumid' passed to the function is invalid, it will redirect you to an error page (which is most likely not what you want). I took out all the other redirects, but that one's in another function that gets called by this one. SHouldn't be a problem if you're passing a valid forumid.