• Hi, me again. So far, so good, now that I got the plugin working and the badges showing up where I want them. I just have one thing I’m looking to achieve. I want to award achievements for ‘checking-in’, kind of like Get Glue. Basically, I create a badge for a specific post, and if people comment on that post, they get a badge.

    I was thinking maybe the setting could work this way, under the ‘commented on a post’ option, there’s an extra box for ‘post id’. If the box is empty or 0, the achievement works on every post comment, if a valid id is entered (maybe multiple ids separated by commas?!), then only that posts comments earns badges.

    I’m not the greatest at PHP, but if it’s something you’re not willing to work on, I’d be willing to try my hand at this if it was possible. It should be possible right?

    https://www.ads-software.com/extend/plugins/badgeos-community-add-on/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Brian Messenlehner

    (@messenlehner)

    I like the idea! I think this would be part of the BadgeOS core plugin though and not this Add-on. Maybe we can get this on the road map for a later version…

    If you need the functionality right away please feel free to take a stab at it. If you send us the code for review we could possibly roll it into the plugin… =)

    Thread Starter Onyeka Aghanenu

    (@onydchic)

    Alright great. I’ve been looking at the code all day but it kind of lost me in the saving part. I have the extra box in there, and when saving the extra field, the key was put in the database, but the actual value never saves, it’s driving me crazy. And the way you did it is a tad complicated so I’m probably missing something

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Special Achievements per post’ is closed to new replies.