Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Search

 
Advanced search

8043 Posts in 1856 Topics- by 2099 Members - Latest Member: roi
Calendar Script CommunityCustomizationHacks and Mods (Moderators: scott, DanO, Marty)possible to control user event addition?
Pages: [1]   Go Down
Print
Author Topic: possible to control user event addition?  (Read 293 times)
0 Members and 1 Guest are viewing this topic.
dtbaker
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« on: February 10, 2003, 02:57:00 PM »

I am looking into using this script to manage a "call schedule" where I would need to enable users to "sign up" for 1 of 4 available slots per day... and only the admin should be able to clear a slot once it has been signed up for.

so... do ya'll think that it would be not too hard to modify the code such that:
- limit to 4 events per day
- limit names of events; ie. shift1, shift2, etc
- disable user deletion of events

additionally, it would be best if I could add some logic and checks to the event adder. like not allow a person to sign up for more than one slot per day and such... so my question would be if the source is easy enough to figure out that I could see where to insert a little sub to check names against existing events for a given day.

thanx for your comments,

Dan

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
« Reply #1 on: February 10, 2003, 04:45:00 PM »

** - limit to 4 events per day **

TubaDave's NoOverlap plug-in might be able to be used for that?

** - limit names of events; ie. shift1, shift2, etc **

Modify the 'title' field to be a drop down menu with the choices you want.

** - disable user deletion of events **

You can limit user's permissions. If you want to just limit deletions, you'd likely have to do some customization.

** like not allow a person to sign up for more than one slot per day **

TubaDave's NoOverlap plug-in might be able to be modified to do that?

** if the source is easy enough to figure out **

CalendarScript is a complex application and will likely take some time (and a knowledge of Perl) to figure out how to modify it for any purpose. I suggest you look through what mods and plug-ins are available for it to see how changes can be made.

Dan O.
Unofficial CalendarScript - Mods and Plugins site

------------------

Logged
Pages: [1]   Go Up
Print
Jump to: