You can nicely use rules to send an e-mail upon setting a flag note, and this e-mail can contain the text of the note. You can't, however, include the vocabulary term. It would also be nice to have access to this term in views.

Use case: I'm using this for moderation. I'd like the user to be able to pick from a list of problems. I can set that up, but I can't include it in the e-mail to the moderator or show it in the moderation report (view showing list of flag notes).

Great module. Thanks.

CommentFileSizeAuthor
#6 token_term.patch2.25 KBgunzip

Comments

gunzip’s picture

Status: Active » Postponed

The term should be already available in your view under Relationship -> Flag Note -> Predefined note.
About rules, I've no plans actually for integration but I'll keep this open for the imminent future.

rawash’s picture

Issue tags: +taxonomy, +flag note, +eamil

Are there anyway I can include the taxonomy term in the email that is sent to the moderator, you answered the question about how to view it on the view, but say nothing about the email

Ravi.J’s picture

Hi @Rawash , How is the email being sent to moderator, Is it being triggered through VBO or are you using actions for triggering email ?

rawash’s picture

@Rav.j I use the actions (send tokenized email) and I cant find any token to use as the pre-defined notes (Taxonomy terms) so I could include it in my email,
Thx

gunzip’s picture

i'll look at this asap, *should* be easy to implement with just more two lines.

gunzip’s picture

StatusFileSize
new2.25 KB

with this patch i've added a new token for the term but actually i fear there's no way to add the required info (term + flag note text) during an action/rule. the only place where you can use the flag-note tokens is contextual to the flagging operation.

if this is what you were looking for, let's mark this as fixed after reviewing.

gunzip’s picture

Status: Postponed » Needs review
thedavidmeister’s picture

I want to add something to this that i thought was not obvious immediately.

After you add the predefined relationship, you extract it in the fields section by choosing "Taxonomy: Terms" and selecting the relationship there.

matdab’s picture

Version: 6.x-1.x-dev » 6.x-2.x-dev

Hi,

I've got already this patch in new version, but still I don't have flag_note_term field in views. Can u please let me know what is wrong?

Thanks for very needed module!

mat

gunzip’s picture

as suggested by thedavidmeister


After you add the predefined relationship, you extract it in the fields section by choosing "Taxonomy: Terms"
and selecting the relationship there.

so you just have to add a taxonomy term field using the flag note relationship

matdab’s picture

Thank u, it wasn't obvious indeed:)

castelar’s picture

I don't see flag-note text or term tokens available in actions or rules. Can this be added, or already possible? My use case. Flag a node, add a note, trigger a rule that sends a Twitter message with the flag-note-text.