Barry

Forum Replies Created

Viewing 15 posts - 2,371 through 2,385 (of 17,936 total)
  • Author
    Posts
  • in reply to: Remove venue #1030872
    Barry
    Member

    Hi Koro,

    You’d need to create the tribe-events directory within your theme directory. Please take a look at our Themer’s Guide for a more detailed explanation πŸ™‚

    in reply to: 'View As' Dropdown Not Obvious #1030866
    Barry
    Member

    Hi Carolin,

    Thanks for clarifying – I see what you mean now.

    There are various ways you could style it to make it clearer that it functions as a dropdown, for instance here’s a basic CSS-based approach (nothing more than a starting point):

    .tribe-bar-views-list li:first-child a span::after {
      content: '\2193';
    }

    Alternatively, if you prefer to revert to the raw select element, you could add some CSS like this:

    #tribe-bar-views [name="tribe-bar-view"] {
      display: inline-block;
    }
    
    #tribe-bar-views .tribe-bar-views-list {
      display: none;
    }

    To find out more about adding custom CSS, please refer to our Themer’s Guide — does that help?

    in reply to: Remove venue #1030838
    Barry
    Member

    Hi Koro,

    So do you mean you wish to remove the venue information from individual event pages?

    If so, I’d recommend reading through our Themer’s Guide in the first instance as this covers many of the basic steps needed to safely customize and override our default templates πŸ™‚

    In this specific case, the change could be as simple as creating a new completely blank file at:

    themes/YOUR_THEME/tribe-events/modules/meta/venue.php

    This would prevent any of the default venue information from being exposed. To add the city name, you could find the appropriate position and within a custom single-event.php template you could add a line of code like this:

    <?php echo tribe_get_city(); ?>

    Does that help?

    in reply to: 'View As' Dropdown Not Obvious #1030835
    Barry
    Member

    Hi Carolin,

    It sounds like you are experiencing something other than what you find if you visit our demo site:

    wpshindig.com/events

    I wonder, could you share your domain (by private reply if you prefer) so I could take a look first hand and see if there is any obvious reason for the discrepancy?

    in reply to: Filter Bar Fix Crashed Plug In #1030823
    Barry
    Member

    Hi @eandp,

    I’m sorry to hear you’ve had such a rough experience – that’s unfortunate but hopefully we can help get you back on track.

    What I’d recommend is working toward restoring our plugins using the most recent releases currently available. One way to do this would be to navigate to the wp-content/plugins directory (via FTP if you are happy with that approach) and remove The Events Calendar and any other of our event plugins such as Filter Bar and Community Events.

    Next, download fresh copies of those plugins from wordpress.org and our downloads page.

    From here you have a couple of choices. If you can now access your WordPress dashboard then you might be able to go to the plugin screen and upload the plugin zips and activate them from there. If you cannot access the dashboard/your admin environment on the other hand, that might suggest a more serious problem and we should possibly stop and consider your options on that front.

    Alternatively, you can upload the plugins via FTP – but remember that you will of course have to unzip them. If you don’t have a means of doing that once they are on your server, you may prefer to unzip them locally before you upload them.

    From there, try reactivating them and flush your permalinks by visiting the Settings → Permalinks screen (you don’t need to change anything – just visiting this screen refreshes a list of rules kept by WordPress).

    Does that help?

    in reply to: Recurring Event Occurrences List #1030821
    Barry
    Member

    This reply is private.

    in reply to: Recurring Event Occurrences List #1030813
    Barry
    Member

    Hi @inhouse,

    It’s returning extra dates. It’s returning today’s date and time mixed in with 1 legit date. I was getting only 1 date when I tried using

    That’s odd, particularly the fact that you are seeing today’s date repeatedly. Without knowing exactly what’s in your database it’s hard to say exactly, but here is a revised version of the function:

    https://gist.github.com/anonymous/4dc500f657b858244dff

    I’ll reply to your private question in a separate post πŸ™‚

    in reply to: Cost field – not showing all of text. #1030802
    Barry
    Member

    I’m not sure why it wouldn’t be working for you – it certainly seems to work when I test it – but you could alternatively replace your current line of code for displaying the cost (in your custom template) with:

    echo esc_html( get_post_meta( $post_id, '_EventCost', true ) );
    Barry
    Member

    Hi Susan,

    I wanted to drop by since Geoff is largely out this week and you’ve been waiting a few days already πŸ™‚

    The problem with using either get_the_content() or the_content() in this situation is that both assume you are interested in the current post. In the context of a single event view, that means the event itself, not the venue or organizer.

    However, you can certainly obtain and display them by doing something like this:

    echo apply_filters(
        'the_content', 
        get_post_field( 'post_content', tribe_get_organizer_id() )
    );

    That arguably isn’t the preferred way – but it will probably do the trick for you in this specific case. Note you can swap out tribe_get_organizer_id() with tribe_get_venue_id() to get the venue description.

    Last but not least, though we’re more than happy to steer you in the right direction if we can, I do want to highlight that there is a limit to the amount of customization support we can offer. It is also important you understand changes like these sufficiently well to be able to maintain them yourself in future.

    With that in mind, it might be that you prefer to work with an independent developer/designer if you think you’re going to need further assistance with these items – check out this useful list of folks who might be able to help further if so πŸ™‚

    Does that help?

    in reply to: Which Themes and add ons needed? #1030433
    Barry
    Member

    Hi Mckenzie!

    Thanks for posting. It looks like that website is making good use of Map View which ships with Events Calendar PRO (current prices can be found on the product page).

    As to the theme, I’m afraid I can’t really guide you there. There are lots of great theme marketplaces out there and there are probably a number of different themes that offer a similar look and feel – all I can really suggest on that front is searching until you find a few that look like they meet your needs (though our plugins generally work well and look great with any standards-compliant theme) πŸ™‚

    I hope that helps!

    Barry
    Member

    Hi there Devin,

    Great question!

    I’m afraid that at this time there is no such option. It is certainly possible to build a customization to accomplish this, however it doesn’t come as standard at this time.

    I hope that answers your question but let me know if you need any further information πŸ™‚

    in reply to: Cost field – not showing all of text. #1030425
    Barry
    Member

    Hi Susan.

    The nature of the cost field has been changed a little and it’s not really expected to contain ‘plain text’ at this point. However, it’s certainly possible to add a small customization to restore the behaviour you are looking for:

    function cost_as_plain_text( $cost, $post_id ) {
    	return esc_html( get_post_meta( $post_id, '_EventCost', true ) );
    }
    
    add_filter( 'tribe_get_cost', 'cost_as_plain_text', 100, 2 );

    If you add the above code to a custom plugin or to your theme’s functions.php file you should be able to restore the display of text such as “$15.00 per month”.

    Does that help?

    in reply to: Dates For Calendar Are Not #1030419
    Barry
    Member

    Hi Evan,

    I’m sorry to hear you are hitting difficulties.

    The 5 day camp you refer to does indeed seem to span June 20 – August 24th best I can tell looking at the frontend so I’m intrigued to hear that the dates are very different in the admin environment.

    The first thing that came to mind when I read your description was that this might be due to over-aggressive caching (whereby the output is “frozen in time” and won’t necessarily reflect updates or changes the moment they are made) however I see no signs of caching plugins in the system information you shared. Please let me know if I’m wrong on that count.

    The second thing I noticed is the unusual permalink structure. Though the main events view is pretty much as I would expect, I’m intrigued by the range of permalinks for individual events. Normally I’d expect them to all be of the pattern event/single-event-name whereas there is a lot of variety when I look at your calendar that can’t be explained by adjustments to our standard settings alone.

    Additionally, the single event template appears not to be in use at all (I’m not even sure that I’m looking at a standard theme override as described in the Themer’s Guide) … all this – coupled with the fact that we aren’t seeing similar reports from other users – makes me wonder about the extent and nature of customizations that have been applied to your site.

    Can you provide any more detail with regards to any customizations you have implemented? Can you also confirm if the specific problem you detailed with regards to the date ranges persists under default conditions?

    Thanks!

    in reply to: Recurring Event Occurrences List #1030417
    Barry
    Member

    Hi @inhouse,

    Thanks for posting!

    I have to be upfront and make it clear our support for customizations is fairly limited, but I’d be happy to try and steer you in the right direction if I can.

    Here’s a starting point you might add to a custom plugin or even to your theme’s functions.php file:

    function add_recurring_event_dates() {
    	global $wpdb;
    
    	// If it's not a recurring event we don't care
    	if ( ! tribe_is_recurring_event() ) return;
    
    	$current_event = get_the_ID();
    	$parent_event  = get_post_field( 'post_parent', $current_event );
    	$root_event    = ( 0 === $parent_event ) ? $current_event : $parent_event;
    
    	// It would be nice to use tribe_get_events() or a WP_Query here, but results may
    	// not be consistent due to recurrence_collapse_sql() logic amongst other things
    	$instances = $wpdb->get_col( $wpdb->prepare( "
    		SELECT ID
    		FROM   $wpdb->posts
    		WHERE  post_parent = %d
    	", $root_event ) );
    
    	if ( empty( $instances ) ) return;
    
    	echo 'All dates: ';
    	$dates = array_map( 'tribe_get_start_date', $instances );
    	echo implode( ',', $dates );
    }
    
    add_action( 'tribe_events_after_the_meta', 'add_recurring_event_dates' );
    add_action( 'tribe_events_single_event_after_the_meta', 'add_recurring_event_dates' );

    I would stress it is just a starting point and nothing more, there are many improvements and tweaks you could make not only in terms of formatting but in controlling where this is exposed — but perhaps it will be enough to get you headed in the right direction?

    in reply to: Date not right #1030410
    Barry
    Member

    Hi Lisa,

    I’m sorry to hear you’re hitting difficulties … that’s a really strange one!

    No obvious reasons are jumping out at me for this one; but I wonder if you could try our standard troubleshooting steps just in case something else is conflicting?

Viewing 15 posts - 2,371 through 2,385 (of 17,936 total)