Closed eSilverStrike closed 2 years ago
Framework is in place and proof of concept for Likes Block done.
Note: Install not tested with new Likes code yet. Not sure if likes code will work in config-install.php as is or if have to hard code Block Admin id of 4 into Likes Config option likes_block_group_id
Figure out if this is possible for the current setup since we would have to run queries based on what the user has read access to and include the time period. Block should have a config item to include only certain item likes
It could get expensive if we have to loop through the list and then check permissions with something like PLG_getItemInfo so caching would be required.
Would it speed up queries if we added total count of likes and dislikes table columns to articles, staticpages etc and then use a plugin api to return the counts?
How about Comments and permissions?
How about different Likes blocks so you could show a likes block just for forum posts (when on a Forum page) (or Articles, Staticpages, etc...)