Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • I have the same question – This plugin is exactly what I’m looking for, but I want to be able to choose whether today’s stats (food, exercise, vitals) are published / added to a post or not.

    I had the exact same problem – and I tried a few things to fix it. I couldn’t figure it out, either. I changed a few things that ended up causing other problems like duplicate requests, etc. But, I took a step back and approached it from a different angle.

    Regardless of the ‘error message’ displayed when a user submits their information, the request is sent to the site only once. If the same user repeats their information, a new request is not sent. So – the intent of the code is working. The site admin only receives one request per email address / username.

    Therefore, the easiest way to ‘fix’ the problem was to change the message from an “error” message to a “Thank you” message.

    In the murm.php file, I changed the following code

    FROM

    if( $this->d->is_duplicate_request( $username, $email ) ) {
    			$this->log( 'rr denied - duplicate request', 3 );
    			return $this->shortcode_error( __( 'Error! Another request with this username or e-mail address has already been submitted.' , self::txd ) );
    		}

    TO

    if( $this->d->is_duplicate_request( $username, $email ) ) {
    			$this->log( 'rr denied - duplicate request', 3 );
    			return $this->shortcode_error( __( 'Your request has been sent to the site administrator. Thank you!' , self::txd ) );
    		}

    Yep, I just changed it to a thank you message. Had I never known this was originally an error message, I wouldn’t be any the wiser.

    Is this an acceptable long-term solution – of course not.

    Will it work until the developer can post a fix – sure will!

    Jeff

Viewing 2 replies - 1 through 2 (of 2 total)