Condition Steps Problem
-
I wanted to let you know of a strange behavior in the Admin side of Conditions. Steps to recreate:
Create a new condition. Have one “step” already defined and saved. Note: this step will work on the front-end, with points assigned after completing this one “step”.
Add a “step” and then refresh or have to sign in again before filling it in and saving the changes to the condition.
The “Step” areas now cannot be edited (note: “Incomplete” appears next to the condition title). And I do mean all the “step” area. Even the previously saved and editable step cannot be edited or altered.
Deleting the new incomplete step and trying to edit the previously-working “step” does not work. The fields are frozen.
Deleting all the “steps” and then adding a new one does not fix the problem. It’s as if the “Step” area has become corrupted or I no longer have the permissions to edit that entire area.
The left-side of the condition area remains fully editable. It is only the “step” area that is affected.
The only solution is to completely delete the condition and start a brand new condition. The new condition will work as expected… unless the above steps occur.
I’ve been able to reproduce this behavior.
If the one working (first) step remains (even while the fields are frozen), then on the front-end when a condition is met a pop-up box announcing points earned does appear and the points appear in the MySQL database. However, the points are not reflected in the member profile. I checked the MySQL database, and under “broo_user_assignment” the points are registering. This might be a separate issue, as I haven’t been able to get any points and badges to appear under a member profile at all, but thought I would mention it here as it was noticed while testing the above issue. “ No badges. No points.” does appear under the member profile, so at least that part is working.
Question: Does the pop-up box on the front-end ever announce that a badge has been earned? So far it has not, even though the conditions are set so that a badge is supposed to have been issued. It only announces that points have been earned. The “Assignments” panel in the Admin area does not show that a badge has been issued or is waiting for approval. At the moment I have the system set to “Auto Approve Assignments”.
Another issue I thought I would mention, but I could make happen only once: the very first time I tested Badgearoo with a simple comment to a WP post. When submitting a comment, which then should have triggered points and a badge, this error message appeared:
Warning: Missing argument 3 for broo_bp_activity_post_type_published() in /home/REDACTED/REDACTED/writinggroove.com/wp-content/plugins/badgearoo/includes/integrations/buddypress.php on line 294
Warning: Cannot modify header information – headers already sent by (output started at /home/REDACTED/REDACTED/writinggroove.com/wp-content/plugins/badgearoo/includes/integrations/buddypress.php:294) in /home/REDACTED/REDACTED/writinggroove.com/wp-includes/pluggable.php on line 1228
Comment still posted. No points appeared under the member profile, and as far as I can tell, did not appear in the MySQL database.
I am using the latest versions of WordPress, Buddypress, bbPress, and Badgearoo.
- The topic ‘Condition Steps Problem’ is closed to new replies.