One click move

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Gilby
    Member
    • Dec 2000
    • 65

    One click move

    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.
    Code:
    <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.
    Gilby
  • mrlister
    Senior Member
    • Nov 2000
    • 371

    #2
    not a hack.... template modification.
    - MrLister

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...