Paul Wong-Gibbs
Forum Replies Created
-
Forum: Plugins
In reply to: [Achievements for WordPress] Achievements not "working"?I haven’t had time to look, to be honest.
Forum: Plugins
In reply to: [Achievements for WordPress] Change the name "karma points"?You need to look in /achievements/templates/default/ and find whatever template file you want to modify (in this case, any with the word “karma” in), and then copy that template into /wp-content/themes/YOUR_THEME/achievements/. You can then edit your copy of that template, and it’ll override the version of the file that comes bundled with the plugin.
Forum: Plugins
In reply to: [Achievements for WordPress] New extension don't workthink the problem is: How do I tell to Achivements “hey, I wrote a new extension, please, load it”?
You said you’ve edited achievements.php; that’s one way. ?? I’d suggest putting it inside plugins or mu-plugins as its own plugin. That way, you have a custom plugin and just turn it on/off easily.
Forum: Plugins
In reply to: [Achievements for WordPress] New extension don't workOk. Have you created a test plugin on your site where you hook debug code into those actions? Have you confirmed that those actions are actually firing when you expect them to?
Forum: Plugins
In reply to: [Achievements for WordPress] Achievement description editingHi,
Not sure what you’re referring to. Can you share a screenshot?
Forum: Plugins
In reply to: [Achievements for WordPress] Template Info MessagesHi ElbowRobo, thanks.
> I’d like for a way to unlock achievements more than once.
Right now, it’s built that Achievements can only be unlocked once. Good luck ??
> div class=”dpa-template-notice error (etc)
It’s hardcoded inside a function,
dpa_template_notices()
. How about you make a copy of that function, rename it and adjust what you want, and stick it in your theme’s functions.php?> unminified source of the javascript file
Not in the release versions, but you can look at the source on Github. Note I compile and minify from LESS:
https://github.com/paulgibbs/achievements/tree/3.5.1/src/templates/achievements/css
Forum: Plugins
In reply to: [Achievements for WordPress] New extension don't workTake a look through https://www.ads-software.com/support/topic/actions-not-showing-in-choice-drop-down?replies=5 for someone else who has the same problem and explains what is going on.
Forum: Plugins
In reply to: [Achievements for WordPress] Template TagsHi Nick,
Thanks. No list of templating functions on the website, but you can look in all the folders inside the /includes/ folder; if there’s a template.php file, that’s where all the theme templating functions should be. Looking at that and the default templates should get you started, but let me know if you have any specific questions.
Regarding the user points; yes, use dpa_get_user_points(). That function returns an integer, so you can just use it inside an IF, etc.
Hi Adjunkten
Yes, it’s something people have asked about, but I haven’t done it before because I haven’t been able to think of a way to add this data and make it look nice. I haven’t forgotten about it and hope to get back to it in due course.
Thanks ??
Forum: Plugins
In reply to: [Achievements for WordPress] Getting Multiple Achievement Imageskmburk2 — this really sounds like a BuddyPress templating question. Once you find the BuddyPress template you need to override, you should be able to drop in any other code or call Achievements functions.
Forum: Plugins
In reply to: [Achievements for WordPress] Actions not showing in choice drop-downYep, you got it. Good research. ??
This might feel like a bug but it was built this way to make it easy. It doesn’t, however, handle very well for developers building extensions because the next page load will set the version number in the database and Achievements will think the custom extension has already been set up. It does need to be changed though, because it’s a pretty poor developer user experience.
I am releasing a new version of Achievements this Friday. It won’t have a fix or improvement for this issue, but the next version after that, I will make sure I address this somehow.
Thank you for your patience and your detailed explanation of what’s happening. It will help me explain the same problem to other developers.
Forum: Plugins
In reply to: [Achievements for WordPress] User Achievement Index not workingOld thread, but @32bitexplosion is correct. In theory “default” (aka ugly or default permalinks) should work but there must be a bug somewhere. URLs look better when you set a permalink option anyway, so it’s not high on my list of things to correct.
Forum: Plugins
In reply to: [Achievements for WordPress] Achievements not "working"?No-one’s reported such an issue before you, but I plan to do a new version of Achievements this Friday so I will test everything then, including this, and fix if it is broken. I’ll come back and update this topic if it is broken.
Forum: Plugins
In reply to: [Achievements for WordPress] New extension don't work> The nextendfacebookconnect.php extension for your pluggin
Probably just this. I still intend to get back to you this weekend with advice for dealing with this issue. I haven’t forgotten.
Forum: Plugins
In reply to: [Achievements for WordPress] Actions not showing in choice drop-downHi Satwinder
Please can you share with me the code you’ve written, so I can test it out? Thank you.