On my site I want my registered members to become Authors upon registration so that everyone can submit content from the start.
I edited my components/com_registration/registration.php file to do this, and it should otherwise work. However since I need my registration to be SMF based via the bridge I think this change is being ignored during syncronisation to Joomla.
Yes, synchronizing from SMF to Joomla is straight SQL and since SMF has no concept of a Author group there is no way to make something out of nothing. The SQL does not try to insert anything into gid so the default from the DB is what is inserted. You could modify the DB table to set the default for gid to Author.
So far I've tried playing with jos_core_acl_aro_groups, switching the group ID of Registered and Author around. No luck yet! Just fails to syncronise until I change it back.
go into phpmyadmin click on jos_users table click on the structure tab checkmark Field usertype then with selected click edit(the pencil) In the Default text box put 'Author' without the quotes. then click save
Joomla Hacks is a Joomla Components, Joomla Modules, Joomla Templates, & Joomla Mambots resource portal. None of the text or images in this public website may be copied without the expressed written consent of the authors. Copyright 2005 by JoomlaHacks.com. Powered by Joomla. All rights reserved. Terms of Use