Automatically assigning users as authors

17 years 10 months ago #13644 by matthewj
When a user registers for the site and is approved, an administrator must manually change their user type from registered to author in order for them to be able to submit content. How can I make this process automatic?

Please Log in to join the conversation.

17 years 10 months ago #13647 by stevebor1
Replied by stevebor1 on topic Re:Automatically assigning users as authors
found this on the joomla site (dont forget to look there..), but im sure you can edit the comprofiler.php file too and do the same.

look for line 871:

mosMakeHtmlSafe($row);
$row->id = 0;
$row->gid = $acl->get_group_id('Registered','ARO');
$row->usertype = 'Registered';

change "Registered" to "Author"

Joomla link:
forum.joomla.org/index.php/topic,5807.0.html

Post edited by: stevebor1, at: 2006/05/23 09:24

Karma Me Up!
File Attachment:


FITcommunity
Joomla! 1.0.12 - Community Builder 1.0.2 - Joomlaboard 1.1.2
Own Mods Featured Profile Mod
My Real Day Job
File Attachment:

Mobile Wallet and Social Lending, Anywhere!

Please Log in to join the conversation.

17 years 10 months ago #13656 by matthewj
Replied by matthewj on topic Re:Automatically assigning users as authors
Do I change it on both lines or just one? I changed it (comprofiler) on both lines to "Authors." I registered a new user and it was succesful, but the new user doesn't appear under the CB user manager. Also, the user still doesn't have sufficient permission to submit content.

Please Log in to join the conversation.

17 years 10 months ago #13657 by matthewj
Replied by matthewj on topic Re:Automatically assigning users as authors
Got it - it's not "Authors." It's just "Author." Works like a champ. Thanks a million.

Please Log in to join the conversation.

17 years 10 months ago #13681 by stevebor1
Replied by stevebor1 on topic Re:Automatically assigning users as authors
glad to see you got it!

Karma Me Up!
File Attachment:


FITcommunity
Joomla! 1.0.12 - Community Builder 1.0.2 - Joomlaboard 1.1.2
Own Mods Featured Profile Mod
My Real Day Job
File Attachment:

Mobile Wallet and Social Lending, Anywhere!

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.159 seconds

Facebook Twitter LinkedIn