I am using the Login plugin to register uses and handle restricted access pages. This works for the most part.
But I am having an issue where users will be blocked if they go to some pages. This happens very randomly - I cant track it down to a specific area. I only have one Resource Group and all the Resources and Users are assigned to it.
The only thing I can think of its that possibly the user isnt being allocated to the user group properly on registration.
My registration code is:
[[!Register?
&submitVar=`registerbtn`
&activationResourceId=`34`
&activationEmailTpl=`lgnActivateEmailTpl`
&activationEmailSubject=`Thanks for Registering!`
&submittedResourceId=`32`
&usergroups=`2`
&validate=`nospam:blank,
username:required:minLength=^6^,
password:required:minLength=^6^,
password_confirm:password_confirm=^password^,
fullname:required,
email:required:email`
&placeholderPrefix=`reg.`
]]
This looks correct to me.
Would anyone know why this could be occuring? Its really getting me stuck on my project.
Many thanks in advance