[FIXED TRACKER #1508] Two Registration Complete message in Joomla 1.5 displayed

Started by aravot, October 13, 2007, 19:28:26 PM

Previous topic - Next topic

aravot

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.



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

aravot

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)

jenkinhill

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.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum


jenkinhill

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?
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum


gregdev

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.

[tr][td]
[/td][td]
www.plainlycode.com[/td][/tr]
[/table]


chandu

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.



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

Cybril

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


Cybril

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.

Cybril

Never mind, I found a script which logs them in after registration.  Thanks anyway.