Web based family history software

file Question Too many CPU Seconds

More
1 week 2 days ago #41 by samiona
Replied by samiona on topic Too many CPU Seconds

v 2.2.1

Please Log in or Create an account to join the conversation.

More
1 week 1 day ago #42 by jheiler
Replied by jheiler on topic Too many CPU Seconds

Here's a better patch for the Calendar page handler. It's a replacement for the file /app/Http/RequestHandlers/CalendarPage.php


It checks the access rights in the calendar page handler before returning the view, as if the calendar menu was attempted to be accessed. So access to the calendar page follows what you have configured for the calendar menu in the control panel.


File Attachment:

File Name: CalendarPage.zip
File Size: 2 KB

The disadvantage is that the visitor receives an error message, if he clicks on a date in “Facts and Events”, for example.

Please Log in or Create an account to join the conversation.

  • bertkoor
  • bertkoor's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Greetings from Utrecht, Holland
More
1 week 1 day ago - 1 week 1 day ago #43 by bertkoor
Replied by bertkoor on topic Too many CPU Seconds

Here's a better patch for the Calendar page handler. It's a replacement for the file /app/Http/RequestHandlers/CalendarPage.php



 
The disadvantage is that the visitor receives an error message, if he clicks on a date in “Facts and Events”, for example.
Yes. Unlimited access is for members only.
So for that there's an earlier patch which makes dates unclickable (for bots & visitors) :
www.webtrees.net/index.php/forum/help-fo...onds?start=20#110778

stamboom.BertKoor.nl runs on webtrees v2.2.1
Last edit: 1 week 1 day ago by bertkoor.

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum