clownguts
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] 5.7.1 – Analytics crashing@markout I’d say your issue must be slightly different as you have that functions line correct. Glad the downgrade sorted it out however there is a security vulnerability in versions under 5.7.0 so just be mindful of that https://developer.woocommerce.com/2021/09/22/important-security-patch-released-in-woocommerce/
Forum: Plugins
In reply to: [WooCommerce] 5.7.1 – Analytics crashingEDIT: This solution does work just make sure when you copy and paste the code you need to redo the apostrophes as they format incorrectly.
// temporarily dosables WOO Analytics info on dashboard – disables all Woo Analytics! add_filter( 'woocommerce_admin_disabled', '__return_true' );- This reply was modified 4 years, 6 months ago by clownguts. Reason: Solution does work corrected for mistake
I am having the exact same problem. I am using 1.4.6 and have updated the access token with the blue button but it still won’t show for me.
Ok looks like a theme conflict as when i switched to 2015 it worked fine. What should I be looking at with the theme?
Hi Frank,
When I go to that link it loads up a page with a 0 on it. It isn’t redirecting to the homepage. I don’t have any redirects active.
Nathan
Forum: Fixing WordPress
In reply to: Weird visitorTracker code suddenly on my siteThe easiest way I can tell now when the files are modified is that the permissions change to 0655 instead of 0644
Forum: Plugins
In reply to: [Infusionsoft Gravity Forms Add-on] Append to Infusionsoft Person NotesNone from me but maybe the developers could shed some light on it
Forum: Plugins
In reply to: [Infusionsoft Gravity Forms Add-on] Append to Infusionsoft Person NotesSorry. I actually put that answer under the wrong question. You can append to a persons notes field by mapping your Gravity Forms field to the ‘ContactNotes’ field.
Forum: Plugins
In reply to: [Infusionsoft Gravity Forms Add-on] Append to Infusionsoft Person NotesThat is a restriction from Infusionsoft. You can however overcome this by creating a custom field for putting the notes into and appending to that
Forum: Plugins
In reply to: [Infusionsoft Gravity Forms Add-on] No fields displayedJust thought I would chime in here. I am using WordPress 4.2.2 and Gravity Forms 1.9.11.1 and it is working perfectly. I am not running any other plugins so maybe you have a plugin conflict??
Worked out that it was the way I entered the score results. It is a percentage and not the actual score out of 40 they received. Once I changed that it worked perfectly.
Thanks Frank,
I made a work around by putting this code in the Quiz Master Next directory:
class Filosofo_WP_Delayed_Email_Factory { public function __construct() { add_action('delayed_mail_carrier', array(&$this, 'event_delayed_mail_carrier')); } /** * Create a custom object to hold the mail information. * * @param array $mail_args The arguments to pass to wp_mail * @return int The ID of the object. */ private function _create_scheduled_object($mail_args = array()) { $data = array( 'post_content' => 'This is a dummy content for a mail parcel object. Please ignore.', 'post_type' => '_delayed_mail_parcel', 'post_status' => 'draft', ); $object_id = (int) wp_insert_post($data); if ( ! empty( $object_id ) ) { update_post_meta($object_id, '_delayed_mail_data', $mail_args); } return $object_id; } /** * Get the arguments for the scheduled email. * * @param int The ID of the object. * @return array The data to pass as arguments to wp_mail */ private function _get_scheduled_arguments($object_id = 0) { $object_id = (int) $object_id; $return = get_post_meta($object_id, '_delayed_mail_data', true); if ( is_array($return) ) { return $return; } else { return array(); } } public function event_delayed_mail_carrier($parcel_id = 0) { $parcel_id = (int) $parcel_id; $args = get_post_meta($parcel_id, '_delayed_mail_data', true); $_obj = get_post($parcel_id); if ( is_array($args) && isset($_obj->post_type) && '_delayed_mail_parcel' == $_obj->post_type ) { call_user_func_array('wp_mail', $args); wp_delete_post($parcel_id, true); } } public function schedule_mail() { $args = func_get_args(); if ( ! is_array($args) ) { return false; } $time = array_shift($args); $obj_id = $this->_create_scheduled_object($args); if ( 0 < $obj_id && $time > time() ) { wp_schedule_single_event( $time, 'delayed_mail_carrier', array($obj_id)); } } } function init_filosofo_wp_delayed_email() { global $filosofo_wp_delayed_email; $filosofo_wp_delayed_email = new Filosofo_WP_Delayed_Email_Factory; } function wp_delayed_mail() { global $filosofo_wp_delayed_email; $args = func_get_args(); call_user_func_array(array(&$filosofo_wp_delayed_email, 'schedule_mail'), $args); } function set_html_content_type() { return 'text/html'; } add_filter( 'wp_mail_content_type', 'set_html_content_type'); add_action('plugins_loaded', 'init_filosofo_wp_delayed_email');I then overwrote the wp_mail with this in the qmn_quiz.php file under User email:
wp_delayed_mail(time() + ( 60 * 60 * 24 )Thanks
Hi Frank,
I sorted this one out.
Thanks
I have the same issue as kato801. I have started a new thread though
Forum: Plugins
In reply to: [ImageMapper] Add title on hover-over?Hi Cogdiss,
You can add mouseover text by going to ‘Image map areas’ in your WordPress Admin then go to ‘All Image map areas’. Click on the first one in the list to edit it then you will see on the bottom right hand side a section that says ‘Settings’. Put the text you want to appear on mouse hover in here then Update it. You will need to do it for each one then.
Hope that helps
Cheers