Paul Wong-Gibbs
Forum Replies Created
-
Forum: Plugins
In reply to: [Achievements for WordPress] Translation & notification settingsJust to update this forum thread: after a bunch of exchanges, we figured this out. The .po file included in the plugin is out of date and is missing some strings that are used in the latest version of the plugin. My mistake!
I’ll make sure to update the .po file in the next version.
Forum: Plugins
In reply to: [Achievements for WordPress] Post Category Option Listed on Add NewHaven’t any plans to do this at the moment, but I’ll keep it in mind, and thank you for your feedback.
Forum: Plugins
In reply to: [Achievements for WordPress] Many, many questionsNow available at http://achievementsapp.com/developers/adding-other-plugins/ 🙂
Forum: Plugins
In reply to: [Achievements for WordPress] Leaderboard link?Thanks for the suggestions. I’ll keep in mind for future versions.
🙂
Forum: Plugins
In reply to: [Achievements for WordPress] How to exclude certain users from leaderboard?No. 🙂
Developers can use the sample code linked to on that other thread to see where you can choose to ignore an event in a specific situation. It won’t remove users from the leaderboard, so you might need to go in and edit the admin user profiles and set their karma points score to zero.
You’d probably want something like:
<?php function pg_skip_admins( $register_events ) { if ( ! $register_events ) return false; return current_user_can( 'activate_plugins' ); } add_filter( 'dpa_maybe_register_events', 'pg_skip_admins' );Forum: Plugins
In reply to: [Achievements for WordPress] Award achievements and generate pop upGreg;
Here you go: http://achievementsapp.com/developers/adding-other-plugins/
Forum: Plugins
In reply to: [Achievements for WordPress] ShortcodeHi
Not really. There’s a list of available shortcodes in an old thread at https://wordpress.org/support/topic/how-to-use-shortcodes-for-showing-users-achievements
Forum: Plugins
In reply to: [Achievements for WordPress] Award achievements and generate pop upThe documentation page for this is coming along well. I’ve written up a bunch of words, and next is working on a sample plugin that people can use a base for adding custom extensions to for Achievements. I might be able to work on that tomorrow night.
Forum: Plugins
In reply to: [Achievements for WordPress] How to exclude certain users from leaderboard?Hey
Can you link me to the existing thread? It’ll save me figuring out the code again, and I’ll do my best to help you get it running on your site.
It’ll also be interesting for me to know what type/kind of user you want to hide from your leaderboard. Is it something like a site admin you don’t want shown? Thanks.
Forum: Plugins
In reply to: [Achievements for WordPress] Award achievements and generate pop upHi Greg
Absolutely. Let me write up some docs this weekend because I’ve promised at least one other person, and I’ll do a better job spending a few hours writing up a document rather than spending 10 minutes on a quick forum reply.
In terms of what your quiz code needs to do, it’s literally something like this.
do_action('greg_is_cool', $user_id);Assuming you’re familiar with WordPress actions and filters, you can call the action whatever you want, and for ease of integration with Achievements, pass a user ID as the first parameter.
You’ll only want to call your new action(s) whenever you’ve verified that the quiz was validated and completed successfully.
Hi
If you want help investigating this, please open a new ticket and give me more details about your site — what other plugins you’re running, and what theme, for example.
9 months is a long time ago but I think pmcvicker’s problem was a bug in his theme (or at least, something unusual in his theme). I can’t remember if we came up with a solution or if pmcvicker decided to use another theme.
Forum: Plugins
In reply to: [Achievements for WordPress] multiple event names?Hi Stephanie,
I don’t mean for this to sound abrupt, but no; it needs to be a string. 🙂
Forum: Plugins
In reply to: [Achievements for WordPress] InvitationsNo, look at the names of these events carefully:
* “user invites someone else to join the site” — the achievement would count for the user inviting someone else.
* “”activating a membership” — the achievement would count for the user activating their membership, not the person who sent the invite.Hope that helps.
Forum: Plugins
In reply to: [Achievements for WordPress] Rename tabHmm, not easily. You’re probably best to create a translation file and just use it to change the phrase “Achievements” to whatever you want, but that’s kind of complicated.