VirtueMart Forum

VirtueMart Dev/Coding Central: VM1 (old version) => Quality & Testing VirtueMart 1.1.x => Virtuemart 1.1 Development (Archiv) => Q&T Resolved => Topic started by: aravot on October 13, 2007, 19:28:26 PM

Title: [FIXED TRACKER #1508] Two Registration Complete message in Joomla 1.5 displayed
Post by: aravot on October 13, 2007, 19:28:26 PM
Joomla 1.5 r9223
VirtueMart 1.1 r998

In Joomla 1.5 two registration message is displayed, 'Username and password do not match' and 'Registration Complete!' in this case user was registered.

(http://www.filefarmer.com/aravot/joomla/vm/vm998-j15-registration.gif)

Joomla Global Configuration - System - User Settings
Allow User Registration - Yes
New User Registration Type - Registered   
New User Account Activation - No
Front-end User Parameters - Show

VirtueMart - Configuration - User Registration Settings
User Registration Type - Normal Account Creation
Show the "Remember me" checkbox on login? - Yes
Joomla!: User registration allowed? - Yes
Joomla!: New account activation necessary? - No
Title: Re: Two Registration Complete message in Joomla 1.5 displayed
Post by: aravot on October 18, 2007, 06:34:36 AM
Another thing in Joomla 1.5 r9245 and VM 1.1 r1002 after registration user is NOT logged in (not correct) where as in Joomla 1.0.13 and VM 1.1 r1002 this is not the case (i.e. after registration user is logged in - correct way)
Title: Re: Two Registration Complete message in Joomla 1.5 displayed
Post by: jenkinhill on October 19, 2007, 21:47:33 PM
Confirmed. Two messages, user not logged in - but the second message does read correctly: "You may now login"

This happens for creating an account from the front page and during new customer registration in the checkout process.
Title: Re: Two Registration Complete message in Joomla 1.5 displayed
Post by: aravot on October 19, 2007, 21:58:05 PM
Quote from: jenkinhill on October 19, 2007, 21:47:33 PM
the second message does read correctly: "You may now login"

True, however I rather have user logged in automatically like in Joomla 1.0.13 + VM 1.1 r1002
Title: Re: Two Registration Complete message in Joomla 1.5 displayed
Post by: jenkinhill on October 19, 2007, 23:51:14 PM
Quote from: aravot on October 19, 2007, 21:58:05 PM
True, however I rather have user logged in automatically like in Joomla 1.0.13 + VM 1.1 r1002
I agree. There should be as few steps in the buying process as possible. It is using the VM login, but is the problem with J!1.5 or with VM?
Title: Re: Two Registration Complete message in Joomla 1.5 displayed
Post by: aravot on October 24, 2007, 08:48:01 AM
Q&T note; tracker URL http://virtuemart.net/index.php?do=details&task_id=1508&option=com_flyspray&Itemid=83&option=com_flyspray&Itemid=83
Title: Re: [TRACKER #1508] Two Registration Complete message in Joomla 1.5 displayed
Post by: gregdev on October 24, 2007, 16:56:37 PM
I fixed this in SVN rev. 1010 (and updated the bug tracker).

The message below should probably be changed:

var $_REG_COMPLETE = '<div class="componentheading">Registration Complete!</div><br />You may now login.';

Maybe it should be like this:

var $_REG_COMPLETE = '<div class="componentheading">Registration Complete!</div>';

or something like that?

What do you think?

Greg

Edit: Fixed revision number.
Title: Re: [TRACKER #1508] Two Registration Complete message in Joomla 1.5 displayed
Post by: aravot on October 25, 2007, 00:49:19 AM
Confirmed fix in r1010.

Agreed on registration message.

I will test other method of registration i.e. registration with activation.
Title: Re: [FIXED TRACKER #1508] Two Registration Complete message in Joomla 1.5 displayed
Post by: chandu on November 06, 2007, 12:32:12 PM
Quote from: aravot on October 13, 2007, 19:28:26 PM
Joomla 1.5 r9223
VirtueMart 1.1 r998

In Joomla 1.5 two registration message is displayed, 'Username and password do not match' and 'Registration Complete!' in this case user was registered.

(http://www.filefarmer.com/aravot/joomla/vm/vm998-j15-registration.gif)

Joomla Global Configuration - System - User Settings
Allow User Registration - Yes
New User Registration Type - Registered   
New User Account Activation - No
Front-end User Parameters - Show

VirtueMart - Configuration - User Registration Settings
User Registration Type - Normal Account Creation
Show the "Remember me" checkbox on login? - Yes
Joomla!: User registration allowed? - Yes
Joomla!: New account activation necessary? - No
Title: Re: [FIXED TRACKER #1508] Two Registration Complete message in Joomla 1.5 displayed
Post by: Cybril on January 16, 2008, 01:24:16 AM
aravot can you tell me where the code is that logs the new user in (after registration) please, as I can't find it (have Joomla 1.0.13 and VM 1.1).

PS. Yes I want the actual code if you know where it is, I want to copy it to a client's script
Title: Re: [FIXED TRACKER #1508] Two Registration Complete message in Joomla 1.5 displa
Post by: aravot on January 16, 2008, 02:50:53 AM
Don't know.
Title: Re: [FIXED TRACKER #1508] Two Registration Complete message in Joomla 1.5 displayed
Post by: Cybril on January 16, 2008, 07:23:01 AM
Thank you - can you then tell me where I go in admin to set it up, because it's not logging in the new registrations and I have Joomla 1.0.13 and VM 1.1.
Title: Re: [FIXED TRACKER #1508] Two Registration Complete message in Joomla 1.5 displayed
Post by: Cybril on January 16, 2008, 07:30:19 AM
Never mind, I found a script which logs them in after registration.  Thanks anyway.