I want to introduce my Loginza snippet for MODX Revolution to the general public.

It has existed for a long time, and the reasons why I am writing about it now 2:
1. A couple of days ago I seriously
updated it .
2. The guys from Loginza persistently pretend that there is no snippet - and they do not post it on their website. Repelling, thereby, potential users of MODX.

')
What can
Authorize through Loginza user on the site. When you first log in, creates a user MODX, which then logs in through a standard processor to log in. Thus, the result of registration \ authorization is no different from the more pop-up snippet
Login .
The snippet has many
parameters that allow you to authorize the user in certain contexts, register in the right groups and update / not update his profile with each login.
The new version has the ability to manually update the profile. Thus, users will be able to supplement their profiles with their own data.
Can not
To bind the data of one user from different remote services. Automatically do it in any way (for example, Vkontakte transmits only a naked identity, without a name and mail). And with my hands ... well, I do not know until I decided that this is not a very necessary function.
Installation and examples
The snippet itself is installed from the “package management” admin MODX.
Then simply call it in the right place on the page:
[[!Loginza]]
This will launch a snippet with standard entry and exit design chunks (tpl.Loginza.login and tpl.Loginza.logout)
For an unauthorized user, there will be a login chunk, for an authorized user, there will be an exit.
[[!Loginza?groups=`Users`]]
Registration of new users in the Users group at the first login.
[[!Loginza?updateProfile=`0`]]
Do not update the user profile data from the remote service at each login. This is necessary if the user himself will update his profile on your site.
[[!Loginza?action=`getProfile]]`
Displays the form for updating the profile from the tpl.Loginza.profile chunk. Sending this form with the updateProfile action will save the entered data (or generate an error). You can specify allowed to change profile fields.
Links
Snippet home pageExtension to the MODX repositoryGithub source codePost about the snippet, for the integration of Loginza into the site on MODX, so please refrain from discussing the shortcomings of the Loginza service itself in the comments.
Who does not like - there are other services, such as uLogin.