andresgl
Forum Replies Created
-
Hi,
Is there an estimated time for when this feature will be released?
Cancelling an event with over 30 attendees at the last minute is a pain in the ass. we need to go one by one changing the status os the booking. and then remove the event or change it to draft.
Thanks,
I have the same issue. I am using Versión 4.2.8.4
I thought it was a bug in a plugin I’m developing, perhaps by calling the save hook incorrectly. However, I deactivated my plugin and the issue persists in EventPrime.
Thanks!
Looking forward to an update
Thanks for your reply.
One more question about the limit ticket availability.
How can I set a time frame in hours if only allows days?
I tried 0.5 and it doesn’t work.

Thanks,
Forum: Plugins
In reply to: [EventPrime – Events Calendar, Bookings and Tickets] hour unitHi,
Is there a way to set up the “Ticker Available Till” 1h or even 30min before the Event Start?

Will it work 0.0417?
0.0417 = 1h in days
Thanks
Forum: Plugins
In reply to: [WP Store Locator] Display dropdown option in the custom listing templateI solved my problem using the the field type “checkbox” although it will be nice if there is a solution if someone want to use the field type “dropdown”.
Creating a new tab with the custom fields with the filter “wpsl_meta_box_fields” https://wpstorelocator.co/document/add-custom-meta-data-to-store-locations/:
add_filter( 'wpsl_meta_box_fields', 'custom_meta_box_fields' ); function custom_meta_box_fields( $meta_fields ) { $meta_fields[__( 'Additional Stockist Information', 'wpsl' )] = array( 'retail_store_orders' => array( 'label' => __( 'Retail Store Orders?', 'wpsl' ), 'type' => 'checkbox', ), 'website_orders' => array( 'label' => __( 'Website Orders?', 'wpsl' ), 'type' => 'checkbox', ), 'email_orders' => array( 'label' => __( 'Email Orders?', 'wpsl' ), 'type' => 'checkbox', ), ); return $meta_fields; }Including additional meta data in the JSON response on the front end with the filter “wpsl_frontend_meta_fields” https://wpstorelocator.co/document/wpsl_frontend_meta_fields/
add_filter( 'wpsl_frontend_meta_fields', 'custom_frontend_meta_fields' ); function custom_frontend_meta_fields( $store_fields ) { $store_fields['wpsl_retail_store_orders'] = array( 'name' => 'retail_store_orders', 'type' => 'checkbox' ); $store_fields['wpsl_website_orders'] = array( 'name' => 'website_orders', 'type' => 'checkbox' ); $store_fields['wpsl_email_orders'] = array( 'name' => 'email_orders', 'type' => 'checkbox' ); return $store_fields; }Creating a custom template with the filter wpsl_listing_template to show the custom fields https://wpstorelocator.co/?s=wpsl_listing_template&post_type=wpsl_doc
///// // Showing Custom option to order via website, Local store or phone //// $listing_template .= "\t\t" . '<div class="order-via">' . "\r\n"; // retail store order $listing_template .= "\t\t\t" . '<% if ( retail_store_orders ) { %>' . "\r\n"; $listing_template .= "\t\t\t" . '<p class="retail_store">' . __( '<span>Retail Store</span>', 'wpsl' ) . '</p>' . "\r\n"; $listing_template .= "\t\t\t" . '<% } %>' . "\r\n"; // website order $listing_template .= "\t\t\t" . '<% if ( website_orders ) { %>' . "\r\n"; $listing_template .= "\t\t\t" . '<p class="website">' . __( '<span>Website</span>', 'wpsl' ) . '</p>' . "\r\n"; $listing_template .= "\t\t\t" . '<% } %>' . "\r\n"; // phoe order $listing_template .= "\t\t\t" . '<% if ( email_orders ) { %>' . "\r\n"; $listing_template .= "\t\t\t" . '<p class="mail_order">' . __( '<span>Mail Order</span>', 'wpsl' ) . '</p>' . "\r\n"; $listing_template .= "\t\t\t" . '<% } %>' . "\r\n"; $listing_template .= "\t\t" . '</div>' . "\r\n"; ///// // END Showing Custom option to order via website, Local store or phone ////- This reply was modified 7 years, 11 months ago by andresgl.
Forum: Plugins
In reply to: [WP Store Locator] Custom Link in map marker info boxHi fadeindigital,
I think you have to create a custom template with the filter “wpsl_info_window_template” –> https://wpstorelocator.co/document/wpsl_info_window_template/
But first, you have to create a custom “Metabox Field” with the filter “wpsl_meta_box_fields” –> https://wpstorelocator.co/document/add-custom-meta-data-to-store-locations/
Hope it helps you.
All the best,
AndrésForum: Plugins
In reply to: [Really Simple CAPTCHA] Phishing scrips since I installed the pluginThank you 🙂
Forum: Plugins
In reply to: [Permalink Manager Lite] PHP Notice: Trying to get property of non-object inSorry for the late answer Maciej,
Yes. Thank you sooooo much for your help. The support experience has been amazing.
Regards,
Forum: Plugins
In reply to: [Permalink Manager Lite] PHP Notice: Trying to get property of non-object inForum: Plugins
In reply to: [Permalink Manager Lite] PHP Notice: Trying to get property of non-object inForum: Plugins
In reply to: [Permalink Manager Lite] PHP Notice: Trying to get property of non-object inHi Maciej
1-
/wp-admin/post.php?post=100&action=editYes, that URL (with the post ID 100) works (I can edit it). Also if I pass the post ID of the post are not working to that url, I can edit them.
2-
This is the URIS listhttps://gist.github.com/8535acb41b0502b3f1788e4e1066a543I guess the URI with %type% are the post I removed
Thank you
- This reply was modified 9 years, 6 months ago by andresgl.
Forum: Plugins
In reply to: [Permalink Manager Lite] PHP Notice: Trying to get property of non-object inHi @mbis
Thank you sooo much for your help.
Here you go the returned array in a post which is not working properly:
Array ( [original_post_id] => 110 [original_post] => no object! [revision_post_id] => [revision_post] => no object! )And here is the returned array of a post which is working fine:
Array ( [original_post_id] => 162 [original_post] => WP_Post Object ( [ID] => 162 [post_author] => 1 [post_date] => 2016-11-16 10:01:13 [post_date_gmt] => 2016-11-16 10:01:13 [post_content] => Post Content [post_title] => Post Title [post_excerpt] => [post_status] => publish [comment_status] => closed [ping_status] => closed [post_password] => [post_name] => Post Name [to_ping] => [pinged] => [post_modified] => 2016-11-16 10:01:13 [post_modified_gmt] => 2016-11-16 10:01:13 [post_content_filtered] => [post_parent] => 0 [guid] => http://mydomain.com/?post_type=seatings&p=162 [menu_order] => 0 [post_type] => seatings [post_mime_type] => [comment_count] => 0 [filter] => raw ) [revision_post_id] => [revision_post] => no object! )Thank you!
Hi @junaidbhura,
Thank you so much for your answer and piece of code. Yep, definitely your option is much better 😀 I will made modifications following your advice.
For example, if you turn off the Advanced Custom Fields plugin you would get errors all over the place as well
That is true, but when I use ACF I export the code and I paste the code on the functions.php
I just want to be sure that the images will be always displayed because is a really huge site with an incalculable amount of images.
Thanks a lot.
Well,
I have solved the problem by my self. It should be different ways to do it but at the moment my way is working:
ACF gallery documentation:
<a href="<?php echo $image['url']; ?>"> <img src="<?php echo $image['sizes']['thumbnail']; ?>" alt="<?php echo $image['alt']; ?>" /> </a>Remplace for:
<a href="<?php echo $image['url']; ?>"> <?php $imageid = $image['id']; $fly_image = fly_get_attachment_image_src($imageid, 'grid-1-1', true); ?> <img src="<?php echo $fly_image['src']; ?>" alt="<?php echo $image['alt']; ?>" /> </a>🙂
Cheers,