Silent, Optional and No account registration dont work - joomla

I tried to check each of these, and I still see VM registration/login page..I disabled all cache and I have no login modules in the site. You can see it in action: www.webtasty.com ..try to purchase smth and you will be redirected to login page after clicking checkout... How to remove registration/login page? I want to use just paypal payments, so dont need registration. Thank you
ps. it's tpvmcheckoutlogin module on the page, which displays that login block...
I have latest VM version (and patch)

What is it set to right now? From the looks of the page it is set to normal now. In any case, changing that setting doesn't remove the registration page, it only changes what is displayed. VM will always want you to fill out the registration form so it knows who is placing an order. Here is what the different options mean -
Normal Registration - checkout page displays a login form and a new user registration form. Users are required to pick a username and password. VM creates a user account.
Optional Registration - checkout page displays a login form and a new user registration form. Users have the option of selecting a username and password to create an account. VM only creates a user account if the option is selected
Silent Registration - checkout page displays a login for and a new user registration form. There are no form fields for username or password, VM assigns those to the user and sends them via email. A user account is created with the assigned credentials.
No regisration - checkout page displays registration form only, no username or password fields, no account login form. VM does not create a user account but still requires the form to be filled out for billing/shipping purposes.

Related

Userfrosting: How to make user login automatically soon after registration

In our usecase, we need to login the user automatically soon after successful registration for enabling, rather forcing the user to:
Change password.
Upload a file.
How to achieve this programmatically, in AccountController's register method?
Ideally, it should be a seamless registration process that ends with the login state in the user dashboard.
Request valuable help / hint / pointers...
Thanks!
The best way to approach this is to take a cue from the password reset controller, which already does this (in this case, it automatically logs the user in after they've selected a new password).
So, add this to the bottom of the register method in AccountController:
// Log out any existing user, and create a new session
if (!$this->_app->user->isGuest()) {
$this->_app->logout(true);
// Restart session
$this->_app->startSession();
}
// Auto-login the user
$this->_app->login($user);
$ms = $this->_app->alerts;
$ms->addMessageTranslated("success", "ACCOUNT_WELCOME", $this->_app->user->export());
You will also need to modify the AJAX callback in register.twig to redirect the user to the home page, instead of the login page:
window.location.replace(site['uri']['public']);
The user will then be automatically redirected to the landing page for their primary group after being logged in.

Login Checklist?

Does anyone know of a login checklist online that goes through the overall requirements? Currently, we have the following overview of steps:
Login Page
Registration Page
Thank you for creating account page (needs to be page instead of pop-up so that we can track this in Act-on)
Registration email to user
Registration email to client
Login confirmation page for client to approve user in one click
Login approved email to user
Login declined email to user
Forgot password page
Forgot password emailed to user
New password page (from email)
If you know of anything more thorough, or can see anything that may be missing (or is overkill), please let me know. Should I be posting this on Stack Exchange?

Laravel new user registration, activation with email and secure login

I am working on a Laravel 4.2 project.
I already have implemented an email activation module for new user registration. Whenever a new user registers, I provide an activation link to him in an email and clicking on link, I compare the token (a random string with 30 characters) I have provided with link and user's email address with database records. If found to be matching, I just set is_active field of users table to true and redirect him to login page with a Congratulations message for successful activation.
But now, I DON'T want him to redirect to login page, but if successful activation, I want him logged in directly to his account.
But I believe that authenticate an user with just a string token and email address is not a secure way.
There must be something that I can trust on. Many sites do this including stackoverflow itself but I am not sure how?
Can you please guide me how to do this?

Joomla! VirtueMart - Registration form doesn't display USERNAME and PASSWORD fields

I'm using Joomla! 1.5.14 and VirtueMart 1.1.3
I'm using mod_virtuemart's login control in my website. When i run my site and clicked on 'register', it shows a registration form. But i realised that there isn't fields for USERNAME and PASSWORD.
I logged in as administrator, and looked under 'Manage User Fields'.
Username, password, and password2 have TICKS under "required", "published", "Show in registration form" and "Show in account maintenance".
But why is it that when i run my site, the fields are not shown?
In the Joomla portion. Have you gone to Global Configuration -> System -> User Settings and set 'Allow User Registration' to 'Yes'?
This is the only thing I can think of without actually trying to replicate the error.
In Virtuemart under:
Configuration
Global Tab
User Registration Settings
User Registration Type
Check to make sure it is not set to "No Account Creation"
Hope this helps!

Joomla - How to let Registered users change their password

I have a website based on Joomla 1.5.22. I want users to change the password on the frontend. Using the menumanager i can bring up the page but i want to show only username, email, password and verify password. But it's bringing more info like change backend language.
You should use the User Form menu item you mentioned, as that is the native interface for allowing users to change their password. However, since you want to avoid the other fields, you can simply disable "Front end user parameters" in Global Configuration > System.
This did it for me:
http://www.dummies.com/how-to/content/how-to-let-users-manage-their-own-accounts-in-joom.html
Concretely, the URL for the user to edit her details is here:
index.php?option=com_user&view=user&layout=form
Joomla 1.5

Resources