Forum Replies Created
-
AuthorPosts
-
August 11, 2016 at 4:28 pm in reply to: fixed date for changing between month week and daily view #1150759
Brook
ParticipantHowdy Marian,
I would love to help you with this.
Actually the calendar should already be doing that by default. Give it a spin on our demo site: http://wpshindig.com/events/2016-10-20/
You’ll notice that if you switch to week view, the same week will be shown. Switch to month, same month. Switch back to day, same day…
Is that how you wanted it to behave?
Cheers!
– Brook
Brook
ParticipantHowdy Hannah,
I would love to help you with this. I’ll answer your questions one at a time:
I was wondering how extensively one can edit admin notification emails and customer emails using this plugin? Is there an editable template in the dashboard, or does it require more extensive customization? On a similar note, can event order receipts be sent to multiple emails?
All of the emails are completely customizeable. Some will come from WooCommerce itself, and can be overriden with your own template file inside of your theme’s folder. The ticket email, the one which contains the actual tickets, does come from our plugin. This too can be overridden in the exact same manner. We have a full guide on creating overrides like this here: Themer’s Guide
Also, is it possible to add a SKU code to events that is also included in order emails?
Yes, it will be up to you to specify the SKU. There is no default SKU.
And one other question: will order #s for events be continuous with existing WooCommerce orders, or will they be kept separate? As in, if our latest WooCommerce order is #400, will the first event order after installing this plugin be WooCommerce order #401 or Event Ticket #1? If that makes any sense.
That makes perfect sense. The actual order number will follow WooCommerce’s, so it would be order# 401. The ticket number though will be unique to the event. Let’s say you have an event entitled “Movie Theater Night” and a customer orders 5 tickets. The order # would be 401, and 5 tickets will be generated: MTN-1, MTN-2…. MTN-5.
Does that make sense? Cheers!
– Brook
August 11, 2016 at 4:20 pm in reply to: Attempting to solve Eventbrite Tickets activation issue and now unable to get ba #1150756Brook
ParticipantHowdy Janice,
Man I am sorry that is giving you so much trouble. It is really weird it would have told you that. If you click this link, are you still not able to comment?
Here is what he said:
– When you go to ‘WP-Admin > Events > Settings > API’ do you see the EventBrite API settings configured?
– If so, does clicking the ‘Get Authorization’ button take you to EventBrite site and allowing the API use takes you back to your site with this success message displaying →https://cloudup.com/czY2NCnflzS ?
– If the EventBrite API settings are not showing in the API tabs of the settings, cna you please check that the plugin is installed and activated?I’m guessing you could see his full post, and what you mean by “I do not see what he directed me to after clicking Get Authorisation” is that you do not see the sucess message. Do you see any message whatsoever? Would you mind if I tried temporarily activating a test site with your eventbrite app ID and key? It is in the system info you have already shared, but I’d like your permission before trying to activate it on my site. I want to double check and make sure the key even can be activated.
Cheers!
– Brook
Brook
ParticipantHowdy Frank,
I would love to help you with this.
the following snippet should do exactly that for you. Paste the following snippet at the top of your theme’s functions.php file. Replace the opening “<?php” with this snippet, as this snippet includes that opening tag.
https://gist.github.com/elimn/6129520508249de627913ad2ee012bb8
Did that do the trick?
Cheers!
– Brook
Brook
ParticipantThis reply is private.
Brook
ParticipantHowdy Chris,
Thank you for reaching out about this. And I really appreciate your feedback on UV and the fee calculator.
I do not have a snippet that does exactly, that, although I do have a snippet for creating your own fee calculations:
function tribe_calculate_cart_fees_custom( $wc_cart ) { $cart = new Tribe__Events__Community__Tickets__Cart_Custom(); $cart->calculate_cart_fees( $wc_cart ); } remove_action( 'woocommerce_cart_calculate_fees', array( Tribe__Events__Community__Tickets__Main::instance(), 'calculate_cart_fees' ) ); add_action( 'woocommerce_cart_calculate_fees', 'tribe_calculate_cart_fees_custom' ); class Tribe__Events__Community__Tickets__Cart_Custom extends Tribe__Events__Community__Tickets__Cart { /** * loops over items in an order and breaks them down into receivers, amounts, and opportunities for fees * * @param array $items Items to loop over (cart items, order items, etc) * * @return array Array of receivers and fees */ public function parse_order( $items ) { $receivers = array(); $fees = array(); $main = Tribe__Events__Community__Tickets__Main::instance(); $options = get_option( Tribe__Events__Community__Tickets__Main::OPTIONNAME ); if ( $main->is_split_payments_enabled() ) { $site_receiver_email = $options['paypal_receiver_email']; } else { $woocommerce_options = get_option( 'woocommerce_paypal_settings' ); $site_receiver_email = isset( $woocommerce_options['receiver_email'] ) ? $woocommerce_options['receiver_email'] : ''; } if ( count( $items ) > 0 ) { foreach ( $items as $item ) { if ( empty( $item['quantity'] ) && empty( $item['qty'] ) ) { continue; } $event_id = get_post_meta( $item['product_id'], '_tribe_wooticket_for_event', true ); // if the event doesn't exist, skip if ( ! $event_id || ! ( $event = get_post( $event_id ) ) ) { continue; } $event_creator = get_user_by( 'id', $event->post_author ); $receiver_email = $site_receiver_email; if ( $main->is_split_payments_enabled() ) { $creator_options = $main->payment_options_form()->get_meta( $event_creator->ID ); $receiver_email = $creator_options['paypal_account_email']; } $payment_fee_setting = $main->get_payment_fee_setting( $event ); $product_id = $item['product_id']; $line_item = $item['line_total']; $receiver_total = $this->gateway()->ticket_price( $line_item, 'pass' !== $payment_fee_setting ); // set up the receiver if ( isset( $receivers[ $receiver_email ] ) ) { $receivers[ $receiver_email ]['amount'] = number_format( $receivers[ $receiver_email ]['amount'] + $receiver_total, 2, '.', '' ); } else { $receiver = array( 'user_id' => $event_creator->ID, 'payment_fee_setting' => $payment_fee_setting, 'email' => $receiver_email, 'amount' => 0, 'primary' => 'false', ); $receiver['amount'] = number_format( $receiver['amount'] + $receiver_total, 2, '.', '' ); $receivers[ $receiver_email ] = $receiver; }//end else // track flat fee deduction requirements if ( ! isset( $fees[ $receiver_email ] ) ) { $fees[ $receiver_email ] = array(); } // The following is new code that gives each ticket its own flat fee, rather than each events $quantity = (int) empty( $item['quantity'] ) ? $item['qty'] : $item['quantity']; $item_price = $item[ 'data' ]->price; for ( $i = 0; $i < $quantity; $i++ ) { $fees[ $receiver_email ][] = array( 'event_id' => $event_id, 'price' => $this->gateway()->ticket_price( $item_price, 'pass' !== $payment_fee_setting ), ); } } } return array( 'receivers' => $receivers, 'fees' => $fees, ); } }That allows you to override the default fee calculator with an entirely custom one. In the above case it changes the flat fee to be per ticket rather than the default per event. If you wish to further modify it it sounds like you would like to adjust the $item_price variable to include more than just the base price. You might simply multiple it by a set percentage if you know what it will be, or pull in the tax data and add it to the base price.
Firstly Fees should be allowed to be charged on the ‘events tickets’ pro’ plugin… we fully handle events going into the system, but charge per ticket fees… ER perhaps ? (yeah yeah the graveyard user voice forum). Not sure why this feature isn’t part of ‘event tickets’ and then extended into ‘community tickets’.
I’m super interested in knowing why you feel UserVoice is a graveyard. Do you feel like there are too many requests on UserVoice and yours doesn’t stand a chance of getting enough votes? Or that we take too long to respond to ideas? Or that we just aren’t building features on there?
I’m just keen to hear your specific feedback if you have any. While we all take shifts on triage, coordinating UserVoice is my responsibility. So I am always keenly interested in feedback, constructive or otherwise, on that area.
Did that snippet help get you where you need to be?
Cheers!
– Brook
August 11, 2016 at 11:55 am in reply to: Some events have the wrong time listed / Google maps not auto showing #1150684Brook
ParticipantHowdy again,
So I did a lot of testing with this and I am unable to reproduce your issue. When I import that calendar, the event has the proper time along with the rest. I think I am in a different timezone than you. Would you mind grabbing your system information and pasting it 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) Maybe there is something in there that will shed some light on this?
Thanks for your patience Liz. Let me know if you have any questions in the interim.
Cheers!
– Brook
Brook
ParticipantAwesome! Thanks for sharing the code.
Cheers!
– Brook
Brook
ParticipantExcellent! It was my pleasure. I appreciate you getting back and letting me know that worked.
- Brook
Brook
ParticipantHowdy Kreg,
I would love to help you with this.
The first thing I would do if I were you is the first step in this tutorial: Troubleshooting 404 Page Not Found error . I hate to just link you to a tutorial, but that tutorial is so perfectly suited for the issue you’re experiencing I would just go there if I were you and start with the first subheading ( which is basically step 1 ). If that doesn’t fix it, proceed to the next step. Likely the first one will fix this though. Does it?
Cheers!
– Brook
Brook
ParticipantHowdy Peter,
I would love to help you with this.
I am happy to hear that is a useful feature idea for you. It should be an option on your site. After renewing your license, did you update both the Pro and Core plugins? The latest versions are 4.2.x of both of those. If they are both up to date, you should be able to add single day recurrences to an event.
If they are up to date would you mind grabbing your system information and pasting it 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!
– Brook
Brook
ParticipantHowdy Daniel,
I would love to help you with this.
That is possible right now using the “Custom recurrence” option. When you create your recurrence pattern select custom, weekly, then choose your date and time. If this is only happening that one week, then tell it to end after 1 event. Now do that for each of the 5 dates and times, and you’re set!
Does that all make sense? Will that work for you? Please let me know.
Cheers!
– Brook
Brook
ParticipantHowdy Amal,
I would love to help you with this.
The easiest way to trim that list would be to delete the test venue you created. If you go to WP-Admin > Events > Venues, find the Breuillet venue, and delete it, it should disappear from the front end.
If yoou wish to truly filter all venues with no event dynamically, you definitely could. But it will require a goodly measure of programming. If I were you i would extend the class Tribe__Events__Filterbar__Filters__City. Then you could add in your filtering code there, overriding any parent code you need to to facilitate the shorter list. Instantiate this new class of yours, and it will automatically add itself as a Filter Bar option in WP-Admin > Events > Settings > Filters. You can then change your settings on that page to show this new City filter instead of the old one.
Does that all make sense? Will that work for you? Please let me know.
Cheers!
– Brook
Brook
ParticipantHowdy Kate,
I would love to help you with this.
That does sound like a new issue to me. Would you mind sharing a link to your website here so I can test the problem. If you wish to share it as a private reply feel free.
Cheers!
– Brook
Brook
ParticipantHowdy Ryan!
I would love to help you with this.
If you want that function to return just the URL you could take advantage of the filter at the end of it:
function tribe_events_the_mini_calendar_next_link_url() { $tribe_ecp = Tribe__Events__Main::instance(); $args = tribe_events_get_mini_calendar_args(); $url = $tribe_ecp->nextMonth( $args['eventDate'] ); return $url; } add_filter( 'tribe_events_the_mini_calendar_next_link', 'tribe_events_the_mini_calendar_next_link_url' );Inserting that into your functions.php should make it return just the URL. Or, you can now simply call tribe_events_the_mini_calendar_next_link_url() directly to retrieve the URL.
Does that all make sense? Will that work for you? Please let me know.
Cheers!
– Brook
-
AuthorPosts
