• Resolved brianbelley

    (@brianbelley)


    Previously, this code worked fine on our site to display a progress dial in our header for logged in users:

    [um_loggedin show_lock="no"]
    <div class="gamipress-header-progress">
    [gamipress_progress from="current_rank" rank_type="level"]
    [gamipress_user_points label="yes" type="wip" inline="yes"]
    </div>
    [/um_loggedin]

    The blue progress dial around the percentage text (e.g. 90%) would show as displayed in the below code:

    <div class="gamipress-progress-radial-bar" style="background-image: linear-gradient(10.8deg, #0098d7 50%, transparent 50%, transparent), linear-gradient(270deg, #0098d7 50%, #eeeeee 50%, #eeeeee); width: 100px; height: 100px;">

    <div class="gamipress-progress-radial-bar-overlay" style="background-color: #fff;">
    <div style="display: inline; color: #000;">78%</div>
    </div>

    </div>

    We aren’t sure if it was an Ultimate Member update, a Gamipress update, or both, but this same code no longer displays the progress dial, and we aren’t sure when it broke. We are running the latest versions of each plugin. The exact same code with all plugins updated currently displays the percentage text, but now there is no blue progress circular dial around the text. The HTML element is now this [note the lack of the circular progress dial styles]:

    <div class="gamipress-progress-radial-bar" style="width: 100px;height: 100px">

    <div class="gamipress-progress-radial-bar-overlay" style="background-color: #fff">
    <div style="color: #000">78%</div>
    </div>

    </div>

    However, removing the outer wrapper of UM shortcode – e.g. if we delete the [um_loggedin show_lock=”no”] – then displays the progress dial again. So this code displays the dial fine – and it seems to be the outer UM shortcode that causes the progress dial to not display:

    <div class="gamipress-header-progress">
    [gamipress_progress from="current_rank" rank_type="level"]
    [gamipress_user_points label="yes" type="wip" inline="yes"]
    </div>

    So it seems that the Gamipress progress isn’t working when rendered within an Ultimate Member shortcode.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter brianbelley

    (@brianbelley)

    Also, we already reached out to Gamipress, but they mentioned that the issue is caused by the UM shortcode and to contact you here.

    missveronica

    (@missveronicatv)

    @brianbelley

    Have you seen this guide
    “Fixing JS Templates in the Inner Content of [um_loggedin] Shortcode”

    https://docs.ultimatemember.com/article/1945-fixing-js-templates-in-the-inner-content-of-umloggedin-shortcode

    Thread Starter brianbelley

    (@brianbelley)

    Yes, thank you! I had seen that – this code doesn’t have any inherent JS within the tags (though perhaps Gamipress is dynamically adding something through the Gamipress shortcode…not sure what that renders).

    That being said, the exact same code above was working perfectly fine up until a few weeks ago when it stopped working. So something changed.

    Let me see if with that option I can get at least a temp fix in place. Thanks!

    Plugin Support andrewshu

    (@andrewshu)

    Hi @brianbelley

    This thread has been inactive for a while so we’re going to go ahead and mark it Resolved.

    Please feel free to re-open this thread if any other questions come up and we’d be happy to help. ??

    Regards

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.