Barry

Forum Replies Created

Viewing 15 posts - 7,081 through 7,095 (of 17,936 total)
  • Author
    Posts
  • in reply to: Events Calendar widget: make date link direct to event? #467433
    Barry
    Member

    Hi!

    We welcome any and all feature requests over on our UserVoice – and if the idea has already been submitted you are welcome to upvote it:

    tribe.uservoice.com

    In the meantime, if you want to do this as a customization then you can – it should be possible with a little code in your theme’s functions.php file. Though incomplete (this is purely a potential starting point for you) you could do something like this:

    /**
     * Incomplete function that lets you modify the day links for
     * mini calendar table cells that contain events.
     * 
     * @param $html
     * @return mixed
     */
    function minical_custom_links( $html ) {
    	// We only want to modify links!
    	if ( false === strpos( $html, 'href="#"' ) ) return $html;
    	if ( false === strpos( $html, 'data-day' ) ) return $html;
    
    	// Get the date
    	$matches = array();
    	$match = preg_match( '#data-day="([0-9\-]{10})"#', $html, $matches );
    	
    	// Did we find what we were looking for?
    	if ( ! $match || ! isset( $matches[1] ) ) return $html;
    	$date = $matches[1];
    	
    	// At this point you'll need to weave some additional magic:
    	// you now have a date ($date) that you know contains events - 
    	// you'll need to query to see how many it contains and either 
    	// return the original $html unmodified or else link directly 
    	// to the single event it contains ... good luck!
    	
    	return $html; // Leaving this in place so as not to break things
    }
    
    // Hook up our custom calendar widget links function
    add_filter( 'tribe_events_the_mini_calendar_day_link', 'minical_custom_links' );

    Of course there’s some work for you to do there in determining how many events a given day contains, but it should give you the basic idea.

    Thanks – and good luck 🙂

    Barry
    Member

    Hi aovivo,

    The tickets email basically is a straightforward template (albeit there are also some hooks you can use if you prefer that approach). The original can be found in:

    plugins/the-events-calendar/views/tickets/email.php

    Noting it lives in the core plugin – The Events Calendar – rather than WooCommerce Tickets. Like other templates it can be overridden by placing a copy in:

    themes/your-theme/tribe-events/tickets/email.php

    Naturally it contains PHP but otherwise it’s basically just HTML. Does that help at all? If not we’d love to hear more so we can consider improving this part of our existing docs/tutorials.

    Thanks!

    in reply to: Recurring Events TIMES Error #466984
    Barry
    Member

    I’m sorry you’re facing difficulties.

    Just to confirm, is this the theme you are using? Would you be able to provide a copy (by uploading it to Dropbox or even your WP site and sharing the link via private reply)?

    I can’t guarantee anything, but we could probably take a quick look and see if anything obvious jumps out – do note though there might be a longer delay than normal as we don’t ordinarily do this step 🙂

    Thanks!

    in reply to: adding event date / event name to Woocommerce order list #466946
    Barry
    Member

    Hi – great question!

    That definitely sounds like it should be possible – the WooCommerce order list is, I believe, based on WP_List_Table so extra columns can be added and potentially extra stuff can be added to individual existing columns.

    You could also work back from the order ID and figure out if the order contained tickets and which events they related to if so.

    Right at this time, though, that would very much be a piece of customization work that is a little too involved for us to assist with here on the forum. As ever, we’d more than welcome this as a feature request.

    Thanks!

    Barry
    Member

    Hi!

    WooCommerce allows you to manually create orders – so you could do just that and add the relevant ticket product to the order (and of course ensure the order is “completed”).

    Would that work for you here?

    Barry
    Member

    Hi – sorry you’re hitting difficulties here.

    Is any more detail available?

    • Which WP CLI commands exactly are being used and does this rely on any extending WP CLI with additional packages (if so, which ones)?
    • When you say the command line fails, is there an actual error (or list of errors) you can provide us with?
    • Your service provider indicated it is an issue with the code – have they identified anything in particular?

    We’d love to hear more so we can give this some more consideration – but perhaps in the meantime you or your service provider can use some other means to move the plugins over to the production site?

    Barry
    Member

    Hmm, I suspect this may be an issue with WooCommerce itself. Certainly if I start with a clean setup locally I see the same thing – no coupons exist, yet when orders are placed (relating to tickets or just to regular WooCommerce products) the number of coupons used in total increases.

    Does that sound like the same problem you are seeing? Have you approached WooThemes/the WooCommerce team in case its something they already know about?

    Thanks!

    in reply to: Woocommerce Breaking Cart 66 #459163
    Barry
    Member

    Ahh, that sounds like a pain … but, I’m afraid, we probably won’t be able to offer too much assistance for this one.

    The reality is two or more very similar plugins are often likely to conflict with one another due to a lack of namespacing and other issues.

    Really though if this is something that crops up between Cart 66 and WooCommerce (regardless of whether WooCommerce Tickets itself is active) it’s a question that would be best posed to the authors of those plugins – as if other people have hit up against the challenge of running both side-by-side then they are most likely to know the answer – or perhaps others in those communities will 🙂

    in reply to: I cannot open my list of published events #459158
    Barry
    Member

    Hi salsabrisa – sorry to hear you are experiencing difficulties.

    So – just to clarify – this is impacting on the admin list of events? If so, can you take a look at the Filters & Columns box just above the list … sometimes a filter is accidentally applied and this can impact on the events that are actually listed.

    In the first instance, can you try hitting the Clear button in that box? Does that help?

    Barry
    Member

    Hi!

    The first thing to do here is review our Themer’s Guide which covers the basics for safely overriding and customizing our templates. From there you are probably going to be interested in the modules/address.php template so – in summary – you’d basically copy this from:

    wp-content/plugins/the-events-calendar/views/modules/address.php

    To:

    wp-content/themes/your-theme/tribe-events/modules/address.php

    You can then modify it and re-order things how you would like. Does that help?

    Barry
    Member

    Hi – you can probably achieve this by uploading this simple plugin to your WP site and activating it. Does that help?

    in reply to: Footer Widget for Events Calendar Pro Stopped Working #459096
    Barry
    Member

    Hi – I’m sorry you’re experiencing difficulties.

    The presence of a license key is required to access support and automated updates – but it doesn’t actually impact on anything else and so even if it had expired it wouldn’t mean that the plugin would simply start to fail.

    Can you confirm which widget you are referring to, though? I also see you already tried deactivating all other plugins in the course of troubleshooting: would it be possible to go a step further and also try switching to a default, unmodified theme such as Twenty Thirteen and see if that helps to resolve the problem?

    Thanks!

    in reply to: Clone events w/ ticket #459088
    Barry
    Member

    At this time I’m afraid neither of those are readily achievable without some further customization. That said, we’re always happy to consider new features for future releases – and you can post requests here:

    tribe.uservoice.com

    Of course, you may even find one or both these ideas are already listed – in which case you can simply upvote them.

    Thanks!

    in reply to: Sold out tickets become free?? #459082
    Barry
    Member

    Hi – sorry you’re facing difficulties here.

    I don’t believe this is a bug and I certainly can’t replicate it locally: is it possible that you – or someone else working on your site – inadvertently changed the price to zero and/or there was still stock remaining?

    Or, could it be the ticket products themselves were edited in WooCommerce’s product editor and stock control was turned off (perhaps accidentally)?

    Last but not least, can you reliably replicate this yourself and if so can you provide a step-by-step breakdown to help me replicate the issue?

    Let me know!

    Barry
    Member

    We generally aim for monthly releases (and we’re close to the end of the current cycle, hence the code freeze).

Viewing 15 posts - 7,081 through 7,095 (of 17,936 total)