Forum Replies Created
-
AuthorPosts
-
in reply to: License Key problems #10350
Can everyone re-try saving the settings page with the license keys in place, or remove, save, and then re-add and re-save. I was doing some testing with the “active” indicator stuff, and I believe I found the issue(it was something on our side).
in reply to: License will not active #10349Can you re-try saving the settings page with the license, or remove, save, and then re-add. I was doing some testing with the “active” indicator stuff, and I believe I found the issue(it was something on our side).
in reply to: Cannot Activate Site #10348Can you re-try saving the settings page with the license, or remove, save, and then re-add. I was doing some testing with the “active” indicator stuff, and I believe I found the issue(it was something on our side).
in reply to: Cannot Activate Site #10342” Also, in your account area, when I attempt to “manage sites” for these 2 add-ons, I go a blank “My Account” page. Any thoughts on these items?”
Is this in reference to here on Badgeos.org or from within your WP install?
We need to check on it still, but I wouldn’t worry too much about the “inactive” listing in your WP admin. They’re active on this side and that’s what’s important right now. You can always nudge us on here if something comes up too, just to check on things.
in reply to: Cannot Activate Site #10329Activated the specified site for both addons. Let me know if you run into any other issues.
in reply to: Cannot Activate Site #10328michael @ webdevstudios dot com will reach me.
Please provide a link to this forum thread so I can be sure of context for the email. Thanks.
in reply to: Cannot Activate Site #10326Not seeing any site listed as active on our end at the moment, but it does say the license is active.
If you want, I can manually activate it for a domain. Just me know which one to set it for.
Regardless, you should be good till next year, and we’ll be looking into why it’s possibly not showing as active from the user’s WP Admin.
We’ll keep you taken care of one way or another.
Can you try things out again? I added a second early return from the function, before the get_current_screen function call, which should help prevent the issues.
My current theory is that it is being determined to be the WP admin, but the emails are still being generated before the loading of the get_current_screen function itself. Thus being caught in the middle.
I also made note for the issue on our issue tracker so that it will be fixed in a future version.
For the link, I’d recommend targeting it with some CSS. I’d recommend the CSS selector of
.badgeos-congrats-achievement a {}
If you are comfortable with WordPress filters, we can go that route as well, but I want to check with you before getting into details there.
The Credly integration should be controllable via the BadgeOS settings page.
Regarding the emails, I am assuming those settings are showing up in a frontend profile?
This reply has been marked as private.Out of curiosity, do you have WP_DEBUG turned on at all? I wasn’t able to recreate the errors showing up in my localhost site, which has me wondering about the debugging detail.
The thing is that it shouldn’t be happening, and at least at the moment, you’re the only one reporting an issue with it. I’ll try some tests out to see if I can recreate, but I make no guarantees.
in reply to: Removing users from Leaderboard #10220I do not believe we have any way to handle that type of request without someone diving into the code and WordPress filters. Basically when the leaderboard is building its data, before cached, one would need to check if one of the ranking users is one that needs to be excluded. If so, the user would be removed from the array of data before returned to be saved. Biggest potential issue is that if one does, then the numbers won’t necessarily add up to the max amount for that board as well, because the calculations won’t be re-run to fill the rest again.
If we were to try and add a way to handle this out-of-box, we’d likely amend internal queries to exclude those marked for exclusion so it still fills the right amount.
We just don’t have that right now.
It’s not a solution, but I can’t explain right now why it’s seeming to slip between the cracks of frontend vs admin at the time of the email sending. If it’s considered frontend at the time, then the filtering should be returning the unaltered $allowedposttags before it reaches the function. If it’s considered admin, then the function should exist, unless it somehow hasn’t been defined quite yet.
in reply to: License Key problems #10156the validator for the license won’t go “http://subdomain.domain.com is the same as “http://www.domain.com”, this is something at the level of the eCommerce solution BadgeOS.org uses. It looks at the whole URL.
Yes, it’s used for updates from the admin, as long as you’re still valid for the year or any renewals purchased, you’d be able to manually download the files from your account here at badgeos.org as well, but it’s more work.
in reply to: Overall Member's Postion #10154Never hesitate to look through the addon’s code, it’s there for you to use as necessary.
That said, this should get you started, but feel free to modify and amend as you see fit. I added comments to help explain why I did some things.
// Set our details. alter as necessary. $leaderboard_id = 197; $leaders = badgeos_leaderboard_get_leaders( $leaderboard_id ); $current_user = get_current_user_id(); // Create an empty array to start with. $user_rank_data = array(); //Iterate over our leaders. foreach( $leaders as $rank => $leader ) { // If we have a match, act and fill our $user_rank_data array with some info. if ( $current_user == $leader['user_id'] ) { // Need to add one because arrays are zero-based in indexing. $user_rank_data['rank'] = $rank + 1; $user_rank_data['user_id'] = $leader['user_id']; //Simply re-store the value. break; //We found what we needed, no need to continue. } }
Odd. The snippet that I added is definitely there in your paste, but for some reason it’s still getting past it AND still erroring.
in reply to: License Key problems #10152Dennis, you’ll want to deactivate from the dev site before activating on the live site. We have no way to determine what URLs are dev sites, so it just counts against your total. If you only have a 1 site license, then it gets used up until deactivated.
We can deactivate on our end as well, if requested, so you can move where it’s activated at.
Can you open the
badgeos-auto-messages.php
file and check towards the end to see if it has the following code right before the get_current_screen() call?if ( !is_admin() ) { return $allowedposttags; }
If you are unsure, or would prefer someone else to, I can if you grant me an admin user long enough to check that much.
What version of Auto Messages do you have? I believe that one was fixed in 1.0.2.
-
AuthorPosts