Version: 1.00, by Hotte
Developer Last Online: Jan 2006
Version: 2.2.x
Rating:
Released: 06-06-2002
Last Update: Never
Installs: 64
No support by the author.
Hi
I´ve wrote a little hack upon request of my "Main"-Moderators.
This hack allows them to temporary ban a given user per Userid. Simply userid, reason and how many hours. The banned user will see a modified no-permission screen when he tries to login. The User can automaticly access the board again, when the entered time is over.
For the other hackers: Feel free to modify the hack and distribute a "better" version of this if you want.
Sry for my bad english.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Originally posted by Tha Rock Erwin: I see you have modified this hack, please could you post up an updated super cool version?
I got your PM. My mods are customized specifically for my site, and won't make sense to anyone else's site. I don't have time to package it and release it as an add-on - the code is buried under a ton of modified hack, especially after several vB upgrades.
I modified this hack to integrate it into the search feature in the Mod CP, using the username instead of the userid. It's not that hard to do. I can't post on how I did it, since it's all integrated with the rest of my banning system. But it can be done.
Then what your mods can do is Search for a User using the normal search function in their Mod CP, and when they find the username, click on the "Temp Ban" or "Remove Temp Ban" links next to the username. And go from there!
My system is very different - so I can't test this, but it should work.
Originally posted by Erwin Okay, this is what you do.
[...]
That's it!
Then what your mods can do is Search for a User using the normal search function in their Mod CP, and when they find the username, click on the "Temp Ban" or "Remove Temp Ban" links next to the username. And go from there!
My system is very different - so I can't test this, but it should work.
Thank you .. now, when I click on "temp ban" it leads me to the page to temp ban it, but still askign for the iser id (just leads me to the ban link in banuser.php) .. did I missed something ?
Warning: Cannot add header information - headers already sent by (output started at /home/virtual/site62/fst/var/www/html/bb/admin/adminfunctions.php:19) in /home/virtual/site62/fst/var/www/html/bb/mod/banuser.php on line 30
When I try to edit a ban I get;
Not Found
The requested URL /bb/mod/banuser.php.php was not found on this server.
The instructions say to add error_nopermission_tempban template. Is that to say error_nopermission_tempban.php? In what directory?
I'm not sure what a template is..
Will this allow admins to be banned - or can I just not give the link to mods - and not put it in index.php?
You don't put that template in the directory. Go to your admin cp and look down the left hand column near the bottom for 'templates'. .php files are put in the directory (FTP, whatever), but not templates.