Not sure if this is the right topic thread... but what I’m looking for is an option to create a user in a web group with a public form without the need for a password (can be blank password or auto-generated) AND have it log them in on refresh with a redirect to page option.
Can WebLoginPE do this out of the box, maybe by setting the password in a hidden field to empty?
I can use PHX to check if they are already logged in and in the correct web group... and show the form if not logged in, otherwise show the content... I just need the form to log them in.
What I’m trying to do is set up a downloads directory where the user must fill in at least their email address (as username) in order to get access. I can do this easily with an eForm call and a cookie but I want to get the data into ModX Users/Groups for future use and don’t want to hack it together myself if I can use an existing solution that is community supported.
Any thoughts? I’ll be installing WebLoginPE this morning to try it out as described and will check back here later to either post my results (for others looking to do the same) or else ask for more help ;-p
Might be best to post this in the sub-forum for WLPE. He’d probably see it easier than in this thread (since this existed before WLPE got its own sub-forum).
I have a question .
I want to give permission to users to edit their attributes but I dont want them to change certain fields (email , password is ok but not certain fields ) . Only admins can edit all fields ..
Can I do that ?
thanks for ur respond .
BTW .. i add some new fields .. and it will come up on web_user_extended table ..
how can I add web user in MODx CMS back end instead edit a new template call register ..
Anyone know why when signing up as a new user the email field isn’t validated?? I think i managed to sign up with ’test’.
thanks
Scotty D,
The templates you provide for registration states that certain fields are required, but the default WebLoginPE call doesn’t require them. Being a bit of a MODx newbie I really struggled to realize that the solution was to add:
®Required=(email,username,fullname,password,password.confirm,tos)
To my WebLoginPE call. Without this, the form was simply submitting to itself without progressing. No error message, nothing.
I thought there was something wrong with the [+wlpe.message+] placeholder for the longest time.
So for anyone else who got lost in that particular rabbit hole i figured I’d post this.
B-dog Sputnik B-)