Welcome to Geeklog Friday, December 06 2019 @ 03:18 pm EST

Geeklog Forums

Calendar add event restriction


Status: offline

frasier

Forum User
Newbie
Registered: 18/08/05
Posts: 10
I searched and couldn't find an answer to this. Is it possible to allow only the admin or a certain group to add events to the calendar. Right now anyone logged in can click on the add event button/link and add an event to the public (master?) calendar. I only want users to view the calendar and one or two users to be able to add to it. By the way, I don't need and have disabled personal calendars.

Thanks,
Lisa
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 12/01/02
Posts: 13073
Location:Stuttgart, Germany
Quote by frasier: Is it possible to allow only the admin or a certain group to add events to the calendar.

No. Shouldn't be too hard to hack into the calendar to only display the link (and accept submissions) when the current user is in a certain group.

bye, Dirk
 Quote

marc_dayton

Anonymous
I am interested in this function too. Of course I am a novice with PHP. Where would you start to look? config.php? any help on where to start would be marvelous.

Thanks

Marc
 Quote

Status: offline

DeadEd

Forum User
Newbie
Registered: 18/06/04
Posts: 6
I got a similar effect by restricting the calendar submissions to login required in the config and then adding Event rights to those users that could add them. Not done with a group, but I think the end result is the same.
 Quote

Status: offline

LWC

Forum User
Full Member
Registered: 19/02/04
Posts: 818
Can anyone give a v1.5.1 update on this subject?

The closet items the calendar's GUI have are to enable queues and to enable personal calendars. I've enabled the former and disabled the latter but anonymous users can still submit to the queue.

The closest items Geeklog's GUI itself has is require login for submissions. But what about just the calendar? And will it even hide the "Add An Event" button?
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 12/01/02
Posts: 13073
Location:Stuttgart, Germany
Would this help?

Configuration > Calendar > Calendar Login Required

The downside is that anonymous users won't be able to see the calendar then.

bye, Dirk
 Quote

All times are EST. The time is now 03:18 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content