Author Topic: How to simplify registration process? (use email as username)  (Read 2846 times)

stanislavus

  • Beginner
  • *
  • Posts: 30
How to simplify registration process? (use email as username)
« on: January 02, 2015, 16:00:08 pm »
Hello fellow VM users.

I'm trying to simplify the registration process so that users could use only the email & password to register and login into the shop.

I found nice joomla extensions that enable using only email as the login username:
http://extensions.joomla.org/extensions/extension/access-a-security/site-access/authentication-email
http://extensions.joomla.org/extensions/extension/access-a-security/site-access/awo-email-login

In the registration form I want to use only the email & password fields. Unfortunately in VM configuration I'm unable to turn off (unpublish) the fields: "username" & "name"
Do you know any solution to this?

Thank you in advance for your support!
Current specs:
Joomla! 2.5.9 PHP 5.6.3 VM  2.0.18a
Getting ready to upgrade (currently testing):
Joomla! 2.5.27 PHP 5.6.3 VM 3.0.2

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 7880
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 2.6.22 & 3.2.14
Re: How to simplify registration process? (use email as username)
« Reply #1 on: January 02, 2015, 16:59:48 pm »
When I need this I use a JS snippet to populate the fields with the email address and hide them with css
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

stanislavus

  • Beginner
  • *
  • Posts: 30
Re: How to simplify registration process? (use email as username)
« Reply #2 on: January 02, 2015, 17:13:02 pm »
Thank you for your reply.

Does this solution enable easy security updates in the future (like when it is necessary to run security updates with the next Joomla or VM versions)?
Could you please share a detailed step-by-step solution for users who are not experts in JS (and have to manage with basic HTML & CSS knowledge)?

Your help will be much appreciated - as I browsed the forum it seams like it is an often request to skip the necessity to use the "username" instead of just an email. However, so far there was no "easy to follow" guide for the less advanced users.
Current specs:
Joomla! 2.5.9 PHP 5.6.3 VM  2.0.18a
Getting ready to upgrade (currently testing):
Joomla! 2.5.27 PHP 5.6.3 VM 3.0.2

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 7880
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 2.6.22 & 3.2.14
Re: How to simplify registration process? (use email as username)
« Reply #3 on: January 02, 2015, 18:23:33 pm »
It is all done in the registration template - so over ride it

templates\YOUR_TEMPLATE\html\com_virtuemart\user\edit_address_userfields.php

There are plenty of tutorials on how to fill a field with another via JS - jquery is std. in VM so it is even simpler if u use that

here's one I did the last time ( not jquery)

<script type="text/javascript">
    document.getElementById("email_field").setAttribute("onchange", "mail_is_user()");
    
    function mail_is_user(){
      var reg_email = document.getElementById("email_field").value
      document.getElementById("username_field").value = (reg_email);
   }
       
</script>
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

stanislavus

  • Beginner
  • *
  • Posts: 30
Re: How to simplify registration process? (use email as username)
« Reply #4 on: January 02, 2015, 20:08:00 pm »
Thank you. It's simple & genius!
Your support is very much appreciated!
Current specs:
Joomla! 2.5.9 PHP 5.6.3 VM  2.0.18a
Getting ready to upgrade (currently testing):
Joomla! 2.5.27 PHP 5.6.3 VM 3.0.2

rage76

  • Jr. Member
  • **
  • Posts: 143
Re: How to simplify registration process? (use email as username)
« Reply #5 on: May 04, 2018, 19:38:48 pm »
is there a module that allows VM registration simply through email input and captcha. All the other fields (shipping info) are optionally expandable via a check box?

This would facilitate easy user registration and acquisition.

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 3243
  • Joomla & Virtuemart addon developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 &amp; 3.0.x.y
Re: How to simplify registration process? (use email as username)
« Reply #6 on: May 06, 2018, 15:25:06 pm »
is there a module that allows VM registration simply through email input and captcha. All the other fields (shipping info) are optionally expandable via a check box?

This would facilitate easy user registration and acquisition.
You need full bill adress for virtuemart.
You can register Joomla user, to simplfy the registration process, but in all case, your customer have to enter the billing adress on doing a chekcout.

