Forums

Achievements for WordPress
[resolved] How to show the achievements to other users? (5 posts)

  1. rhodez
    Member
    Posted 3 months ago #

    Hi again,

    is there a way to show user's achievements to other users?

    A Widget highlighting top users & achievements would be really nice. Also a "Hall of fame" page, listing the total karma points of users would be great.

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

  2. Paul Gibbs
    Member
    Plugin Author

    Posted 3 months ago #

    Kind of, but it's not too obvious:

    http://example.com/author/username/achievements/

    Widgets are coming in future versions, and I'll think about having a dedicated HoF page. Thanks for the ideas :)

  3. Norm
    Member
    Posted 3 months ago #

    What would the function be to get url? I've been looking at the code and it appears to be on line 407.

    public function register_endpoints() {
    		add_rewrite_endpoint( dpa_get_authors_endpoint(), EP_AUTHORS );  // /authors/paul/[achievements]
    	}

    so would the url in my template be?
    <? php dpa_get_authors_endpoint(), EP_AUTHORS ) ?>

    Sorry if this should be obvious but I've been struggling with this one.

  4. Paul Gibbs
    Member
    Plugin Author

    Posted 3 months ago #

    Which thing are you trying to do? :)

  5. VegasKev88
    Member
    Posted 2 months ago #

    I'm looking for the same answer as @norm. In my case I'm trying to add an icon to the profile header (member-header.php in my theme's case) that will link to the displayed user's achievements page. Any guidance would be appreciated. Thanks in advance.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.