Forum Replies Created

Viewing 3 replies - 46 through 48 (of 48 total)
  • Thread Starter blaagrrrl

    (@blaagrrrl)

    Hi Michael,

    I really appreciate all of your support.

    I have flushed the rewrite rules.

    The reason why that page is always available on my website is because I have it linked from the main menu, to make it easier for the users to navigate to the most important page.

    It still doesn’t make any sense to me. Why would the achievement page exist if there were no achievements or steps earned at all, but it would be trowing a 404 error if there were just some steps completed. I would be fine with the fact if the page would say ‘No completed achievements to display at this time.’, but a 404 error?

    Is this a buddypress question, should I try my luck over at the bp forum?

    Thanks,
    NBl

    Thread Starter blaagrrrl

    (@blaagrrrl)

    Thanks for your answer. Could you please also confirm the following:

    There is no email notification after an achievement is earned by completing all the required steps.

    Would the action you mentioned in your response also trigger when an achievement earned by steps is completed?

    Thanks,
    NBl

    Thread Starter blaagrrrl

    (@blaagrrrl)

    Could you maybe point me to an existing function that I could call to display the steps in the buddy press template?

    In case that didn’t exist, I did already some digging and saw that badgeos uses AJAX to attach the achievement data to the achievement page.

    I tried to alter the script for the AJAX function here…

    ajax-functions.php:
    function badgeos_ajax_get_achievements()

    I was able to include badges that were not-completed by changing the code on line 118:

    if ( $filter == 'completed' ) {
      //$args[ 'post__in' ] = array_merge( array( 0 ), $earned_ids );
      $args[ 'post__in' ] = array_merge( $hidden, $earned_ids );
    }

    But what I really want to do, is to find the code that includes the steps on completed ones.
    Can you point me to that code?

    Thanks,
    NBl

Viewing 3 replies - 46 through 48 (of 48 total)