Back to vBulletin 3.0 Add-Ons

banning options for smods
Mod Version: 1.01, by Carnage

This modification is in the archives.
vB Version: 3.0.3 Rating: (0 vote - 0 average) Installs: 5
Released: 24 Jan 2005 Last Update: 24 Jan 2005 Downloads: 9
Not Supported  

this has been requested, and i've throw something together by editing options.php and making a new file with it, it only allows access to the banning options. It will also give admins access to the banning options even if they don't have vboptions access permissions so this may be useful for meny people.

i'd recormend applying this hack: IP ban from registration only as well to prevent smods ip banning superadmins and other privilaged users.

to check if a user id an smod, i used the can_moderate function to check the permission 'issmod' as this dosn't exist as a permission it will only return true if the user is a smod or admin if you want to allow mods to ipban you can add this permission and give it to them.

Instalation, copy ipban.php to your modcp directory.

As this is a beta i've not yet added it to any menus within the mod or admin cp if you want to do this you'll have to do it yourself until i get arround to doing more work on this.

Totally re-written addressing first few posts... lesson learn: a 'quick solution' isn't the best solution....

As always backup database and forum files before installing.

Download

This modification is archived and cannot be downloaded.


vblts.ru supports vBulletin®, 2022-2024