Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 03 May 2005, 18:05
Luggruff's Avatar
Luggruff Luggruff is offline
 
Join Date: May 2005
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 -_-
Reply With Quote
  #2  
Old 03 May 2005, 18:43
mholtum's Avatar
mholtum mholtum is offline
 
Join Date: May 2004
Real name: Mike
Just create a Admin Only accessable forum and place the info there. That is what I do.
Reply With Quote
  #3  
Old 03 May 2005, 18:55
Luggruff's Avatar
Luggruff Luggruff is offline
 
Join Date: May 2005
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
Reply With Quote
  #4  
Old 03 May 2005, 19:25
why-not why-not is offline
 
Join Date: Feb 2004
Originally Posted by Luggruff
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
Is that all you want is info on the ban?

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
Reply With Quote
  #5  
Old 03 May 2005, 22:02
Luggruff's Avatar
Luggruff Luggruff is offline
 
Join Date: May 2005
yes.. I'd love that!
Reply With Quote
  #6  
Old 04 May 2005, 00:40
why-not why-not is offline
 
Join Date: Feb 2004
Originally Posted by Luggruff
yes.. I'd love that!
Hi

Just check back in a few hours I just starting on it now!


Sonia
Reply With Quote
  #7  
Old 04 May 2005, 01:00
Dennis Olson Dennis Olson is offline
 
Join Date: Jul 2004
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.
Reply With Quote
  #8  
Old 04 May 2005, 01:32
mholtum's Avatar
mholtum mholtum is offline
 
Join Date: May 2004
Real name: Mike
Originally Posted by Dennis Olson
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.
Mind sharing the conditional?
Reply With Quote
  #9  
Old 04 May 2005, 02:17
Dennis Olson Dennis Olson is offline
 
Join Date: Jul 2004
I'll share the code. Here you go... Header template, just above
$_phpinclude_output


Add:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Where "fieldX" is the assigned name of your custom private user field.

Also assuming usergroup 8 = your BANNED usergroup.

Last edited by Dennis Olson; 04 May 2005 at 02:20.
Reply With Quote
  #10  
Old 04 May 2005, 02:25
mholtum's Avatar
mholtum mholtum is offline
 
Join Date: May 2004
Real name: Mike
sweet thanks
Reply With Quote
  #11  
Old 04 May 2005, 05:20
asianboi asianboi is offline
 
Join Date: Apr 2005
how can i make it show in the banning.php?do=modify instead of the user profile?

Example:

User Name Banned By Banned On Ban Period Ban Will Be Lifted On Ban Time Remaining Lift Ban Reason
Reply With Quote
  #12  
Old 04 May 2005, 14:45
Kila_Bite Kila_Bite is offline
 
Join Date: Apr 2005
Real name: Sam Mitchell
Yeah this hack would be useful for me too. Asianboi hit it right on the head. If someone could code this it'd be kinda cool. Sorry to be sponging off good coders but im clueless when it comes to PHP lol.
Reply With Quote
  #13  
Old 04 May 2005, 16:12
why-not why-not is offline
 
Join Date: Feb 2004
Originally Posted by asianboi
how can i make it show in the banning.php?do=modify instead of the user profile?

Example:

User Name Banned By Banned On Ban Period Ban Will Be Lifted On Ban Time Remaining Lift Ban Reason
That's how I was going to do it, but I figured the person was happy with the profile field method so I did not post mine. My idea is to have it in the admin panel and have a text field that you can input the reason for the ban and also have a select (radio) option that allows you to have the reason show up on the forum as a error message to the ban user, with full details of the ban! (Yes or No) option!

No extra query, done doing a stright join instead of a select on a single table!


Sonia
Attached Images
File Type: png ban.png (9.4 KB, 52 views)
Reply With Quote
  #14  
Old 04 May 2005, 16:27
asianboi asianboi is offline
 
Join Date: Apr 2005
I like that idea and that's what I need WHY-NOT

Can you share it with us? or at least with me?
Reply With Quote
  #15  
Old 04 May 2005, 17:59
wrongful wrongful is offline
 
Join Date: Apr 2003
Real name: Terri Norris
There are two hacks that I am aware of that have a reason field built into them. The first would be the Advanced Warning System (AWS) and the second would be Terry's Show Banned Users List Hack, which is mine and pretty much serves the purpose of informing people who banned who and why. Hope this helps.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 03:15.

Layout Options | Width: Wide Color: