Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi Drmikegreen,

    Due to another project I am not able to devote my full attention to this at the moment. I will be done with this in a few weeks and then I will (full of enthusiasm) process / apply the update. I will keep you informed of new developments and whether it worked. Thank you very much for thinking along and responding!

    See you soon.
    LBLW

    Good Morning Ferventsolutions,

    Thank you Greatly! It Works, and the problem is resolved!

    I am so HAPPY that we can still use the plugin. It is a valuable addition to our website.

    I am grateful to you.

    LBLW

    Hi@ Ferventsolutions,

    I get this error per email:

    Error Details
    =============
    An error of type E_ERROR was caused in line 208 of the file /home/u643190560/domains/lblw.nl/public_html/wp-content/plugins/my-bible-reading/admin/mbr_user_fields.php. Error message: Uncaught TypeError: Unsupported operand types: string + int in /home/u643190560/domains/lblw.nl/public_html/wp-content/plugins/my-bible-reading/admin/mbr_user_fields.php:208
    Stack trace:
    #0 /home/u643190560/domains/lblw.nl/public_html/wp-includes/class-wp-hook.php(308): jswj_mbr_user_profile_fields()
    #1 /home/u643190560/domains/lblw.nl/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    #2 /home/u643190560/domains/lblw.nl/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    #3 /home/u643190560/domains/lblw.nl/public_html/wp-admin/user-edit.php(847): do_action()
    #4 {main}
    thrown

    Do you know how i can resolve it?

    I really would like to use the mybiblereading plan, but if i keep getting the error, I’m afraid it will break my website.

    Hi DrMikegreen,

    Thank you for asking ??
    I’m still working on it. Biblebrain searched with me to solve the problem. Due to time constraints, I have not been able to work on the solution this week. If I have more answers I will of course let you know. I also follow Xave’s thread.

    Thread Starter LBLW

    (@lblw)

    Hi Prashant Singh,

    SO very happy that you are replying! Thank you very much.

    I meant I was using the code u gave to another user (question, on this website) to try to get the notification working. But unfortunately, it doesn’t work for me. See the code below. Can u please help me figuring out what to do, so I can get it working? I hope you can help!

    Thank you in advance Prashant Singh!,

    Kind regards,
    LBLW.nl

    <strong><strong>function ps_filter_bp_get_button( $button_contents, $args, $button ) {
    if($args[‘link_text’] == ‘Wish Happy Birthday’){
    $mmbr_id = str_replace(‘private_message-‘, ”, $args[‘id’]);
    $custom_url = get_user_meta($mmbr_id, ‘private_message-‘,true); // If URL is not saved in user_meta then you can change this function to get user URL.
    $button_contents = ‘<div class=”send-private-message generic-button” id=”bpbp-custom-userurl”>Wish Happy Birthday</div>’;
    }
    return $button_contents;
    }
    add_filter( ‘bp_get_button’, ‘ps_filter_bp_get_button’, 10, 3 );</strong></strong>

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