Confirmed issue just now. Looking into it and how to fix. Thanks Jonas. Will be in touch.
Took me awhile, but I do believe I have both issues solved for you. the log portion was due to an issue with quotes in php. The trigger portion was because we didn’t have the user ID available yet.
Both fixes are in the GitHub repo located here, if you want them right now:
https://github.com/opencredit/BadgeOS-Community-Add-on/archive/master.zip for the zip
or
if you’re comfortable with Git, git://github.com/opencredit/BadgeOS-Community-Add-on.git
You’ll want to make sure to replace the contents in the current plugin if you go this route. However, if I can get approval for a point release, we can get that released via the wordpress.org repo and you’ll get an upgrade notice in your WP Admin.
Great work! I’ll be sure to splice it into the current install.
Thanks
Hello! 🙂
I have the exact same problem with the trigger “Community Activity – join a specific group – group 1” is not rewarding any badges.
The event log says: “triggered (“
I have downloaded your fix, and I have a big error and I can’t see my site anymore, it says:
Fatal error: Call to undefined function badgeos_get_network_achievement_types_for_user() in …/plugins/badgeos-community-add-on/includes/bp-members.php on line 156
and I when I replace this line with the original, I have this error on the buddypress achievement page:
Fatal error: Call to undefined function badgeos_get_network_achievement_types_for_user() in …/plugins/badgeos-community-add-on/includes/bp-members.php on line 30
When using your fix and replacing the two lines above with the original, there is no
“triggered (“
anymore in the logs, but:
“Admin triggered groups_join_group (8x)”
but this is not rewarding any badges.
Thank you a lot for your help and keep up the good work on this very good plugin!
thanks
Sophia
Hi, has this bug been corrected in the new version? thank you 🙂
It looks like it was definitely touched upon, by the looks of http://plugins.trac.wordpress.org/changeset?reponame=&new=777748%40badgeos-community-add-on&old=713756%40badgeos-community-add-on
However, I didn’t have my own hand in the fix myself, so I can’t say for certain. If you do go ahead and update, let us know of any issues that remain, please. Hopefully there are none though.
It looks like this is the ticket I started for this thread originally.
https://github.com/opencredit/BadgeOS-Community-Add-on/issues/5