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

CommentFileSizeAuthor
community_tags.patch1.38 KBflexer

Comments

geodaniel’s picture

Status: Active » Needs review
chaps2’s picture

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.

chaps2’s picture

@flexer - thank you for the patch!

Status: Fixed » Closed (fixed)

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