• Resolved ElbowRobo

    (@elbowrobo)


    Hello,

    Great plugin (only recently decided to hit version 3 – have been using the buddypress 2.x version for a while as it sits so nice). Just wondering on the newest version how do I theme the information?

    I want to change this:

    <div class=”dpa-template-notice error”><p></p></div>

    to a custom format. But could not find it in the template files, managed to copy and manage all of the other template files in my template.

    Also, do you provide an unminified source of the javascript file. I am looking to change the achievement notification into a bootstrap modal.

    Thanks,
    Eliott

    https://ww.wp.xz.cn/plugins/achievements/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter ElbowRobo

    (@elbowrobo)

    Bootstrap modal is complete, please advise on the template question still though 🙂

    Thread Starter ElbowRobo

    (@elbowrobo)

    And another thing, while I’m here.

    I’d like for a way to unlock achievements more than once. They will be unlocked by code I guess but the system doesn’t allow that at the moment. I don’t wish to resort to editing the plugin, but I may have to.

    Thanks,
    Eliott

    Plugin Author Paul Wong-Gibbs

    (@djpaul)

    Hi 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

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Template Info Messages’ is closed to new replies.