Forum Replies Created
-
AuthorPosts
-
March 7, 2016 at 4:20 pm in reply to: Bug Reopen: Event Start Date & End Date reset when errors returned #1086060
Brook
ParticipantHowdy Johnathan,
I’m happy to clarify. We forgot to release Community Events 4.0.6! Sorry, this was a weird fluke. Everyone who normally would launch a plugin was rushing to get bags packed for the meetup in Costa Rica, and this slipped through the cracks. As soon as it’s actually launched you’ll get a notification that its ready to download, which should happen later this week.
Please let me know if you have any questions.
Cheers!
– Brook
Brook
ParticipantDe nada! – Brook
March 7, 2016 at 11:18 am in reply to: Broken page formatting in organizer list with recurring events #1085946Brook
ParticipantHowdy Tracy,
I would love to help you with this.
It looks like your site has an erroneous closing </div> tag somewhere that it shouldn’t. This is causing the layout to go whack. But I can’t be sure exactly where in your files this tag is. Have you done any Theme Overrides? Did you create this theme?
- Brook
Brook
ParticipantThank you guys very much for getting back so quick.
First of all Arnout, getting rid of this error message and any like it is quite easy. If errors like this are appearing on your live website, I strongly recommend disabling WP_DEBUG_DISPLAY. Those should not be enabled on your live website unless you are a developer testing something. Hopefully this will help remove some of the urgency, as it might be up to a few weeks before we release a version with this patched.
Thank you very much for the stack trace danfeeley. I believe I have zeroed in on the issue using that. It would seem that your databases have an array inside of the _VenueCountry instead of a string. To test this theory could you run the following SQL query on your site:
SELECT * FROM wp_posts INNER JOIN wp_postmeta ON wp_posts.ID = wp_postmeta.post_id WHERE wp_postmeta.meta_key = '_VenueCountry' AND wp_postmeta.meta_value LIKE 'a:%'If that returns any results then you indeed have an array there. I would think that fixing this issue will be as simple as resaving the venue in WordPress. If you make a note of every venue in the results, then go to WP Admin > Events > Venues, click Edit, then click Update. If you do this for each venue it should remove the error from your website. Does that work, or did the above query not return any results? If for some reason you have a gigantic amount of venues with this issue let me know and we might be able to find a way to fix this programatically.
I know the above is pretty technical. You both seem very technically inclined, so I was outlining the easiest way I could think of given your experience. If it’s a bit much though please let me know and we can find more appropriate methods.
Cheers!
– Brook
March 6, 2016 at 11:35 pm in reply to: truncate event titles in month view, or how to keep the grid from expanding #1085752Brook
ParticipantThat’s splendiferous news. Thanks for getting back!
– Brook
Brook
ParticipantHowdy MD,
Hey we’re getting somewhere, that’s good news.
I am not exactly sure what change would impact this. You can see a complete list of changes here. Nothing on that list would have an impact that I can see. :-/ Many of the new files just have to do with automated testing, a feature that’s not even included in the .zip version on your site, because you don’t need testing files for a live site. I wish I could be of more help there. Maybe you’ll see something in the list I missed?
- Brook
Brook
ParticipantHowdy Arnout,
Thanks for taking the time to report this. I have tried hard to reproduce this problem, including with venueless events per danfeeley’s description. I am not seeing any error.
Could you try temporarily disabling WooCommerce for me to see if this goes away? The error you referenced is inside of the WP Function wp_check_invalid_utf8(). This function is not often used, and it’s not used at all in our plugins. However, WooCommerce does use it. So I’m wondering if that is related.
If the above does not work, do you perchance know how to obtain a stacktrace on the error? Commonly people do this be enabling Xdebug, which outputs a stacktrace with each error message. No worries if you don’t know how to do this.
Danfeeley, are you seeing this error on list view as well? Have you tried temporarily disabling your theme overrides? If so, would you mind sharing your system information here? Make sure to use the ‘Set as private reply’ checkbox to protect your private information from the public. You can find the system info by going to WP Admin > Events > Settings, clicking on the “Help” tab, and scrolling down to the ‘System Information’ box. (Or by going to [yoursite]/wp-admin/edit.php?post_type=tribe_events&page=tribe-events-calendar&tab=help) That will give me a lot of extra information to help diagnose the problem.
Cheers!
– BrookBrook
ParticipantHowdy MD,
I am happy to help you with this. I can see the same problem on your site. In inspecting the ajax response I am noticing a PHP error that is preventing it from properly responding:
Warning: Invalid argument supplied for foreach() in /home/bhaddad/public_html/THAI/wp-admin/includes/plugin.php on line 1445
Warning: Cannot modify header information – headers already sent by (output started at /home/bhaddad/public_html/THAI/wp-admin/includes/plugin.php:1445) in /home/bhaddad/public_html/THAI/wp-content/plugins/the-events-calendar/src/Tribe/Template/List.php on line 137
I bet that error stems from the function remove_menu_page() in WordPress. Do you remember using that anywhere on your site, perhaps in a modification to The Events Calendar or your theme? If so I would start there, see if after examining the code you know why it’s causing errors now. Feel free to share that code here and I can help.
If you don’t recall using that function anywhere, and the above error message isn’t helping, then we’ll need to do a standard conflict test to zero in on what is conflicting with the latest version. This guide walks you through how to test for a conflict, and then identify what is conflicting.
I may see the problem…..your Release Notes says Community Events should be 4.06 but that didn’t upgrade and I can’t get that version in Downloads either!
That is totally our bad. I am sorry, that version was not yet released even though it’s in our release notes! A bit of an odd scenario. Our team wastrying to release those versions just prior to us all heading out for a team retreat, and it seems this slipped through the cracks. I’ll let you know once that version of Community is released proper. In the mean time though your site should continue functioning without error, the old version of Community you’re running is compatible with the latest versions of everything else.
Cheers!
– Brook
Brook
ParticipantHowdy Brian,
That is interesting. I’m looking into why this is. I am seeing the same thing on my end. To be honest, it’s quite possible we forgot to release that! Everyone was headed out for our team retread, and something might have slipped through the cracks. 🙁 I’ll get back to you as soon as I know something.
Cheers!
– Brook
March 4, 2016 at 6:43 am in reply to: How to hide the View More link at the end of the widget when using the shortcode #1085199Brook
ParticipantHowdy James,
Good question. The tricky thing about this would be hiding it only in the shortcode, and not the widget (which share the same template). It should be possible though using a dash of CSS:
.entry-content .tribe-events-widget-link{ display:none; }That will hide the the view more link if it is inside of the .entry-content div. In most themes that div will wrap the main content area/article, but won’t wrap the sidebar or footer. Thus if your theme is likely that it will only impact the shortcodes inside of the content area, and not impact widgets which are outside of it.
Does that sound like what you’re looking for?
Cheers!
– Brook
Brook
ParticipantHowdy Valrie,
That’s a unique bit of text you’re trying to modify. All the typical methods for altering it won’t apply, because it’s not part of a language file and thus not translated or filterable. I can totally see why you want to modify it though, this could benefit usability a fair bit.
In your last post I walked you through creating a theme override. That’s going to be necessary here to. You can override public_html/wp-content/plugins/event-tickets/src/admin-views/meta-box.php . Look on line ~80 to see where it outputs those fields.
What you want to modify is the modules array. Specifically alter this key as I show here:
$modules[ 'Tribe__Tickets_Plus__Commerce__WooCommerce__Main' ] = 'Ticket'And there you are, it should be renamed to ticket.
Does that all make sense? Cheers!
– Brook
Brook
ParticipantHowdy Valrie!
I would love to help you with this. It is totally possible to hide that. You will need to create a theme override for the community add/edit page, which will require a little bit of PHP/theming experience.
If you’re not already familiar with our Themer’s Guide, then you might want to look it over first so you understand how to create the override. With that in mind, override this file: public_html/wp-content/plugins/the-events-calendar-community-events/src/views/community/edit-event.php On line ~50 of that file you will see if outputs the visual editor using this function: tribe_community_events_form_content(). You will want to replace this function with your own custom code that outputs your modified visual editor.
I believe the following code is basically what you would want to replace that function with. I actuallyjust copied it from the above function, but I added quicktags=false arg. More info on that here.
if ( ! empty( $_POST['post_content'] ) ) { $post_content = stripslashes( $_POST['post_content'] ); } else { $post_content = ''; } $settings = array( 'wpautop' => true, 'media_buttons' => false, 'quicktags' => false, 'editor_class' => 'frontend', 'textarea_rows' => 5, ); wp_editor( $post_content, 'tcepostcontent', $settings );It might take a little tweaking as I haven’t tested this, but that might even work on its own.
Does that all make sense? Will that work for you? Please let me know.
Cheers!
– Brook
March 4, 2016 at 5:41 am in reply to: truncate event titles in month view, or how to keep the grid from expanding #1085188Brook
ParticipantThanks for getting back.
I can see where you are coming from. Your site is a bit narrower than usual due to the sidebar, so things get more scrunched than the default design works well with.
If you are largely worried about the uneven height then you could throw a little CSS in there to prevent titles from wrapping:
#tribe-events .tribe-events-calendar .tribe-events-month-event-title a { white-space: nowrap; }Combine the above with a smaller “Month view events per day” setting, and you can keep the height/width extremely even. Typically the “Month view events per day” is set to 2 or 3 on sites like yours. This setting can be found in WP-Admin > Events > Settings > Display .
Or, you could force the mobile/responsive view on your site. You can do this by inserting a snippet like this into your functions.php:
function customize_tribe_events_breakpoint() { return 9999; } add_filter( 'tribe_events_mobile_breakpoint', 'customize_tribe_events_breakpoint' );Both of the above will hide a little bit of content from your month view, and the hidden content will be a click away to expand/view it. If you don’t wish to hide anything, then I’d recommend just the CSS I shared at the beginning of this post. It’s probably the best compromise available.
One of those options sound like a good plan?
Cheers!
– Brook
March 4, 2016 at 5:04 am in reply to: does Community Tickets let user select Organizer and Venue when Creating event? #1085183Brook
ParticipantHowdy Glenn,
That is excellent to hear! We do our best to think things through, it’s good to hear that its paying off.
anyway – my (last?) question regards the Attendee management capability. How is it exactly that this program is to be coordinated with an event’s gate personnel in order to verify attendance? haven’t been able to find anything on that in your KB/Forums…
If you wish to use the builtin attendee manager, then the easiest way to coordinate is for the gate personnel to have smartphones or tablets. Give them each an editor type user role on the WordPress website. They can login and check people in, even using a QR scanner if preferred.
If you already have your own attendance manager software, one that likely ties in with other types of ticket sales like at the door walkup sales, then I recommend stopping website ticket sales just prior to the event’s start. You can export the website’s attendee data any number of ways including as a CSV, and integrate it into your attendance manager however works best for you.
oh, and – where are you guys? USA? England? Aus?
Most of us are in the USA and Canada, but we have team members from all over the world. Our map here is not even close to a complete picture, because some on the team didn’t want to share their address publicly.
Does that answer your question?
Cheers!
– Brook
Brook
ParticipantThanks Leanne for the extra info.
We have seen a few folks with similar symptoms. In every case thus far it was a result of the Avada theme update. Avada has recently been integrating The Events Calendar views into their theme, purposefully modifying the Events pages look. Many folks love the new look, but some like you want it to revert back.
Avada offers no way to disable their tweaks other than modifying the theme. And of course no option in Event Settings can disable it either, because all of the changes are coming from Avada.
If you want it to look like it exactly did before you can either downgrade to the past version of the theme, or try modifying the Avada theme and stripping out all of the new modifications. Or, if you just have a few things you’d like to tweak it might be possible for us or Avada’s support to walk you through those changes. You’ll just need to specify what you want changed. Technically it’s supposed to be Avada who would help you modify this, but I’ll happily help you as much as I can.
Cheers!
– Brook
-
AuthorPosts
