![]() |
Ban reason field?
Is there a hack for the ability to add a reason to why someone is banned?
We are three admins and it's hard having to explain why each person is banned -_- |
Just create a Admin Only accessable forum and place the info there. That is what I do.
|
used to do that.. hard when you're stressed or on the run. Gotta be some way to add a text field just as the field with the number of days.. I have no clue in this scripting language and I don't wanna try and risk something
|
Quote:
If so why not just add a table that contains the userid and the ban information <= why they were ban. Then do a join when listing the bans so you can see that information. I try not to add columns to the default db when it's something that is as trival as this. If this is ok I will show you how to do it! Sonia |
yes.. I'd love that!
|
Quote:
Just check back in a few hours I just starting on it now! Sonia |
Look - want the easy way? Do what I did. Add a custom profile field (private), labelled "Ban Reason". I also have a template conditional in the header template that will display that reason to the banned user if they attempt to use the board. Took 5 minutes. Simple and easy. I also have an "administrator comments" text-field where staff can add whatever comments they like. Again, a private field.
|
Quote:
|
I'll share the code. Here you go... Header template, just above
$_phpinclude_output Add: Code:
<if condition="$bbuserinfo[usergroupid] == 8"> Where "fieldX" is the assigned name of your custom private user field. Also assuming usergroup 8 = your BANNED usergroup. |
sweet thanks
|
All times are GMT. The time now is 11:05 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:
|