Quote:
Originally Posted by Wired1
Pedigree, I messed around w/ your code snippet for a bit, and made it into a plugin. No edit needed, wahoo!
It puts the box at the end of the first column. One plugin is for JUST the USER ID of 1, the other is for the admin usergroup (6 by default). Looking at it more, it needs some tweaking to use the default themes, but otherwise it works fine. Having this built into the "delete as spam" would be awesome. IIRC, someone has already suggested this, right?
|
I wanted the "submit as spam" button to open a new tab so as not to blow away the AdminCP, so I changed the code thusly:
Was:
Code:
<input onclick="this.form.action=\'http://www.stopforumspam.com/add.php\';this.form.submit()" type="button" class="button" value="' . $vbphrase['submit'] . '"/>
Now:
Code:
<input onclick="this.form.action=\'http://www.stopforumspam.com/add.php\';this.form.target=\'_blank\';this.form.submit()" type="button" class="button" value="' . $vbphrase['submit'] . '"/>
Added:
Code:
this.form.target=\'_blank\';