Viewing 8 replies - 1 through 8 (of 8 total)
  • Michael Beckwith

    (@tw2113)

    The BenchPresser

    Is the tab appearing when only steps have been earned so far, or are you manually typing it in at the moment?

    I believe they’re meant to show only once a complete achievement has been earned, but I could be wrong.

    Also just to be certain, have you flushed your rewrite rules recently? Since BadgeOS is post type based, including steps, we need to get the permalink settings refreshed. You can do that simply by visiting the permalinks page and hitting save without touching any setting there.

    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

    Michael Beckwith

    (@tw2113)

    The BenchPresser

    I sadly don’t have a “for sure” answer for the 404 part, I’d need to do my own debugging to see if I can somehow recreate and consequently also determine the source, etc.

    When working properly, it DOES have a “no achievements” message, if I recall right, which means the 404 is another layer of issue.

    Thread Starter blaagrrrl

    (@blaagrrrl)

    As in my other post the 404 error went away by commenting out the following if statement in your Badgeos-Community-Add-On:

    bp-members.php
    class BadgeOS_Community_Members / public function setup_nav()
    line 182
    if ( $slug && $can_bp_member_menu ) {
    Michael Beckwith

    (@tw2113)

    The BenchPresser

    Looks like a case of it’s getting far enough to be problematic, but not far enough to actually add the proper spots.

    Likely failing on $can_bp_member_menu = get_post_meta( $post_id, '_badgeos_show_bp_member_menu', true ); and that variable being set, because the 2 checkboxes are not available. Thus that inner if statement results in false, and none of the items are set.

    Thread Starter blaagrrrl

    (@blaagrrrl)

    I was able to walk back all the code changes and used instead the solution as described in this BadgeOS Community Add On support post.

    Michael Beckwith

    (@tw2113)

    The BenchPresser

    Yeah, it basically gives the achievement post type post a meta value to act on. Still something that should be looked into and addressed by the plugin itself so that others don’t have to do the same just to get the tabs working and showing properly. ??

    Michael Beckwith

    (@tw2113)

    The BenchPresser

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘404 error (page not found) on User Achievements page when only steps were earned’ is closed to new replies.