WordPress.org

Ready to get started?Download WordPress

Forums

CubePoints
Top Users Link to Author Page (4 posts)

  1. r3bb
    Member
    Posted 2 years ago #

    Hi guys,

    For the last several weeks I've been looking for an answer to a question about CubePoints Top Users styling, but I can't find it anywhere.

    My CubePoints Top Users widget provides names of the users with the top points, but it doesn't link the name back to their member profile page. Is there any way to do this?

    Regards,

    -r3bb

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

  2. Livsy
    Member
    Posted 1 year ago #

    Hi! In the text field of the widget write:
    <a href="http://#/members/%user%">%username%</a>%points%
    Good luck =)

  3. Livsy
    Member
    Posted 1 year ago #

    This is for Buddypress. If you are using WordPress without this plugin, write this
    <a href="http://#/author/%user%">%username%</a>

  4. ahcreative
    Member
    Posted 1 year ago #

    Hello. I am using the Cubepoints widget and wanted the usernames to link to their Author Page. Using the code above generates a link with the username but with a space inbetween the name (If the user has chosen a username with a space in it)

    For example i use the following in the widget:
    %username%

    Generates a link like this:
    /author/joe bloggs/

    Which when clicked links to a page that doesnt exist:
    /author/joe%20bloggs/

    So rather than adding %20 in the space - is it possible to correct this so that it adds a dash?
    eg:
    /author/joe-bloggs/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags