• Resolved dave101

    (@dave101)


    Hello good day. I would like to consult the following.
    How can I show the avatars of each player in the ranking list?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter dave101

    (@dave101)

    Now find the solution!
    you have to go to define.php in the line:
    “if (! defined (‘FOOTBALLPOOL_NO_AVATAR’)) define (‘FOOTBALLPOOL_NO_AVATAR’, true); // set to false if you want to show avatars in the ranking”
    and where it says “true” put “false”
    I leave this doubt in case anyone does not know.

    Very good plugin.

    Plugin Author AntoineH

    (@antoineh)

    An even better solution is to add the following line to your wp-config file:

    
    define( 'FOOTBALLPOOL_NO_AVATAR', false );
    

    If you change the value directly in define.php, then you’ll have to re-do the change after every update of the plugin.

    /edit: please beware that adding the avatar can slow down the ranking page a lot when there’s a lot of players in the ranking.

    • This reply was modified 7 years, 6 months ago by AntoineH.
    Thread Starter dave101

    (@dave101)

    Ok. Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Avatars’ is closed to new replies.