Welcome, Guest. Please Login or Register.
May 14, 2025, 12:55:52 PM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  visual warning system « previous next »
Pages: [1] 2 3 Reply Ignore Print
Author Topic: visual warning system  (Read 7426 times)
GWP
Sr. Member
****
Posts: 252


A total PHP MySQL Novice :) - but getting better!

visual warning system
« on: July 18, 2003, 09:14:32 PM »
Reply with quote

Due to the number of my members who post inapproiate messages would it be possible to have some type of visual warning system for posters. something along the lines of:

3 graphics: Green, Yellow & Red cards (eg footbal, hockey)
when they make a suspect post you give them a green card. This would show up in the offending post
QuoteBlah blah blah bad word, another bad word.
Admin: You have been given a green card {Green card graphic here}
This could be an initial warning

Quotesome more blah blah even worse words
Admin: Ok, because you refuse take notice, we are giving you a yellow card {graphic]
This could be linked to the Mute Mod

QuoteBlah blah blah some realy realy bad words
Admin: Ok you have blown it, you are red carded{graphic}
You have now banned them.


All this would show up in their profile, so they could see how they are doing.
The ability to award a card or take it away would be controlled by moderators.
Logged

YabbSE 1.5.1rc Mods:AdvIm, Member Map, Password Prompt, Report to mod, Smilies SE 2.0, Bio, collapsable_yabb, Ignore user, Name, allowed user, search member, enchanced ban, posts per day, Mute User, Memberlist Plus,Who,ExactPostLink. Remove_Clicklog,mc_BoldOwnThreads.QuickReply, UserEnableDisableCensor, RefererMod, lastlogin_profile,PostBasedImRestrict, ExactPostLink, UserBrowsing,
David
Destroyer Dave
Global Moderator
YaBB God
*****
Posts: 5761


I'm not a llama!

WWW
Re:visual warning system
« Reply #1 on: July 19, 2003, 01:33:51 AM »
Reply with quote

Interesting.
Logged

GWP
Sr. Member
****
Posts: 252


A total PHP MySQL Novice :) - but getting better!

Re:visual warning system
« Reply #2 on: July 19, 2003, 08:46:31 PM »
Reply with quote

any thoughts?
Logged

YabbSE 1.5.1rc Mods:AdvIm, Member Map, Password Prompt, Report to mod, Smilies SE 2.0, Bio, collapsable_yabb, Ignore user, Name, allowed user, search member, enchanced ban, posts per day, Mute User, Memberlist Plus,Who,ExactPostLink. Remove_Clicklog,mc_BoldOwnThreads.QuickReply, UserEnableDisableCensor, RefererMod, lastlogin_profile,PostBasedImRestrict, ExactPostLink, UserBrowsing,
Anguz
YaBB God
*****
Posts: 641


llama me?!

WWW
Re:visual warning system
« Reply #3 on: July 20, 2003, 09:24:17 AM »
Reply with quote

doesn't sound bad... I kind of like it :)

it could also have a timer that lowers the penalty after xx days, like if you give a red card, after xx days it goes yellow and then green and then normal

if the person keeps screwing up, then you just go to the admin panel and ban him

also, when you apply a card, a notification should be emailed to the person, with a link to the message that was penalized... and you should be able to write a little note stating why you did it, if you feel like it
Logged

My Mods: Avatar & Sig Size Control, No Show Msg Subject, Msg URL Composer, Built-in Avatar Rand, Built-in Sig Rand, Remove New-lines Excess, Show All Stars, Search Bar, Smart URLs
GWP
Sr. Member
****
Posts: 252


A total PHP MySQL Novice :) - but getting better!

Re:visual warning system
« Reply #4 on: July 20, 2003, 09:42:10 AM »
Reply with quote

Yes, the email idea is a good one.
Logged

YabbSE 1.5.1rc Mods:AdvIm, Member Map, Password Prompt, Report to mod, Smilies SE 2.0, Bio, collapsable_yabb, Ignore user, Name, allowed user, search member, enchanced ban, posts per day, Mute User, Memberlist Plus,Who,ExactPostLink. Remove_Clicklog,mc_BoldOwnThreads.QuickReply, UserEnableDisableCensor, RefererMod, lastlogin_profile,PostBasedImRestrict, ExactPostLink, UserBrowsing,
Aeon
Full Member
***
Posts: 235


Chaos Forces

never_mind86@hotmail.com WWW
Re:visual warning system
« Reply #5 on: July 22, 2003, 05:42:37 PM »
Reply with quote

don't you think it would sound not serious enough to warn the member ?
I mean when we warn someone we are talking seriously .. but showing these cards is like playing soccer instead of warning ...
Logged

I still don't know what Classes and Object-Orinted do!!?
do you know what they do and why they existed ?!
please tell me and I will appreciate it ..
GWP
Sr. Member
****
Posts: 252


