JiveDig
Forum Replies Created
-
Oh wait, I lied… the group calendar was differnt. I changed it to site default and now it works! Woot! Thanks.
@nick Interesting, the single calendars are fine (already set to Site Default). The grouped calendar is showing the wrong dates, it’s set to Site Default as well.
Forum: Plugins
In reply to: [Carbon Fields] Carbon based front end forms?Thanks. Can you point me to the file (and possibly hook/function/method) to give me a head start? I’m curious to try it. I’m a dev with coding experience already with ACF/CMB2/Piklist so I’d love to give Carbon a spin. I won’t blow up your support, I promise ??
+1 on this feature. I’m playing with lots of front-end posting/editing lately, so this would go a long way there.
Currently, front end posting won’t allow any media/image uploads to the main content of a post. This really limits the scenarios where front end posting/editing could be used.
Already on it. I’m making client wait on recurring donations until it’s out. Thanks.
Forum: Plugins
In reply to: [Simple Post Expiration] Change post status after post expiresI’m working on similar right now.
@jamzth – I just saw your plugin on GH, nice work. It looks like you run wp_update_post on ‘the_title’ filter. I’m curious when this actually runs. I don’t think it will be automatic, but will require a user to hit a page on the website, right? I like this solution better.. but curious of its reliability.
@pippin – I’m nervous about the reliability of cron jobs. Do you have thoughts on this pull request? And/or do you anticipate including it? I’m trying to decide which route to go here.
@luis – howdy brother! We keep crossing paths!
Same issue here with:
WooCommerce Poor Guys Swiss Knife Version: 2.2.4
WooCommerce Rich Guys Swiss Knife Version: 2.3.4Setting empty values for coupon message and coupon link message still doesn’t work.
If I remove my extra fields in WooCommerce Checkout Order Section then it works.
I’m getting a JS error too:
Uncaught TypeError: Cannot read property ‘replace’ of undefined…which is the $html line here:
jQuery("label[display='terms']").each(function(i, terms){ var $terms = jQuery(terms); $html = $terms.attr("terms").replace(""", "\""); var $container = jQuery("<div id=\"terms_" + i + "\" style=\"display:none\"></div>"); $container.html($html); $button = $terms.html(); var $toggle = jQuery("<span> <a href=\"javascript:void(0)\" onclick=\"jQuery('#terms_" + i + "').toggle();\">" + $button + "</a></span>"); $for = $terms.attr("for"); $checkbox = jQuery("#" + $for); $checkbox.before($container); $terms.html($toggle); });
Forum: Plugins
In reply to: [LH User Taxonomies] wp_set_user_terms?According to this code, it works fine https://www.ads-software.com/support/topic/working-with-acf-v5-taxonomy-field?replies=3
Forum: Plugins
In reply to: [Simple Locator] Possible to search distance between posts & user?Got it working.. awesome.
/** * Save ACF Google Map field to separate coordinate fields for Simple Locator plugin * @uses Advanced Custom Fields Pro * @author Mike Hemberger https://thestizmedia.com */ add_action( 'acf/save_post', 'tsm_save_location_to_separate_coordinates', 10 ); function tsm_save_location_to_separate_coordinates( $post_id ) { // Bail early if no ACF data if( empty($_POST['acf']) ) { return; } // ACF Google Map field key $location = $_POST['acf']['field_5512f75d518d8']; // Bail if address field is empty if ( empty($location) ) { return; } // Lattitude $latitude = $location['lat']; // Longitude $longitude = $location['lng']; // Add the coordinates from ACF to separate fields update_post_meta( $post_id, 'my_custom_latitude', $latitude ); update_post_meta( $post_id, 'my_custom_longitude', $longitude ); }
Forum: Plugins
In reply to: [Simple Locator] Possible to search distance between posts & user?I’m in this situation too.. debating how to move forward.
Considering creating an acf/save_post function to save the values in the ACF array to new, separate custom fields.
That might be a way to support ACF if that filter was included in the plugin. This project is so heavily based on ACF (Pro) that I’m not comfortable adding a separate plugin in to handle custom fields for half the data.. but the map/locator stuff would be a great addition if it could work.
Forum: Plugins
In reply to: [Seriously Simple Podcasting] "Download File" link redirecting to homepageHey @hugh, I’m @SpearsMarketing’s developer. I copied the themes and plugins directory to local, and did a full database sync via Migrate DB Pro, so my local environment (DesktopServer) is running an exact copy. The image URLs are pointed to the CDN, so I didn’t copy the full uploads directory… super strange issue here.
Also, on local, all recent versions of SSP worked. Thanks for your help with all this. The site with the issue gets a LOT of traffic, so naturally this is extremely important to us ??
Forum: Plugins
In reply to: [Weekly Class Schedule] Removing the WCS PrefixThis is working for me.
// Change args of custom post type created in a plugin add_action('init', 'tsm_class_register_post_type'); function tsm_class_register_post_type() { // Change 'wcs3_class' slug to 'program' register_post_type( 'wcs3_class', array( 'labels' => array( 'name' => __('Programs'), 'singular_name' => __('Program') ), 'public' => true, 'has_archive' => true, 'rewrite' => array( 'slug' => 'program' ) ) ); // Change 'wcs3_instructor' slug to 'instructor' register_post_type( 'wcs3_instructor', array( 'labels' => array( 'name' => __('Instructors'), 'singular_name' => __('Instructor') ), 'public' => true, 'has_archive' => true, 'rewrite' => array( 'slug' => 'instructor' ) ) ); }
Forum: Plugins
In reply to: [Styles] Save and publish issue@dimitris33 – Are you using a theme/add-on with Styles?
Wow.. @garyj (twitter) just schooled me again.
If you want to learn from a master check out Gamajo.Here is tested and working code.
// Show count of total users that are approved $count = 0; foreach ($members as $member) { $user_status = pw_new_user_approve()->get_user_status( $member->ID ); if ( $user_status == 'approved' ) { $count++; } } echo '<p>Total members: ' . $count . '</p>';