Forum Replies Created
-
AuthorPosts
-
George
ParticipantHey Davin,
The first thing I’d recommend for making a customization like this is to read our official Themer’s Guide here → https://theeventscalendar.com/knowledgebase/themers-guide/
That will show you how to make custom versions of The Events Calendar view files in your theme, so that you can make customizations in a way where things won’t break if you update your plugins in the future.
Using the principles there, the file you’ll want to customize is views/single-event.php (and, if you’re using the new version 3.10, then it’s src/views/single-event.php.
The “All Events” link is around line 26 or 27 or so, starting with this line of code:
<p class="tribe-events-back">You’ll see the link constructed here, and from there it’s all up to you how to build out the category link. You can use something like The Events Calendar’s own tribe_get_event_taxonomy() function, or you can use WordPress core functions like get_term_link().
Make a good backup of things before you start, read through that themer’s guide to learn the safest way to make customizations like this, and read any Events Calendar code directly if you’re not sure how something is put together. I’m sure if you play around with things, you’ll make something quite useful for your site.
Cheers!
GeorgeJune 14, 2015 at 12:01 pm in reply to: Customizing the html ticket that gets sent to the purchaser. #969305George
ParticipantHey Mary,
Thanks for clarifying what you meant about the .pdf tickets, I wasn’t certain if you might’ve been using some alternative solution in the past and switched over.
I’d first like apologize that you’re finding our new ticketing system unsatisfactory on the points you raised here – you are not the only customer who has voiced a desire for .pdf tickets, and while I don’t have a definitive release date for new features or anything, a reintroduction of .pdf ticket support is in the pipeline for our ticketing framework products for sure.
In the meantime, however, it is unfortunately the case that editing how tickets appear and what information is included them requires customizing code – and thus, if you can’t do that yourself, yes, you’d have to hire someone or find a developer to do it for you.
I’m really sorry about the limitation at this time.
However, one thing I’m curious about is what you wrote here:
[…] and to have something that the purchaser will be able to share via email or print and give to people they have purchased tickets for.
Our email tickets should still be completely shareable via email, printable, cut-outable, anything. And they should work fine with multiple ticket purchases, here’s as screenshot of three tickets I bought at once when testing some code recently → https://cloudup.com/c4IiKEiTx-4
So I’m curious, what is it about these tickets specifically that does not meet your needs? Do you find that they are sufficiently printable/shareable/etc., but just don’t look a certain way that you’d find ideal?
I only ask these questions because while our email tickets might not meet all of your ideals, they should hopefully at least be quite useable – I’d love to learn details about how we can help you here, perhaps at the very least just to have something better in place until we release the .pdf-tickets update some time in the coming year. (Although, note that one of the hard things about PDFs is that they are extremely hard to customize! Which is one of the main reasons we switched to HTML email tickets.)
Finally, if you’re interested in a list of great developers who could make something for you that meets your ideals here, feel free to shoot us an email at [email protected] for a list of folks we recommend.
Apologies for the long email here Mary. Let us know some of your specific gripes and desires in more detail and what we can do to make it right 🙂
Thank you!
GeorgeGeorge
ParticipantHey Shah,
Sorry you’ve run into this issue – if you head to your site admin, and then to Events > Settings > Community, what are your settings under “Access Control”? Here’s a screenshot of that section for reference → https://cloudup.com/cs4Ex4EzQuY
Next, what are your settings if you go back to your site admin and then to Settings > General, and look for the “Membership” checkbox? It should look like the one in this screenshot → https://cloudup.com/c8nCw5uJXBZ
I’d recommend ensuring that the “Membership” checkbox is checked in the settings panel above, and then once you save those changes, see if adjusting your “Access Control” settings changes any of this behavior on your site.
Let us know what you find!
Thank you,
GeorgeJune 14, 2015 at 11:41 am in reply to: add fully booked behind dates with [event rocket] or [tribe_mini_calendar] #969302George
ParticipantHi Thomas,
I’ll address some of your other questions first, before getting to your core customization question: Events Calendar itself does not have any shortcodes, so there is not a similar thing there to what you’re doing with Event Rocket. Next, there is unfortunately not a way for me to analyze your customizations to date.php, or any other file. We don’t offer any support for customizations here, and there could be many things going on on your site that would lead to certain behavior working or not working as expected, so the best thing I can recommend is just example code of how to make this customization with default, original plugin code.
If you get things to work with completely original, un-edited code, then I’d recommend taking things from there and working on your customizations one at a time to see what you can come up with. And then, if things break after one step along the way, you can simply backtrack to the previous step and try something else.
So, we will not be able to provide further customization beyond this, but this should help get you started: first, head to your theme’s functions.phpfile and add a filter to the event schedule details that will show “Fully Booked” if it’s checked to be a sticky in calendar or month view:
add_filter( 'tribe_events_event_schedule_details', 'thomas_example_filter', 10, 2 ); function thomas_example_filter( $schedule, $event_id ) { $event = get_post( $event_id ); if ( -1 == $event->menu_order ) { return '<span class="event-is-fully-booked">Fully Booked</span>' . $schedule; } return $schedule; }Change the function name, class name, “Fully Booked” text, anything want in this example. It should nicely, and add that span there, which you can then style by adding custom CSS to the bottom of your theme’s style.css file. Here’s an example of some CSS that I added:
span.event-is-fully-booked { font-size: 1em; text-transform: uppercase; font-weight: bold; margin-right: 10px; vertical-align: baseline; color:#aa0000; }And here’s how that looks on a single event that is checked to be a “Sticky” event: https://cloudup.com/cWzI4Siqc7M
It’s a quick example, but again, change the CSS to whatever you need and play around with this extensively.
I hope this helps!
GeorgeGeorge
ParticipantHey Eve,
Unfortunately, “Organizers” exist as a custom taxonomy within WordPress, not a type of actual WP_User with a profile and user capabilities and everything. They’re different things entirely, you can think of “Organizers” and “Venues” on Events as customized versions of “Categories” on Posts. Whereas “Users” within WordPress are entirely separate from both things.
It is technically possible to rework the entire “Organizer” system to use actual WP Users, though it is a very extensive customization far beyond the scope of support here and not something we could provide examples of.
Sorry to disappoint on those fronts – if you have further issues or concerns, I’d recommend opening a new thread on the forums (if you need to refer to this thread here, just link back to it in your new thread).
Since Ran’s question is a general WordPress question and such, I’ll close up this thread for now.
Thank you!
GeorgeJune 12, 2015 at 8:22 am in reply to: add fully booked behind dates with [event rocket] or [tribe_mini_calendar] #969063George
ParticipantHi Thomas,
While we do not offer support for Event Rocket, or customizations, it seems that the essence of your question is described here:
and another option where you can check to highlight the event in the calendar view.
how can i add a “fully booked” behind a date if the user checked the last option?In other words, it seems that you literally just want to add the text “Fully booked” next to the event date of an event whose “Sticky in Calendar View” option is checked. Is this correct? If so, I can recommend a filter to help make this work.
If that is not exactly what you’re looking for, can you describe what you are looking for in a bit more detail? Use screenshots or any other materials you can think of – I’m sorry for not understanding your goals completely here, but I just want to understand what you’re trying to do so we can best help you out 🙂
Thanks!
GeorgeGeorge
ParticipantHi Shah,
To use the WooCommerce Ticketing plugin, here are the things that need to be activated on your site:
• The Events Calendar
• WooCommerce
• WooCommerce TicketsIf all three are active, WooCommerce Tickets should work nicely on your site. Let us know if that’s the case! 🙂
Cheers,
GeorgeJune 12, 2015 at 7:15 am in reply to: Customizing the html ticket that gets sent to the purchaser. #969024George
ParticipantHey Mary,
Thanks for reaching out to us here – first, I’m curious what you mean about your comment here:
There used to be pdf tickets sent-now it is just an email.
Do you mean that when you used our WooCommerce Tickets add-on in the past, it sent PDFs instead of emails? Or do you just mean that you previously used another solution on your site altogether, which itself send PDFs, and then switched over to our add-on which sends emails?
Just curious about that bit 🙂
As for your main question, specifically, the main thing you need to know about customizing the email templates is simply the location of the email template file itself. For the email, this will be /tickets/email.php in The Events Calendar (the core version of the plugin, not in the WooCommerce tickets add-on!).
With that in mind, you can use the principles outlined in detail here for customizing the /tickets/email.php template → https://theeventscalendar.com/knowledgebase/themers-guide/
This should help you get started, let us know if it does!
Thanks,
GeorgeGeorge
ParticipantHey Tyler,
First off, I’m very sorry about the delayed response here – I don’t know how, but your question here was in my queue but somehow missed! Real sorry man.
As for your question, you should be able to get the first event in a recurrence series fine – they’re all just normal posts of the “tribe_events” post type, with the exception that with recurring events, the ID of the first event is used for the post_parent property of all other events in the series.
Does that help here? Are you able to query things fine, but then too many of the recurring event instances show up in your query results?
Thank you!
GeorgeGeorge
ParticipantHi Glenn,
Unfortunately, [event_embed] is something from the Event Rocket plugin, which we do not provide support for here.
I’m sorry to disappoint! If you have any other questions or concerns, please let us know.
Thanks,
GeorgeGeorge
ParticipantHey Chris!
Updating to the “official” release from the release candidate should fortunately be very straightforward. A proper “update” notice will likely arrive upon the release of the plugin, but if not, you can manually just download a .zip of the official release from your downloads page here (http://theeventscalendar.com/my-account/downloads) and then do these basic steps:
- Back up your site and database.
- Delete (not just “deactivate”) the existing Release Candidate of 3.10 off your site.
- Install the new “official” .zip plugin of 3.10, ensure your license key is still in place – and, if not, add it back – and then rejoice!
While I mention “Back up your site and database” as the first step, that’s not because of any special risk here. You should generally do that before installing or updating any plugin, theme, or WordPress Core itself on your site.
Regardless of the backup, however, updating The Events Calendar will not delete any data off of your site. No settings should be altered either.
Now, as for resources that go into detail about major changes, we have two that should help you out. For a general overview of all the new things, check out this blog post here → https://theeventscalendar.com/the-events-calendarproadd-ons-3-10-things-to-be-aware-of/
If you have any Week View-specific customizations, those are especially worthy of close attention when updating because we’ve rebuilt the Week View entirely. We have a separate write up dedicated just to the week view changes here if it’s applicable to you → https://theeventscalendar.com/week-view-refactor/
Let us know if this helps!
GeorgeJune 11, 2015 at 8:07 am in reply to: Display The events Calendar pro as a Calendar on Homepage #968804George
ParticipantHi Patricia,
Regardless of whether you have the PRO version or not, you unfortunately cannot set the Events page as your home page. The reasons for this are technical: we use a method of sort-of “faking” the Events “page” so that the /events URL can exist on your site, but operates instead as more of a “feed” or “endpoint” for events. If that doesn’t make sense, it basically just makes it much easier/faster/smoother to have dates and all of our custom filtering to show events in various views and such.
However, the PRO version does have a Mini Calendar widget included in it that might be useful to you. This is basically a duplicate of the main calendar in terms of functionality, though it doesn’t look quite the same and is usually used in Sidebars. If you instead used the widget in a main content section of your site, and then used CSS to make it larger and look more like a “main” calendar instead of a widget, it may work well for you.
If you’re not familiar with CSS, or how to make widgetized areas in your theme, then unfortunately there is little that could be done here. I’m sorry to disappoint!
Please let us know if this helps and/or if you have any other questions or concerns 🙂
— George
George
ParticipantSounds good Tom – you can use custom meta values to simply store the URL, and then display it however you’d like. In a button, in a popup, just display it in plain-text, anything you’d like.
The “Additional Fields” resource I shared with you above should be helpful on how to use this data, and if you’re curious for more technical information here, check out the get_post_meta() function within WordPress which you can learn about here → http://codex.wordpress.org/Function_Reference/get_post_meta
In either case, you will need to “Get” the data for your custom URL field on an Events Template, then put it in a button or anything else you’d like. To share one last piece of information with you, but an extremely important one, you should check out our official themer’s guide here to learn exactly how to make a custom events template → https://theeventscalendar.com/knowledgebase/themers-guide/
The themer’s guide and then one of the custom field-related items above it should help you get started here. Be sure to keep good backups of any custom code you make, and give this a shot! 🙂
George
George
ParticipantHey Rachael,
Things actually work for me here. Here’s a complete rundown of my findings on that new test site:
1. The simple “Search” box (not the “Near:” box) works fine – if you type “worthing” or “brighton” here, the appropriate event is retrieved.
2. The Location search does work for “East Sussex”. Type East Sussex into the “Near:” box, and the “suggestion” for that location should pop up upon submitting. It does for me: https://cloudup.com/c53vBtPOObd
Then, when that location is clicked, it does appropriately filter the events.
3. The location search does work when I type in “Montpelier Road” – it suggests and address that, when clicked, filters the events appropriately → https://cloudup.com/chHYoFGAewd
George
ParticipantThank you Ronaldus – Stay tuned!
-
AuthorPosts