A total PHP MySQL Novice :) - but getting better!

Re:visual warning system
« Reply #6 on: July 22, 2003, 06:22:05 PM »
Reply with quote

True, but we have to remember who we have warned and how often
Logged

YabbSE 1.5.1rc Mods:AdvIm, Member Map, Password Prompt, Report to mod, Smilies SE 2.0, Bio, collapsable_yabb, Ignore user, Name, allowed user, search member, enchanced ban, posts per day, Mute User, Memberlist Plus,Who,ExactPostLink. Remove_Clicklog,mc_BoldOwnThreads.QuickReply, UserEnableDisableCensor, RefererMod, lastlogin_profile,PostBasedImRestrict, ExactPostLink, UserBrowsing,
Anguz
YaBB God
*****
Posts: 641


llama me?!

WWW
Re:visual warning system
« Reply #7 on: July 22, 2003, 09:38:38 PM »
Reply with quote

you could change the card gif for whatever image you please that you feel expresses your intention better... I think the card was used because the warning levels idea came from that system used in games

you could change the colors of the text in the different levels of warning too, although those mentioned are pretty standard and members in general will be used to them and understand their meaning
Logged

My Mods: Avatar & Sig Size Control, No Show Msg Subject, Msg URL Composer, Built-in Avatar Rand, Built-in Sig Rand, Remove New-lines Excess, Show All Stars, Search Bar, Smart URLs
GWP
Sr. Member
****
Posts: 252


A total PHP MySQL Novice :) - but getting better!

Re:visual warning system
« Reply #8 on: July 22, 2003, 09:50:50 PM »
Reply with quote

But would this all be hard to mod?
Logged

YabbSE 1.5.1rc Mods:AdvIm, Member Map, Password Prompt, Report to mod, Smilies SE 2.0, Bio, collapsable_yabb, Ignore user, Name, allowed user, search member, enchanced ban, posts per day, Mute User, Memberlist Plus,Who,ExactPostLink. Remove_Clicklog,mc_BoldOwnThreads.QuickReply, UserEnableDisableCensor, RefererMod, lastlogin_profile,PostBasedImRestrict, ExactPostLink, UserBrowsing,
Grudge
Global Moderator
Full Member
*****
Posts: 178


Damn llama's don't like me :(

Re:visual warning system
« Reply #9 on: July 22, 2003, 11:19:17 PM »
Reply with quote

GWP,

As far as how hard this is to actually mod I think the basics are:

* Add another column to the mysql database for {db_prefix}members called WARNING (or similar)

* In display.php for each post when getting the member info add the the sql query to retrieve WARNING and depending on the number display the text warning at the bottom of the users post (ie 0= no warning, 1 = green etc)

How you want to give the warnings depends on how hard you want to make it. The easiest method would be to edit profile.php, put an edit box in modifyprofile() that can only be changed with admin/mod priviledges which directly controls the warning level. (ie you change it when someone does something wrong)

The other method would be to put a up and down arrow on the display screen for each user that only mods/admins can see and can raise/lower the warning level appropriatly.

Personally I would go for the former if you are wanting to make it easy. Another nice thing to do may be to add ANOTHER column called WARNING_DATE. When you warn a member this column is updated with the current time. Then you can have a "prune"(?) option on the admin menu that will allow you to lower the warning level of anyone who hasn't had it changed for (say) the last 3 months (apart from those who were banned).

This is obviously not a detailed idea but hopefully it will give you something to think about if you want to go ahead and code it yourself :)
Logged
GWP
Sr. Member
****
Posts: 252


A total PHP MySQL Novice :) - but getting better!

Re:visual warning system
« Reply #10 on: July 23, 2003, 12:09:33 AM »
Reply with quote

QuoteThis is obviously not a detailed idea but hopefully it will give you something to think about if you want to go ahead and code it yourself  
Grudge, thanks for the info.
I have no idea what you are talking about LOL, but maybe someone who reads these posts will. I am a complete hacker, I just come here to get the great mods written by others but have no idea how to do them myself.
I have bought a book, but that is really hard work, so have to rely on gods such as [Unknown] & Spaceman-Spiff.
Lets all get them to read this these posts, thats the only way i see of getting it done :)
Logged

YabbSE 1.5.1rc Mods:AdvIm, Member Map, Password Prompt, Report to mod, Smilies SE 2.0, Bio, collapsable_yabb, Ignore user, Name, allowed user, search member, enchanced ban, posts per day, Mute User, Memberlist Plus,Who,ExactPostLink. Remove_Clicklog,mc_BoldOwnThreads.QuickReply, UserEnableDisableCensor, RefererMod, lastlogin_profile,PostBasedImRestrict, ExactPostLink, UserBrowsing,
Anguz
YaBB God
*****
Posts: 641


