- Compatible XF 2.x versions
Displays a Most likes widget.
(Example of Most likes widget)
(Example of Options page)
(Example of User group permissions)
All phrases start with mostlikes_ for your convenience.
Download Andy-MostLikes-1.7.zip and unzip it.
Copy the src/addons/Andy/MostLikes directory to your server.
From the Admin Control Panel Install the add-on.
Creating the widget:
Admin Control Panel -> Appearance -> Widgets
Widget definition = Most likes
Widget key = most_likes
Title = (leave blank)
Display in positions = Forum list: Sidebar
User group permissions:
Normally you will select Yes to the following User groups:
Unregistered / Unconfirmed
This add-on updates the widget every hour. When you first install the add-on please run the Cron entries manually in order to see the widget:
Admin control panel -> Tools -> Cron entries -> Most likes
Questions and Answers:
Q: When do the Like count numbers update?
A: They are updated once per hour by Cron entry.
Q: What type of likes are counted?
A: Only post likes are counted.
Q: I changed the Days in the Options page, why does the title still show "Most likes - past 7 days" in the widget?
A: The phrase called mostlikes_most_likes_past_x_days needs to updated.