Gilby
10-14-2001, 11:32 PM
Here is a simple little hack (if you can even call it that ;)) that puts a button on the thread page for admins and mods that allows them to just click once to move the thread to a predefined forum. I use the usenet gateway hack, which imports the some spam as well, so I made this to quickly move spam to the spam forum on my site.
How-to: Just add the following html to the beginning of the showthread_adminoptions template.
<form action="postings.php" method="post">
<input type="hidden" name="s" value="$session[sessionhash]">
<!-- Set the forum ID below to where you want it moved to -->
<input type="hidden" name="forumid" value="24">
<input type="hidden" name="method" value="move"><br>
<input type="hidden" name="action" value="domove">
<input type="hidden" name="threadid" value="$threadid">
<input type="submit" name="submit" value="Trash this thread!">
</form>
Make sure to change the value of the forumid input above to the id of the forum you want the thread to be moved to when the button is clicked.
How-to: Just add the following html to the beginning of the showthread_adminoptions template.
<form action="postings.php" method="post">
<input type="hidden" name="s" value="$session[sessionhash]">
<!-- Set the forum ID below to where you want it moved to -->
<input type="hidden" name="forumid" value="24">
<input type="hidden" name="method" value="move"><br>
<input type="hidden" name="action" value="domove">
<input type="hidden" name="threadid" value="$threadid">
<input type="submit" name="submit" value="Trash this thread!">
</form>
Make sure to change the value of the forumid input above to the id of the forum you want the thread to be moved to when the button is clicked.