Simple Machines Community Forum

SMF Development => Feature Requests => Applied or Declined Requests => Topic started by: gav240z on March 08, 2011, 03:46:36 PM

Title: Disable negative karma
Post by: gav240z on March 08, 2011, 03:46:36 PM
Hi Guys,
A very small feature request. I'd really like an option to disable negative karma. In my community this has often been abused and it makes members feel alienated / targeted and often outcast. I've manually removed the link from my template but a more elegant solution would be provide a simple option in karma.
Similar topic is here;
http://www.simplemachines.org/community/index.php?topic=57101.0

Thanks for taking this into consideration.
Title: Re: Disable negative karma
Post by: Illori on March 08, 2011, 04:10:39 PM
as some people want negative karma, this most likely would not become a default feature. but you can always request a mod to be created for this.
Title: Re: Disable negative karma
Post by: kat on March 08, 2011, 04:47:39 PM
Go to Admin>Features and options>Karma and set "Karma smite label" to nothing. i.e. make it blank.

That way, there's nothing to click, on the negative side.

That help?
Title: Re: Disable negative karma
Post by: lbuisson on October 06, 2012, 09:11:10 AM
This solution delete only button for smite but people car launch url with smite and it put negative point :(

Is there any issue to disable completly negative?
Title: Re: Disable negative karma
Post by: Kays on October 06, 2012, 09:42:25 AM
Quote from: lbuisson on October 06, 2012, 09:11:10 AM
Is there any issue to disable completly negative?

Try this. In Karma.php look for:


checkSession('get');


And after that add:


if ($_REQUEST['sa'] == 'smite')
fatal_error('Naughty, naughty');


Do change the "Naughty, naughty" to something more appropriate. :)
Title: Re: Disable negative karma
Post by: emanuele on October 06, 2012, 09:54:30 AM
It wont work out of the box in 2.0, but the principle is exactly the same: http://custom.simplemachines.org/mods/index.php?mod=817

Kays is too fast! :P