[geeklog-hg] [Geeklog-Core/geeklog] da1a6b: Partial implementation of framework for Likes Block

Tom noreply at github.com
Tue May 3 13:20:55 EDT 2022


  Branch: refs/heads/master
  Home:   https://github.com/Geeklog-Core/geeklog
  Commit: da1a6b08957021b75fff9bfffa806e56f7e2534a
      https://github.com/Geeklog-Core/geeklog/commit/da1a6b08957021b75fff9bfffa806e56f7e2534a
  Author: eSilverStrike <eSilverStrike at users.noreply.github.com>
  Date:   2022-05-03 (Tue, 03 May 2022)

  Changed paths:
    M plugins/polls/functions.inc
    M plugins/staticpages/functions.inc
    M public_html/likes.php
    M system/lib-article.php
    M system/lib-comment.php
    M system/lib-likes.php
    M system/lib-plugins.php

  Log Message:
  -----------
  Partial implementation of framework for Likes Block

This is just the framework. Likes Dynamic Block is currently disabled as unfinished.

- plugin_getiteminfo_story can now check for likes enabled on article
- Added plugin_getiteminfo_comment
- Likes Library can now have dynamic blocks
- PLG_commentEnabled now can be passed uid so another user besides current can be checked
- PLG_typeLikesEnabled now can have Id of item passed if needed if likes are controlled at a per item level
- Fixed plugin_commentenabled_staticpages missing permissions for topic check

For feature #1036




More information about the geeklog-cvs mailing list