Release Notes

  • added: travis deployment support
  • fixed: tag should be url encoded when used in follow_tag links
  •  

    Feature request / advice: What is a "good way" to develop a plugin that that allows users to tag others users, and that notifies users when they have been tagged?

  • Add a form to the profile view of a user that allows tags to be added by everyone (you need to think about access/write access, if you save it as metadata). Send notifications the same as other plugins that send notifications.... Shouldn't be that hard. But this question is not really related to this plugin (other than that it is about tags :). Maybe you could discuss this further in one of the developergroups.

  • Hi

    I use this plugin and I like that very much.

    how can I change ( , ) Used for autocomplete to (+).?

    I mean when users press + autocomplete happen for tag Instead of , (use + Instead of Comma)

    thanks a lot

  • Hi Jeroen,

    I've been asked if I could add support for Tag Tools notification handling to my Set No Notifications plugin (https://elgg.org/plugins/869366/releases/1.9.3#elgg-object-2526157) to turn off email notifications by default. I've looked at the code of the Tag Tools plugin and I think I wouldn't be able to modify anything in the tag specific notification settings because for any new tag to follow the default notification method is "email" (hardcoded).

    I wonder if it would make sense to add a plugin setting to allow for the admin to define the default notification method(s) (email or on-site or both) for new tags. Alternatively (or additionally) the Tag Tools plugin could also take the user's regular notification settings instead of setting email always as default (if a user doesn't want email notifications he would have to alter the tag specific settings every time he follows a new tag). If the defaults would be taken from the user's normal notification settings that wouldn't be necessary (maybe a warning getting displayed if no method is selected as it wouldn't make sense to follow a tag then).

  • i have been getting error reports relating to tag tool notifications. when i add a video to videolist, instead of getting a notification, i get an error - although this only occurs on my production site, while the test site is fine. i have looked through the plugins involved and haven't yet found a solution.

    here's an error log/dump:

    Call to undefined method ElggRelationship::getContainerGUID()
    		
    	Error Object
    (
        [message:protected] => Call to undefined method ElggRelationship::getContainerGUID()
        [string:Error:private] => Error: Call to undefined method ElggRelationship::getContainerGUID() in /var/www/html/ureka/vendor/elgg/elgg/engine/classes/Elgg/Notifications/SubscriptionsService.php:66
    Stack trace:
    #0 /var/www/html/ureka/vendor/elgg/elgg/engine/classes/Elgg/Notifications/NotificationsService.php(209): Elgg\Notifications\SubscriptionsService->getSubscriptions(Object(Elgg\Notifications\Event))
    #1 /var/www/html/ureka/vendor/elgg/elgg/engine/lib/notification.php(188): Elgg\Notifications\NotificationsService->processQueue(1479600826)
    #2 [internal function]: _elgg_notifications_cron('cron', 'minute', '', Array)
    #3 /var/www/html/ureka/vendor/elgg/elgg/engine/classes/Elgg/PluginHooksService.php(38): call_user_func_array('_elgg_notificat...', Array)
    #4 /var/www/html/ureka/vendor/elgg/elgg/engine/lib/elgglib.php(815): Elgg\PluginHooksService->trigger('cron', 'minute', Array, '')
    #5 /var/www/html/ureka/vendor/elgg/elgg/engine/lib/cron.php(122): elgg_trigger_plugin_hook('cron', 'minute', Array, '')
    #6 [internal function]: _elgg_cron_page_handler(Array, 'cron')
    #7 /var/www/html/ureka/vendor/elgg/elgg/engine/classes/Elgg/Router.php(95): call_user_func('_elgg_cron_page...', Array, 'cron')
    #8 /var/www/html/ureka/vendor/elgg/elgg/engine/classes/Elgg/Application.php(428): Elgg\Router->route(Object(Elgg\Http\Request))
    #9 /var/www/html/ureka/vendor/elgg/elgg/engine/classes/Elgg/Application.php(371): Elgg\Application->run()
    #10 /var/www/html/ureka/index.php(8): Elgg\Application::index()
    #11 {main}
        [code:protected] => 0
        [file:protected] => /var/www/html/ureka/vendor/elgg/elgg/engine/classes/Elgg/Notifications/SubscriptionsService.php
        [line:protected] => 66
        [trace:Error:private] => Array
            (
                [0] => Array
                    (
                        [file] => /var/www/html/ureka/vendor/elgg/elgg/engine/classes/Elgg/Notifications/NotificationsService.php
                        [line] => 209
                        [function] => getSubscriptions
                        [class] => Elgg\Notifications\SubscriptionsService
                        [type] => ->
                        [args] => Array
                            (
                                [0] => Elgg\Notifications\Event Object
                                    (
                                        [action:protected] => create
                                        [object_type:protected] => relationship
                                        [object_subtype:protected] => tag_tools:notification
                                        [object_id:protected] => 134117
                                        [actor_guid:protected] => 2
                                    )
    
                            )
    
                    )
    

    looking in the elgg core file - SubscriptionService.php - it looks like a relationship is being passed in as the object of the event instead of an actual object, but i have no idea why. any thoughts?

  • @Jeroen - i don't know. i searched videolist for the word 'relationship' and there are no hits, so it looks like videolist doesn't listen to the relationship event in the same way that au_subgroups does. i am not very familiar with the object and metadata creation process in elgg (behind the scenes) so i don't have much to add at this point.

  • Elgg 2.3 is asking
    (after upgrade):

    Upgrades : Tag tools - set all tags as sent

    Mark all tags on supported content as sent. This is usefull when coming for an older version of the plugin or is this is a new plugin.

     

    There are 606 items that need to be upgraded.


    What does this mean?

    Thanks

  • When editing content, tag_tools will send notification to everyone that is subscribed to the tags that did not have received a notifications. Existing content will not know (if you do not run the upgrade) for which tags notifications have already been sent in the past (and thus will send the notifications again). The upgrade prevents the (potential) double notifications.

Jeroen Dalsem

Owner of ColdTrick IT Solutions, developing social networking sites for the dutch market

Stats

  • Category: Misc
  • License: GNU General Public License (GPL) version 2
  • Updated: 2019-4-9
  • Downloads: 1711
  • Recommendations: 9

Other Projects

View Jeroen Dalsem's plugins