WordPress.org

Ready to get started?Download WordPress

Forums

BadgeOS Community Add-on
[resolved] Special Achievements per post (3 posts)

  1. onydchic
    Member
    Posted 11 months ago #

    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?

    http://wordpress.org/extend/plugins/badgeos-community-add-on/

  2. Brian Messenlehner
    Member
    Plugin Author

    Posted 11 months ago #

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

  3. onydchic
    Member
    Posted 11 months ago #

    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

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.