VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: jefsmk on April 11, 2020, 02:30:38 AM

Title: New User Registration
Post by: jefsmk on April 11, 2020, 02:30:38 AM
Hi, setting up a new install of VirtueMart on Joomla (VirtueMart 3.6.10, Joomla! 3.9.16).  Things are working well, but one little quirk that I'm struggling with.  When a new user registers, things seem to work properly except the user is presented with:

Notice
COM_VIRTUEMART_REG_COMPLETE_ACTIVATE_ADMIN

at the top of the screen after registering instead of the value that should be present:

Registration Completed!

Your account has been created and is awaiting approval by an administrator.

I didn't mess with this in the language file.  There are no other errors, and other than this message issue, the process seems to work correctly.  Any ideas???

Thanks for the help!!
Title: Re: New User Registration
Post by: jefsmk on April 11, 2020, 05:41:37 AM
Well, this post got me thinking I should try a language override, and sure enough it worked.  Not sure why it was needed here, but I'll take it and continue on.  FYI!
Title: Re: New User Registration
Post by: jefsmk on April 11, 2020, 05:58:47 AM
Well, back again.  Something is wrong here.  I require new user account admin activation.  So the first step after registration should be:

COM_VIRTUEMART_REG_COMPLETE_ACTIVATE (where the user is asked to check his email).  But the first message I see is: COM_VIRTUEMART_REG_COMPLETE_ACTIVATE_ADMIN (waiting for admin approval).  But this should not happen until AFTER the user activates his account.  I'm lost how these could get out of order.

Any ideas??
Title: Re: New User Registration
Post by: Jörgen on April 11, 2020, 08:43:24 AM
Untranslated language Keys could very well come from a Broken language File. IF a key before this has missing or extra quotes this can happen. Turn on Joomla language debug, to track this down.

Jörgen @ Kreativ Fotografi
Title: Re: New User Registration
Post by: GJC Web Design on April 11, 2020, 10:14:59 AM
QuoteCOM_VIRTUEMART_REG_COMPLETE_ACTIVATE (where the user is asked to check his email).  But the first message I see is: COM_VIRTUEMART_REG_COMPLETE_ACTIVATE_ADMIN (waiting for admin approval).  But this should not happen until AFTER the user activates his account.

afaik its either or ... not both

either the admin approves or the user "approves"
Title: Re: New User Registration
Post by: Jörgen on April 11, 2020, 11:01:34 AM
Are you sure that both the emails are adressed to the user. I would Guess One is adressed admin.
Jörgen