CF V4rc2 J1.7.3
I have a couple of registration forms that are linked to the Joomla plugin. They work great however for some reason it is checking the 'receive system emails' checkbox. I cannot seem to find anywhere to alter this, am I missing something.
Many thanks
Hi kmedri ,
Do you have a form input named 'sendEmail'? That's the only way I can see that would set this value.
Bob
Hi kmedri,
Sorry, but I don't have any other suggestions except step by step debugging.
Bob
Not sure if this is where the error is however it seems to be picking up the inputs from a session:
UPDATE `a8at3_session`
SET `data` = '__default|a:9:{s:15:\"session.counter\";i:16;s:19:\"session.timer.start\";i:1323511137;s:18:\"session.timer.last\";i:1323512203;s:17:\"session.timer.now\";i:1323512333;s:22:\"session.client.browser\";s:70:\"Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20100101 Firefox/8.0\";s:8:\"registry\";O:9:\"JRegistry\":1:{s:7:\"\0*\0data\";O:8:\"stdClass\":1:{s:5:\"users\";O:8:\"stdClass\":1:{s:5:\"login\";O:8:\"stdClass\":1:{s:4:\"form\";O:8:\"stdClass\":1:{s:4:\"data\";a:0:{}}}}}}s:4:\"user\";O:5:\"JUser\":23:{s:9:\"\0*\0isRoot\";b:1;s:2:\"id\";s:2:\"42\";s:4:\"name\";s:10:\"Super User\";s:8:\"username\";s:6:\"removed\";s:5:\"email\";s:20:\"hidden\";s:8:\"password\";s:65:\"removed\";s:14:\"password_clear\";s:0:\"\";s:8:\"usertype\";s:10:\"deprecated\";s:5:\"block\";s:1:\"0\";s:9:\"sendEmail\";s:1:\"1\";s:12:\"registerDate\";s:19:\"2011-09-01 21:52:11\";s:13:\"lastvisitDate\";s:19:\"2011-12-10 09:58:44\";s:10:\"activation\";s:0:\"\";s:6:\"params\";s:0:\"\";s:6:\"groups
Hi Kmedri,
Unlikely, that's the User info stored in the session and is you logged in as a SuperUser. That shouldn't get into the info for a new user.
Bob
I cannot see where it is picking up the value "1" for sendMail, this is the array that is being handled:
Array
(
[sr_name] => Kevin Medri
[sr_username] => hidden
[sr_email] => hidden
[sr_password] => hidden
[sr_confirmpassword] => hidden
[rs_submit] => Submit
[989155ef03e05f7a6bd4ecaf3224eff7] => 1
[chronoform] => staff_registration
[event] => submit
[Itemid] => 133
[option] => com_chronoforms
[view] => form
)
And this is where the sendMail is being set:
INSERT INTO `a8at3_users` (`id`,`name`,`username`,`email`,`password`,`usertype`,`block`,`sendEmail`,`registerDate`,`lastvisitDate`,`activation`,`params`)
VALUES ('0','Kevin Medri','hidden','hidden','hidden','deprecated','0','1','2011-12-10 19:15:35','2011-12-10 09:58:44','','{}')
Hi kmedri ,
I'm wondering if there is some kind of a site default setting? There used to be in Joomla! 1.5 but I don't see one in 1.7
Bob