Quote:
Originally Posted by Brian Cruz
My memory is a little fuzzy. I'm pretty sure there was a feature in this mod that allowed you to ban directly from a user's profile in the admin panel. Sometimes it's painfully obvious that a user is a actually a spam account and there's no need to wait for them to start posting to submit them.
So, if I'm remembering correctly and this was a feature in this particular mod, it'd be awesome if it returned. If I'm confusing this with a feature that was in another mod, I think it'd be a good feature to include in this one. We get hit with a lot (a lot) of spam registrations and so we like to stay on top of these things.
|
was never but you can do this
admincp/Plugins & Products/Add New Plugin
Product = vBulletin
Hook Location = useradmin_edit_column1
Title = Submit to StopForumSpam.com
Execution Order = 5
Plugin PHP Code
PHP Code:
if (!is_member_of($user['usergroupid'], 6)) // we dont want to ban our admin account now do we
{
print_table_break('', $INNERTABLEWIDTH);
print_table_header("Submit to StopForumSpam");
print_label_row('Submit these details to www.stopforumspam.com ban list<BR><table><tr><td>Username:</td><td><input type="text" name="username" size="30" value="'.
$user['username'] . '"></td></tr>
<tr><td>Email:</td><td><input type="text" name="email" size="30" value="' . $user['email'] . '"></td></tr><tr><td>IP: </td>
<td><input type="text" name="ip_addr" value="' .$user['ipaddress'] . '"></td></tr></table>
<input name="api_key" type="hidden" value="YOUR API KEY"><input onclick="this.form.action=\'http://www.stopforumspam.com/add.php\';this.form.submit()" type="button" class="button" value="' . $vbphrase['submit'] . '"/>');
}
MAKE SURE YOU PUT IN YOUR API KEY You will see it on this line <input name="api_key" type="hidden" value="
YOUR API KEY">
Plugin is Active = Yes