Please Log in to join the conversation.
Hello,
I submit an issue to see if anyone could give me an idea or a track:
I create a site with paid subscription (site 1) and I hope that my subscription automatically creates an account in my site 2 (independent web site created by me but also with the same specs: joomla ...)
Thank you for your ideas
INSERT INTO `#__users` ( `name`, `username`, `email`, `password`, `usertype`, `block`, `sendEmail`, `gid`, `registerDate`, `lastvisitDate`, `activation`, `params` ) VALUES ( '[name]', '[username]', '[email]', '[cb:userdata field="password" /]', '[usertype]', 0, 0, [gid], '[registerDate]', '[lastvisitDate]', '', '\n' );
INSERT INTO `#__core_acl_aro` ( `section_value`, `value`, `order_value`, `name`, `hidden` ) VALUES ( 'users', ( SELECT `id` FROM `#__users` WHERE `username` = '[username]' ), 0, '[name]', 0 );
INSERT INTO `#__core_acl_groups_aro_map` ( `group_id`, `section_value`, `aro_id` ) VALUES ( [gid], '', ( SELECT `id` FROM `#__core_acl_aro` WHERE `value` = ( SELECT `id` FROM `#__users` WHERE `username` = '[username]' ) ) );
Please Log in to join the conversation.
Please Log in to join the conversation.
The above queries are for J1.5 only. You'd need to review J1.7 database tables and make similar queries that are compatible with J1.7.Thank you for the example to create a site joomla 1.7 (if possible)
Please Log in to join the conversation.
Please Log in to join the conversation.