rage76

  • Jr. Member
  • **
  • Posts: 143
Re: How to simplify registration process? (use email as username)
« Reply #7 on: May 07, 2018, 10:42:51 am »
Many thanks for the reply. I understand that full address details are required during checkout. But many visitors might not want to make a purchase and only like to register !!

In such a case, is there a way to ask the visitor via a checkbox, if they wish to make a purchase or not.

If not, they may be allowed to register via joomla registration, without entering complete billing details !!??

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 26917
  • Always on vacation
    • Jenkin Hill Internet
Re: How to simplify registration process? (use email as username)
« Reply #8 on: May 07, 2018, 11:34:35 am »
They can register using Joomla's mod_login, and then when they come to the cart, they log in using the J! credentials and are then asked to fill in bill/ship info.
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM.3.2.15.9866 on Joomla 3.8.10 PHP 7.0.30

Testing VM.3.2.15.9898 on J3.8.10

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 3243
  • Joomla & Virtuemart addon developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 &amp; 3.0.x.y
Re: How to simplify registration process? (use email as username)
« Reply #9 on: May 07, 2018, 14:45:38 pm »
Many thanks for the reply. I understand that full address details are required during checkout. But many visitors might not want to make a purchase and only like to register !!

In such a case, is there a way to ask the visitor via a checkbox, if they wish to make a purchase or not.

If not, they may be allowed to register via joomla registration, without entering complete billing details !!??
You can modify the Joomla login form and add link to add bill to address

Jumbo!

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 653
  • Full-stack Web Developer
    • www.virtueplanet.com
  • VirtueMart Version: Always latest
Re: How to simplify registration process? (use email as username)
« Reply #10 on: May 07, 2018, 20:51:54 pm »
Yes, you can allow registration only using email & captcha during checkout with VP One Page Checkout plugin - https://www.virtueplanet.com/extensions/vp-one-page-checkout

You just need to enable the following options in the plugin settings -

1. Auto Generate Username during Registration
2. Auto Generate Password during Registration
3. Hide Name Field in Registration Form
4. Show Captcha (If enabled)

For login, you can enable "Email as Username - Login" option.

Refer the documentation to learn more - https://www.virtueplanet.com/documentation/joomla-extensions/vp-one-page-checkout-user-guide-vm3

You can also check VP Advanced User which adds many more useful functionalities to core Joomla Users system - https://www.virtueplanet.com/extensions/vp-advanced-user

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9607
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: How to simplify registration process? (use email as username)
« Reply #11 on: May 08, 2018, 14:19:28 pm »
Or you use my plugin https://extensions.virtuemart.net/shopper-order/orders/automated-numbers-detail

it automates a lot different fields. Invoicenumber, ordernumber, customernumber and even product attributs, for example SKUs. Furthermore it provides a more secure method to create sequential numbers.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

rage76

  • Jr. Member
  • **
  • Posts: 143
Re: How to simplify registration process? (use email as username)
« Reply #12 on: May 09, 2018, 19:12:52 pm »
Dear Jumbo, I am asking for general registration and not during checkout.

I believe your plugin is suitable at the time of checkout only !!??

Yes, you can allow registration only using email & captcha during checkout with VP One Page Checkout plugin - https://www.virtueplanet.com/extensions/vp-one-page-checkout

You just need to enable the following options in the plugin settings -

1. Auto Generate Username during Registration
2. Auto Generate Password during Registration
3. Hide Name Field in Registration Form
4. Show Captcha (If enabled)

For login, you can enable "Email as Username - Login" option.

Refer the documentation to learn more - https://www.virtueplanet.com/documentation/joomla-extensions/vp-one-page-checkout-user-guide-vm3

You can also check VP Advanced User which adds many more useful functionalities to core Joomla Users system - https://www.virtueplanet.com/extensions/vp-advanced-user

Jumbo!

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 653
  • Full-stack Web Developer
    • www.virtueplanet.com
  • VirtueMart Version: Always latest
Re: How to simplify registration process? (use email as username)
« Reply #13 on: May 09, 2018, 20:53:00 pm »
Yes, VP One Page Checkout plugin takes care of the registration process during checkout.