Jump to content

New post: Login Register Pro (module)


ryan
 Share

Recommended Posts

This week we’ll take a look at LoginRegisterPro — a new module that provides an all-in-one, self contained module for providing new user registration, secure logins, profile editing, and more. It does this all in a manner that is reliable, efficient, comprehensive and secure.

As we continue preparing the ProcessWire core dev branch to become our new master, I've been trying to stay hands-off on new feature additions there as much as possible (till the new master is out), and instead focusing on finishing up modules I've had in development. Last time I told you about the UserActivity module, and this time we’ll look at LoginRegisterPro, which is another module dealing with users; though significantly larger in scale/scope.

LoginRegisterPro is a module I've been working on for more than a year, and finally this month have it ready to share. While I don't have it available for download today I do expect to have a beta release as soon as early next week. Read this week’s post for more details—

https://processwire.com/blog/posts/login-register-pro/

  • Like 21
  • Thanks 3
Link to comment
Share on other sites

@ryan, thanks for this new module - really looking forward to getting my hands on it!

One important thing that I think is missing though is support for Image fields (the screenshots say no File fields and I figure this means no Image fields either). It's a really common need to allow avatar/profile images for members. A simple file input would suffice, but of course it would great to have things like preview before upload, front-end image resizing, and progress bar for upload (especially if front-end resizing isn't possible).

  • Like 6
Link to comment
Share on other sites

@Robin S I agree and this is already in progress. It's not in the first version but is in the next one—here's the relevant section from the draft documentation:

Quote

Regarding file/image fields, support is planned and custom file/image fields are in development for this purpose. We cannot use ProcessWire’s core file/image fields because they are intended only for input use in an admin environment with trusted users. File uploads require special security considerations (like with FormBuilder), especially because they come from users that can register and create their own account. For this reason, I'm taking extra time to focus on that and do it in as secure a manner as possible, but didn't want to delay version 1 of LoginRegisterPro while it was developed. File and image uploads will be available on user profile forms (i.e. confirmed users), but not registration forms (before users are confirmed). 

 

  • Like 14
Link to comment
Share on other sites

  • 1 month later...
  • 3 months later...

Hello @ryan thanks for this amazing module. can I ask a doubt  ? 

Quote

Guests may register to create a new account. User accounts are not actually created until validated by an email sent to the user. They receive a link containing a confirmation code. When clicked on (or pasted in manually after registration) the user account is then created. (Additional confirmation steps can also be optionally enabled). At this point, the user is now confirmed and can login (or be logged-in automatically).

Can we somehow bypass / disable this sending activation link to Emal step ?  I would need the registration completes once after the submit the form, no need of the activation link sent to email >> then click it.

Please let me know if its possible, then where should I comment out / disable some lines in source code. 

 

 

thank you 

Link to comment
Share on other sites

  • 2 weeks later...

I'd like to ask (because I've been confused about this for a while) - what exactly is the benefit of this compared to something like Form Builder? Just the fact that the whole register / login flow is already coded for you rather than having to do it yourself?

 

Main reason I'm asking is because like...while I certainly want both Form Builder and LoginRegisterPro, it seems like Form Builder is the better deal at only $10 more. But maybe I'm missing something.

Link to comment
Share on other sites

1 hour ago, awesomolocity said:

while I certainly want both Form Builder and LoginRegisterPro, it seems like Form Builder is the better deal at only $10 more. But maybe I'm missing something.

These are two completely different modules

Formbuilder: Forms that can be filled out and sent via the frontend (save to page, send an email etc.)

Login register: Users can register and will receive a corresponding e-mail. Users can edit a (customizable) profile themselves in the frontend. There is a forgotten password function

  • Like 1
Link to comment
Share on other sites

On 5/10/2020 at 9:32 AM, JeevanisM said:

Once the logout happens, the pahge redirects to http://localhost/pw/admin/   ( to the admin url ) . How do I change this > I want to redirect the page to some other custom page. 

 

You can create a own logout template/page with this content:

<?php
 $session->logout();
 $session->redirect('/');

 

  • Like 2
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...