--
You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To post to this group, send an email to joomla-de...@googlegroups.com.
To unsubscribe from this group, send email to joomla-dev-gene...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/joomla-dev-general?hl=en-GB.
Obviously you need to return a success code as well but you've gotten
that far. You should also set the plugin type as well but that
information isn't particularly deeply used in core (though others
could use it if they wanted to). If you set those, Joomla! will
automatically create a new registered user for anyone that you
authenticate and assign them to the registered user group. Joomla!
won't store their password and also won't let you update it if it has
created them from an external authentication source.
Check out the LDAP and GMail plugins for working examples, GMail is
perhaps the easier code example.
Sam Moffatt
http://pasamio.id.au
Temporary users aren't stored in the database so whilst they are
logged in they don't have a persistent user record. If you're only
after people to look at things this will suffice however if you
require them to interact (add stuff/edit stuff/etc) it would make more
sense to leave autoregister on and have Joomla! create the user record
for them. This will give them a persistent user ID and is the
equivalent of creating them by hand. It also then tracks when they
last accessed the site and when they first connected.
Cheers,
Sam Moffatt
http://pasamio.id.au