• Resolved briar21

    (@briar21)


    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.

    https://www.ads-software.com/plugins/badgearoo/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author dpowney

    (@dpowney)

    Thanks for this. I’ll look into them and respond soon.

    Plugin Author dpowney

    (@dpowney)

    Please retest with version 1.0.11. Thanks,

    Thread Starter briar21

    (@briar21)

    Still having the same problems of being locked out of the “steps” field when testing the steps described above.

    Points show being awarded by a pop-up window, but do not show up under member profile.

    HOWEVER, the name of the badge is now showing (yay!), but not the badge icon (no matter what I do). Nor does it pay attention to the custom HTML, which I have set to {badge_icon} {title} – {excerpt}. The only thing it shows is the badge color in the shape of a dot. Example is here: https://www.writinggroove.com/members/dreamers-cove/broo-bp-assignments/

    Plugin Author dpowney

    (@dpowney)

    Hi,

    Have you uploaded a badge icon (not to be confused with the featured image)? You also need to set the Custom HTML theme in the plugin settings (otherwise it will use either the icon, light or dark themes). The {badge_icon} will output the URL of the image. So to display it, it needs to be put into an <img> tag or inline CSS.
    e.g. <img src=”{badge_icon}” />

    Are points showing in admin backend?
    Can you send some screenshots of the steps locking?

    Thanks,

    Thread Starter briar21

    (@briar21)

    Ah, okay. I had the Badge Theme in the settings set wrong. Once I changed that setting to “icon” the badge appeared just fine under the member profile.

    Points are showing in the admin backend under “Assignments”. They are also showing in the database. Just not on the front-end.

    I’ll see about putting together a screenshot illustration of what is happening in the Conditions area.

    Thread Starter briar21

    (@briar21)

    Here we go!

    1. Created a new condition. Added step and was able to fully edit both fields to create the step. Then I saved.

    https://flic.kr/p/FULMq2

    2. A second step is added. Page is then refreshed before being filled in. No fields are now editable in either step. All steps are locked up.

    NOTE: However, if the second step added and then the condition saved before it is filled in, all steps ARE editable.

    https://flic.kr/p/EZvYta

    3. Second step is deleted out and condition is saved. The previously working step (back in Screen Shot 1) is not editable.

    https://flic.kr/p/FuEjfb

    4. All steps are deleted. A brand new single step is added. Fields are not editable.

    https://flic.kr/p/EZwabc

    Plugin Author dpowney

    (@dpowney)

    Thank you. I was able to reproduce using Firefox. Google Chrome works OK though. I will investigate.

    Plugin Author dpowney

    (@dpowney)

    I found the cause of the problem. Fixed in version 1.0.12 now available. Thanks, Daniel

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Condition Steps Problem’ is closed to new replies.