Results 1 to 8 of 8
  1. #1
    Constant Pligger chad90382's Avatar
    Joined
    May 2006
    Posts
    129

    users with 0 karma

    Is there a way I can exclude all users with 0 karma in my top users list?

    Also I changed the top users in admin to display the top 100 users instead of 25 but the pagination doesn't work, it displays all 100 users on 1 page, how can i fix this?

  2. #2
    Constant Pligger chad90382's Avatar
    Joined
    May 2006
    Posts
    129
    Quote Originally Posted by chad90382 View Post
    Is there a way I can exclude all users with 0 karma in my top users list?

    Also I changed the top users in admin to display the top 100 users instead of 25 but the pagination doesn't work, it displays all 100 users on 1 page, how can i fix this?
    can somebody please help.?

  3. #3
    New Pligger darjana's Avatar
    Joined
    May 2010
    Posts
    22
    open topusers.php

    find

    $main_smarty->assign('user_userlink', getmyurl("user", $user->username));

    before add,

    if($user->karma > 0 ) {

    find;

    $users_table .= $main_smarty->fetch(The_Template . "/topusers_data.tpl");

    after add;

    }

  4. #4
    Constant Pligger chad90382's Avatar
    Joined
    May 2006
    Posts
    129
    Quote Originally Posted by darjana View Post
    open topusers.php

    find

    $main_smarty->assign('user_userlink', getmyurl("user", $user->username));

    before add,

    if($user->karma > 0 ) {

    find;

    $users_table .= $main_smarty->fetch(The_Template . "/topusers_data.tpl");

    after add;

    }
    Thanks a mill Darjana!

  5. #5
    Constant Pligger anudeepkanwar's Avatar
    Joined
    Sep 2009
    Posts
    103
    How to display top users
    1) according to submitted stories
    2)According to karma .
    Here is my top users http://linkmarking.com/topusers/
    I have new members in my sidebar and i want there to add link like view all as it shows only 21 ,so how i can show latest users like top users ,means all users according to who register latest first .

  6. #6
    New Pligger chicoboy88's Avatar
    Joined
    Jul 2010
    Posts
    24
    ufff, i do that but say error. anybody can send me the file with the modification? or just copy & paste de code here, thanks you very much

  7. #7
    New Pligger chicoboy88's Avatar
    Joined
    Jul 2010
    Posts
    24
    OK, i have it. i have put the topusers.php from 1.1.1 and i have upload to my server. it work fine, thank you very much

  8. #8
    Pligg Founder Yankidank's Avatar
    Joined
    Dec 2005
    Location
    San Francisco, CA
    Posts
    5,063
    Site
    http://pligg.com/demo/
    Since this thread started the topusers.php page has changed a lot. In 1.1.1 we made it so that users with 0 karma would not appear, and the list is now sorted by users with the most karma in descending order. In the next version we hope to introduce a new Karma module to make it easier for sites to use Karma scoring.

    Closing this thread since the information is now out of date.
    The Facebook Module for Pligg CMS!
    Register, Login, and Submit Stories with Facebook. An absolute MUST HAVE for all Pligg sites!

Similar Threads

  1. karma of users achieved over a period of time
    By Valver in forum Questions & Comments
    Replies: 0
    Last Post: 11-08-2011, 06:46 AM
  2. How users are displayed while running Karma.
    By anudeepkanwar in forum Questions & Comments
    Replies: 3
    Last Post: 05-19-2010, 08:01 PM
  3. Stories submitted by users that are not listed in Admin Users list... (RC2)
    By Tomek Wlodarek in forum Questions & Comments
    Replies: 0
    Last Post: 02-25-2009, 12:41 AM
  4. How can I dedice the initial karma for new users?
    By Knskan3 in forum Questions & Comments
    Replies: 1
    Last Post: 03-02-2008, 01:15 PM
  5. Top Users On Front Page Ranked By Karma
    By chad90382 in forum Questions & Comments
    Replies: 6
    Last Post: 01-08-2007, 07:00 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
  •  
Pligg Modules and Pligg Templates from Pligg Pro Donate to Pligg CMS Dreamhost Web Hosting Host Gator Web Hosting