Tuesday, 06 December 2016
  11 Replies
  2.1K Visits
0
Votes
Undo
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?
7 years ago
·
#179812
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.
7 years ago
·
#179813
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?
7 years ago
·
#179814
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.
7 years ago
·
#179816
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.
7 years ago
·
#179841
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!

7 years ago
·
#179843
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.
7 years ago
·
#180196
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!

7 years ago
·
#180197
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.
7 years ago
·
#180198
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.
7 years ago
·
#180276
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!

7 years ago
·
#180277
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.
  • Page :
  • 1
There are no replies made for this post yet.