Jürgen

Forum Replies Created

Viewing 15 posts - 16 through 30 (of 31 total)
  • Author
    Posts
  • Jürgen
    Participant

    Hi Geoff,

    you are right, I accidentally copied the same link twice.
    The original code is found here :

    https://gist.github.com/theeventscalendar/eedc81ba148e0346dfee

    I´ve followed the instructions here : https://theeventscalendar.com/knowledgebase/selling-tickets-from-the-woocommerce-products-page/

    So, what I´m trying to achieve, is simply to move the ticket section in that above form back on top just above the picture – to make sure, customers actually find the “buy now” button.

    Appreciate your help,

    Jürgen

    in reply to: Missing Events in menu-admin page #1103411
    Jürgen
    Participant

    Hi Cliff,

    that was ist, thank you.

    Yes, it would be nice to share that knowledge with others, it would have taken me forever to think about that option.

    Have a nice weekend,

    Jürgen

    in reply to: Missing Events in menu-admin page #1103381
    Jürgen
    Participant

    Hi Cliff,

    I´ve followed the instructions, but if you take a look at the screenshot, I´ve supplied with my initial post, there is NO Events-Meta Box at all. All there is is :

    Events – Locations
    Events – Categories
    Events – Venues

    BUT NO EVENTS-META BOX at all :-(((

    So it´s really difficult for me to follow the instructions if a vital part is missing.

    What can I do to make it appear ?

    Thank you in advance,

    Jürgen

    Jürgen
    Participant

    Hi Geoff,

    this is an example of the single event template – I copied the code from github as you´ve described it in the knowledgebase.
    What I want to achieve is, that the tickets-section moves up below the title, right on top of the picture.

    I had achieved that with the original template, just as was described in your tutorials, but since I changed the template, the effect is gone.

    That´s the snippet, I added to the functions.php :
    <?php
    /*
    * Moves the front-end ticket purchase form, accepts WP action/hook and optional hook priority
    *
    * @param $ticket_location_action WP Action/hook to display the ticket form at
    * @param $ticket_location_priority Priority for the WP Action
    */
    function tribe_etp_move_tickets_purchase_form ( $ticket_location_action, $ticket_location_priority = 10 ) {
    if ( ! class_exists( ‘Tribe__Tickets__Tickets’) ) return;
    $etp_classes = array(
    ‘Easy_Digital_Downloads’ => ‘Tribe__Tickets_Plus__Commerce__EDD__Main’,
    ‘ShoppVersion’ => ‘Tribe__Tickets_Plus__Commerce__Shopp__Main’,
    ‘WP_eCommerce’ => ‘Tribe__Tickets_Plus__Commerce__WPEC__Main’,
    ‘Woocommerce’ => ‘Tribe__Tickets_Plus__Commerce__WooCommerce__Main’,
    ‘Tribe__Tickets__Tickets’ => ‘Tribe__Tickets__RSVP’,
    );
    foreach ( $etp_classes as $ecommerce_class => $ticket_class) {
    if ( ! class_exists( $ecommerce_class ) || ! class_exists( $ticket_class ) ) continue;
    $form_display_function = array( $ticket_class::get_instance(), ‘front_end_tickets_form’ );
    if ( has_action ( ‘tribe_events_single_event_after_the_meta’, $form_display_function ) ) {
    remove_action( ‘tribe_events_single_event_after_the_meta’, $form_display_function, 5 );
    add_action( $ticket_location_action, $form_display_function, $ticket_location_priority );
    }
    }
    }
    /*
    * TO MOVE THE TICKET FORM UNCOMMENT ONE OF THE FOLLOWING BY REMOVING THE //
    */
    /*
    * Uncomment to Move Ticket Form Below Related Events
    */
    //tribe_etp_move_tickets_purchase_form( ‘tribe_events_single_event_after_the_meta’, 20 );
    /*
    * Uncomment to Move Ticket Form Below the Event Description
    */
    //tribe_etp_move_tickets_purchase_form( ‘tribe_events_single_event_after_the_content’, 5 );
    /*
    * Uncomment to Move Ticket Form Above the Event Description
    */
    //tribe_etp_move_tickets_purchase_form( ‘tribe_events_single_event_before_the_content’ );

    Got it from here : https://gist.github.com/elimn/a7dcd0a63815db583c1e

    And I need it modified, so that it applies to the new template, which code I found here :

    https://gist.github.com/elimn/a7dcd0a63815db583c1e

    and it looks like this :

    <?php
    $count = 0;
    echo ‘

      ‘;
      foreach ( $tickets as $ticket ) {
      global $product;
      $count++;
      if ( class_exists( ‘WC_Product_Simple’ ) ) $product = new WC_Product_Simple( $ticket->ID );
      else $product = new WC_Product( $ticket->ID );
      $price = $product->get_price_html();
      $link = ‘get_permalink() . ‘”>Buy!‘;
      echo “

    • $ticket->name $price $link
    • “;
      }
      if ( 0 === $count )
      echo ‘

    • There are no tickets available for this event
    • ‘;
      echo ‘

    ‘;

    So you see, I took it all off your resources.

    If you need anything else, just let me know,

    Regards,

    Jürgen

    Jürgen
    Participant

    This reply is private.

    Jürgen
    Participant

    Hi George,
    just wanted to tell you, that the dayname problem seems fixed with the newest update.

    Thank you and take care,

    Jürgen

    Jürgen
    Participant

    Hi George,

    yes, currently it´s the only issue – except, that the Google maps API message still is there…

    I will then wait for the next update and see, if the problem with the weekday abbr. is solved.

    Take care,

    Jürgen

    Jürgen
    Participant

    This reply is private.

    Jürgen
    Participant

    Hi George,

    I switched my Template to the WP Bakery Total theme, now the update was without any issues.
    Except, that the display of the Weekdays on small screens is again set to the full name.

    I copied the html code below, so you can take a look at the german version…

    Just have a look yourself…

    http://vps10025.alfahosting-vps.de/events/

    By the way, I only changed code regarding colors…

    <tr>

    <th id=”tribe-events-montag” title=”Montag” data-day-abbr=”Mo”>Montag</th>
    <th id=”tribe-events-dienstag” title=”Dienstag” data-day-abbr=”Di”>Dienstag</th
    <th id=”tribe-events-mittwoch” title=”Mittwoch” data-day-abbr=”Mi”>Mittwoch</th>
    <th id=”tribe-events-donnerstag” title=”Donnerstag” data-day-abbr=”Do”>Donnerstag</th>
    <th id=”tribe-events-freitag” title=”Freitag” data-day-abbr=”Fr”>Freitag</th>
    <th id=”tribe-events-samstag” title=”Samstag” data-day-abbr=”Sa”>Samstag</th>
    <th id=”tribe-events-sonntag” title=”Sonntag” data-day-abbr=”So”>Sonntag</th> </tr>

    Happy Easter,

    Jürgen

    Jürgen
    Participant

    Hi George,

    today, you released 4.1. But when I´m installing it, it srews my complete calendar setup.
    The footer widget gets erased out of the widget area, the settings are all to default (css, fonst, colors etc.) and I get a notice, that the pro plugin was disabled because of missing data.

    So I just switched back to 4.07, but what I don´t know is, if it´s my fault or if there is something with your update.

    Just let me know, so I can fix it, if it is on my side.

    Regards,
    Jürgen

    Jürgen
    Participant

    Hi George,

    sounds fine with me. I guess, it´s going to be released through an update, so for now, my issues are solved.
    Thank you and have a nice day,

    Jürgen

    Jürgen
    Participant

    Hi George,

    it´s not a hosted website, but a virtual server with a fixed IP Adress.

    Could it be, that my themebuilders (Anariel) missed something while including the events calendar ?

    Yes, I can live with it, but if you might come across a solution to this issue, please let me know, an empty console is nice in a way, don´t you think ?

    Regards Jürgen

    Jürgen
    Participant

    Hi George,

    it shows up as soon as I open any page from the events calendar, where the goolge map is included.

    I don´t have any other Google maps in my website.

    Jürgen
    Participant

    Hi George,

    I finally found the mistake ! It was all mine !! !

    I wanted to edit some php files and found some code snippets in your documentation. So I added it to the functions.php of my site, where I completely forgot it.

    I just removed it and all the views are in order now.

    I still get a message saying that the google maps api is missing:

    “Google Maps API warning: NoApiKeys https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys&#8221;

    Should be related to events-calendar.

    But it´s only an information, no error.

    Thank you for your help and patience,

    With kind regards,
    Jürgen

    Jürgen
    Participant

    This reply is private.

    • This reply was modified 10 years, 2 months ago by Jürgen.
Viewing 15 posts - 16 through 30 (of 31 total)