KalendarMX Admin Access?

Begonnen von DigitalRealism, 03 Januar 2006, 11:17:58

⏪ vorheriges - nächstes ⏩

0 Mitglieder und 2 Gäste betrachten dieses Thema.

DigitalRealism

Hello,

I would like to grant access to work on events to regular admin but super user is all that I get from the drop down list inside Kalendar configuration. Is there anyway to add other admin types, I really would rather not have to give my admin super user access. Also sorry if I am posting this in the wrong place I am American so I had to take a wild guess. :)

Thank you in advance for anyone who can help.

jubilee

Hello !
O.K. Try this (not sure wich version u are using, hope this will work)
edit file /modules/Kalender/includes/functions.php, below row 370-380 you will find following code:
Zitatfunction calIsAdmin()
{
    global $dbi, $calconf;

change this to :
Zitat
function calIsAdmin()
{
    global $admin;
    return is_admin($admin);
    global $dbi, $calconf;


This will bring (hopefully) all your admins to manage the calendar.

greetings
jubilee

DigitalRealism

Thank you for the quick reply.

I tried that but there was no change. I am using KalenderMx v1.4. In the calendar configuration "Admin type, which Admins may work on events" dropdown still only displays Super User as an available selection. Sorry i'm a newbie so if there is any other info I can provide please let me know.

Thanks again for your assistance. :)

jubilee

#3
Hello !
ZitatIn the calendar configuration "Admin type, which Admins may work on events" dropdown still only displays Super User as an available selection
Yes, that ist true. This short "hack" still doesn't change anything on that, but still all other admin should
have access to the Admin-Section of the calendar an can work on the events. This short hack (should) override the setting in the calendar config ;)

greetings

DigitalRealism

Zitat von: jubilee am 03 Januar 2006, 20:28:50
Hello !
ZitatIn the calendar configuration "Admin type, which Admins may work on events" dropdown still only displays Super User as an available selection
Yes, that ist true. This short "hack" still doesn't change anything on that, but still all other admin should
have access to the Admin-Section of the calendar an can work on the events. This short hack (should) override the setting in the calendar config ;)

greetings



Ah yes I see. It works perfectly!! Thank you very much :) :)