Current time: 11-21-2024, 03:46 PM Hello There, Guest! (LoginRegister)


Announcement
We have the biggest collection of MyBB Plugins here on the Net. We have currently 175+ MyBB Exclusive Plugins, 80+ MyBB Compatible MyCodes and 16+ MyBB 1.4.x Themes (Some are still under construction...) Thus, we provide you the largest MyBB Stuff on the net including tutorials. Stay with us, you will find out some more to come.
Now you can easily create your own buttons set for MyBB! Click here to have a look...
*** You cannot do your registration behind any Proxies anymore! ***
Welcome Guest[18.221.192.248], connected from Columbus, Ohio United States
Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Ban user by IP from profile
03-24-2012, 06:33 PM
Post: #1
Ban user by IP from profile
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.

nikacomputer.ir's signature
Visit this user's website Find all posts by this user
Quote this message in a reply
2 member(s) viewed this thread in the last 365 days :
HazelOa, Donaldpum
Post Reply 


Was This Thread Useful ?
Please Link To Us
URL
BBCode
HTML

Forum Jump:

 
New To Site ?
Some Useful Links
  • Help

  • You Might Need To Register

  • Forum Statistics

  • Mark All Forums Read

  • Forum Staff

  • Log Out
  • Contact Us

  • Mybbcodes

  • Return to Top

  • Return to Content

  • Lite (Archive) Mode

  • RSS Syndication
  • Powered By MyBB, © 2002-2024 MyBB Group.
    Golden Crown - Designed and Published by ghazal & exdiogene of MyBBCodes.
    Hosting provided by WWWHostingServer.com