Download & Extend

community_tags hook (patch attached)

Project:Community Tags
Version:6.x-2.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Hello. I needed to integrate community tags module with userpoints one (people who tags, gain points). So, I simply added a module_invoke_all('community_tags'...) to the community_tags_from_js() function.
The hook function is passed the node and the tags that are added, but I do not understand how I could pass it also the tag there were DELETED.

Thank you

AttachmentSize
community_tags.patch1.38 KB

Comments

#1

Status:active» needs review

#2

Version:5.x-1.0-beta1» 6.x-2.x-dev
Status:needs review» fixed

There are various hooks in 2.x-dev but the Rules integration sub-module is probably the way to go for awarding and rescinding user points.

#3

@flexer - thank you for the patch!

#4

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.