Michael

Forum Replies Created

Viewing 20 posts - 281 through 300 (of 649 total)
  • Author
    Posts
  • Michael
    Member
    Post count: 649
    in reply to: translate #7511

    A copy/paste error in 1 spot. Worldcat refers to a different extension available, and it is simply a missed change that needs to be made.

    Thank you for ultimately pointing out the issue. That should get fixed in the next update, but feel free to leave your edit since you need it taken care of right away.

    Michael
    Member
    Post count: 649
    in reply to: translate #7509

    Not sure then, because those exact filenames did work for me with my testing. Are you sure you got the dash and underscores matching?

    Michael
    Member
    Post count: 649
    in reply to: translate #7497

    I believe the issue is the file name you’re using. Try renaming both to “badgeos-activity-fr_FR.mo” and “badgeos-activity-fr_FR.po”. If I recall right, the file name needs to match up with the textdomain used, followed by the language code, and our used textdomain is just “badgeos-activity” for this extension.

    Michael
    Member
    Post count: 649
    in reply to: translate #7496

    That’ll work. I was gonna provide the email if you wanted to go that route 🙂 Either way, I’ll check on this right now.

    Michael
    Member
    Post count: 649
    in reply to: translate #7494

    Would you be willing to email me the translated files so I could use them to test and see if we’re perhaps missing a detail with regards to internationalization?

    Michael
    Member
    Post count: 649
    in reply to: Hight is too high #7473

    Do you have a link to an example that I could see? Other than that, my first hunches are something to do with CSS playing a part in this.

    Michael
    Member
    Post count: 649

    Sounds like everything is good to go then.

    Michael
    Member
    Post count: 649

    Good to hear on the first part. What is the suspected issue? divs not resizing appropriately based on the image?

    I’ve gone to ../brain-game-primer-level-quest-2-password/ and never saw an incomplete image, I always saw from “Primer Level” at the top to “Start game” in the graphic. May have been a specific browser issue?

    Michael
    Member
    Post count: 649

    Not without more access to the site, via FTP, since I can’t access the files I’m suspecting somehow to test things with.

    Something somewhere is somehow managing to apply inline styles to the first password form in your site only. As mentioned, I wasn’t recreating with my own install, and I made sure to activate all of the same BOS extensions that you had going as well.

    Michael
    Member
    Post count: 649

    It’s ultimately a question of what data is the plugin finding, or in the apparent case, not finding.

    Michael
    Member
    Post count: 649

    I can’t imagine it being a conflict in code between plugins or anything like that. At these points I end up going into the plugin code that is in charge of rendering the leaderboards and checking the query results early on to see what’s being returned before it starts rendering anything.

    The rendering code/function is located in includes/display.php right at the top in the badgeos_leaderboard_display_leaderboard() function.

    Not far into the function you’ll see a section that looks like:

    // Get leaders
    $leaders = badgeos_leaderboard_get_leaders( $args['leaderboard_id']);
    
    // Sort and trim leaders array
    if ( ! empty( $leaders ) ) {
    	$leaders = badgeos_leaderboard_sort_leaders( $leaders, $args['orderby'] );
    	$leaders = badgeos_leaderboard_trim_leaders( $leaders, $args['user_count'] );
    }
    

    For debugging, I’d end up checking what’s in the $leaders variable at each step. If it never sets a value, then I’d look inside the badgeos_leaderboard_get_leaders() function and see what may cause it to return nothing, and keep tracing my way back until I found the issue/source.

    I admit I don’t know how code-savy you are, so I’m hoping this isn’t over your head.

    Michael
    Member
    Post count: 649

    is it spots like this that you’re referring to? https://cloudup.com/cpbhpxOVSa1

    If so, it’s not a case of partially loaded, it’s the case of CSS affecting opacity. If they’re not appearing “fully loaded” then the user you’re logged in as hasn’t earned the achievement yet. Once they do, it’ll appear full opacity to them.

    Michael
    Member
    Post count: 649

    Then there must be something else in the code or data that’s preventing things from showing up as expected. I don’t have access to the site, so I’m not able to determine myself.

    Michael
    Member
    Post count: 649

    If you or someone else helping is comfortable with code at all, we have the following WordPress filter that may be of help for the target attribute.

    apply_filters( 'badgeos_rlt_render_outbound_link', $link, $achievement_id, $start_url, $start_text );
    

    It’ll pass in the generated link, but you’ll be able to generate your own if you wanted, as we provide the achievement post ID, $start_url value, and $start_text value.

    You can see how we constructed the link in the following snippet.

    $link = ( ! empty( $start_url ) && ! empty( $start_text ) )
    	? sprintf(
    		'<p class="badgeos-rlt-outbound-link-container"><a href="%1$s" class="badgeos-rlt-outbound-link button">%2$s</a></p>',
    		esc_url( $start_url ),
    		esc_html( $start_text )
    		)
    	: '';
    
    Michael
    Member
    Post count: 649

    You’re going to need at least 1 user for each site in the network, but you can limit which sites in the network general users are able to access. Including the one you create for the BuddyPress side of things.

    There’s nothing I know of for “where they are stored” for users. What matters is the data saved to the usermeta table for their user. The IDs stored in that usermeta data is going to coordinate to post IDs and those IDs will be used to query for the achievements. However, if the achievements aren’t in the same site that the leaderboard is being used, then it’s not going to find achievement-based posts and have nothing to display.

    I don’t know your setup well enough to confirm this, but I am going based off of how I recall it being coded. So all speculation.

    Are you able to confirm that the test users have earned achievements in the same site that the leaderboard is being used?

    Michael
    Member
    Post count: 649

    Hrm. I’m definitely able to recreate the user profile password issue with your site, but I am not able to recreate it locally. Something is setting the first password field to display: none and I’m not able to do much more for file debugging at this point.

    At this point for #2, I assume you’re referring to it looking a bit faded, and that’s on purpose via css and the opacity property. Once a user has earned the achievement, a different class will be added to the output that gets full opacity set. If that’s not what you’re referring to, I’ll just need some more details as to what you meant.

    Michael
    Member
    Post count: 649

    This may be related to my reply at http://badgeos.org/support/forums/topic/leaderboard-user-order-is-not-correct/#post-7406, especially if you’re using it between sites in multisite.

    Michael
    Member
    Post count: 649

    Rebuilding leaderboards isn’t going to ruin user/user data, it’s simply going to re-build a cache of data based on the user data available.

    Multisite is also a setup that has only 1 user/usermeta table, though now I’m wondering if badgeos data is corresponding with the site you’re using the leaderboard addon in. Achievements are post type based, and post/postmeta tables are not shared between sites.

    Michael
    Member
    Post count: 649

    The Reports addon and the Leaderboard addon determine their data and results from different things. Reports goes based on the BadgeOS log that you’ll see in your WP admin, while Leaderboard goes based on user meta. However, the leaderboard content is cached as well, and I have to think the results would clear itself up a bit better if you go and edit the leaderboard in question, and click the “rebuild leaderboard” button at the bottom.

    Let me know if any or all of these bits help.

    Michael
    Member
    Post count: 649

    Do you have users that have begun earning achievements and points already? Could you screenshot the settings used for your leaderboard as well as what’s displaying for it on the frontend?

Viewing 20 posts - 281 through 300 (of 649 total)