Michael

Forum Replies Created

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

    The gist as a whole would be just fine in your theme, and if you need it to be theme independent, it’d be very easy to make as a standalone plugin.

    You’d use the same arguments as the attributes available to the shortcode for the leaderboard, so refer to the help page for those. Otherwise, you simply pass in the user to get the rank for, as the first parameter, and then the $args variable for the second one.

    
    //Fetch the rank for user ID 1, from leaderboard id 15
    $myrank = massey_badgeos_leaderboard_get_rank( 1, array( 'leaderboard_id' => 15 ) );
    echo 'My rank is: ' . $myrank;
    
    Michael
    Member
    Post count: 649

    That said, I’m really at a loss at the moment for this one.

    Michael
    Member
    Post count: 649

    Disregard, I think I did that on the staging site, not live 😀

    Michael
    Member
    Post count: 649

    May have to set up some jetpack things again. I was debugging trying to figure some stuff out, and forgot that it doesn’t retain some things when deactivated and then reactivated again.

    Just letting you know that was me that did it.

    Michael
    Member
    Post count: 649

    Still looking into some things.

    Completely off-topic: did you use Custom Post Type UI at one point for this site? I am looking through options.php in the admin, and saw one of the old option names for it. I ask because the company I work for is the developer of the plugin 😀

    Michael
    Member
    Post count: 649
    This reply has been marked as private.
    Michael
    Member
    Post count: 649

    Just throwing it out there, and I don’t know how dev savy you are, but I wonder if options are somehow being lost because MM serializes them and the staging setup somehow doesn’t know that and thus when urls are changed, the options are dropped.

    Michael
    Member
    Post count: 649

    “Pick up key”
    “Put key in lock *unknown action*” GAH

    Let me know when to head back in, I have faith we can figure out what’s going on, it’s just notably more difficult than first hoped 😀

    Michael
    Member
    Post count: 649

    I refuse to let you give up yet 😛

    From the looks of the error I pasted before, and looking at the code where it’s from, it appears to be a case of it didn’t find some cached version of some files.

    I realize it’s some extra work, but would you be willing to re-set up at least some of MemberMouse on the staging site and possibly poke around the frontend a bit to see if it can get some cache generation going so that we could leave it on and further debug.

    Michael
    Member
    Post count: 649
    This reply has been marked as private.
    Michael
    Member
    Post count: 649
    This reply has been marked as private.
    Michael
    Member
    Post count: 649

    Hmm, I’m having troubles getting the staging url to load, and I’ve had someone else test themselves and they said the same thing.

    Michael
    Member
    Post count: 649

    Awesome, checking on things soon.

    Michael
    Member
    Post count: 649

    Hmm. I definitely like Query Monitor, so I appreciate installing it.

    Here’s the spot that’s providing the query that I believe is the issue: http://cl.ly/image/2q21042S3315

    From the “$wpdb Queries” section when viewing the achievement permalink url where it should be shown.

    Any word on the staging site by chance? Having something I could safely go “wild” on will provide a chance for quicker debugging.

    Michael
    Member
    Post count: 649
    This reply has been marked as private.
    Michael
    Member
    Post count: 649

    Yeah, if you could set up a staging clone, I’d appreciate that. It’ll allow me to safely deactivate plugins/cache/etc without mucking up the live site.

    Michael
    Member
    Post count: 649
    This reply has been marked as private.
    Michael
    Member
    Post count: 649

    Are you willing to let me into the admin? I’m not able to think of anything preventing these as is, but I’m also very limited in information available.

    I wager it’s something to do with querys/query parameters, but I can’t verify.

    How live is this? or would I be able to output custom data to the browser if necessary without interrupting user experience?

    Michael
    Member
    Post count: 649

    If you have questions, ask them. Don’t worry about “getting out of my hair”. I’d rather get them answered the best I can so you’re not stuck in a bump in the road for a few days.

    Michael
    Member
    Post count: 649

    Let me know what you end up with and any corners you get to, I can do what I can to help.

    1) Could you try downloading the latest copy of Leaderboard Addons from badges.org here instead of through your WP Admin? I believe we missed a version constant and if I recall right, the logic necessary, for whatever reason, isn’t going to get it completely satisfied to get the notice cleared. Installing from a fresh zip on the website here clears that up. Worst case, I can point out the line to edit to get this resolved.

    2) I do not know about internships, I do know they have http://badgeos.org/jobs/ posted, and if anything, you could get some more information in general there.

Viewing 20 posts - 401 through 420 (of 649 total)