|
Forum > Support
KARMA Badge
(1/2) > >>
FrizzleFried:
My users are getting the karma badge automatically when they first sign in. I am guessing this is because I use the advanced reputation mod that starts everyone with 100 karma points. I'd like to set that limit from 0 to 101 so they get the badge when someone gives them karma rather than up front...
I found this line:
--- Code: --- if ($memberContext[$memberID]['karma']['good'] != 0 && !in_array($badgeAction,$currentBadges)) --- End code ---
Would I be correct in assuming I could change that 0 to 101 to accomplish what I am looking to do?
Thanks!
FrizzleFried:
Oh... and to be clear... the advanced rep mod does use the "stock" karma string... but like I said, I have it starting folks with 100 karma to begin with.
SMFHacks:
I would change != 0 to > 100 I think that would work.
FrizzleFried:
Yeah... that works... sort of. Unfortunately the Advanced Rep System also gives karma for posting... so as soon as I posted while testing my karma went to 102 from 100 and... welp, I got the karma badge.
Bummer... maybe I will just change it to 200 and in the description change it to "Recipient of this badge has earned 200 Karma Points or more" or something generic...
nonono12:
how to set badge for a certain amount of giving good karma giving bad karma and number of topics started ?
Navigation
[0] Message Index
[#] Next page |
No thumbnails on new uploads
by SMFHacks
March 27, 2024, 02:10:41 pm
|
Display the Contact Page for guests
by SMFHacks
March 27, 2024, 10:55:43 am
|
is it possible to add support for odysee.com
by fvlog19
March 21, 2024, 08:47:51 am
|
Request for admin notification
by davejo
March 10, 2024, 01:31:59 am
|
I need help with torrent upload
by Ineedsmfhelp
March 09, 2024, 10:01:13 pm
|
an idea for new mod (( content type with different display ))
by SMFHacks
February 27, 2024, 01:36:27 pm
|
[Mod] RSS Feed Poster
by SMFHacks
February 27, 2024, 11:57:18 am
|
find duplicate pictures
by fvlog19
February 14, 2024, 02:22:40 pm
|
Error uploading video.
by SMFHacks
February 08, 2024, 02:04:16 pm
|
Gallery icon as last added image
by fvlog19
February 01, 2024, 01:04:56 pm
|
|
|