settings->header( 'antispam' ); ?>

settings->form_field( 'antispam', 'spam_filter' ); ?> settings->form_field( 'antispam', 'spam_user_ban' ); ?> settings->form_field( 'antispam', 'should_unapprove_after_report' ); ?> settings->form_field( 'antispam', 'spam_filter_level_topic' ); ?> settings->form_field( 'antispam', 'spam_filter_level_post' ); ?>

settings->form_field( 'antispam', 'new_user_max_posts' ); ?> settings->form_field( 'antispam', 'unapprove_post_if_user_is_new' ); ?> settings->form_field( 'antispam', 'min_number_posts_to_edit_account' ); ?> settings->form_field( 'antispam', 'min_number_posts_to_attach' ); ?> settings->form_field( 'antispam', 'min_number_posts_to_link' ); ?> settings->form_field( 'antispam', 'limited_file_ext' ); ?>

settings->form_field( 'antispam', 'flood_protection_enabled' ); ?> settings->form_field( 'antispam', 'flood_posts_per_minute' ); ?> settings->form_field( 'antispam', 'flood_posts_per_hour' ); ?> settings->form_field( 'antispam', 'flood_ip_protection_enabled' ); ?> settings->form_field( 'antispam', 'flood_posts_per_ip_hour' ); ?> settings->form_field( 'antispam', 'flood_action' ); ?> settings->form_field( 'antispam', 'flood_temp_ban_duration' ); ?>

settings->form_field( 'antispam', 'spam_file_scanner' ); ?> settings->form_field( 'antispam', 'exclude_file_ext' ); ?>
: folders['default_attachments']['dir'] ?> 
folders['default_attachments']['dir']; if( is_dir( $default_attachments_dir ) && wpforo_setting( 'antispam', 'spam_file_scanner' ) ): if( $handle = opendir( $default_attachments_dir ) ): while( false !== ( $filename = readdir( $handle ) ) ): if( $filename == '.' || $filename == '..' ) continue; $level = 0; $color = ''; $file = $default_attachments_dir . DIRECTORY_SEPARATOR . $filename; $extension = strtolower( (string) pathinfo( $filename, PATHINFO_EXTENSION ) ); if( filesize( $file ) === 0 ) continue; if( ! $level = WPF()->moderation->spam_file( $filename ) ) continue; if( $level == 2 ) $color = 'style="color:#EE9900;"'; if( $level == 3 ) $color = 'style="color:#FF0000;"'; if( $level == 4 ) $color = 'style="color:#BB0000;"'; ?>
title="folders['default_attachments']['url'] . '/' . $filename ?>"> moderation->spam_file( $filename, 'file-open' ) ): ?> >
| | |