News:

Support the VirtueMart project and become a member

Main Menu

Use Joomla Registration

Started by oneyozfest182, May 03, 2017, 21:06:19 PM

Previous topic - Next topic

oneyozfest182

I'm sorry for asking this, but I can't figure out where the setting was. I had previously setup a site and had set it to use Joomla registration instead of Virtuemart Registration. We prefer just the Joomla registration page as it's simpler, and we don't need all the billing & shipping information from our customers. I have it working properly on http://priorityeyewear.com/register but I can't find the setting in the new site we're making at http://shop.britaliaoptical.com/downloads/login-register :( Any help is appreciated! I feel stupid for not being able to figure this out.

PHP Built On Linux boscustweb2603.eigbox.net 3.14.77 #1 SMP Thu Oct 20 18:26:58 EDT 2016 x86_64
Database Version 5.6.32-78.0-log
Database Collation utf8_general_ci
Database Connection Collation utf8mb4_general_ci
PHP Version 5.3.29
Web Server Apache/2
WebServer to PHP Interface cgi-fcgi
Joomla! Version Joomla! 3.6.5 Stable [ Noether ] 1-December-2016 22:46 GMT
Joomla! Platform Version Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT
Virtuemart Version 3.0.18


Edit: Added Server, Joomla & VirtueMart Version Information

Troels_E

Users -> Manage ->  and "options" from right corner.

oneyozfest182

I don't see any setting in there that gives me the option to choose between Virtuemart or Joomla registrations.  :-\

GJC Web Design

IMHO there has never been such a setting..  you can register thru Joomla and if address etc fields aren't required tht will work but why?

Just unpublish the VM fields u don't want and use the normal VM workflow
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

oneyozfest182

#4
There wasn't? So how is it I have it working with Joomla Registrations on http://www.priorityeyewear.com/register but on http://shop.britaliaoptical.com/downloads/login-register is using a different registration? The reason I want to use Joomla is I can't get a captcha working with Virtuemart Registration, and I also like giving the customer the option of adding a drop-ship address, and if I unpublish those fields, they don't show up at all.

Edit: I was able to get reCAPTCHA working, finally, but I'm not skilled enough in CSS to figure out how to move the Register & Cancel buttons down BELOW the fields. :(

Edit 2: I got some help on /r/css :) Got it moved!

GJC Web Design

obviously there is the J reg page and the VM reg page..  but there never was a setting to "choose" what one to use..
you can use one, or the other or both .. depends what menus u have public

the cart uses the vm reg.. if you want to use the Joomla reg you would need to code/hack the cart workflow
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

oneyozfest182

How do I add a link tot he Joomla Registration page? I did Menu Type > Users > Registration Form and both sites show:

index.php?option=com_users&view=registration

I'm not sure what I can do to make the new site use the Joomla Registration Form the same way the old site is. :(

jankoo

hi man.. how did you solve the issue,? i got the same one..

i have menu item - user -registration.. but there are fields from VM.. and i cant get there to work captcha.. i have setup recaptcha joomla plugin and set as default in global - configuration, and also in user - settings...
thx

Jörgen

Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

redgar

#9
I had the same problem and found the solution. I'm running VM 3.2.12 under Joomla 3.8.6. I had a plugin titled "VM Framework Loader during Plugin Updates".

You could just disable that completely (I'm not sure what else it does). It has a setting to redirect vituemart user of yes and no. If you set it to no and save the plug in it will bring back your regular Joomla user registration screen.

Also, if you have any type of caching enabled you may need to clear your cache to see the change take effect. (I had to do this)

kiasati

Quote from: Troels_E on May 03, 2017, 21:40:41 PM
Users -> Manage ->  and "options" from right corner.

1. There is no option in there. maybe it was in the past, but there is not anymore.

2. "VM Framework Loader during Plugin Updates" this plugin causes the problem. open it in plugin manager, and in the second tab, turn off redirecting. this plugin does two things. one of them is redirecting the registration form. by turning this off, you might affect some other functionality.

3. here is where the problem arises:
in plugins/system/vmLoaderPluginUpdate/vmLoaderPluginUpdate.php
there are two functions (two things that this plugin does, which I mentioned in 2)
the second function causes this problem. it redirects the registration form if the option in com_user options is set to yes. but there is no such option in the com_user. maybe it was in the past.
on line 62 it looks for this option in the com_user to decide to redirect the registration page or not, and because it can't find it, it does the default which is set to yes in this line.


VirtueMart Developers should fix this.

GJC Web Design

No -- the param comuserredirect is the setting ( lang files are missing) of the VMSYSTEM_COMUSER_REDIRECT choice in the VmLoaderPluginUpdate plugin

if this is yes  -> COM_VIRTUEMART_YES and u have a menu item or link with   index.php?option=com_users&view=registration

it will redirect to  index.php?option=com_virtuemart&view=user&task=saveUser

Do agree the whole thing could do with a tidy up
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

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