Home › Forums › Calendar Products › Events Calendar PRO › Community form additions/issues
- This topic has 18 replies, 2 voices, and was last updated 8 years, 9 months ago by
Laura.
-
AuthorPosts
-
June 13, 2017 at 8:19 am #1297193
Laura
ParticipantHi there,
I’ve got some issues and queries about the community upload form and thought I would group them together in one ticket:
1) You cannot upload images via the community event upload form. It always says “File not found”.
2) Is it possible to add a caption to the image that users upload via this section? We need some way to display copyright information
3) Can the images be cropped by the user on the front end (we’re not giving the public dashboard access)
4) Can you put a character limit on titles/descriptions?
5) Can you remove a field that’s on the form by default?
6) Can you rename a section (we want to rename ‘province’ to ‘region’ if possible, if not, then remove the option)
7) Do event attendees get emails reminding them the event is coming up? If not, is there an easy way to export all attendees to email manually?Thanks for any help you can provide,
Laura
June 15, 2017 at 1:58 pm #1298775Barry
MemberHi Laura,
Let’s start with this issue:
You cannot upload images via the community event upload form. It always says “File not found”.
My suspicion is that there are file permission issues afoot. If you edit an event – or page or post – via the admin environment, are you able to upload images there (ie, when setting the featured image)?
June 16, 2017 at 2:34 am #1299003Laura
ParticipantLooks like our test server hasn’t been set up properly, getting this error: Unable to create directory wp-content/uploads/2017/06. Is its parent directory writable by the server?
Hopefully on the live site this issue will be rectified, once we move it over!
June 16, 2017 at 11:48 am #1299299Barry
MemberOK, well do let us know if you continue to hit difficulties in that environment … file permissions definitely need to be permissive enough to let WordPress operate normally or else you will indeed hit this sort of issue.
Thanks!
June 16, 2017 at 1:49 pm #1299370Laura
ParticipantWill do!
I think most of the other additions and edits can be done within the php files? Would you be able to direct me where and what to do?
June 16, 2017 at 2:03 pm #1299376Barry
MemberWe generally try to stick to one issue per topic – and you’ve covered a lot of different areas, some of which require customization work we can’t provide too much help with. Let me run through each:
Is it possible to add a caption to the image that users upload via this section? We need some way to display copyright information
There are a few ways you could do this. You could literally modify the image and overlay the text on it, or you could track the fact that it was submitted by a member of the public then, each time it is rendered, add a message via a piece of custom HTML. Either way would involve some custom dev, though, and we would not be able to provide in depth support for that.
Can the images be cropped by the user on the front end (we’re not giving the public dashboard access)
I’m sorry but Community Events does not support this.
Can you put a character limit on titles/descriptions?
Again, this isn’t supported directly but could certainly be facilitated via some customization work. There would potentially be two pieces to this: some frontend code that tries to stop them exceeding a limit before they submit, and some code running after they submit in case the first step somehow fails.
This also would require a degree of custom dev work that we can’t assist with.
Can you remove a field that’s on the form by default?
You can! As a first step, please review our Themer’s Guide which covers the basics of modifying our templates:
theeventscalendar.com/knowledgebase/themers-guide
Can you rename a section (we want to rename ‘province’ to ‘region’ if possible, if not, then remove the option)
Yes! Again, please review the Themer’s Guide linked to above. You could also potentially make use of a plugin such as Say What to do this work.
Do event attendees get emails reminding them the event is coming up? If not, is there an easy way to export all attendees to email manually?
They don’t — though that’s a really nice idea. Some custom dev work could be used to accomplish this, too – by creating a scheduled task that runs daily and scans for upcoming events and triggers an email to the attendee according to some criteria you define.
I’m sorry we can’t go into more detail for each of these – but if you do have further questions on any specifics that we might be able to help with, do feel free to ask (though, if you could do so via a new topic for each distinct question that would be appreciated).
Last but not least, remember that there are a number of devs out there who can provide in-depth assistance on those occasions where we can’t and you are also welcome to submit feature requests if you think there is a feature that would be a valuable and sensible addition to one of our core plugins 🙂
Thanks!
June 20, 2017 at 8:04 am #1300510Laura
ParticipantThis covers everything! Thanks 🙂
June 20, 2017 at 8:58 am #1300531Barry
MemberFantastic 🙂
June 30, 2017 at 7:35 am #1314323Laura
ParticipantHi!
I’ve managed to do most of the above now; I found ways around using CSS to make it easier on the team here as I can do it myself.
I’m really struggling to change one thing though; changing the State/Province title to County I can’t find the right bit of php code at all! Could you point me in the right direction?
Thank you!
-
This reply was modified 8 years, 10 months ago by
Laura.
June 30, 2017 at 7:49 am #1314354Laura
ParticipantFurther to that query; is it possible to put a drop down in there as well for people to choose from, rather than a free text box?
Would any of this mess up the Google Map integration?
Thanks!
June 30, 2017 at 1:54 pm #1314747Barry
MemberHi Laura,
I’m really struggling to change one thing though; changing the State/Province title to County I can’t find the right bit of php code at all!
Some people use the Say What plugin to modify text – it offers a very easy way of making changes like that: could be worth a shot. However, read on…
Further to that query; is it possible to put a drop down in there as well for people to choose from, rather than a free text box?
That’s a little more involved. It’s possible to setup a custom template that overrides the default one, though, and so you could use this approach to also change the text you noted in your other question.
tribe_events_tribe_venue_new_form_fields
The above filter hook let’s you override the template that contains those fields. I’d caution, though, that it will also potentially change the template loaded when those same fields are edited from within the admin environment – and not just on the Community Events frontend.
You would need to copy the following file to a custom location (note, this is a file inside The Events Calendar and not inside Community Events):
the-events-calendar/src/admin-views/create-venue-fields.php
Make your changes in your copy and apply them with some code like this:
add_filter( 'tribe_events_tribe_venue_new_form_fields', function() { return '/path/to-your-custom-template.php'; # Update accordingly } );Again, this is a more advanced customization than most of our template overrides so some care and PHP knowledge is needed, but it’s certainly possible.
I hope that helps!
July 5, 2017 at 6:58 am #1316263Laura
ParticipantThis reply is private.
July 5, 2017 at 3:03 pm #1316498Barry
MemberThis reply is private.
July 6, 2017 at 1:20 am #1316707Laura
ParticipantThis reply is private.
July 6, 2017 at 11:47 am #1317042Barry
MemberThis reply is private.
-
This reply was modified 8 years, 10 months ago by
-
AuthorPosts
- The topic ‘Community form additions/issues’ is closed to new replies.
