News:

Support the VirtueMart project and become a member

Main Menu

How to display Registration Form?

Started by Andyfoo, January 13, 2012, 21:06:58 PM

Previous topic - Next topic

lipes

JohnnyC: we must pray to VM developer change the coding in next the User registration file of V.M.2.0.0001 :(
I will like to see progress in this strange situation.. if someone could do something we bless them.
but let's wait...
VM V. online: J2.5.14 | VM 2.0.20a | SQL 5.1.70 | PHP 5.3.25

jamedia

I would like to see VM with an option where customer can register directly through VM and also a second option where they can do on a checkout like they have it now.

Thank You

Milbo

no, it is quite easy you can do it directly now, just not completly clicki, you need to copy this
/index.php?option=com_virtuemart&view=user&layout=editaddress

Go in your menuitem, choose external link or so and use the link above, done. It is already working. Just the xml is missing so that you can choose it in the menu item manager.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

jamedia

Hello,

Actually I tried that a while back by using that exactly link while working on this site www.geniusplanet.com but I kept getting an error "Please enter your name." For me it only works if you are sign into the site.

Is anybody else getting this error?

JohnnyC

The same subject is being discussed here
http://forum.virtuemart.net/index.php?topic=96215.0

so we can have one topic for that...

@ jamedia: The path Milbo posted works, check your required fields.
It shows all the information that the admin can see or edit, and the simple user doesn't has to. So there is the need to hide some fields or make them uneditable. Also it is a good idea to embed it in a login module like Joomla's, at the "Create account" link. After that the "Edit account" is easy to be created (link to the same path). BTW is there something like "View profile", as summary or something without editable fields?

Milbo

it is the account maintance. The fields are also adjustable.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

JohnnyC

Hmmm... Fields like Group (General User Information) or Shopper Number / ID and Shopper Group (Additional Information) are not adjustable or listed in the User Fields... Those fields are not needed to be shown to the simple shopper (only admin). Is there such a way to do that?

lipes

Same problem here. We only got the Configuration > Shopper Field
with: email, Passwoed, pass2, agreed, name, username, Address Nickname, Bill To Information, Company Name, Title

and it's all we got to customize all categories in the new VM User registration form...
My full post here with images: ( http://forum.virtuemart.net/index.php?topic=96529.msg317613#msg317613 )
VM V. online: J2.5.14 | VM 2.0.20a | SQL 5.1.70 | PHP 5.3.25

JohnnyC

If we hide them through the code, they will disappear for all users including admin... We don't want it...

Milbo

yeh, yeh, saw it. I thought it looks like /index.php?option=com_virtuemart&view=user&task=editaddresscart&addrtype=BT.

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

Milbo

When you want to try the svn, then this link /index.php?option=com_virtuemart&view=user&layout=edit_address is exactly giving what you want.

You can also use the template override possibilities to have a  better layout of your account user maintance. It is mainly a gui thing. Or you wait for the next installer.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

lipes

/index.php?option=com_virtuemart&view=user&task=editaddresscart&addrtype=BT

Great!! This Link to User Reg. Form seems Fantastic!
It will be the Default for next version installer? I hope so!! :D
VM V. online: J2.5.14 | VM 2.0.20a | SQL 5.1.70 | PHP 5.3.25

lipes

#27
Great Job Milbo! Amazing... it works by the address that you sent.. finnallyyyyy.. ufff!!! :D

displaying message:
"Info: Registration Complete!
No payment method has been configurated
No shipment method has been configurated"


But one thing....

In the "Shopper Information" Painel we got the same problem painel in user area:

"User Permissions:    shopper here
Customer id/Internal VM user ID:  ....the encryted number here ...
Shopper Group:   here ...."

This will not be dangerous information by giving this data to anyone else?
VM V. online: J2.5.14 | VM 2.0.20a | SQL 5.1.70 | PHP 5.3.25

JohnnyC

Actually it is something between
/index.php?option=com_virtuemart&view=user&layout=edit_address
and
/index.php?option=com_virtuemart&view=user&task=editaddresscart&addrtype=BT

The first has all the information, including those that aren't needed but the right buttons, "register" and "cancel" for new user and "save" if someone is already logged in and wants to change the information.
The second has only the appropriate information fields but the buttons are those of the billing info. If someone wants to create an account it is not right to have the "register and checkout" buttons...
I think the first path was better... Or something new could be created to use the form o the second and the buttons of the first? In addition could this path be connected with the "create account" of the login module or a new VM login module?

Milbo

Yepp, I made the corrections, they are in the svn since yesterday, I am quite sure we upload a presubrelease this evening or tomorrow.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/