News:

Support the VirtueMart project and become a member

Main Menu

Customer registration just with e-mail address

Started by gba, December 19, 2017, 14:18:01 PM

Previous topic - Next topic

gba

Hi!

I found this interesting article:
https://electrodrome.net/joomla-registrierung-nur-mit-benutzername-pseudonym-und-eingabefelder-reduzieren/
Actually this is not exactly what I want to achieve and I do not want to "hack" Joomla.
So, how can I configure/extend VM to enable customers for registering with their e-mail address and a password, only?

Kind regards,
Gerald

GJC Web Design

there are posts on here how to autofill name and username as hidden fields with JS and then just make the rest of the shopper fields unpublished
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 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
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Studio 42

You have some plugin that can copy  email as username, you only have to rename username Joomla Key, no need to hack Joomla.
See for eg : https://extensions.joomla.org/extension/authentication-email/
The problem is after to do same with Virtuemart.

gba

#4
Quote from: Milbo on December 19, 2017, 19:06:56 PM
You can also use https://extensions.virtuemart.net/all-tutorials/19-shopper-fields-plugins/29-automated-numbers

Hi!

I have bought this plugin now.

How can I achieve the following:
When the user registers, he just fills in the e-mail address and a password.
The plugin automatically fills in the e-mail address as user name.

What I tried, you can see in the screenshot attached.
But the user name and the name fields stay empty.

Thank you very much in advance for your help!

Kind regards,
Gerald

GJC Web Design

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 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
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

gba

#6
Hi!

Now I have it:
1. I configured the plugin a bit differently (see attached screenshot), to avoid resulting in texts like "Hello example@mail.com!".
2. I unpublished the shopper fields 'username' and 'name' and set them to 'not required'.
3. I created a language overrides for displaying reasonable label descriptions in the frontend.

And voilĂ :
The user can register without filling in the fields 'username' and 'name'!
And he can login with his e-mail address, as the plugin used it as username, too.

Thank you all for all your hints!

Kind regards,
Gerald

gba

#7
Hi!

I am now facing a problem with 'Automated Numbers':
If a registered user logs in, opens his account page and changes the e-mail address, the user name is not being updated!

In the product description of the plugin it says:

So this seems to be a bug.

Otherwise the function to autofill the username with the e-mail would not make sense:
After the user's first change of his e-mail addresse, he will not be able to login with his new e-mail address anymore.

Does anyone of you have an idea, how to workaround/fix that issue?

Kind regards,
Gerald

Studio 42


gba

#9
Quote from: Studio 42 on December 11, 2019, 18:27:13 PM
Is this a VM feature ?

This post is part of the topic 'Customer registration just with e-mail address' in VM in reply to:
Quote from: Milbo on December 19, 2017, 19:06:56 PM
You can also use https://extensions.virtuemart.net/all-tutorials/19-shopper-fields-plugins/29-automated-numbers
And the solution to this VM problem seems to be the VM extension mentioned there.
It just needs to work right.
And this is what I am trying to achieve with the help of the VM community.
Any constructive comments are still very much appreciated :)

Studio 42


pinochico

We use authentification plugin

User - email or username

from Rupostel as part of OPC.

This plugin function correctly.
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products

GJC Web Design

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 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
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

pinochico

QuoteI use https://www.richeyweb.com/software/joomla/packages/16-authentication-email with some minor user template changes

Yes, is the second option for eshop or website without OPC from Rupostel, we use too :)
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products

Milbo

It is not a bug. The reason is simple, it does not overwrite existing values. I need to add configuration options to decided if it should overwrite existing values, or not.
Imagine the other way round. A user changes just his email address and the login name changed "suddenly" and he cannot login. So both logics are valid. It depends on the use case.
Currently only the "email" is overwriting the old value, other values are checked against empty.

The authentication plugin of Richey is indeed interesting, cause it enables to use username and email.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/