Summary: This plugin is for a one-of-its kind permissions manager for WordPress. This plugin adds a frontend tool to WordPress that allows existing authorized users to add other existing users to the post. A user can also invite their Facebook friends who do not have an account to view the album.
Details: It's concept is pretty simple.
a) In order to view a post you must be one of the post's authors.
b) At the end of every post is a section where existing authors can invite other WordPress users to be an author. This is done via an instant search script which is referenced below. You will need to create the ability for WordPress to search for users and display their gravatar. The Co-Authors Plus plugin allows for multiple authors and has a user instant search box. You could use the code from that script as a base for your user search function.
c) This is the more complicated part. The search results must also show the user's Facebook friends. You will be extending the Simple Facebook Connect plugin, again referenced below. The plugin is modular based and you will be creating a module. This is the biggest Facebook connection plugin for WordPress and is well developed already. Your plugin must also have the ability to refresh the friends user list. It doesn't matter if you run a cron and store the values or pull it once the user starts typing.
d) If the user selects a Facebook friend who does not have a WordPress account (which could be determined by comparing the email address) a hidden form shows inviting the new people to check out the photos the author posted of them. This script will dynamically insert the first name of the person in the to and from fields.
e) Finally, the Facebook friends who are given access but do not have a WordPress account are added to the pending access list. Once they create an account, which can be automatically created by logging in with their Facebook account, they move into the standard access group.
I have attached a pdf mockup of the desired end result.
- Texboxlist auto complete - [url removed, login to view]
- Simple Facebook Connect plugin: [url removed, login to view]
- Co-Authors Plus: [url removed, login to view]