By: Anonymous: Jacques ()  Feb 05 09 @ 6:12  (Read 1154 times)  

Bug - Please check the calendar - the "add personal event" function of the calendar does not work. Only the "add master event" function works. I have tested the Glfusion Demo with the same results.
Thanks

By: Geiss (offline)  Feb 05 09 @ 7:26   

I can confirm this. If you log in and go to /calendar/index.php?mode=personal and click on Add Personal Event, it directs you back to /calendar/index.php.

I've added a ticket in the Tracker for it. Thanks for the report! Big Grin

Thx!

Eric

   
Forum Active Member
Active Member

Geiss



Group Comfort
Level:
: +58
Registered:: 02/15/07
Posts: 2097
Location: Boise, Idaho
By: Mark (offline)  Feb 05 09 @ 10:58   

The calendar submission system has been completely rewritten for glFusion v1.1.2 and this problem does not exist in that version. If I can finish up the new installation routines we'll get this thing out the door pretty soon!

Thanks!
Mark


Join me on the glFusion Gitter Channel

   
Forum Admin
Admin

Mark



Group Comfort
Level:
: +113
Registered:: 10/21/05
Posts: 7401
Location: The Great State of
Texas
By: Lynne (offline)  Mar 26 11 @ 3:02   

Hello. I'm not sure if this bug is related to that bug or not, but here's is a problem I have with the Calendar plugin:

What I want is to have
1. the calendar visible for read for all users
2. logged in users to be able to update the main event calendar and their personal calendar

I've set the Calendar in to be configured so that it displays for all users and login is not required.
I've configured the 'All Users' group so that the calendar is not moderated, not editable, not submittable.
I've configure the "Logged In" group so that the calendar can accept submissions.

Now what happens is the calendar is available as read only for a non-logged in user, but the "Add Master Event" button is still showing up. Which is okay if when the user clicks on it they got an alert or a login prompt, but what they get is a simple re-load of the calendar.

:::perplexed:::


We Are Linux. You Will Be Assimilated. Resistance Is Futile.

   
Forum Chatty
Chatty

Lynne



Group Comfort
Level:
: +5
Registered:: 03/14/11
Posts: 67
Location: Penfield, New York
By: Mark (offline)  Mar 28 11 @ 7:48   

Looks like a poor design implementation. There is no check to see if the Add Master Event button should display, but if clicked, there are checks to ensure the user has permissions. I've made the following changes:

- Do not display the Add Master Event button if the user cannot submit an event
- If for some reason the user does navigate to the add event screen (should not really happen now, but...) display the login screen instead of redirecting the user.

Give this new index.php (public_html/calendar/ directory) a try and if it checks out ok, I'll include it in the next patch level update.

Thanks!
Mark


Join me on the glFusion Gitter Channel

   
Forum Admin
Admin

Mark



Group Comfort
Level:
: +113
Registered:: 10/21/05
Posts: 7401
Location: The Great State of
Texas
By: Lynne (offline)  Mar 30 11 @ 2:59   

Ooops! Sorry it took me so long to respond to this, it fell down on my "to do" list.

Yes, that fixes it nicely, thanks!


We Are Linux. You Will Be Assimilated. Resistance Is Futile.

   
Forum Chatty
Chatty

Lynne



Group Comfort
Level:
: +5
Registered:: 03/14/11
Posts: 67
Location: Penfield, New York
6 posts :: Page 1 of 1