By Justin on Tuesday, 16 September 2014
Posted in General Issues
Likes 0
Views 491
Votes 0
Where would I find the setting so that when an event is being created, it can't stop before it begins (based on the beta testing: http://stackideas.com/issues/1763)?

Thanks.
Hello Justin,

By default, you can't create an event that has an earlier end date than the start date. Am I missing anything here?
·
Tuesday, 16 September 2014 14:27
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark,

I noticed I was able to before, but it looks like it's been resolved. Another issue I found however is that if I try to create an event with an end date that's before the start date I get a fatal error:

site/public/media/com_easysocial/apps/user/calendar/calendar.php on line 167

When I refresh the page, the event has saved (see attached screenshot). When I try to edit the event, the error notification bubble works as it should.

When I try to create an event in the share section with the wrong end date, I get the follow error (also included screen shot):

JSON.parse: unexpected character at line 1 column 1 of the JSON data

Thanks.
·
Tuesday, 16 September 2014 21:14
·
0 Likes
·
0 Votes
·
0 Comments
·
For some reason I can't include the second image in the above...
·
Tuesday, 16 September 2014 21:21
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Justin,

The first issue is actually a known issue which you can fix by downloading the attached file and uploading it into /administrator/components/com_easysocial/tables/

As for the second issue, I am not really sure if it is related but can you give this a try?
·
Tuesday, 16 September 2014 22:46
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark,

I've added the file and no longer receive an error when setting up a basic event, but I'm still able to save it with an end date that's earlier than the start date (see "sample_event" attached).

I'm also able to save with an end date when adding from the Share box. Also, when the event saves the stream shows it's start and end date to be the current day and time the event was added. When clicking on the event to view, it shows the actual times that were set (and with an end date that's sooner than the start).
·
Tuesday, 16 September 2014 23:24
·
0 Likes
·
0 Votes
·
0 Comments
·
Download the attached file and upload it into /components/com_easysocial/controllers/
·
Tuesday, 16 September 2014 23:56
·
0 Likes
·
0 Votes
·
0 Comments
·
That fixed the issue when adding an event in the events section. Am still able to add an earlier date when adding via Share box.

Thanks.
·
Wednesday, 17 September 2014 00:09
·
0 Likes
·
0 Votes
·
0 Comments
·
Also, if possible, it would be great for the end date to default to the event start date with and not allow any selections before the start date as JomSocial's does.

Thanks.
·
Wednesday, 17 September 2014 08:29
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

Added a validation check on story form for event creation.

As for the "not allow any selection before start date", it was previously implemented, but there was an issue due to a bug in the calendar, currently we have disabled this until the bug from the calendar has been resolved. Currently, an alternative check will be executed on the story form to inform user that the dates are invalid.
·
Wednesday, 17 September 2014 13:48
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks Jason!

With regards to event owners being being allowed to pre-set their RSVP state ( from http://stackideas.com/issues/1656 ), where can I find this field?
·
Wednesday, 17 September 2014 21:15
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

The field is "Owner State", in which you will have to manually add through backend -> Event Categories.
·
Thursday, 18 September 2014 11:44
·
0 Likes
·
0 Votes
·
0 Comments
·
When I try to add the field the RSVP field, I'm able to place it in with the other fields, but am not able to edit any part of the field. There's a JavaScript error that states:

Timestamp: 18/09/2014 6:16:57 AM
Error: Error: Syntax error, unrecognized expression: [data-field-80562
Source File: site/media/com_easysocial/scripts/easysocial-1.3.4.static.min.js
Line: 1
·
Thursday, 18 September 2014 21:19
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

Ah sorry about this. I've identified a typo in the codes. Please replace the file I've uploaded along in this reply at /media/com_easysocial/apps/fields/event/ownerstate/themes/default/content.js
·
Friday, 19 September 2014 14:52
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks Jason!
·
Friday, 19 September 2014 21:00
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome Justin
·
Saturday, 20 September 2014 01:51
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post