llama me?!

WWW
Re:visual warning system
« Reply #11 on: July 23, 2003, 08:07:47 AM »
Reply with quote

well, the warning level edit from the profile sounds good, but the button to do it from the message is probably needed anyway, because that way the email sent to the member could include the link to that message when explaining the reason why he was warned

also, the prune thing, it'll be better to handle it like Enhanced Ban does, setting a time before the ban is lifted, in which case it'll move the Warning one level down to Mute

about the db, I'm new to db design, but I think it'll be better to have a new table for this, maybe yabbse_warnings with a few columns, like: warning id, member id, message (where the warning was given), text (text of the warning), date (the warning was given), level (of the warning)

there should probably be another table for the warnings configuration, maybe yabbse_warnprefs with some columns like: warning id (in the other table used as warning level), warning name (mute, ban, whatever), color, image (could be the color card or whatever), duration (that it will last before going down one level)

I'm sure I'm missing things, maybe I'm even completely wrong... please, someone with more db design knowledge give your opinion :P

to show that member has a warning, it'd be good to have it mentioned, either with a text or graphic label, under his name on the left of his messages
Logged

My Mods: Avatar & Sig Size Control, No Show Msg Subject, Msg URL Composer, Built-in Avatar Rand, Built-in Sig Rand, Remove New-lines Excess, Show All Stars, Search Bar, Smart URLs
Grudge
Global Moderator
Full Member
*****
Posts: 178


Damn llama's don't like me :(

Re:visual warning system
« Reply #12 on: July 23, 2003, 01:22:07 PM »
Reply with quote

OK.

I've been working on this mod all morning and have ALMOST finished it I think. I should have more info for you in the next few hours. Basically - I'm not going to use the mute mod as I can't be bothered to download it. Basically - when someone gets into Amber state they will just not be allowed to post anymore (is that what the mute mod does??). In red state they get banned instantly. You can obviously change the colours but I'm using the ones you gave me.

Do you want the users to be notified when they are given a warning?? The only bit I think I have left to code now is the "remove warning" stuff - hopefully I'll be done in a hour (or 2...)

Logged
GWP
Sr. Member
****
Posts: 252


A total PHP MySQL Novice :) - but getting better!

Re:visual warning system
« Reply #13 on: July 23, 2003, 01:35:21 PM »
Reply with quote

Nice one Grudge
QuoteDo you want the users to be notified when they are given a warning??
Yes. I think that would be a good idea.
Also [gulp] any chance of having 3 cards, not 2
green = warning only
yellow = mute style
red = banned

What banning system are you using, or is that done by admin manually, via the profile.
I don't think it would be that much hassle to manually do it as I don't think there will be that many on any board.

Will they offender have something either in their profile or in the info bit? to the left of this post?

Is their going to be a list of people with cards for the admin.

Sorry to dump all this on you now Grudge, but these are just questions :)
Logged

YabbSE 1.5.1rc Mods:AdvIm, Member Map, Password Prompt, Report to mod, Smilies SE 2.0, Bio, collapsable_yabb, Ignore user, Name, allowed user, search member, enchanced ban, posts per day, Mute User, Memberlist Plus,Who,ExactPostLink. Remove_Clicklog,mc_BoldOwnThreads.QuickReply, UserEnableDisableCensor, RefererMod, lastlogin_profile,PostBasedImRestrict, ExactPostLink, UserBrowsing,
Grudge
Global Moderator
Full Member
*****
Posts: 178


Damn llama's don't like me :(

Re:visual warning system
« Reply #14 on: July 23, 2003, 02:15:25 PM »
Reply with quote

OK. After looking at your original post I have realised that I have done a few things wrong!!

Firstly - what I have done right:
There are three cards!
You don't give warnings from the profile - there is a warning button that the admins can see next to every post and you can just warn by clicking that button and setting the warning level (trust me it's good)
There is going to be a list of all warned people for the admin to make it easy to mass lower levels and see who has a warning.
In the users profile there is a statement telling them they ahve been warned

The bit I messed up is this. I thought that you wanted the warning written on every post (whoops!) So at the bottom of every post there is a message telling everybody what warning state they are on. I realise that this is supposed to be on only the offending post!!

What I'll do is move the warning image over to the side next to the avatar stuff etc and do some work so that the warning is put on the offending post and this post is 'locked' so the user cannot modify it (ie removing the offending material).

If you browse to my test board:
http://www.p0stwh0reforums.com/test/index.php

You can see what it is doing at current - although this will change shortly! It will probably take me a little longer to make the changes but I am getting there :o
Logged
Pages: [1] 2 3 Reply Ignore Print 
YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  visual warning system « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.032 seconds with 16 queries.