Michael

Forum Replies Created

Viewing 20 posts - 601 through 620 (of 649 total)
  • Author
    Posts
  • Michael
    Member
    Post count: 649

    You could chain them together. Some of the default available steps include “Specific”, “Any”, and “All” of achievement type.

    With those, you can make a badge only earn-able once those other achievement types are earned.

    Michael
    Member
    Post count: 649

    I have given the code for this spot a good lookover, and I can say confidently that despite the error showing up, you will be able to save and use it safely. The only time you won’t want to use one, is if it gives a message that doesn’t include “undefined” for the achievement name.

    That doesn’t excuse the fact that the error message is appearing though. It’s a logic issue on our end that is meant to visually help avoid conflicts but not actually affect the saving of an achievement code. That said, I know where the error is coming from and have committed a fix for it. Hopefully we can get this pushed out shortly.

    Long story short, as long as it doesn’t specify “undefined” you’ll be fine to use the activity code, and a fix will be pushed out soon.

    Michael
    Member
    Post count: 649

    Regarding #5, if you still have issues with it, let me know an I can do what I can to help.

    Michael
    Member
    Post count: 649

    Good to hear that some of the original issues are working again.

    1. Noted and will check on this to see what we can do for that
    2. It should be taking into account changes to user achievements. Last I checked both awarding of new and revoking. You already noted the rebuild feature just in case you need it.
    3. I’m really confident that that is by design. I recall asking our devs about point removal before and they said it purposely didn’t.
    4. We do, although it’s not as clean as I’d like at the moment. We have the following filter in the place that the user login is displayed:

    
    apply_filters( 'badgeos_leaderboard_display_name', $user_data->user_login );
    

    Right now you’ll need to use the get_user_by() function inside your filter callback to query for the user data. After that, you can return the user’s full name to the filter.

    I filed an issue to have the filter pass in the $user_data object, so hopefully in a future version.
    5. Hmm, that sounds like it may be more related to your theme than our plugin/extensions.

    Michael
    Member
    Post count: 649

    Hmm. I’m checking on that error message and am seeing a few things that may trigger that.

    1. If the achievement is still just a draft
    2. If the maximum earnings has been exceeded.
    3. If the achievement is a child of a different achievement, and user is no longer able to earn the parent.
    4. If the parent is accessible, but the steps need to be in a sequential order.

    If all of those are met for your user, then hmm.

    Michael
    Member
    Post count: 649

    Hrm. Let’s get me on the right page.

    I know the shortcode is used to display the form used to submit the activity code, but it doesn’t sound like that’s what you’re currently looking for.

    Are you trying to show the awarded achievement for the activity code?
    We can look at the trigger log issue after we get me straightened out.

    Michael
    Member
    Post count: 649

    Ahh, I see what you mean now. If I went and submitted an image + caption of “My awesome recent photo”. You want both to show up in the stream. I am not sure we have that capability at the moment, but I can file it as a feature request for the Submission form when BuddyPress is available.

    Michael
    Member
    Post count: 649

    Not quite following what you’re asking. Do you mean having submission forms show up in activity streams, so that users can submit and hopefully earn the achievement?

    Michael
    Member
    Post count: 649

    Hi Dirk, have you tried [badgeos_activity_code_input] ? It looks to be the only shortcode we have defined in the Activity codes extension.

    Michael
    Member
    Post count: 649

    Hi Gianluca, the way the leaderboards code works is that it stores all of the statistics and user info for each leaderboard as a meta value on the leaderboard.

    Every time a user earns new points or an achievement, the extension should be updating that meta value. However, at times you may need to “rebuild” the leaderboard. You can do that with a button located at the bottom of the leaderboard editor page.

    Try that and see if it helps. If not, let me know and I can delve further in to see what may be going on and affecting your install.

    Michael
    Member
    Post count: 649

    If the site is publicly accessible instead of say on localhost, then I could take a look at it quickly enough with a provided link, otherwise, what browser are you using? That way I could provide you with the right information on how to open the javascript console.

    Michael
    Member
    Post count: 649

    Well, I do not believe that the LearnDash support is completely accurate with their recommendation about the Auto-messages addon.

    While yes it does do notifications, the auto-messages addon was not meant to be used for every single achievement the user can earn. It was designed more for milestones like completing a pre determined set of achievements or quests.

    From the Auto-messages product page:

    
    Note: This add-on does not trigger messages based on completing specific achievements. It does trigger messages based on the number of achievements earned, the number of points earned, and the number of times a user has logged in.
    

    Regarding the notification issue you’re trying to solve, you know already that the achievements earned show in the user’s profile. However, the user will also see messages about earned status when they visit the particular achievement. Also, we offer a widget that is used to display the current user’s achievements, which you could add to your site.

    I do believe we’ve had other people request pop-up style notifications for all achievements as they get earned, but I can’t recall at the moment what the status is on that functionality. We are aware of the request though and are considering it.

    Michael
    Member
    Post count: 649

    Are you familiar at all with browser javascript consoles at all? Curious if there are any errors being displayed in that when the page loads with the console open. Any other errors you’ve possibly seen would be awesome too, and help us possibly debug the issue.

    Michael
    Member
    Post count: 649

    Could you please create a new thread for your issue? We can discuss it in more detail there, instead of this guidelines sticky topic.

    Michael
    Member
    Post count: 649

    It appears that you may be experiencing invalid nonces somehow. “The invalid nonce causes WordPress to send a “403 Forbidden” response to the browser, with the error message: ‘Are you sure you want to do this?'”

    You can see a bit more at http://codex.wordpress.org/WordPress_Nonces

    Michael
    Member
    Post count: 649

    When I click the link, I see the User/Pass login form and the WordPress logo above it. Could you screenshot what you see perhaps?

    Michael
    Member
    Post count: 649

    Kevin, could you verify if your leaderboard plugin folder has “-master” in its name? it’ll be like so: badgeos-leaderboard-addon-master.

    If it does, rename it to just badgeos-leaderboard-addon and see if that fixes the issue. GitHub, where we do our development through, via private repo, adds the branch name to zip files, and we missed taking the -master off of it.

    Michael
    Member
    Post count: 649

    Hi Kevin, we’re investigating this one, so please standby and don’t give up hope yet 🙂

    Michael
    Member
    Post count: 649

    Glad that helped!

    Michael
    Member
    Post count: 649

    While this shortcode isn’t leaderboard specific, it comes from the core plugin, I’ll do what I can.

    I believe shortcode attributes are case-sensitive. In the callback used for this shortcode, the attribute is achievement_id while you’re using achievement_ID. Try it out with the lowercase version and see if that resolves the issue.

Viewing 20 posts - 601 through 620 (of 649 total)