Quote:
Originally Posted by djbaxter
I do agree that sometimes the email address or member name is a giveaway that might warrant submitting to the database.
Try this...
1. Admin CP >> Plugins & Products >> Add New Plugin
2. 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"); if ($vbulletin->options["vbstopforumspam_apikey"]) 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="' . $vbulletin->options['vbstopforumspam_apikey'] . '"><input onclick="this.form.action=\'http://www.stopforumspam.com/add.php\';this.form.submit()" type="button" class="button" value="' . $vbphrase['submit'] . '"/>');
else print_label_row('You need an API key from www.stopforumspam.com before you can submit to the database' ,''); }
Plugin is active = Yes
3. Save
|
Thanks! However:
In the users (bot) AdminCP profile menu. While my spam-O-matic "StopForumSpam: API Key" options has already a key filled in.