Dennis 2024-10-24T14:50:00-04:00

Forum Replies Created

Viewing 20 posts - 1 through 20 (of 21 total)
  • Author
    Posts
  • Dennis
    Participant
    Post count: 24

    Will this work if say the member was #250 overall out 10,000, but the “Number of Users” in the “Leaderboard Settings” is set only to 10?

    Dennis
    Participant
    Post count: 24

    Our dev site is a sub-domain so technically it’s the same site with a different database.

    Is this only used for plugin updates?

    Dennis
    Participant
    Post count: 24

    It sounds like it should be easy to code, but I don’t know the mechanics of the plugin.

    get user id for the logged in user

    get rank post meta for that id

    But I have no idea how to write that.

    Dennis
    Participant
    Post count: 24

    Will the license still work when I move it from our dev site to our live site?

    Dennis
    Participant
    Post count: 24

    I have the same issue.

    Dennis
    Participant
    Post count: 24

    Yes, what he said. 😛

    I need a nap before I break all that down, but It sounds good. 🙂

    Dennis
    Participant
    Post count: 24
    in reply to: Responsive Tables #8614

    I got the css solution working. It isn’t perfect. If you know a bit about css and only use one board it should be easy to do. If you have more than one board you may need to wrap them in different div classes so you can setup different pseudo elements for each board.

    It still would be great to have a more tailored solution like that Tablesaw script. 😉

    Dennis
    Participant
    Post count: 24

    I think this should be easy to add. Just have a custom field in the settings that lists the default user roles and check those to exclude. Then you just add conditional elements in the php. The problem is I would need to read all the code and learn how it works before changing it. For someone that knows the code it should be easy. Should be.* 😛

    Dennis
    Participant
    Post count: 24

    Where you able to find a solution for this?

    Dennis
    Participant
    Post count: 24

    Works great thanks!

    Dennis
    Participant
    Post count: 24
    in reply to: Monthly Top #8599

    THANKS!

    I’ll test it out and report back.

    Dennis
    Participant
    Post count: 24

    Thanks! That seems to be working.

    I think it still needs a better fix for scaling because once this is live and members get added to the database overtime this error will come back.

    Dennis
    Participant
    Post count: 24

    Version: 1.1.0

    Dennis
    Participant
    Post count: 24
    in reply to: Monthly Top #8416

    I need the same thing.

    Dennis
    Participant
    Post count: 24

    Still waiting on a fix.

    Dennis
    Participant
    Post count: 24

    White screen after hitting the publish button indicates a PHP error. It’s timing out the server.

    This is the error:

    Fatal error: Allowed memory size of 262144000 bytes exhausted (tried to allocate 71 bytes) in …./wp-includes/meta.php on line 829

    That line of code has to do with user meta IDs.

    It seems your plugin is trying to query all the users in the database. We have around 75,000.

    Before you suggest increasing the memory, we already have it set to 1 gigabyte.

    ============================

    Rebuild does the opposite. It sets the board back to zero.

    Dennis
    Participant
    Post count: 24
    in reply to: Installation #8059

    Moved reply here:

    Dennis
    Participant
    Post count: 24

    What do you mean by data?

    We have created badges and points. We have members that have earned those badges and points.

    If you mean do we have leaderboards, how could we have those when first installing this?

    This is the code causing the error:

    function badgeos_leaderboard_get_leaderboards_for_embedder() {
    	$leaderboards      = badgeos_leaderboard_get_leaderboards();
    	$leaderboard_ids   = wp_list_pluck( $leaderboards, 'ID' );
    	$leaderboard_names = wp_list_pluck( $leaderboards, 'post_title' );
    	return array_combine( $leaderboard_ids, $leaderboard_names );
    }

    You don’t have a conditional array if there are no boards.

    http://stackoverflow.com/questions/19394980/warning-array-combine-both-parameters-should-have-an-equal-number-of-element

    http://www.w3schools.com/php/func_array_combine.asp

    Dennis
    Participant
    Post count: 24

    I guess it stay empty until someone earns new points. Is there a way to have it scan past points, badges, etc.?

    Still have the white screen issue creating new boards.

    Dennis
    Participant
    Post count: 24

    Same issue. Creating a Leaderboard made the error go away, but the leader will not display in a shortcode or the widget.

Viewing 20 posts - 1 through 20 (of 21 total)