Comment Tracker v1.2

Release Notes

UI/UX update

- removed unregistration of non-existent event handler causing php warnings due to empty foreach

- moved comment notification settings to notifications page

- fixed annoying typo in main variable

- fixed code formatting to the way I like it

- formatted plugin structure the way I like (separated hooks/events/custom functions)

- moved subscribe action button to entity menu for consistency

- AJAX'd the subscribe/unsubscribe action

- added list of items subscribed to (linked from settings page)

- fixed whitespace to conform to elgg standards (Juho Jaakkola http://community.elgg.org/profile/juho.jaakkola)

- re-added confirmation/error messages for subscribe action (Juho Jaakkola http://community.elgg.org/profile/juho.jaakkola)

  • gratitude for the update to this.. 

    i installed it to my live site and it is activated and settings are saved (both to 'yes').. but the suscribe box is not rendering for blogs/videos. i deleted the previous version before uploading this one.. perhaps there are dependencies that the manifest doesn't log?

  • no dependencies.

    The subscribe link has been moved to the entity menu (where you find links like 'edit' or 'like' etc)

  • aha, yes; i missed that. i added some css padding to the links to increase visibility.

  • I suppose I should update the screenshots to reflect the new UI - I'll get around to it, low priority given everything I'm working on :)

  • Fantastic plugin! - doesn't work on videos though!!! Any way to fix this?

  • Version 1.2 doesn't work with my elgg 1.8.9, I see no link under user settings also no tracking of comments but plugin is active.

  • Please see the release notes for changes - the current screenshots do not reflect the current interface.

  • Gosh, how I missed this plugin posted 10 days ago. I am so happy gonna try it NOW !!!

    Thanks a lot Matt Beckett

  • Matt Beckett: I dont understand i cant see the subscribe link at all... & i dont know what changes you made?? i am using elgg 1.8.12

  • Matt Sorry for the previous comment.... I can see the subscribe button now... may be a screen shot will make everyone to understand... 

    Thank's For This Wonderfull Plugin Matt :) 

  • @Matt, sorry my fault, it is working fine ... recommended.

  • Yeah I saw that - it's not affecting anything other than annoyingly adding to the logs.  If you really want it fixed you can grab the latest from github.

  • Hi, since i'm updating to version 1.2 I see that my error_log full with this error:
    [14-Jan-2013 01:17:35 UTC] PHP WARNING: 2013-01-14 08:17:35 (ICT): "Missing argument 2 for ElggMenuItem::__construct(), called in /home/blabla/public_html/mod/comment_tracker/lib/hooks.php on line 41 and defined" in file /home/blabla/public_html/engine/classes/ElggMenuItem.php (line 76)

  • Matt, what is the link to the latest and greatest of this on github?

  • @Kimberly! It should be under 'Code repository' link above on the right -> https://github.com/beck24/Comment-Tracker-1.8.x

    Cheers

  • Comment Tracker breaks the upgrade of 1.8.13.

  • @rm@nd@ - One thing you can do before you upgrade is disable all your plugins first, I recommend doing that, then re-activate them. I have comment tracker working on 1.8.13 but does have some bugs when you check the inbox for notifications.

  • You're right Kim. It wasn't Comment Tracker.
    It was IP Tracker 1.8.1.
    I had to delete the de.php language file.

  • The function comment_tracker_update_20121025a causes an IOException when activating a fresh install.

    "Failed to load new ElggObject entity from GUID: n"

    On a fresh install the value of $plugin_settings->allow_commnet_notification is null. The function attempts to set it as value of $plugin_settings->allow_comment_notification but value of a plugin setting cannot be null.

    I'm not very familiar with Elgg's entity loading process so I'm not sure how exactly this causes an IOException when trying to load the entity.

    Anyway this could probably be fixed just by verifying the value of the misspelled setting before using it as value of the new setting.

  • Hi Matt,

     

    Getting below error on elgg-1.8.14 .. when I am trying to activate the plugin getting below error..

     

    IOException Object
    (
    [message:protected] => Failed to load new ElggObject from GUID:44
    [string:Exception:private] => exception 'IOException' with message 'Failed to load new ElggObject from GUID:44' in C:\xampp\htdocs\elgg-1.8.14\engine\classes\ElggObject.php:85
    Stack trace:
    #0 C:\xampp\htdocs\elgg-1.8.14\engine\classes\ElggPlugin.php(78): ElggObject->__construct(44)
    #1 C:\xampp\htdocs\elgg-1.8.14\engine\lib\plugins.php(155): ElggPlugin->__construct('comment_tracker')
    #2 C:\xampp\htdocs\elgg-1.8.14\views\default\admin\plugins.php(14): elgg_generate_plugin_entities()
    #3 C:\xampp\htdocs\elgg-1.8.14\engine\lib\views.php(491): include('C:\xampp\htdocs...')
    #4 C:\xampp\htdocs\elgg-1.8.14\engine\lib\admin.php(488): elgg_view('admin/plugins', Array)
    #5 [internal function]: admin_page_handler(Array, 'admin')
    #6 C:\xampp\htdocs\elgg-1.8.14\engine\lib\pagehandler.php(53): call_user_func('admin_page_hand...', Array, 'admin')
    #7 C:\xampp\htdocs\elgg-1.8.14\engine\handlers\page_handler.php(46): page_handler('admin', 'plugins')
    #8 {main}
    [code:protected] => 0
    [file:protected] => C:\xampp\htdocs\elgg-1.8.14\engine\classes\ElggObject.php
    [line:protected] => 85
    [trace:Exception:private] => Array
    (
    [0] => Array
    (
    [file] => C:\xampp\htdocs\elgg-1.8.14\engine\classes\ElggPlugin.php
    [line] => 78
    [function] => __construct
    [class] => ElggObject
    [type] => ->
    [args] => Array
    (
    [0] => 44
    )

    )

    [1] => Array
    (
    [file] => C:\xampp\htdocs\elgg-1.8.14\engine\lib\plugins.php
    [line] => 155
    [function] => __construct
    [class] => ElggPlugin
    [type] => ->
    [args] => Array
    (
    [0] => comment_tracker
    )

    )

    [2] => Array
    (
    [file] => C:\xampp\htdocs\elgg-1.8.14\views\default\admin\plugins.php
    [line] => 14
    [function] => elgg_generate_plugin_entities
    [args] => Array
    (
    )

    )

    [3] => Array
    (
    [file] => C:\xampp\htdocs\elgg-1.8.14\engine\lib\views.php
    [line] => 491
    [args] => Array
    (
    [0] => C:\xampp\htdocs\elgg-1.8.14\views\default\admin\plugins.php
    )

    [function] => include
    )

    [4] => Array
    (
    [file] => C:\xampp\htdocs\elgg-1.8.14\engine\lib\admin.php
    [line] => 488
    [function] => elgg_view
    [args] => Array
    (
    [0] => admin/plugins
    [1] => Array
    (
    [page] => Array
    (
    [0] => plugins
    )

    )

    )

    )

    [5] => Array
    (
    [function] => admin_page_handler
    [args] => Array
    (
    [0] => Array
    (
    [0] => plugins
    )

    [1] => admin
    )

    )

    [6] => Array
    (
    [file] => C:\xampp\htdocs\elgg-1.8.14\engine\lib\pagehandler.php
    [line] => 53
    [function] => call_user_func
    [args] => Array
    (
    [0] => admin_page_handler
    [1] => Array
    (
    [0] => plugins
    )

    [2] => admin
    )

    )

    [7] => Array
    (
    [file] => C:\xampp\htdocs\elgg-1.8.14\engine\handlers\page_handler.php
    [line] => 46
    [function] => page_handler
    [args] => Array
    (
    [0] => admin
    [1] => plugins
    )

    )

    )

    [previous:Exception:private] =>
    )

  • for future inspirations. i was just using http://answers.launchpad.net and saw that their subscriber / notification system is way ahead of the others i've seen elsewhere.. if ur thinking of evolving this plugin at any point, i recommend playing there. ;)

  • Tomorrow is actually my last day working for the University, so there will be (unforunately) much less upkeep of the AU plugins.

    I'll still be around though.

Matt Beckett

I'm a self-employed web developer, family man, nerd, scuba diver. Manager/maintainer of this elgg community site, and core Elgg development team member.

Project Info

Stats

  • Category: Communication
  • License: GNU General Public License (GPL) version 2
  • Updated: 2016-1-25
  • Downloads: 4843
  • Recommendations: 27

Other Projects

View Matt Beckett's plugins