Download: http://www.brianlitzinger.com/ee/
This plugin lets you create an anonymous member, and immediately signs them in as that member so they can take advantage of certain functionality without registering with the site, which can be a barrier for user interaction.
This was originally written to be used with Solspace’s Favorites module.
Require Parameters:
• group_id - Which member group do you want to assign the member to? Would be best to create a new group with no privileges.</li>
Optional Parameters:
• salt - If you want to salt the passwords.
• screen_name - Screen Name you want to give anonymous users. If screen_name=“ip”, their IP address will be used instead. Default value is “Anonymous User”.
Example:
{exp:anonymous_member:create group_id="6" salt="mysecret" screen_name="Freeloader"}
Log a user in again if their cookie is present:
{exp:anonymous_member:login}
To use with the Favorites module, simply include this tag on the page before the “save” method:
{exp:anonymous_member:create group_id="6"}
{exp:favorites:save}
