Author Topic: Remove Displayed Name / username field  (Read 24473 times)

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9412
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Remove Displayed Name / username field
« Reply #60 on: September 21, 2016, 12:10:17 pm »
https://hueniverse.com/2016/01/26/how-to-use-open-source-and-shut-the-fuck-up-at-the-same-time/

Btw you told something about 6 weeks, that is wrong. It is not our fault, that paypal does not work in turkey
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

thepet

  • Beginner
  • *
  • Posts: 15
  • A beginner
  • Skype Name: hardy_k_888
  • VirtueMart Version: 3.0.18.3
Re: Remove Displayed Name / username field
« Reply #61 on: November 09, 2016, 20:35:01 pm »
Hi there,

I'm sorry to say, but I've the same problem with all this "names"

It really doesn't make sense that a normal user MUST enter his name (or any other "Displayed Name"), just because he wants to register.

Username, Password, and Emailaddress, that's it...  ;)

Why don't you guys not just give your customers the freedom to choose whether they want to require this or not.

And it's not true that Joomla requires this strongly, You can disable this in Joomla by editing an .xml and Joomla still works...

As a workaround it would be very nice if you just publish the code location and lines, which need to be changed and let us know, how.

Please consider... :)
Hartmut - thepet

Rune Rasmussen

  • Jr. Member
  • **
  • Posts: 157
  • Is the stable release stable?
    • SYNTAX ERROR
  • VirtueMart Version: Latest ;)
Re: Remove Displayed Name / username field
« Reply #62 on: November 09, 2016, 20:43:17 pm »
Why don't you guys not just give your customers the freedom to choose whether they want to require this or not.

Max did: http://forum.virtuemart.net/index.php?topic=107226.msg461051#msg461051
Rune Rasmussen - http://www.syntaxerror.no
Norske nettløsninger og integrasjoner, CONSIGNOR EDI, Mamut ordreimport og produkteksport, kortbetaling og faktura m.m.

Norsk Joomla! - Norwegian Translation Team - http://www.norskjoomla.no

thepet

  • Beginner
  • *
  • Posts: 15
  • A beginner
  • Skype Name: hardy_k_888
  • VirtueMart Version: 3.0.18.3
Re: Remove Displayed Name / username field
« Reply #63 on: November 09, 2016, 21:30:17 pm »
Hi Rune Rasmussen,

this was actually not the answer I expected  ;)

Or should I...?

I cannot see to purchase an extension, which may does not do what it should, just because of removal of a feature that nobody wants :-)

Any other idea?

Best Regards

Hartmut
Hartmut - thepet

Rune Rasmussen

  • Jr. Member
  • **
  • Posts: 157
  • Is the stable release stable?
    • SYNTAX ERROR
  • VirtueMart Version: Latest ;)
Re: Remove Displayed Name / username field
« Reply #64 on: November 09, 2016, 21:56:28 pm »
Then you are free to modify the VirtueMart etc. as you like as it's open source with GPL license.
I have no idea what you expect, or why ...

The extension works perfectly fine for those being able to install and configure things correctly. Those who can't should maybe consider buying a ready to go system, VirtueMart doesn't fit for all. Sometimes I hate it myself ... ;)
Rune Rasmussen - http://www.syntaxerror.no
Norske nettløsninger og integrasjoner, CONSIGNOR EDI, Mamut ordreimport og produkteksport, kortbetaling og faktura m.m.

Norsk Joomla! - Norwegian Translation Team - http://www.norskjoomla.no

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 7637
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 2.6.22 & 3.2.2
Re: Remove Displayed Name / username field
« Reply #65 on: November 09, 2016, 22:14:12 pm »
it's just some simple js replacement and hide the field

any google will show u how to fill one field with another

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

I unpub the "name" in the DB (or hide with css and fill by js) and use the email as username

<?php
if ($addrtype != 'ST') {
?>
<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);
      document.getElementById("name_field").value = (reg_email);
   }
</script>
<?php  } ?>


http://www.greenpackshop.com.au/my-account/editaddresscartBT
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

luke67

  • Beginner
  • *
  • Posts: 11
Re: Remove Displayed Name / username field
« Reply #66 on: February 22, 2017, 16:07:00 pm »
Hi all,

Same issue here.
I use Joomla! 3.6.5 with VirtueMart 3.0.18.

When a customer register with username, password, company name and address thats enough for my site.
Unfortunately when in the backend I disable the field 'name' (COM_VIRTUEMART_USER_DISPLAYED_NAME) (the field for the displayed name) it's no longer possible for a customer to register.
 
How to handle this issue?

Luke

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9412
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Remove Displayed Name / username field
« Reply #67 on: February 22, 2017, 21:52:14 pm »
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/