Joomla! scheduler + JEA

Hello

I have one site with JEA( Joomla Estate Agency) and would to use Scheduler for planing day.
But user’s have “Jea Agent” in UserType in users table .

What I must edit to get this wors with that ?

Best Regards
ozyrys

Hi,
try to modify getUser() methods in files:
components/com_scheduler/controller.php
components/com_scheduler/scheduler.php

Hello,

I modified to that:

function getUser() { $user =& JFactory::getUser(); switch($user->usertype) { case '': $usertype = 'guest'; break; case 'Jea Agent': $usertype = 'register'; break; case 'Super Administrator': $usertype = 'superadministrator'; break; default: $usertype = strtolower($user->usertype); } return $usertype; }

But not working

Best Regards
ozyrys

Replace register with registered please.