Results 1 to 10 of 10

Thread: Is it possible to display Karma points along with user name

  1. #1
    New Pligger johnvgross's Avatar
    Joined
    Jan 2007
    Posts
    13

    Exclamation Is it possible to display Karma points along with user name

    hi all

    I am working with social network site using pligg framework..

    I planned to display the Karma points of each user along with their names, Is there any possibilities is available to display the Karma points..

    Please suggests Mods or related information to work on that..

    thanks in advance..

  2. #2
    New Pligger Links's Avatar
    Joined
    Mar 2008
    Posts
    19

    jJjJjJ

    jajajaj

    the support in this forum doesnt exist ....

  3. #3
    Constant Pligger tbones's Avatar
    Joined
    Apr 2007
    Posts
    1,042
    The karma value is visible at profile and top users.

  4. #4
    New Pligger/Coder BakedGoods's Avatar
    Joined
    Jul 2010
    Posts
    24

    Question

    Bumping this old thread, I have the same question. I've tried calling {$user_karma} which is what is called on the top users page, but it doesn't seem to work. Any suggestions?

  5. #5
    New Pligger/Coder BakedGoods's Avatar
    Joined
    Jul 2010
    Posts
    24
    I'd hate to bump a thread, but I've very interested in doing this and have spent the last two days trying to figure it out. Why doesn't calling {$user_karma} display a particular user's karma? Are there additional calls that need to be put in place?

    Preferably a user's karma would appear near their name as the comment author, eg:

    <div class="author">
    {#PLIGG_Visual_Comment_WrittenBy#} <span style="text-transform:capitalize"><a href="{$user_view_url}">{$user_username}</a></span>Karma: {$user_karma}<br /> {$comment_age} {#PLIGG_Visual_Comment_Ago#}
    </div>

    Why isn't this working?

    Much appreciated.

  6. #6
    New Pligger munddr's Avatar
    Joined
    Aug 2010
    Posts
    2
    I'd like to know too. Anyone?

  7. #7
    New Pligger brandonthejames's Avatar
    Joined
    Sep 2011
    Posts
    6
    Would like to know this as well. Does anyone have any ideas?

  8. #8
    Casual Pligger vwdw's Avatar
    Joined
    Apr 2010
    Posts
    81
    where exactly you want these points to show up? 'cause you have to pass teh variable manually.

  9. #9
    New Pligger brandonthejames's Avatar
    Joined
    Sep 2011
    Posts
    6
    Quote Originally Posted by vwdw View Post
    where exactly you want these points to show up? 'cause you have to pass teh variable manually.
    I would like them to show up beside the comments, and possibly in the link summary.

  10. #10
    Casual Pligger vwdw's Avatar
    Joined
    Apr 2010
    Posts
    81
    Quote Originally Posted by brandonthejames View Post
    I would like them to show up beside the comments, and possibly in the link summary.
    For the link_summary, try this

    1. Find this string in libs/link.php:
    PHP Code:
    $smarty->assign('submitter_rank'$ranklist[$this->userkarma]); 
    2.Below it, add this:
    PHP Code:
    $smarty->assign('submitter_karma'$this->userkarma); 
    3. Now you have {$submitter_karma} variable to insert in templates/???/link_summary.tpl, wherever you want.

    I have not tested it, hope it works.

Similar Threads

  1. Online User Display!!
    By sansui in forum Free Modules
    Replies: 46
    Last Post: 08-02-2012, 03:56 AM
  2. karma points working backwards
    By oceanspray in forum Questions & Comments
    Replies: 4
    Last Post: 08-24-2011, 07:28 AM
  3. user display with user.php views merged
    By websi7 in forum Questions & Comments
    Replies: 0
    Last Post: 10-10-2008, 09:15 AM
  4. Displaying Karma Next to User Name on Front Page?
    By justinmyoung in forum Questions & Comments
    Replies: 0
    Last Post: 09-17-2008, 08:57 AM
  5. How Karma / User Points could work
    By 3dKiller in forum Questions & Comments
    Replies: 0
    Last Post: 03-28-2006, 05:49 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •