# Name: Spam Proofing Report a Post # By: Greg Hard # Date: 11-10-2002 # Files: UBB_LIB.CGI, UBB_LIB_MISC.CGI # Open UBB_LIB.cgi >> Find in sub check_ip_bans: if (($in{ubb} eq 'submit_registration') || ($in{ubb} eq 'edit_profile') || ($in{ubb} eq 'do_)lgin')) { >> Replace with: if (($in{ubb} eq 'submit_registration') || ($in{ubb} eq 'edit_profile') || ($in{ubb} eq 'do_)lgin') || ($in{ubb} eq 'report_a_post)) { # Open UBB_LIB_MISC.cgi >> Find in sub report_a_post { around line 496: &floodcheck >> Under it, add the following: # is user banned? $ip_number = &GetIPAddress; &check_ip_bans; # This prevents IP banned users from reporting abuse. # Move the added code in lib_misc around if it doesn't work properly. # Untested version 0.01.