Forum Replies Created
-
AuthorPosts
-
February 13, 2012 at 7:45 pm in reply to: Allow anonymous submission for Gravity Form with Event Calendar Pro #15118
Aaron
MemberI just checked the code and it was a customised page template that was enforcing the user to login to be able to see the gravity form to be able to post an event.
I disabled it, posted an event without logging in and it seem to have all worked fine.
I’m just wondering if there’s a catch waiting for me in a little while for something to break?February 13, 2012 at 5:50 pm in reply to: Allow anonymous submission for Gravity Form with Event Calendar Pro #15116Aaron
MemberSo if I had switched over to version two how would it work?
I already purchased the upgrade and therefore see it as an option but what would be involved in the update in terms of my current events, does it read the previous events exactly the same or do I have to migrate the events somehow to support the new version?
December 22, 2011 at 11:28 pm in reply to: Not choosingVenue and Organiser using Events Calendar Pro 2.0 with Gravity Forms #12643Aaron
MemberHi Rob, I just tried it again and I just can’t seem to get it right.
The venue and organiser still don’t get saved.
do i need to do anything special for them other than add this to the functions.php: https://theeventscalendar.com/event-submissions-using-gravity-forms-in-2-0/
time and date gets saved and the event as well. but the venue and organiser don’t seem to work for me.
these are the fields i’m using: _VenueAddress _VenueCity _VenueZip
these are the fields i’m currently not using: _EventVenue, _EventVenueID, _VenueVenue, _VenueCountry, _VenueAddress, _VenueCity, _VenueStateProvince, _VenueZip, _VenuePhone
is it because there’s mandatory fields for venue? if so, what are they? eventvenue? venuevenue? etc.
s the country mandatory if it’s already set to default for a country?
am i meant to set the venueid or that gets set automatically as it’s added and that creates the database relationship?organiser fields used: _OrganizerOrganizer, _OrganizerPhone, _OrganizerEmail
organiser fields not used: _EventOrganizerID, _OrganizerWebsite, _OrganizerPhone
same for organiser.?thanks. aaron.
Aaron
Memberyes.
so gravity form pushes an event in. then i translate it in the back end and create it’s wpml translation post with the same data but in the other language.
organiser and venue are stored in different tables? if so, i’m not sure how to create a translation for that in the backend.Aaron
MemberHey Rob,
Brian’s comment with the corrected code works:
thank you.
aaron.Aaron
MemberHi, thanks for the reply Rob.
I did everything in that post except for adding the top section code because this line is highlighting an error and breaking the site:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /var/www/wp-content/themes/themename/functions.php on line 475if ( wp_is_post_autosave( $postId ) || $post->post_status ‘auto-draft’ || isset($_GET[‘bulk_edit’]) || $_REQUEST[‘action’] ‘inline-save’ ) {
please advise.
-
AuthorPosts
