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

Comments

manuel garcia’s picture

StatusFileSize
new1.13 KB

somehow the tarball didnt get in.

manuel garcia’s picture

StatusFileSize
new1.32 KB

OK, that tarball is doing weird things, lets try this again as a .zip file.

sirkitree’s picture

Thanks Manuel - I'll review next time I'm working on Flag Friend!

sirkitree’s picture

Status: Needs review » Fixed

I've added this, taking your word for it as I'm not sure how this really works.

manuel garcia’s picture

Thanks 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.

Status: Fixed » Closed (fixed)

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