Hey, I've been using this a while and it's great. Just now setting it up on 3.6.4 which I've just upgraded to, not sure if it will work yet, but I wanted to ask:
Is there some way to keep the spam button from showing up on users with at least X posts? Most spammers we kill off have only ~20 posts max, so I set up a conditional:
Code:
<!-- spam decimator -->
<if condition="$post[posts]<=80">
<if condition="!in_array($post[usergroupid], array(5,6,7))"><if condition="in_array($bbuserinfo[usergroupid], array(5,6,7))"><a href="#" onclick="window.open('decimator.php?userid=$post[userid]&threadid=$post[threadid]&postid=$post[postid]','spam_decimator','statusbar=yes,menubar=yes,toolbar=yes,scrollbars=yes,resizable=yes,width=800,height=600'); return false;"><img src="images/smilies/spam[1].gif" alt="Spam Kill" border="0"></a></if></if></if></if>
<!-- / spam decimator -->
But there is a problem - the spam button shows up on people with under 80 posts, and also on people with over 1000 or so. I'd rather not have the chance that one of our 1000+ posters would get accidentally decimated by a drunk mod, because it would be a serious pain to fix. Is there a good way to do this so the button only shows up below X posts?
Thanks for all your work writing this, it's saved us a ton of time.