Forum Replies Created
-
AuthorPosts
-
Barry
MemberGreat, I hope it helps π
Barry
MemberOK, that’s certainly a bit of a problem.
Are you comfortable working with SQL? Though I’d caution you should make a full backup first of all (and understand the process for restoring that backup) you can remove all existing events quite easily with a query like this:
DELETE FROM wp_posts WHERE post_type = 'tribe_events';This assumes your tables are prefixed wp_ and of course you would have to adjust that if your setup is different. While this would leave a number of “ghost” entries in the post meta table, it ought to remove this particular block within the admin environment.
March 11, 2015 at 4:22 pm in reply to: Special Characters in Month Tooltip displaying as html #947765Barry
MemberFantastic π
March 11, 2015 at 2:47 pm in reply to: Special Characters in Month Tooltip displaying as html #947742Barry
MemberNo problem – I think all you’re missing is the raw directive. So, instead of:
[[=venue]]Try:
[[=raw venue]]This just helps to ensure any HTML entities are treated as such and are not exposed to the visitor in plain text … you can find instructions relating to the templating system within month/single-event.php itself — I hope that helps π
Barry
MemberHi Stephanie,
I do appreciate it’s not an ideal solution but please understand we can’t guarantee being able to respond more quickly than within 24hrs of a reply being made (and that’s within the working week). We do try to exceed that where possible, of course, but there are no guarantees we can do so consistently π
In this case I think you may be hitting up against a known bug that can occur when recurring events have been created, broken out of their sequence into individual events, and are then exported by WordPress as an XML file.
With that in mind, can I ask you to review and try adding the suggested fix in the following reply from a different topic?
theeventscalendar.com/support/forums/topic/import-creates-blank-database-references-with-shared-ids
It would necessitate removing your existing event data, adding the snippet and then re-importing, but it might provide you with a working solution.
Does that help here?
Barry
MemberNo problem, you’re more than welcome to follow the thread (though if you need help specific to your site, please do post a fresh topic) π
Barry
MemberHi Stephanie,
I’m sorry you’ve hit up against some difficulties.
I’d like to start by getting a better sense of how you managed the export and import process: you noted using the CSV importer to pull the events into your live site … can you confirm how/what tools you used to export the data from the test site?
Would you also be able to share a sample of the CSV data you imported (though you cannot upload files directly to the forum, if you upload it to your own WordPress site, or a service like Dropbox, you can of course share the URL in here – via private reply if you prefer)?
I tried doing a clean install on the live site, but my settings and all events werenβt wiped. What Iβd like to do is wipe the DB and import our events and settings from the QA site. Where can I find that to get rid of it?
The events and settings are contained in the database, so you’d really need to wipe the database, switch to a fresh database or else selectively delete items from the existing database.
Let’s stop and look at the import/export process first of all, though, then we can revisit this if needed π
Barry
MemberHi Matt,
I’m sorry to hear you’ve had such a rough ride.
I have set up a test event with an address of Dublin, Ireland. When I search for events in Dublin, Ireland it says there were none found. I have set the distance to 500 miles in settings so even accounting for the location being outside the city centre it should be found.
Is this a complete and valid address – or is it literally just, “Dublin, ROI”? The reason I ask is that the first thing which comes to mind is Google (whose geolocation API we use) has not been able to determine the coordinates for the venue.
It is also possible that they are refusing to supply geolocation data – and this can happen if you have exceeded the free quota, or, you are using a shared hosting package and other websites/apps running on the same machine have collectively done so. However, let’s explore the first possibility initially: can you confirm the complete address you are using?
Foolishly I bough Filter Bar to see if I could overcome this problem by using Category filtering but when in horizontal or vertical format it does not display the βcategoryβ or βTAGβ options even though they are selected to show in settings.
There could be a logical explanation, but I’d really need to see your site to get a better sense of what’s happening.
It doesn’t look like you provided a domain when you created this topic – is that because your site is currently inaccessible, or are you able to share the URL (by private reply if you prefer) so I can take a look?
Thanks!
March 11, 2015 at 7:37 am in reply to: Missing events in sitemap, 404 error in GWT, 500 error importing facebook #947548Barry
MemberI don’t have any particular recommendations to make in terms of sitemap plugins (and, strangely enough, the one I thought you ewre referring to was simply the first I found when I searched the wordpress.org directory using the plugin title you provided).
The question isβ¦is there in The events Calendar any mechanism, that hide older events, so they are not in the site map anymore and number of links in the sitemap.xml goes down as time goes?
Nothing exists for this specific purpose but, of course, every event is also linked to a set of dates. Suppose the plugin you are using has a hook that lets you decide whether or not a particular post should be included in the sitemap then, in the case of events, you could easily use tribe_get_end_date() to determine if it should be included or not.
With that said, I have no idea if the plugin you are using has the hooks that would be needed for this and it’s very much customization/custom integration territory so we’d really need to leave this one in your hands.
Even so, if you have any more specific questions (such as you need help writing code to figure out how old an event is), please just let us know!
March 11, 2015 at 7:21 am in reply to: Special Characters in Month Tooltip displaying as html #947545Barry
MemberHi Trent,
So the problem stems from the change you made (on the basis of that other forum post) — in other words, when that customization is not in place you don’t see the problem?
Barry
MemberThat’s a good question.
So you’re also duplicating the database, in addition to the plugin/theme files, when you’re creating these new sites?
Other than clearing out the actual event, venue and organizer data, so long as you are happy for the same settings to carry across to the new site I don’t really think there is anything in the database you’d need to clean out (at least not in the current release).
However, you will also inherit other bits of the original site’s ‘state’ and, in future releases, that means you may also end up with a queue of events that are still to be created, etc, which could create odd side effects on the new site (though I’m speculating a little here), so longer term it may not be the ideal approach.
I hope that helps π
March 11, 2015 at 7:08 am in reply to: Mobile View Issue: Days of week not shortening and dots not opening events pages #947541Barry
MemberFantastic, glad you figured it all out and thanks for sharing the final solution π
March 10, 2015 at 5:05 pm in reply to: Missing events in sitemap, 404 error in GWT, 500 error importing facebook #947453Barry
MemberHi Jakub,
Thanks for getting in touch π
The first thing I need to highlight is that we try hard to stick to one issue per topic, so let’s concentrate on the first issue here and if you need assistance with points 2 and 3 please do post new topics and one of the team will be only too happy to help.
Even if i have about 1000+ events in database (future and older), the sitemap.xml show me just about 470, when I add some this number changes, but next day it is the same.
Can you confirm that this is the plugin you are referring to – https://wordpress.org/plugins/google-news-sitemap-generator/ – and are you aware it is fairly old and boasts a warning at the top of the plugin page?
This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
That may indicate that the time has come to move on to a currently supported plugin, unless you are happy with the way it works/there is a compelling reason to stick with it.
I also see it states it only includes posts from the last 2 days – might that be relevant here in relation to the behaviour you have described?
What do you think?
Barry
MemberHi Robert,
When you create, update or delete a recurring event a potentially large number of posts need to be created, amended or destroyed (there is a post for every single instance in each chain of recurring events). Unfortunately, that can result in timeouts – which may be what you are hitting up against when you describe things as frozen.
There are two angles to the problems you are describing. One is that you need a hosting package that is sufficiently powerful to tolerate the volume of data (and traffic) you are dealing with – and perhaps your existing package isn’t quite at the right level.
The other is that our current approach to updating and managing recurring events is in need of some adjustments to help avoid timeout issues and to provide a friendlier user interface that lets you know how things are progressing. This is, in fact, in the works as we speak and all things being equal we’ll seem some changes roll out in our very next release.
In the meantime you can try this experimental plugin which bolts on some of the planned changes without requiring you to change any core plugin code; please do bear in mind that at this point it is not itself something we can offer further support for and it’s very much a case of “use at your own risk”, but it may provide some temporary relief until our next release arrives.
March 10, 2015 at 11:55 am in reply to: Related events – images and incorrect recurring event tag #947345Barry
MemberHi Laurie,
How can I override the default image that is displayed if no feature image is specified?
Please check out our Themer’s Guide which explains the process for creating template overrides (a safe way of customizing things). In this case, you need to override the pro/related-events.php template and modify this fragment of code:
'<img src="' . trailingslashit( TribeEventsPro::instance()->pluginUrl ) . 'resources/images/tribe-related-events-placeholder.png" alt="' . get_the_title( $post->ID ) . '" />'The idea would be to change the value of src to your prefered placeholder image URL.
How can I make adjust the size of the image? (e.g. make it a bit smaller?)
In the very same template we request:
get_the_post_thumbnail( $post->ID, 'large' )Instead of ‘large’, though, any of the sizes listed here can be specified (and/or the author of your custom theme can dictate the dimensions these sizes translate to). Setting up some custom CSS is also a valid way to go and a rule like this might help:
.tribe-events-single ul.tribe-related-events .tribe-related-events-thumbnail img { width: 80px }Of course, you would need to play with the actual value to get the fit you desire.
-
AuthorPosts
