News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

[FIXED] User activation?

Started by Replika, November 15, 2007, 12:29:55 PM

Previous topic - Next topic

Replika

I am testing the latest verion in dev.virtuemart.net (1035) on my joomla v1.5 beta3.
In user registration, when the user recive the email to activate, i think it has an error in the message:

Hello *****,

Thank you for registering at *****. Your account is created and must be activated before you can use it.
To activate the account click on the following link or copy-paste it in your browser:
http://*****.com/index.php?option=com_registration&task=activate&activation=

After activation you may login to http://*****.com using the following username and password:

Username - *****
Password - *****


the com_registration is only in Joomla 1.0? Why does it miss the activation code? So the user can not active his account.
I've searched in the forum but no result, I relized the version in the sticky thread is newer (1037). I updated all changed files, but still have this error.

Could anyone please help...
Thanks in advance.

Replika

#1
ok, after checking a while, i think the problem is in class ps_shopper.php

in function _sendMail, the variable $row is not global or defined in the function ??
So, i think we should pass it in function register_save and saveRegistration and change a bit in _sendMail (not tested yet) ??

I forgot, we need change the link in func _sendMail too


Replika

#3
@soeren_nb:
This bug's not fixed for Joomla v1.5 in r1049 :
- Function register_save() do not change. This function is used for Joomla 1.5.
- I've not checked yet, but Does it work if using vmIsJoomla(1.5) instead of vmIsJoomla('1.5') ?

---

PS.: could the moderator leave the lastest version on the topic of VirtueMart 1.1 nightly build thead.

aravot

Tried VM 1.1 rev 1055 + Joomla 1.5 rev 9441, not working, the email I get is.

QuoteHello name,

Thank you for registering at VirtueMart. Your account is created and must be activated before you can use it.
To activate the account click on the following link or copy-paste it in your browser:
/index.php?option=com_user&task=activate&activation=

After activation you may login to http://www.example.com using the following username and password:

Username - name
Password - password