Title: friedhelm's Replies | WordPress.org

---

# friedhelm

  [  ](https://wordpress.org/support/users/friedhelm/)

 *   [Profile](https://wordpress.org/support/users/friedhelm/)
 *   [Topics Started](https://wordpress.org/support/users/friedhelm/topics/)
 *   [Replies Created](https://wordpress.org/support/users/friedhelm/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/friedhelm/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/friedhelm/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/friedhelm/engagements/)
 *   [Favorites](https://wordpress.org/support/users/friedhelm/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/users/friedhelm/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/friedhelm/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Print Invoice & Delivery Notes for WooCommerce] Fatal error](https://wordpress.org/support/topic/fatal-error-4976/)
 *  Thread Starter [friedhelm](https://wordpress.org/support/users/friedhelm/)
 * (@friedhelm)
 * [3 weeks, 1 day ago](https://wordpress.org/support/topic/fatal-error-4976/#post-18887948)
 * //print_r( $post );
 * //$order_id = ( $post instanceof WP_Post ) ? $post->ID : $post->get_id();
 * $order_id = ( $post instanceof WP_Post ) ? $post->ID : wc_get_order( $post->ID);
 * i changed this in class-backend.php, now its working…
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PixMagix - WordPress Image Editor] Image Data is Missing error](https://wordpress.org/support/topic/image-data-is-missing-error/)
 *  [friedhelm](https://wordpress.org/support/users/friedhelm/)
 * (@friedhelm)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/image-data-is-missing-error/#post-18231736)
 * Really nice plugin! 
   I had the same problem until set the PHP **allow_url_fopen**
   to **On**.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, and more!] Cancellation of booking not possible with #_BOOKINGBUTTON in frontend](https://wordpress.org/support/topic/cancellation-of-booking-not-possible-with-_bookingbutton-in-frontend/)
 *  Thread Starter [friedhelm](https://wordpress.org/support/users/friedhelm/)
 * (@friedhelm)
 * [2 years ago](https://wordpress.org/support/topic/cancellation-of-booking-not-possible-with-_bookingbutton-in-frontend/#post-17732607)
 * Marc found a solution – [https://wordpress.org/support/topic/booking-cancellation-causes-error/](https://wordpress.org/support/topic/booking-cancellation-causes-error/)
 * its a real bug!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, and more!] since 6.4.6.4 #_BOOKINGBUTTON” not canceling events](https://wordpress.org/support/topic/since-6-4-6-4-_bookingbutton-not-canceling-events/)
 *  Thread Starter [friedhelm](https://wordpress.org/support/users/friedhelm/)
 * (@friedhelm)
 * [2 years ago](https://wordpress.org/support/topic/since-6-4-6-4-_bookingbutton-not-canceling-events/#post-17731164)
 * still not working has anyone an answer?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP-SCSS] 3.0 PHP Errors](https://wordpress.org/support/topic/3-0-php-errors/)
 *  [friedhelm](https://wordpress.org/support/users/friedhelm/)
 * (@friedhelm)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/3-0-php-errors/#post-16212214)
 * [@poooooow](https://wordpress.org/support/users/poooooow/) -> that only works
   if you don’t compile. as soon you compile a changed sass-file the error comes
   again.
    only solution is to go back to last version…
 * or:
 * found this on github: [https://github.com/ConnectThink/WP-SCSS/issues/238#issuecomment-1319849784](https://github.com/ConnectThink/WP-SCSS/issues/238#issuecomment-1319849784)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Germanized for WooCommerce] container sizes and number of shipments](https://wordpress.org/support/topic/container-sizes-and-number-of-shipments/)
 *  Thread Starter [friedhelm](https://wordpress.org/support/users/friedhelm/)
 * (@friedhelm)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/container-sizes-and-number-of-shipments/#post-15735830)
 * I found a solution:
 * The system needs three items to generate three shipments.
    Ok, I’ll give the 
   system three positions.
 * For this I created a dummy product “Shipping unit” and set the visibility to 
   private (so that it is not visible in the shop).
 * Now I can click on “Add order items” in order and specify the required number
   of “shipping units”.
 * Now I can create the required number of shipments below for shipments, including
   weight information etc.
 * 🙂
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Theme support for post-thumbnails stopped working after upgrading to WP 5.7](https://wordpress.org/support/topic/theme-support-for-post-thumbnails-stopped-working-after-upgrading-to-wp-5-7/)
 *  [friedhelm](https://wordpress.org/support/users/friedhelm/)
 * (@friedhelm)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/theme-support-for-post-thumbnails-stopped-working-after-upgrading-to-wp-5-7/page/3/#post-14644222)
 * I had the same Problem.
    After hours of scratching my head I found out, that 
   the Templatename of my parent them was wrong written in the style.css of the 
   child theme. After correcting it the featured image where shown correct in backend
   🙂 yeah! So look very carefully for bugs in the child-theme-header of style.css
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Add-on WooCommerce - MailPoet 3] newsletter-abbo from checkout does not work](https://wordpress.org/support/topic/newsletter-abbo-from-checkout-does-not-work/)
 *  Thread Starter [friedhelm](https://wordpress.org/support/users/friedhelm/)
 * (@friedhelm)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/newsletter-abbo-from-checkout-does-not-work/#post-12226878)
 * It was a bug in the WooCommerce-germanized-plugin. The plugin overwrites the 
   Standard-Terms-Checkbox of WooCommerce and so the checkboxes of Mailpoet and 
   your Plugin.
    Dennis, the developer of germanized linked a new template for germanized,
   so now its working perfect: [https://raw.githubusercontent.com/vendidero/woocommerce-germanized/master/templates/checkout/terms.php](https://raw.githubusercontent.com/vendidero/woocommerce-germanized/master/templates/checkout/terms.php)
 * Thanks a lot!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Add-on WooCommerce - MailPoet 3] newsletter-abbo from checkout does not work](https://wordpress.org/support/topic/newsletter-abbo-from-checkout-does-not-work/)
 *  Thread Starter [friedhelm](https://wordpress.org/support/users/friedhelm/)
 * (@friedhelm)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/newsletter-abbo-from-checkout-does-not-work/#post-12205584)
 * I did a local installation of the shop and reduced all plugins to the following:
 * a. WooCommerce
    b. MailPoet 3 (New) c. Add-on WooCommerce MailPoet 3
 * therefore I found out there are **two** possibilities to double-opt mailpoet:
 * 1. in the mailpoet-3-plugin in mailpoet -> einstellungen -> WooCommerce.
    there
   i can set the option “Opt-in auf Bezahlseite”.
 * 2. setting the option in WooCommerce -> einstellungen-> mailpoet -> Abonnement
   aktivieren?
    (this is your plugin)
 * ———
 * in the end there are two option fields on the checkout in the payment-div.
 * but only the 1. possibility is working in my configuration and the status of 
   the customer changes from “ausgetragen” to “eingetragen”.
 * ———
 * then i tried to switch on
 * d. WooCommerce germanized.
 * after that even 1. possibility didn’t work. (the option-field on the checkout
   was not visible, only yours)
 * ———–
 * so i think i give it up now, customers shall register in the form 😐
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Add-on WooCommerce - MailPoet 3] newsletter-abbo from checkout does not work](https://wordpress.org/support/topic/newsletter-abbo-from-checkout-does-not-work/)
 *  Thread Starter [friedhelm](https://wordpress.org/support/users/friedhelm/)
 * (@friedhelm)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/newsletter-abbo-from-checkout-does-not-work/#post-12200737)
 * this was fast!
 * 1. No
    2. MailPoet Version 3.41.0, Add-on WooCommerce MailPoet 3 Version 1.1.7
   3. Yes, No errors 4. No 5. Vor Abschicken der Bestellung, its the 8th position
 * thanks a lot !
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Pods - Custom Content Types and Fields] Pods CPTs not showing in WP Ultimo](https://wordpress.org/support/topic/pods-cpts-not-showing-in-wp-ultimo/)
 *  [friedhelm](https://wordpress.org/support/users/friedhelm/)
 * (@friedhelm)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/pods-cpts-not-showing-in-wp-ultimo/#post-11258287)
 * i have a similar problem with multilingual press and pods.
 * 1. if i use “Custom Post Type UI”, i can see the custom post types in network
   admin settings wich are saved in the main site of the network.
 * 2. if i do the same thing with pods, the custom post types are not seen in the
   network admin setting.
 * -> in the network admin wordpress can’t see any custom post types because wordpress
   can’t know wich blog to look for
    -> so network admin of multilingual press looks
   in the main site for custom post types.
 * i used Query Monitor to find out what is when loaded in the “plugins_loaded” –
   hook and found out that pods are not loaded in the admin, so no plugin can see
   the custom post types of the main site.
 * so now my question:
    is there a way to display the custom post types of the main-
   site in the network admin by “get_post_types”?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, and more!] again #_BOOKINGBUTTON](https://wordpress.org/support/topic/again-_bookingbutton/)
 *  Thread Starter [friedhelm](https://wordpress.org/support/users/friedhelm/)
 * (@friedhelm)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/again-_bookingbutton/#post-3397452)
 * sorry, there is a little mistake in the script:
 * instead of $EM_Booking->booking_id it should be $Current_user_booking_id!
 *     ```
       <?php if ($Current_user_booking_id) : ?>
       <a id="em-cancel-button_<?php echo $Current_user_booking_id; ?>_<?php echo wp_create_nonce('booking_cancel'); ?>" class="button em-cancel-button"><?php echo $button_cancel; ?></a>
       <?php else: ?>
       <span class="em-full-button"><?php echo $notice_full ?></span>
       <?php endif; ?>
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, and more!] again #_BOOKINGBUTTON](https://wordpress.org/support/topic/again-_bookingbutton/)
 *  Thread Starter [friedhelm](https://wordpress.org/support/users/friedhelm/)
 * (@friedhelm)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/again-_bookingbutton/#post-3397441)
 * here are my settings:
 * 1. settings > bookings > general Options >Can users cancel their booking? > yes.
   
   2. settings > bookings > general Options >Allow double bookings? > no.
 * i am using version em Version 5.3.5,
    emp Version 2.2.8.
 * i made a testcourse with two spaces and reserved this course with two different
   logged-in customers.
 * if the last customer loggs in and tries to canel his course he gets the message:“
   Sold Out” but no cancel-button.
 * in my template i use `$EM_Event->output('#_BOOKINGBUTTON')`, so i think this 
   calls the “bookingbutton.php”.
 * therefore i copied the file “bookingbutton.php” from its originalplace in
    plug-
   ins/events-manager/templates/placeholders to: mytheme/plug-ins/events-manager/
   placeholders.
 * in “bookingbutton.php” i found in line 31 `<?php echo $notice_full ?>` witch 
   gives me the “Sold Out” message.
 * but in my case it should go to line 25 `<?php echo $button_cancel; ?>`to give
   me the cancel-button. here the scripts looks for double-booking (dbem_bookings_double)
   and if the user is allowed to cancel bookings (dbem_bookings_user_cancellation),
   but i dont know what `$EM_Booking->status != 3`means?
 * so i commented line 31 out and tried to find out if the logged-in user has a 
   corresponding booking_id (even the course is fully booked):
 * `<?php $Current_user_booking_id = $EM_Event->get_bookings()->has_booking(get_current_user_id())-
   >booking_id; ?>`
 * and if so show a cancel-button:
 *     ```
       <?php if ($Current_user_booking_id) : ?>
       <a id="em-cancel-button_<?php echo $EM_Booking->booking_id; ?>_<?php echo wp_create_nonce('booking_cancel'); ?>" class="button em-cancel-button"><?php echo $button_cancel; ?></a>
       <?php else: ?>
       <span class="em-full-button"><?php echo $notice_full ?></span>
       <?php endif; ?>
       ```
   
 * this work for me, but i think it could be made between line 24 and 26?
 * thanks a lot !
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, and more!] again #_BOOKINGBUTTON](https://wordpress.org/support/topic/again-_bookingbutton/)
 *  Thread Starter [friedhelm](https://wordpress.org/support/users/friedhelm/)
 * (@friedhelm)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/again-_bookingbutton/#post-3397304)
 * [here](http://www.sports-and-health.de/siebentage/testkurs/) is the link for 
   our bookingpage, i made it as a template.
 * in the original bookingbutton.php there is only a message that the course full
   is, no possibility to cancel the course for a loggedin user, so i tried this:
 * the last few lines in the script:
 *     ```
       <?php elseif( $EM_Event->get_bookings()->get_available_spaces() <= 0 ): ?>
       <?php $Current_user_booking_id = $EM_Event->get_bookings()->has_booking(get_current_user_id())->booking_id; ?>
       <?php //echo ($Current_user_booking_id) ?>
       <a id="em-cancel-button_<?php echo $Current_user_booking_id; ?>_<?php echo wp_create_nonce('booking_cancel'); ?>" class="button em-cancel-button"><?php echo $button_cancel; ?></a>
       <span class="em-full-button"><?php //echo $notice_full ?></span>
       <?php endif; ?>
       ```
   
 * ps: i hope i found the right “backticks”
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, and more!] '#_BOOKINGFORM' gives wrong message -> 'booking closed'](https://wordpress.org/support/topic/_bookingform-gives-wrong-message-booking-closed/)
 *  Thread Starter [friedhelm](https://wordpress.org/support/users/friedhelm/)
 * (@friedhelm)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/_bookingform-gives-wrong-message-booking-closed/#post-3322261)
 * here is a link -> [http://www.sports-and-health.de/siebentage/](http://www.sports-and-health.de/siebentage/)
 * thanks to markus we found our mistake:
 * when updating the times for the recourrent courses for the new year, we forgot
   to update the times for the booking times, we had 2012 but 2013 is right (happy
   new year!), so no one could reservate for that course.
 * many thanks for your help and interest!

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/users/friedhelm/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/friedhelm/replies/page/2/?output_format=md)