Forum Replies Created
-
AuthorPosts
-
Barry
MemberOK – let me know if you find it helps (or even if it doesn’t have any impact).
July 4, 2017 at 9:00 am in reply to: Reoccurring events appearing multiple times on post feed #1315873Barry
MemberSorry to hear that, I’m unsure why it wouldn’t kick in for you (though if you didn’t already try this I’d recommend setting it up from within a custom plugin rather than your theme’s functions.php file).
fingers crossed you’ll be able to find a fix fairly soon.
The issue whereby you are trying to use the ‘hide subsequent recurring events’ setting along with your custom snippet (but are getting an empty blog loop) is something we’re keen to resolve, but I don’t want your expectations to be set incorrectly: realistically, a fix for this is some way off and is unlikely to roll out over the next 2-3 months.
To that end, finding an alternative such as working on the snippet I shared (and perhaps setting it up via a plugin) is the best thing to do for the time being.
Barry
MemberNeil: the block seems to be specific to your Facebook account (and Event Aggregator uses its connection to your account to fetch the data). Do you have access to a different Facebook account or can you create one?
If so, disconnecting your current account via the Events → Settings → APIs tab then re-establishing the connection with your alternate account could be worth a try.
Barry
MemberYou’re right and the Carnal Society URL works for me locally; bear with me a little longer.
July 4, 2017 at 6:52 am in reply to: Structured Data || Getting Events to show up in Google Search #1315842Barry
MemberApologies for the delay, Alain.
Generally speaking though it’s best to create a new topic of your own even if it seems to be related to something another user has been discussing – an added benefit is this let’s you more easily share system information and other things.
If you’re able to do that, that would be great 🙂
Barry
MemberFacebook allow the page so they’ll allow access to it.
Not quite sure I’m understanding you here — but even though you might be able to visit a page directly as an authenticated use whose age they know, that doesn’t mean that they will allow access via their API to the same event or organization.
The error you shared is typical of what happens in this sort of scenario.
Barry
MemberSorry to hear that, Neil.
Lots of errors saying bit connected / can’t connect to ea server.
This time, we’ve got some data to inform our picture of things. Your site appears to be triggering an unusually high number of requests to our server and is being blocked as a consequence.
Except for the troubleshooting plugin I shared with you earlier in the thread, have you added any other components or changed any settings that might have coincided with the return of the connectivity issues?
With regards to this screenshot and the source URL you are trying to import from – I strongly suspect that the problem is Facebook has restricted that page because of the nature of some of the content that can be found there. In cases like this, they may quite simply refuse to serve the data to us via their API.
July 3, 2017 at 7:04 am in reply to: Reoccurring events appearing multiple times on post feed #1315480Barry
MemberNot yet, I’m afraid – though we’ll update you once a fix is available (or once other changes remove this problem).
function tweak_event_blog_loop_integration( $query ) { if ( ! tribe_get_option( 'showEventsInMainLoop', false ) || ! ( $query->is_main_query() && is_home() ) ) { return; } $query->set( 'post_parent', '0' ); } add_action( 'tribe_events_pre_get_posts', 'tweak_event_blog_loop_integration' );The above snippet however might help by removing any child posts from the main blog loop (individual instances of a recurring event being structured as child posts, this might help).
You could add this code to either a custom plugin or even to your theme’s functions.php file. It may not be the perfect answer, but it could be worth a try to see if it offers you an interim solution until we make broadeer changes on our side.
Barry
MemberThis reply is private.
Barry
MemberGreat – I’ll mark this as resolved in that case, but I’ll leave it open for the next few days in case there are any follow-up questions.
Barry
MemberThanks for the links!
So I know, what will plugin do, what should I be on the lookout for?
When scheduled import tasks run, there are sensible defaults in place that limit the number of imports which take place. This simply overrides and raises those limits.
In terms of what you should look out for, please continue to monitor the history tab: if we see a decrease in the number of failed imports that would be useful information. On the other hand, if there is no change, that is still useful information for us.
The plugin is to help us troubleshoot – if you could let us know if you see a difference or not after a day or so if it being activated that would be great (and feel free to deactivate and delete it at that point).
Hoping to get a timeframe here ASAP.
I can’t provide an exact timeframe, but we are prioritizing this problem and are actively working on a number of measures that should help us to get to the bottom of this.
Barry
MemberThis reply is private.
Barry
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!
Barry
MemberHi Tim,
Glad that worked!
In terms of improving ordering by relevance, it does already try to do this – to the extent supported by native WordPress search functionality, at least.
When multiple words are used in the search string, it prioritizes results that have all those words in the same sequence in the post title, followed by those that have all those words in any order in the post title, followed by criteria that tests against the post content and excerpt and last of all it orders by date.
Depending on what your content contains and what the search terms are (a single word search as an example has less sophisticated ordering than a multi-word search) this may be more or less apparent, but it is there 🙂
In terms of improving upon it, I’m not sure how much we can offer there – it’s certainly getting into custom coding territory and/or something better delegated to a purpose built search plugin (of which there are a few).
Barry
MemberHi Tim,
Can you try adding a snippet like this one, either to your theme’s functions.php file or to a custom plugin?
function tweak_event_search_integration( $query ) { if ( $query->is_search() ) { $query->set( 'post_parent', '0' ); } } add_action( 'pre_get_posts', 'tweak_event_search_integration', 100 );In essence, it disallows any child posts from being included in the search results. In most cases that ought to do the trick here, though it would also disallow any child pages from being included – which may or may not be a problem for you.
Might that work here?
-
AuthorPosts
