News:

Wondering if this will always be free?  See why free is better.

Main Menu

Disable negative karma

Started by gav240z, March 08, 2011, 03:46:36 PM

Previous topic - Next topic

gav240z

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.

Illori

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.

kat

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?

lbuisson

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?

Kays

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. :)

If at first you don't succeed, use a bigger hammer. If that fails, read the manual.
My Mods

emanuele

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


Take a peek at what I'm doing! ;D




Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

Advertisement: