PDA

View Full Version : Allow moderators to ban by IP


mikellogg
02-17-2006, 06:57 PM
I would like to give the moderators IP banning capability. :)

I have worked out the basics, but I just need a partner to help put it in the moderator control panel or other page.

Basically, you give the moderators a text box where they can input the IP address.
Then you run this query:
update forum.setting SET value = concat(value,' ','123.45.67.89') where varname = 'banip';
where the '123.45.67.89' address is the address to be banned.

It should be really simple to put together a page. If we don't get a true plugin, I can probably write a basic PHP page that will get the job done.

zagman76
02-23-2006, 03:14 PM
https://vborg.vbsupport.ru/showthread.php?t=103733
this might help! :)