1. REGISTRATION REQUIREMENTS:

    Register with your xenforo.com Username then start a conversation at xenforo.com w/Bob and provide the following:
    1. Your XenForo License Validation Token
    2. The Domain Name associated with the License
    NOTE: Your account will be validated once ALL requirements are verified/met. Thank you for your patience.

Leaderboard Widget

Discussion in 'Pickem Support' started by mrb1972, Feb 6, 2013.

  1. mrb1972

    mrb1972 Member Pickem

    Just noticed an issue with the Leaderboard widget, if I click on the member name in the leaderboard in the sidebar widget it redirect to the homepage rather than the member profile, just wondered if this happens for everyone or just me?
     
  2. Bob

    Bob Developer Staff Member

    widget as in [bd] widget framework widget?
     
  3. Bob

    Bob Developer Staff Member

    ah, ya... Names are not supposed to be links... I was going to do an ajax preview and just forgot about removing the hrefs. I just modified the core templates to remove the hrefs.

    if you want, you can edit the template: xi_pickem_widget_framework_leaderboard

    change both instances of this:
    HTML:
    <dt><a href="">{$scoreoverall.username}</a></dt>
    to this:
    HTML:
    <dt>{$scoreoverall.username}</dt>
     
  4. mrb1972

    mrb1972 Member Pickem

    Great - Thanks - What about is I want them to link the profiles, is that an easy edit too?
     
  5. Bob

    Bob Developer Staff Member

    replace the first with the first and the 2nd with the 2nd.. takes them directly to their profile page.

    HTML:
    <dt><a href="{xen:link members, $scoreoverall}">{$scoreoverall.username}</a></dt>
     
     
     
    <dt><a href="{xen:link members, $scoreweek}">{$scoreweek.username}</a></dt> 
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.