-
☆ A M B ☆
- 350 Posts
Hi there,
I've pretty much got all my Login and Registration working perfectly except the posthook doesn't actually return the 'username' or the 'email' in the register custom email.
The code comes from the last changes made on Nov 29, 2010 on the Login.Using Pre and Post Hooks page.
$message = 'Hi, a new User signed up: '.$hook->getValue('username')
. ' with email '.$hook->getValue('email').'.';
Have tried a couple of different options but these don't work - I really do need to start getting to grips with php but I just seem so busy learning everything else
Thanks in advance.
[ed. note: boomerang last edited this post 14 years, 11 months ago.]
Helen Warner
Number one pixel!
Proud to be linked with MODX at
Crimson Pixel
From the FormIt docs:
$hook->setValue
-
☆ A M B ☆
- 350 Posts
Tried that - still nothing returned. I've logged a bug here
http://bugs.modx.com/issues/5823
Helen Warner
Number one pixel!
Proud to be linked with MODX at
Crimson Pixel
-
☆ A M B ☆
- 350 Posts
Latest Login version 1.7.0 pl now fixes problem
Helen Warner
Number one pixel!
Proud to be linked with MODX at
Crimson Pixel