Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author AntoineH

    (@antoineh)

    Are you using any extensions on the plugin?

    Or just the standard version? Is this the current version?

    Thread Starter ajay8030

    (@ajay8030)

    i am using the standard version of football pool .

    Thread Starter ajay8030

    (@ajay8030)

    plugin dowloaded from the football pool plugin post

    Plugin Author AntoineH

    (@antoineh)

    Did you try a new calculation of the ranking?

    I just did a test on my dev install with > 100 users and I see points for every user.

    Thread Starter ajay8030

    (@ajay8030)

    Hi, You can check the same here, it’s not working
    http://people2people.com.au/afl/ranking/

    Yes, We have tried a new calculation but no luck!

    Awaiting reply Pls.

    Thanks
    Ajay

    Plugin Author AntoineH

    (@antoineh)

    I can’t tell anything from your link. It’s the data in the database and the code that count and I can’t see those.

    Are there any errors logged on the web server? Did you check if the users with zero points have predictions saved in the database?

    Thread Starter ajay8030

    (@ajay8030)

    Hi,

    Yes, users with zero points have predictions saved in the database.

    Please check with the below credential for prediction .

    Username: Ajaykmw
    Password: ajay@kmw

    http://people2people.com.au/afl/ranking/

    342. people2people 0

    Awaiting reply Pls.

    Thanks
    Ajay

    Plugin Author AntoineH

    (@antoineh)

    I see that you have a pagination active. That is most probably the cause. Try to disable that extension to see if that solves the problem. If so, the extension should be updated.

    Thread Starter ajay8030

    (@ajay8030)

    Hi AntoineH,

    I have not used any pagination extension, when i had installed your plugin before, pagination came automatically when the user range is greater then 472.

    i have checked my Installed plugin and widget also ,there is no extension i found.

    Plugin Author AntoineH

    (@antoineh)

    Pagination can not just appear automatically 🙂

    Are you sure you don’t have an extension running? In an extra plugin or in your theme’s function.php file?

    Thread Starter ajay8030

    (@ajay8030)

    Hi AntoineH,

    Yes I am sure i don’t have any other pagination extention or extra plugin in my theme, and i check my fucntion.php file also. I am using only sparkling theme and football plugin only.

    Awaiting reply Pls.

    Thanks
    Ajay

    Thread Starter ajay8030

    (@ajay8030)

    Hi AntoineH,

    My problem is solved now by editing some code in your Class file “class-football-pool-pool.php”.

    we have just commented your some code in public function print_pool_ranking():


    // $extra_users = array_diff( $l_users, $r_users );
    // foreach ( $league_users as $user ) {
    // if ( in_array( $user[‘user_id’], $extra_users ) ) {
    // $ranking[] = array(
    // ‘ranking’ => $rank_nr++,
    // ‘user_id’ => $user[‘user_id’],
    // ‘user_name’ => $user[‘user_name’],
    // ’email’ => $user[’email’],
    // ‘points’ => 0,
    // ‘last_score’ => 0,
    // ‘league_id’ => $league
    // );
    // }
    // }

    Now we are able to see the score on ranking page more then 50.

    Is it a right way? pl confirm. We have done all above setup on our local server and want to upload it if you would confirm. pls help us.

    Plugin Author AntoineH

    (@antoineh)

    This part of the code was added to add users to the ranking that are part of the league, don’t have records in the ranking table (they registered after the last calculation was done). These users will normally be added to the ranking after a new calculation, but this code adds them before that.

    It’s not needed, per se. So, yes, this can be commented out without problems.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Issues in ranking page, displaying 0 rank after 50 user’ is closed to new replies.