I want all new registerd people to becom authors immediatly - Joomla! Forum - community, help and support
i users of site able leave content can check , possibly put content. registerd user cant. there way of putting them authors once regiter. guess alter level later myself take hours or days , if away on holiday might never come back. lets face want thing immediatly. or maybe theres reason or alternative intend do.
mrfoameruk wrote:i users of site able leave content can check , possibly put content. registerd user cant. there way of putting them authors once regiter. guess alter level later myself take hours or days , if away on holiday might never come back. lets face want thing immediatly. or maybe theres reason or alternative intend do.
to make happen automatically, make changes in /com_registration/registration.php and
/com_comprofiler/comprofiler.php (if use community builder)
about half way down file, for:
code: select all
$row->gid = $acl->get_group_id('registered','aro');and replace registered author
to update existing user, use phpmyadmin run following queries (use @ own risk):
code: select all
update `jos_users` set gid = '19' gid = '18'code: select all
update `jos_core_acl_groups_aro_map` set group_id = '19' group_id = '18'18 registered, 19 author - can find browsing table jos_core_acl_aro_groups
[/quote]
to automatically publish front page:
components/com_content/content.php
change
code: select all
$row->frontpage = 0;with:
code: select all
$row->frontpage = 1;to avoid of these core hacks difficult maintain when updating core, might consider implmenting ja submit:
http://extensions.joomla.org/component/option,com_mtree/task,viewlink/link_id,226/itemid,35/
Comments
Post a Comment