You need to be logged in to view a user's profile.
  Tuesday, 15 December 2015
  2 Replies
  1.2K Visits
0
Votes
Undo
Is it possible to impose a global limit on the number of times an event can repeat, or limit the future reach of the calendar? With our current system, we've had users enter events that repeat well into the year 3,000 which creates an enormous database problem.
Wednesday, 16 December 2015 10:26
·
#161816
0
Votes
Undo
We did have a limit of 2037 (required by number constraints in older versions of PHP) but recently relaxed this to 2999 for 64 bit servers. That is probably too large.

If you edit the file components/com_jevents/libraries/iCalRRule.php and change line 437 from
$maxyear  = (PHP_INT_SIZE === 8) ? 2999 : 2037;

to
$maxyear  = (PHP_INT_SIZE === 8) ? 2099 : 2037;

it would stop the repeats at 2099 instead

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!

Wednesday, 16 December 2015 11:12
·
#161817
0
Votes
Undo
Thank you!
  • Page :
  • 1
There are no replies made for this post yet.