1. alexfsr
  2. JEvents 3.4 (Free Access)
  3. Tuesday, 06 December 2016
Hi,

I'm using Joomla! with JEvents to create a website for school. I have to make a limit on the number of events for it to function as designed.

Is it possible to limit the number of events per day per category? I.E. If i have a Category in the calendar called Grade 10, i want the calendar to limit the maximum amount of events per day, let's say to 3. Meaning for example, users can create only 3 events on Monday, December 12, and if someone attempts to create a 4th event, an error is returned ("You are exceeding the maximum number of events per day" or something like that).

It seems like basic functionality to me but i can't find it. Can this be done at all, and if yes, how?
Accepted Answer Pending Moderation
0
Votes
Undo
I know you can limit how many events are displayed, and as far as a user creating an amount of events, you can limit that as well. You might look at the User Registration plugins and see if that helps until someone on here can give you better advice on what you are wanting to do.
  1. more than a month ago
  2. JEvents 3.4 (Free Access)
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
I know you can limit how many events are displayed, and as far as a user creating an amount of events, you can limit that as well. You might look at the User Registration plugins and see if that helps until someone on here can give you better advice on what you are wanting to do.


How will User Registration Plugins help with events limit?
  1. more than a month ago
  2. JEvents 3.4 (Free Access)
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
On the back end, if you go to Components>JEvents>Authorized Users, there you can set the amount of events they are allowed to post. User Registration I think works hand in hand with the Authorized Users. but I'm not sure. Again, I'm not as good at this as the others on here, but some of this might help you I hope.
  1. more than a month ago
  2. JEvents 3.4 (Free Access)
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
On the back end, if you go to Components>JEvents>Authorized Users, there you can set the amount of events they are allowed to post. User Registration I think works hand in hand with the Authorized Users. but I'm not sure. Again, I'm not as good at this as the others on here, but some of this might help you I hope.


That might actually do the trick for what i'm trying to achieve, however, i don't see "Authorized Users" section anywhere in the JEvents Back end.
  1. more than a month ago
  2. JEvents 3.4 (Free Access)
  3. # 4
tonyp
Support Team
Accepted Answer Pending Moderation
0
Votes
Undo
Hello,

What Brandon is saying is kinda of correct in the way authorised user mode does allow limiting the amount of events but it doesn't do it by day.

It's an interesting scenario. We would need to add a config option and a dynamic call to check the events on that day. I'll have a chat with Geraint.

Many thanks
Tony
JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!
  1. more than a month ago
  2. JEvents 3.4 (Free Access)
  3. # 5
Accepted Answer Pending Moderation
0
Votes
Undo
Hello,

What Brandon is saying is kinda of correct in the way authorised user mode does allow limiting the amount of events but it doesn't do it by day.

It's an interesting scenario. We would need to add a config option and a dynamic call to check the events on that day. I'll have a chat with Geraint.

Many thanks
Tony


It's vital for my project and i would be very grateful if u add this option in an update in the next month or 2. I really like JEvents it does everything i need it to, except for this.
  1. more than a month ago
  2. JEvents 3.4 (Free Access)
  3. # 6
geraint
Support Team
Accepted Answer Pending Moderation
0
Votes
Undo
It would be possible to write a custom plugin to do this for you - do you have a budget for modest custom work?

The plugin would use the overlapping event testing handlers to check the dates of events being created and block more than 'x' occuring on any particular day.
JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!
  1. more than a month ago
  2. JEvents 3.4 (Free Access)
  3. # 7
Accepted Answer Pending Moderation
0
Votes
Undo
It would be possible to write a custom plugin to do this for you - do you have a budget for modest custom work?

The plugin would use the overlapping event testing handlers to check the dates of events being created and block more than 'x' occuring on any particular day.


Unfortunately, it's a student project and we are not getting any financing. It was a miracle we managed to convince the IT department to give us some resources from the main school server to deploy it on.
  1. more than a month ago
  2. JEvents 3.4 (Free Access)
  3. # 8
Accepted Answer Pending Moderation
0
Votes
Undo
It would be possible to write a custom plugin to do this for you - do you have a budget for modest custom work?

The plugin would use the overlapping event testing handlers to check the dates of events being created and block more than 'x' occuring on any particular day.


Besides, I'm not sure that method will work. I have to limit the number of events per day per category.
  1. more than a month ago
  2. JEvents 3.4 (Free Access)
  3. # 9
geraint
Support Team
Accepted Answer Pending Moderation
0
Votes
Undo
Doing the constraint by category would be no issue.

Are you studying computing? If so, joining the JEvents as a silver member would give you access to other plugins to use as a template and I could give you some quick pointers on how to write such a plugin yourself.
JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!
  1. more than a month ago
  2. JEvents 3.4 (Free Access)
  3. # 10
Accepted Answer Pending Moderation
0
Votes
Undo
Doing the constraint by category would be no issue.

Are you studying computing? If so, joining the JEvents as a silver member would give you access to other plugins to use as a template and I could give you some quick pointers on how to write such a plugin yourself.

I will be studying Comp Science in university. My web skills (html/php/js) are not up for the task yet. I'm a high school student currently.
  1. more than a month ago
  2. JEvents 3.4 (Free Access)
  3. # 11
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

Members Area

Show your support

Unlike many Joomla calendars we do not charge to download JEvents - please show your support for this project by becoming a member of the JEvents Club Club members get access to early releases, exclusive member support forums, and Silver and Gold members can use many exciting JEvents addons

Your membership will ensure that JEvents continues to be the best events calendar for Joomla.