Please add token support for Unflag not allowed text field so we can put tokens in it, right now token is not replaced. If you can suggest a way to add it that would be great.
Thanks.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | flag_access_denied_tokens.patch | 672 bytes | quicksketch |
Comments
Comment #1
quicksketchThanks, token support was completely intended but we were missing a parameter to the get_label() method (which is responsible for replacing tokens). I've committed the attached patch which will be in the next beta.
Comment #2
Plazmus commentedThanks for this patch works great!
There is one problem that I have with "Unflag not allowed text".
I set permission for Anonymous and Authenticated users to flag only, if I use i.e. "Display link on node teaser" then everything works great, when I use:
print flag_create_link('vote', $node->nid);in my tpl file, link is displayed if user clicks on it then "Unflag not allowed text" is shown and everything looks fine, but unfortunately after page refresh this text disappears.You can see how it looks here