![]() |
hmmm
a temp ban is usefull, so that this user can think about that, what he has done. So why let him do anything? |
well we have a different style of bans on our forums: they last from 1 day to 2 weeks and the restriction is on posting. reading the forums as well as using the pm system is allowed
currently we have to use a thread in a private forum to keep a log of these bans. this hack would be great if it moved the user to and from the banned users group... |
How would I make this so the Admin and Super Moderator can use it and only the moderators you select?
|
Quote:
if ($bbuserinfo[userid]!=1 and !$ismod=$DB_site->query_first("SELECT * FROM moderator WHERE userid=$bbuserinfo[userid] and forumid=2")) { change this to: PHP Code:
$bbuserinfo[usergroupid]!=5 for the supermoderators $bbuserinfo[userid]!=x-z for the userid?s for the moderators you select If the moderators are all in 1 usergroup (and only them, no one else) you can use the way with the usergroupid. |
This is an interesting hack. I will look into it soon. It would be good if the hack allows for ban periods of days or weeks. But I suppose you can just work it out by working out the number of hours.
|
If you want a user ban some days or weeks increase the hours :) it works. calc.exe is a good friend then :)
|
This is an excellent hack...
*Installs* Satan |
Using this hack is very good. Big problem is when they see the error, they will freak out.
I suggest a countdown, or a statement that says you have been banned for a certain number of minutes/hrs/etc I don't think a countdown is good, but just a plain statement saying how long he has been banned. Something like this prevents users from leaving the forums (which is something you do not want happening) |
well if you allow guests to view the board, all they have to do is logout
|
Quote:
plus, i want to leave the ability to pm... if you want ban in days and not hours, just add *24 after every 60*60 in the banuser.php |
All times are GMT. The time now is 10:37 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|