Joomla Super Admins Can't See users Events?

Hey there ,
I have set private mode to the scheduler so other users cant view other users events
Problem is , The Super Admin cant view any either?
Example .

Tom posts an event
richard posts an event

Only tom can see his but cant see richards
richard can see his but cant see toms
Admin should be able to see both
Am I wrong?
Is there a setting I need to set or alter some code somewhere?
I need to know what all the users events are being the super admin like in normal view
But I don’t want the users to see each others events at all
I NEED to see the events posted by all users ( As super admin ) for what I’m trying to do to work
Strange to me that there isn’t an option for the owner of the site to be able to see the user events or am I missing something
Can someone tell me HOW the super admin sees all the users events that they have created
in the scheduler in private mode?
If I set it to Extended I can see them
but i logged in as a test user and the test user could see them all too
HELP! I really need this to happen :frowning:
Cheers

Hello,

You should edit source code, locate
components/com_scheduler/codebase/dhtmlxSchedulerConfigurator.php file.

Find

getEventsRec($usertype) method.

and replace line

if ($this->settings['privatemode'] == 'on') {

with

if (($this->settings['privatemode'] == 'on')&&($usertype != "superadministrator")) {

after this your superadministrator will see all events in the front-end.

Best regards,
Ilya

Thank-you ilya ! You are a champion . Worked Perfectly :smiley:

Hey ! Nice tip but how to give rights for superadmin to get the toolbar on every event (in order to delete, edit…) in front end ?

maybe a “&&($usertype != “superadministrator”)” to place elsewhere ?

thank you :slight_smile:

in components/com_scheduler/codebase/dhtmlxSchedulerConfigurator.php file.

if ($settings["privatemode"] == "ext") {

changing it to the next, may help

if ($settings["privatemode"] == "ext" &&($usertype != "superadministrator"))  {

You’re the man Stanislav !

thanks a lot for the tip