• Resolved diegodearagao

    (@diegodearagao)


    Hi, I had the plugin hook to include the avatar on the rankings but after updating for the last version these disappeared. I reinstalled the plugin hook (football-pool-avatar-php5.2.php) and the avatars doesn’t appear back. Is there anything else that needs to be changed? Thanks in advance.

    https://wordpress.org/plugins/football-pool/

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

    (@antoineh)

    Yes, I changed this part in version 2.5.2 because of the amount of queries WordPress uses to get the avatar is slowing down the ranking page.

    But you can re-enable the retrieval of the avatar data with a constant in your wp-config. Quote from the release notes:

    I disabled the loading of avatars because these can slow down the ranking display tremendously (WP runs a couple of database queries for every user to get the avatar). If you extended the plugin to show the avatars in your ranking, you can enable the loading again by setting the FOOTBALLPOOL_NO_AVATAR constant to false in your wp-config.php. Note: my setting only affects the plugin, not the rest of your blog.

    Thread Starter diegodearagao

    (@diegodearagao)

    worked like a charm 🙂 Thanks Antoine!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Avatar in rankings’ is closed to new replies.