Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated

new_usertype

12 years 2 months ago
  • Lionel's Avatar
    Topic Author
  • Lionel
  • Offline
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
Licenses:
JomSocial Active

I would like new jomsocial users to belong to Authors group while new Joomla users are set to Registered

in components/com_community/controllers/register.php around line 360 (note the code Id like to change in the 3rd line remarked out.)

        // Get usertype from configuration. If tempty, user 'Registered' as default
        $newUsertype       = $usersConfig->get( 'new_usertype' );
        //$newUsertype       = 'Author';     <<<<<<<< I'd like to add this

        if ( ! $newUsertype)
        {
            $newUsertype = 'Registered';
        }
however when removing //... Joomla user manager registers the user with BLANK Group...

I must be missing something silly or is there another paramater I can set to resister Jomsocial users as Authors?

12 years 2 months ago
  • Dimas Tekad Santosa's Avatar
  • Dimas Tekad Santosa
  • Visitor
  • Thank you received: 0
Licenses:

Hi There,

I already answered your issue in another topic

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW