Forum Replies Created
-
AuthorPosts
-
George
ParticipantHey Jason,
As far as I know, what you’re looking for is currently not possible with the free version of The Events Calendar, unless you to manually write code that filters the WP_Query used for the Events List widget that’s included with the plugin.
However, these things should be very simple to do PRO. Basically, if your theme has a page template with a sidebar, just make sure the “Events Template” option in “Events > Settings > Display” in your admin is set to one of these templates with a sidebar. This way, you’ll be able to add widgets alongside the calendar.
Once you’ve ensured that, you can then just drag the PRO “Events Calendar” widget to that sidebar – it has filtering capabilities by default, as you can see in this screenshot → https://cloudup.com/cE82grb6Kf8
This will not affect the display of the events over in the “main” calendar next to it at all.
I hope this helps, cheers.
George
George
ParticipantHey @nsidhom,
I’m sorry, but unfortunately I do not know how to add that information to the JSON output. If there’s a way to add post meta information in general to the output of WP-API, then you should be able to take those methods/principles and use them to get the event-specific post meta for events like _EventStartDate and such. This seems to be possible, for example, check out the “retrieve a meta” section on the wp-api.org documentation and play around with this → http://wp-api.org/#posts_retrieve-a-meta-for-a-post
I hope that helps!
— George
George
ParticipantHey Graham,
Would it be possible for you to leave the Twenty Twelve theme active on your site, just for the duration of our troubleshooting here at least?
If possible, leave that theme active, and then head to your site’s wp-config.php file and change this line of code:
define( 'WP_DEBUG', false );to this:
define( 'WP_DEBUG', true );This will display PHP errors on your site if any exist, which might be helpful here.
Thanks,
George-
This reply was modified 11 years, 2 months ago by
George.
February 26, 2015 at 10:19 am in reply to: HTML Code Showing in Description When Event Exported to Google Calendar #944935George
ParticipantHey @knoxannarbor,
Unfortunately, text links would require the link being surrounded by an <a href=”{link}”> tag, which if not stripped out the Google-imported description wouldn’t render as an inline link, and then if stripped out, like we’re doing here, it won’t get imported in first place….
So, unfortunately, this seems like an impassable barrier as far as I can think, or unless there’s something specific to Google that would let these links get transferred to descriptions. You could conceivably do something like add a Regular Expression to the code I shared with you here, that looks for <a> tags before stripping out the HTML, and moves the HREF attribute of these tags (i.e. the URL of the link itself) to be next to the link text in parentheses or something along those lines – that’s a bit outside the scope of the support here, but just an idea that might be possible if this is a majorly-important feature for your project.
As for getting the Calendar export links to open in a new tab, unfortunately the only simple way I can think of doing this would be to modify core plugin files, which is not recommended at all – you’d have to add target=”_blank” to the HTML of the gCal link in the single_event_links() method of the Tribe__Events__iCal class. Another solution that might be possible would be to override the link behavior with JavaScript.
Let us know if you have any other questions – if not, I’ll go ahead and close up this ticket because the original problem of HTML in the Google Cal descriptions has been resolved. Sorry to disappoint in regards to some of these other customizations you’re seeking to make!
Best of luck with your project,
GeorgeFebruary 26, 2015 at 10:07 am in reply to: Allow other calendars to post into the tribe calendar #944932George
ParticipantHey Jack,
Hm, the things you mentioned should be possible, but this of course depends on the specific services you try to integrate with and the specifics of how you want things to operate.
For some general ideas/examples, if you have a third-party service that has its own API, you should be able to write some code fairly simply within WordPress that pings that API – a custom plugin, for example. Then within your custom plugin, you could use some of the functions within WordPress Core like wp_remote_get() that should make this a lot easier to do. A function like this returns a body of JSON data from the API you ping, so you could conceivably then take that return JSON data and then pass the data to something like the Tribe__Events__API class I mentioned earlier, or a custom solution of your own that generates an item on your site of the tribe_events post type.
Definitely explore some of the wp_remote_-style functions that are included with Core, and things like the Transient API within WordPress Core so that your third-party API requests only run on set time intervals, instead of something super-bloated like on every page load.
These few ideas alone should get you pretty along, and I hope they do!
Let us know if you’ve got any other questions or concerns, cheers Jack
-
This reply was modified 11 years, 2 months ago by
George.
George
ParticipantHey Peter,
This is indeed possible, though it requires some customization – the most straightforward to implement that customization is to create a new “view” or the widget in your theme.
To learn more about this, check out our Themer’s Guide here → https://theeventscalendar.com/knowledgebase/themers-guide/
It’s fairly simple to do, and once you have a custom widget view in your theme, you should then be able to copy the link from the title and implement it in a tag around the icon as you see fit.
Let us know if this helps you get started on your customization, or if you have any other questions or concerns.
Cheers!
GeorgeGeorge
ParticipantHey Paul,
When I went to the link you provided, it said the calendar there was powered by another plugin, not ours → http://wp-events-plugin.com/
Are you going to try and use that plugin instead?
— George
February 25, 2015 at 10:26 am in reply to: 400 Error occurred while creating Eventbrite in WordPress #944727George
ParticipantHey Simon,
One more thing – if you activate WP_DEBUG on your site and then try importing again, do any PHP errors get displayed on your site?
February 25, 2015 at 10:26 am in reply to: 400 Error occurred while creating Eventbrite in WordPress #944726George
ParticipantHey Simon,
I’m sorry this is happening on day when your client expects something, we will do our best to work quickly.
Unfortunately, if this is related to network connectivity issues there may be little we (or Eventbrite) can do.
Can you confirm though if this happens consistently for all events that are imported from Eventbrite – or does it happen on a random or sporadic basis?
Also, when you mention things working a day or so ago, what sorts of changes have you made on your site since then? Any options changes, new plugin/theme installations, or removals, or server/database migrating, anything at all?
Thanks,
GeorgeGeorge
ParticipantHey Graham,
Thanks for the responses. For now, I’d recommend holding off on sharing any admin information – we really try to avoid doing that at all for a variety of important reasons, and is only used in extreme cases where there’s no alternative. I appreciate the offer and willingness to work with us to get things working though!
As for the other things – for now, yes, delete the page “Events” that you’ve made yourself. It may not wholly resolve these issues but is worth ruling out as a possible culprit of any unintended behavior here.
After deleting your page, go to “Settings > Permlinks” in your admin and click “Save Changes” – don’t actually make any changes, just click that button, it’s a little trick that forces your WP installation’s permalinks to refresh across the site which might help here after deleting that page.
If, after these steps, things still aren’t working right, I’d recommend trying to activate a default theme like Twenty Twelve (or a more recent variant) on your site and seeing how things work.
Let us know what you find Graham!
Thanks,
GeorgeGeorge
ParticipantHey @printandpixel,
Thanks for the update. I’m sorry to hear about your theme developer’s absence, but for now, I think activating the Twenty Twelve theme is the best step here. I’ll stay tuned for you to do this later on, and to hear what you find by doing so.
If the entirety of your problems is coming from your custom theme, there’s unfortunately a very limited amount we can help with, as the theme itself would be broken and we can’t really fix other party’s code. However, it’s a good step to at least find the source of the problem, and if we can confirm your custom theme is the problem, then hopefully we can at least recommend a few code snippets or other steps to get things moving.
Keep us posted on how activating Twenty Twelve goes!
Cheers,
GeorgeGeorge
ParticipantHey @printandpixel,
Thanks for elaborating on that and clarifying what you meant there. I checked out the Month View on your events page and indeed found that the Next/Prev links did not work.
As for your theme developer unregistering header.php, this could be seriously problematic – if your theme has several different templates, and all templates manually have their HTML <head>s added directly in the file instead of calling the WordPress function get_header(), this can actually be okay as long as wp_head() is called in every instance and body_class() is added appropriately in the opening <body> tags.
But if there’s something other than I described here going on that your theme developer did, that could be pretty bad news and require fixing. Is there any way you can ask your developer for clarification on exactly what changes they made in regards to header.php or the theme header in general? If so, please let us know their response.
One step I’d recommend taking here is to temporarily activate a default theme like Twenty Twelve (or a more recent one) on your site – what do you find when you do this, in both List View and Month View?
Thanks!
GeorgeGeorge
ParticipantHey @cj,
The Events Calendar in combination with one of the ticketing extensions would enable people to get tickets to an event, as expected – you can make free tickets, if you want the “tickets” to function more as “invitation” confirmations that people don’t have to actually pay for.
However, all the specific items you mention about tying certain functionality and notices to a specific set of “delegates”, including specific integration with URL query strings being tracked from actions in emails you send to those delegates, are mostly things you’d have to customize or build on your own.
So, yes, the things you’re describing are technically possible to build with The Events Calendar and a ticketing extension as a base to build on top of, but would require extensive custom coding.
Please let me know if this information helps, or if you have any other questions or concerns.
— George
George
ParticipantHey @nsidhom,
At this time, The Events Calendar unfortunately does not have a JSON feed that it generates. WordPress itself doesn’t either, in fact.
This is something that’s actively being worked on in WordPress core, a JSON API is being developed for WordPress Core by some great developers. Maybe at some point in the future, when that’s a part of Core, The Events Calendar can integrate with it and this will be simpler.
However, at this time the best option for generating JSON feeds from your WordPress installation is to try and find a plugin that does so. You can search for some on the WordPress.org plugins repository → https://wordpress.org/plugins/search.php?q=json+feed
Another option that might be worth exploring is to check out that in-development JSON API for WordPress Core itself – the project is under active development and so I can’t confirm how stable/reliable it is, but it’s pretty far along and quite flexible. You can learn more about this project and learn about implementing the code (as well as finding the code on GitHub) by checking out the project homepage here → http://wp-api.org/
Sorry to disappoint @nsidhom – note that there are the default RSS/XML feeds for Events like normal within WordPress, it’s just a custom JSON feed that currently is not something we have.
Let me know if you have any other questions or concerns!
Cheers,
GeorgeGeorge
ParticipantOh, and one last thing I forgot to mention – you should not make an Events page yourself, the Events Calendar plugin itself will auto-generate a calendar page at that URL and if you add a page with the same permalink URL, it can actually negatively affect the events calendar functionality.
-
This reply was modified 11 years, 2 months ago by
-
AuthorPosts
