Add "unban" link in ModCP on Banned Users
This modification is in the archives.
When a user search is done in the ModCP, it shows Ban as an option beside the username.
What this hack does, is look at the usergroup when displaying the table, and if the user is in usergroupid 8 (the default banned group) it displays "unban" so that it is clear that the user is banned. This 'unban' link takes them to the unbannng function in banning.php and unbans the user. VERY simple to install. If you have multiple banned groups, you can change that "8" to an IN (8,x) format. Enjoy! Please note: I have the 'Mods change usergroup' hack installed, so the screenies are showing that link as well -- that is not default vB, but the rest is! Screenies are of before and after: Download This modification is archived and cannot be downloaded. Screenshots
|