1
hrac
sending welcome message after activation
  • 2009/10/20 10:56

  • hrac

  • Quite a regular

  • Posts: 305

  • Since: 2002/7/15


Hello,

I want to send welcome message after successful validation of user's email address by clicking a link like this:

Quote:
http://domain/register.php?op=actv&id=26&actkey=blablabla


So register.php should send some email, so I added

Quote:
XoopsUserUtility::sendWelcome($thisuser);


line to register.php after

Quote:
$thisuser =& $member_handler->getUser($id);


but it didn't work, and didn't send any e-mail. Any idea how to do this?

Thanks

2
hrac
Re: sending welcome message after activation
  • 2009/10/20 19:36

  • hrac

  • Quite a regular

  • Posts: 305

  • Since: 2002/7/15


I solved it. I installed profile module so I should have modified /modules/profile/activate.php instead of /register.php

Login

Who's Online

202 user(s) are online (94 user(s) are browsing Support Forums)


Members: 0


Guests: 202


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits