WordPress.org

Support

Support » Plugins and Hacks » BadgeOS » [Resolved] Number of days?

[Resolved] Number of days?

  • This would probably be used by many if it was an available option.
    I’d like to award members on anniversary dates from when they joined I.e. such as 1 year since joined. A bit like a birthday award.

    Is there any way to do this with BadgeOS?
    Any help would be great
    Martin

    http://wordpress.org/extend/plugins/badgeos/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Good day Martin.

    As you’ve noticed, it’s either not obvious or immediately able to do a time-based badge. However I suspect it’d be possible to roll a custom solution via something like cron jobs, the only real issue would be determining how to trigger the awarding at that moment. I’d have to check through the source code right now to see if I could find the appropriate ones.

    From what I see, WordPress keeps the registration date and time somewhere in it’s magical database of tricks so that’s where I would have thought the calcualtions to be based on and awarded by the trigger calculation.

    I ain’t no coder but that would sound like the easiest way, once the calculation stuff was figured out.

    Yeah, the wp_users table will have the registration date for them.

    So would this be some kind of added functions.php thing to get it to work, Michael?

    Yeah, that’d be a place to put it, otherwise a basic plugin would be just fine as well, though I suspect you won’t be changing themes anytime soon.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] Number of days?’ is closed to new replies.
Skip to toolbar