Barry

Forum Replies Created

Viewing 15 posts - 15,331 through 15,345 (of 17,936 total)
  • Author
    Posts
  • in reply to: wootickets not attaching to confirmation email #45875
    Barry
    Member

    OK, that’s strange. Can you replicate this consistently – ie, does it fail to attach first time each time an order is completed?

    Barry
    Member

    I think the problem is that your theme’s stylesheet is changing the appearance of the relevant fields so that they are stretched and displaced. Can you temporarily switch to Twenty Twelve or Twenty Eleven and see if that resolves this (just so we can be sure as to what is causing the problem)?

    Thanks!

    in reply to: wootickets not attaching to confirmation email #45871
    Barry
    Member

    Hi Rich, in the first instance can I just confirm the order status for the test is/was complete?

    in reply to: Adding extra names when multiple tickets are purchased #45869
    Barry
    Member

    Hi J-P, we’ve definitely taken that feedback on board and it’s under consideration.

    One thing I would add (about the problem of tracking modifications to themes) is that this is true almost every time something other than an out-of-the-box solution is required, but there are various strategies to minimize this problem – such as using child themes and/or any best practices recommended for further customization by the theme vendor.

    Also, though we commonly talk about changing templates or adding code to a theme’s functions.php file that is often just for easiness of explanation – in many cases the code could be wrapped up in a plugin. Here, for instance, the attendee data fields could be injected using one of the hooks provided in the WooCommerce templates.

    That level of coding isn’t for everyone of course, but I just wanted to highlight that this is in no way an impossible situation.

    in reply to: Adding extra names when multiple tickets are purchased #45867
    Barry
    Member

    Hi fcp3org, although you might need to reorder things slightly to turn this into a functional solution you should be able to count the number of attendees during checkout with some fairly simple code – you could then use that to generate the relevant number of fields required to capture attendee data.

    in reply to: WooTicket Number to Default to 1 instead of 0 #45864
    Barry
    Member

    Hi Rich,

    That’s definitely possible and a relatively easy change. First of all though you would need to familiarize yourself with theming The Events Calendar and template overrides in particular – there are links in the Useful Resources widget over on the side to help out here but let me know if you can’t find any information you are looking for.

    The idea though would be to copy tickets.php and place it in your theme’s events sub-directory. Then, look out for this code (somewhere around line 68) and change it as directed in the snippet (basically set input_value to 1).

    Does that help here?

    in reply to: Adding extra names when multiple tickets are purchased #45723
    Barry
    Member

    I am unable to figure out how to get the form for attendees to appear based on the # of tickets ordered

    Just to be sure I’m understanding correctly, you mean if 5 tickets have been ordered you want to loop over your code 5 times (or something like that)?

    in reply to: Default image display size #45722
    Barry
    Member

    Hi Ken,

    If you are happy editing templates/working with template overrides then what you would need to do is edit your custom events/single.php template.

    In there you will see the following line (around line 135):

    the_post_thumbnail();

    You would need to add an argument specifying the size to be used, otherwise it assumes that you want the original image size:

    the_post_thumbnail('large');

    Does that help at all here?

    in reply to: PayPal IPN Request Failure #45720
    Barry
    Member

    Definitely 🙂

    in reply to: Customizing submission form fields #45719
    Barry
    Member

    Neat idea, Barry. Are those files not overwritten with each update?

    Good point 🙂

    Possibly you can direct WordPress to use a different location (ie, outside of the plugin directory) when the text domain is loaded; or, alternatively, all translatable strings can also be filtered.

    Although you probably don’t want a filter running for every single translated string (since you only want to change a single item) you could set this up from within a template override then remove it immediately after it has served its purpose.

    in reply to: Customizing submission form fields #45717
    Barry
    Member

    Regarding the setting of a default author, you could try adding a snippet like this (ensuring you change the author ID from 2 to whatever is appropriate) to your theme’s functions.php file.

    in reply to: Customizing submission form fields #45715
    Barry
    Member

    The only change I couldn’t make through template overrides was to the “Organizer Details” fields.

    One workaround, if you are familiar with (or don’t mind experimenting with) language/translation files is to set up an English translation and change the wording that way.

    Barry
    Member

    Hi hbgdio,

    Good catch: I’ll be sure to report that. In the interim I would recommend the first or both of the following:

    1. Although a warning correctly makes alarm bells ring in fact in this particular scenario PHP resolves the problem without any need for further intervention, so, certainly on your production or “live” site, all you really need to do is turn off the display of errors – which is a recommended practice in any case.

    2. You could put a temporary fix in place quite safely by adding a couple of lines of code within a template override, which I’ll detail below.

    Within your theme you would need an events directory, and that would need to contain a community sub-directory. You should then copy to that location the event-form.php template (you can find the original in plugins/the-events-calendar-community-events/views).

    Next, please locate the following line of code (around line 102) in your custom copy of :

    $this->formEventDetails( $event );

    Add some new lines just before it, as follows:

    global $post;
    if (is_null($post)) $post = new stdClass;

    Does that help at all?

    in reply to: Extra PDFs created #45705
    Barry
    Member

    It’s not a fix as such – more a change in direction – but it should be released at approximately the same time as The Events Calendar 3.0. Right now we think that will be available within 2 months or so – but that’s really more of a rough guide rather than something set in stone.

    in reply to: Monthly event showing every day (in one month only) #45704
    Barry
    Member

    Great – and do let us know the outcome, whether that is a problem with our code or even just that they can’t offer any support and we’ll have another think about what to do on our end.

Viewing 15 posts - 15,331 through 15,345 (of 17,936 total)