I needed this for a project I'm working on, and since it's working nicely, I cleaned it up and decided to contribute it back to the project.
After #692788: Ctools plugins not being loaded (wrong directory) is fixed, just place the folder inside the attached tarball inside /plugins/.
The structure in the end should be:
flag_friend/plugins/access/flag_friend_is_friend.inc
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | flag_friend_is_friend.zip | 1.32 KB | manuel garcia |
| #1 | flag_friend_is_friend.tar_.gz | 1.13 KB | manuel garcia |
Comments
Comment #1
manuel garcia commentedsomehow the tarball didnt get in.
Comment #2
manuel garcia commentedOK, that tarball is doing weird things, lets try this again as a .zip file.
Comment #3
sirkitree commentedThanks Manuel - I'll review next time I'm working on Flag Friend!
Comment #4
sirkitree commentedI've added this, taking your word for it as I'm not sure how this really works.
Comment #5
manuel garcia commentedThanks sirkitree!
If you get bug reports opened by this code from me, do send me a pm and I'll try figuring out what's wrong.