Michael

Forum Replies Created

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

    Hmm. I guess my biggest and first question is if the modal output is actually showing up in the source code on the frontend, so that it’s ready to be used.

    The output is attached to the wp_footer hook, and set to display:none by default. If it is output already, then the next part I’m curious about is if there’s perhaps a javascript/jQuery conflict going on that may prevent it from popping up like expected.

    Michael
    Member
    Post count: 649
    in reply to: Install #8107

    Under the “Plugins” menu in your WP Admin menu, there is an “Add New” submenu item. Click that.

    On that page, you’ll see a bunch of recommended plugins, but at the top you’ll see a button that says “Upload plugin”, which you will want to click. You’ll be taken to a screen where you have a basic file input that you can use to select the zip file you downloaded from BadgeOS.org here. That’ll upload and install it for you, and you’ll be able to activate from there.

    Michael
    Member
    Post count: 649
    in reply to: Install #8093

    Have you installed the Reports addon via your WP Admin panel or uploaded the extracted zip contents to your wp-content/plugins folder?

    Once that’s done, visit your plugins list to activate it, and then a new menu should appear in your WP Admin for it. License field should be in the BadgeOS > Settings area.

    Michael
    Member
    Post count: 649

    The referring link addon is one that creates a new “Earned by” option when creating an achievement. It’ll be in the list of available methods.

    You can see an example of the available options for it, once you have it selected as your “Earned by” method, at https://cloudup.com/cyiWPETtw_X

    Michael
    Member
    Post count: 649

    Hmm. Checking the badgeos_leaderboard_rebuild_leaderboard function, which is called both upon the insert of a new Leaderboard AND when the rebuild is checked. We are definitely going to be heavy on that, with 75k users.

    I’m curious if this should be amended to only include users who have achievements to their user. The get_users() call does allow for meta queries.

    At worst, this would eliminate a fair amount of the users to deal with. However, once everyone starts getting an achievement of some type, the meta key/value pair would exist for all of them and it’d be back at square one. That may or may not be an eventual reality, depending on how your site is set up and what sort of default achievements you may have.

    Michael
    Member
    Post count: 649
    in reply to: Installation #8083

    Posted reply there as well.

    Michael
    Member
    Post count: 649

    The Leaderboard addon is supposed to do some querying to fill in the data it’s supposed to display. It’s likely it hasn’t yet, thus the issue.

    See if this helps out at all, until we get a proper release out the door for everyone.

    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' );
    	if ( !empty( $leaderboard_ids ) && !empty( $leaderboard_names ) ) {
    		return array_combine( $leaderboard_ids, $leaderboard_names );
    	}
    	return array();
    }
    

    If it proves successful, I’ll make sure it gets committed for release

    Michael
    Member
    Post count: 649

    The Congrats Addon was released and is meant more for a real time thing than the Auto-Messages addon was.

    Michael
    Member
    Post count: 649

    I’m not going to be able to do much with just “shows a white screen”. I need some sort of error message to further debug what may be going on. If you’re familiar with the WP_DEBUG constant for WordPress, this is what you’d want to work with to get more information out of the whitescreen.

    There should be a checkbox on the leaderboard setting screen to rebuild. That’s the best I can recall for this part.

    Michael
    Member
    Post count: 649

    Does the leaderboard have any data ready to show? Or is it acting on empty results at the time of testing?

    Michael
    Member
    Post count: 649
    in reply to: Installation #8047

    Are you able to get to the point of creating a leaderboard, even if not configured yet?

    I need to figure out how to get this error to never show, but any time I’ve tried, I’ve encountered inconsistency in receiving the error, which makes it difficult.

    Michael
    Member
    Post count: 649

    Inspecting the modal popup to see what’s affecting the positioning and other properties, so that there’s a better idea of what needs to be adjusted, style-wise.

    I’m not going to have some drop-in block of CSS to help, honestly. It’s always going to be dependent on the theme being used.

    Michael
    Member
    Post count: 649

    Is this for a mobile/responsive resolution? or even just on a regular laptop with a wide browser window?

    It’s possible that CSS from your current theme is causing some conflicts with this.

    Michael
    Member
    Post count: 649

    I won’t call this a bug, to be honest. Steps could technically be considered achievements, if you think about it. Just more a part of a bigger, greater achievement. For a bit of an abstract example. Steps are individual classes in college/university that when combined, result in a degree, if all passed/earned. Passing each class is an achievement in itself. You get the idea.

    Seeing the itemized steps would be beneficial because you could see who is how far with what, while not having achieved the ending achievement quite yet.

    Regarding the widget, it may be checked to not show the steps themselves. I know we have an option for that much.

    Michael
    Member
    Post count: 649

    View source and your browser dev tools will help determine what’s getting loaded last and what selectors are overriding what.

    Regarding the custom.css stuff, if the CSS for the modals were coming from the parent theme, then that would apply, however, BadgeOS and the Congrats addon are plugins and very likely could be getting loaded after the custom.css file.

    Michael
    Member
    Post count: 649

    Is your CSS being declared after the current CSS affecting it? The order would be important. Other question would if the selectors are matching or stronger, so that they can be properly applied. Can’t recall at the moment about how much, if any, ajax is involved as well.

    Michael
    Member
    Post count: 649

    The selectors and markup are going to be the same as the desktop modals, so you’d be able to use your browser dev tools as necessary.

    Michael
    Member
    Post count: 649

    Looks like the primary overall wrapper could be targeted with #badgeos_congrats_wrap and one of the inner wrappers is .badgeos-congrats-achievement

    Feel free to also crack open the css/badgeos-congrats.css file that comes with the addon to see what else we already do for our limited styling.

    If you’re willing at the time to contribute the CSS edits you make back to the plugin, that’d be awesome and I could get it added to the code. You’d get credit for the contribution as well.

    Michael
    Member
    Post count: 649

    I think smartphones are an area where testing actually slipped a bit and didn’t get much focus. I can’t recall hearing about much at all for it. Perhaps more surprisingly is that this is the first time the topic has been brought up to us as well.

    That said, I don’t have any sort of paste-ready css fixes for anything here.

    Michael
    Member
    Post count: 649

    Best suggestion I have for that last part is contacting BadgeOS directly at http://badgeos.org/contact/. I don’t work for BadgeOS directly, but am part of the product development and support.

Viewing 20 posts - 241 through 260 (of 649 total)