WordPress.org

Ready to get started?Download WordPress

Forums

Achievements for WordPress
[resolved] Closing Achievement Notification (11 posts)

  1. Scotm
    Member
    Posted 1 year ago #

    I understood 3.1 would allow users to click on the page to have the achievement box close. I'm using BP 1.7 and Achievements 3.1 and I can't get that to work. On a related note, I think a visual way to close the box would be much preferred for users (click X).

    http://wordpress.org/extend/plugins/achievements/

  2. Paul Gibbs
    BuddyPress Lead Developer
    Plugin Author

    Posted 1 year ago #

    Check for javascript errors or warnings; it's possible also that some other javascript on the page is intercepting the 'click' event bubbling, prevent the behaviour. I can't do much about that.

  3. Scotm
    Member
    Posted 1 year ago #

    I don't see any errors causing this and have tried it with all plugins turned off with the exception of BuddyPress 1.7 and Achievements. If I wanted to try a work-around to have a clickable link to close the pop-up, can you point me to the appropriate file? I think this is a preferable option for future versions as well.

  4. Paul Gibbs
    BuddyPress Lead Developer
    Plugin Author

    Posted 1 year ago #

    plugins/achievements/templates/achievements/achievements/feedback-achievement-unlocked.php

    Copy it into your theme like so:

    themes/YOUR_THEME/achievements/feedback-achievement-unlocked.php

  5. Scotm
    Member
    Posted 1 year ago #

    Paul

    I thought a little close link like so would work but no go:

    <a href="JavaScript:window.close()">Close</a>

    Can you suggest an alternative?

  6. Paul Gibbs
    BuddyPress Lead Developer
    Plugin Author

    Posted 1 year ago #

  7. Scotm
    Member
    Posted 1 year ago #

    Yeah I'm looking but it's over my head I'm afraid. Trying not to complicate things by wanting a close window option but that may be the case here.

    I believe the intended action is to have users go to their achievements page to view their progress/accumulation of achievements, but I can see this as being more annoying than beneficial for some users.

    Not being able to click outside the box to make it close with my theme only complicates the matter further. I'll see if the theme designer can help us find out why the box won't close.

  8. Doremdou
    Member
    Posted 1 year ago #

    Hi Scotm, did you find a solution for this?
    Because my users find this really annoying too, they just want to close the notification and continue their navigation, not load their achievement page...

    thank you very much

  9. Scotm
    Member
    Posted 1 year ago #

    @Doremdou

    No I didn't get it solved and couldn't seem to convince Paul it's a real user issue. Perhaps you can raise it as well and we can get it looked at for a future release.

    Cheers

  10. Paul Gibbs
    BuddyPress Lead Developer
    Plugin Author

    Posted 1 year ago #

    I am not ignoring. It is a matter of time and prioritisation.

    The current solution works adequately; if you used 3.0, you couldn't close the popup by clicking in the background. I added that in to 3.1 as it's something I could do quickly.

    In my tests and feedback from other people, it works on a majority of sites, but if it still refuses to close, it's something to do with the javascript being overridden or conflicting with something. I can't recreate this issues locally, and I don't have time to look at each site and investigate (especially on a server I don't have access to).

    The next release is all about completing the integration back into BuddyPress, which has been the most requested feature. After that, it'll probably be widgets (the second most requested feature). When I get this far, we'll see what's important to addresss next.

  11. Scotm
    Member
    Posted 1 year ago #

    Not complaining, Paul. I understand the process.

    Thx

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.