pmcvicker
Forum Replies Created
-
A small change I made to Achievements to make the persistent achievement notification window a bit more understood by my users: I changed “View My Achievements” to “Accept this Achievement”. Doesn’t necessarily change the user experience, which I think is ultimately to allow users to stay on the page they’re on, but it does change the user’s expectations, so that the message properly clear and they at least believe, on the surface, that accepting is a step in earning the achievement. Just a short-term suggestion.
Forum: Plugins
In reply to: [Achievements for WordPress] How to display pkt on profile page like this?<?php echo dpa_get_user_points( bp_displayed_user_id() ); ?>
Yup, same as @flyveren.Forum: Plugins
In reply to: [Achievements for WordPress] Number of Achievements Earned in a CategoryAh, what I’m looking for is a count of how many users have earned a particular achievement, and beyond this, how many have been earned in a whole category. Such as: “237 users have unlocked achievements in the Art category.”
I see that dpa_progress is the post-type with a post-status of dpa_unlocked that is registering completion.
So I guess what I’m looking for is a way to query all of the posts of dpa_progress type which have dpa_unlocked status within a specific category and output that as a number.
Forum: Plugins
In reply to: [Achievements for WordPress] Number of Achievements Earned in a CategoryAlthough, thinking back on my last look at how progress is being recorded, achievement unlocks are “posts” in a loose sense, and in this way they’d apply towards the count?
Forum: Plugins
In reply to: [Achievements for WordPress] Number of Achievements Earned in a CategoryWill that return a count of how many achievements exist within a given category or how many have been earned by users?
Forum: Plugins
In reply to: [Achievements for WordPress] Number of Achievements Earned in a CategoryHey Paul,
I put this page together from scratch, rather than dynamically pulling in available categories. The previous plugin I was using was too slow at loading data for the 150+ achievements I have. An example for one of the categories (art) is:
<li> <div class="item-avatar"><a href="https://challengebeta.mypcls.org/challenges/art-challenges/"><img class="avatar group-6-avatar avatar-150 photo" title="Art" alt="Group logo of Art" src="https://challengebeta.mypcls.org/wp-content/uploads/group-avatars/6/845c924e6b03ada716fb49d6fbdb43a8-bpfull.jpg" width="150" height="150" /></a></div> <div class="item"> <div class="item-title groups-directory-title"><a href="https://challengebeta.mypcls.org/challenges/art-challenges/">Art</a></div> </div> <div class="clear"></div></li>
Forum: Plugins
In reply to: [Achievements for WordPress] A new user activates… achievementI can confirm the same. Badge awarded on activation for the first time I tested it, and then not at all for any users after that.
Forum: Plugins
In reply to: [Achievements for WordPress] Show total points on profile page@daniel_iceman Try this:
dpa_get_user_points( bp_displayed_user_id() )
Forum: Plugins
In reply to: [Achievements for WordPress] Adding comments to achievementsAlright, I’ve done some more investigating and determined the following:
- Its not a theme issue. Comments are closed BP-Default as well.
- Its not a plugin conflict. I disabled every plugin I’ve got running and comments still either don’t appear or are closed when a comment is manually added from admin.
We’re looking to shift challenge reports for our site away from forum responses and into comments at the achievement page itself, so getting the comments working would be a huge plus for me.
Forum: Plugins
In reply to: [Achievements for WordPress] Sites Using this PluginThanks! Still a lot to be improved, but a good leap beyond what we did last year running Achievements 2.X https://tsrp12.mypcls.org .
Forum: Plugins
In reply to: [Achievements for WordPress] Adding comments to achievementsEven more interesting, if I add a comment manually to an achievement page via admin, it does appear on the page, but indicates that comments are closed on the post (see https://challengebeta.mypcls.org/achievements/a-tale-for-every-tail/). Why would they be closed? They’re enabled both sitewide and on this achievement specifically. I tried creating a new achievement and a test comment from admin produced the same message.
Forum: Plugins
In reply to: [Achievements for WordPress] Adding comments to achievementsWould a look at the comments template in my theme be helpful?
Forum: Plugins
In reply to: [Achievements for WordPress] Adding comments to achievementsTried both of those suggestions prior to posting. Inserting
<?php comments_template(); ?>
in content-single-achievement.php generates the following error:Fatal error: Cannot redeclare comment_template() (previously declared in /nfs/c07/h03/mnt/112287/domains/challengebeta.mypcls.org/html/wp-content/themes/bounce/comments.php:37) in /nfs/c07/h03/mnt/112287/domains/challengebeta.mypcls.org/html/wp-content/themes/bounce/comments.php on line 109
Forum: Plugins
In reply to: [Achievements for WordPress] How-To: Create a LeaderboardMike, what would I need to check to have the Roster pull the user’s “display_name” field in the users table instead of the nickname (which actually appears to be the login)?
Forum: Plugins
In reply to: [Achievements for WordPress] Sites Using this Plugin