%+-]+@[A-Z0-9.-]+.(ru|ro|in|pk|ir) ([[:<:]]viagra|[[:<:]]replica watch|[[:<:]]lesbians?[[:>:]]|[[:<:]]gays?[[:>:]]|[[:<:]]pornogra) "; $settings['defaultprofile_website'] = "http://www.mybbcodes.com"; $settings['Regentronique_Selections_Manager_WriteEvent'] = "0"; ?> MyBB Codes - Ban user by IP from profile

MyBB Codes

Full Version: Ban user by IP from profile
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Paste this code in member_profile_adminoptions template:

PHP Code:

PHP Code:[Highlight]
<li><a href="{$mybb->settings['bburl']}/{$admin_dir}/index.php?module=config-banning&filter={$memprofile['lastip']}target="_blank">Ban IP</a></li


This is most useful against bots so the ip gets banned. Yes I know you can help stop bots with plugins, but this can make it easy to ban ips when needed.
Reference URL's