Forum Replies Created

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
  •  bit2bit
    Participant

    Hi Radu,

    thanks for the advice.

    I have checked – the “Allow BP plugin hook before submit” was set to YES all the time.

    I am not comfortable with using a plugin that haven’t been updated for over 5 years and does not even have a simple admin-page.

    Is there any other way to plug-in the “Buddypress signup form hook” into BP, something like this one … https://code.hyperspatial.com/all-code/buddypress-code/buddypress-signup-form-hook/ ?

    Thx, kind regards,
    Martin

     bit2bit
    Participant

    Hi Laura,

    thank you for your help. After further investigation, I have found out, that the conflicting plugin is Yoast SEO Premium v3.4. After deactivating this plugin, the registration works again with the home-register template.

    I have informed Yoast about the problem, but did not get any answer yet. I will update this thread, as soon I get an answer from them.

    There is one another problem with home-register I have discovered by adding a CAPTCHA. Since the form on this page is unprotected from spammers, I was getting increasing amount of spammer-registration. To prevent that, I have installed the Buddypress Security Plugin v2.1.1, which works just great with the default BP registration page, but does not show up on home-register.

    Is there any way to add CAPTCHA protection there?

    Thank you!
    Kind Regards,

    Martin

     bit2bit
    Participant

    Hi,

    this is the function mentioned in the log, where the error occurs (… /bp-core-dependency.php:230):

    function bp_setup_current_user() {
    $skip_warning = (
    ( isset( $_REQUEST[‘wp_customize’] ) && ‘on’ === $_REQUEST[‘wp_customize’] ) ||
    ( is_admin() && ‘customize.php’ === basename( $_SERVER[‘PHP_SELF’] ) )
    );

    if ( ! $skip_warning && ! did_action( ‘after_setup_theme’ ) ) {
    $e = new Exception;
    $trace = $e->getTraceAsString();

    _doing_it_wrong( __FUNCTION__, __( ‘The current user is being initialized without using $wp->init().’, ‘buddypress’ ) . “\n===\nTrace:\n” . substr( $trace, strpos( $trace, ‘#6’ ) ) . “\n===\n”, ‘1.7’ );
    }

    /**
    * Fires to set up the current user setup process.
    *
    * @since 1.7.0
    */
    do_action( ‘bp_setup_current_user’ );

    What does this line mean:

    The current user is being initialized without using $wp->init().

    Please help.

    Thank you!

    Kind Regards,
    Martin

     bit2bit
    Participant

    Hi,

    this is the log entry after a user trying to register via https://passiondo.com/home-register:

    [24-Jul-2016 09:25:45 UTC] PHP 11. get_current_user_id() /var/www/passiondo.com/htdocs/wp-content/plugins/wordpress-seo-premium/admin/class-yoast-notification-center.php:421
    [24-Jul-2016 09:25:45 UTC] PHP 12. wp_get_current_user() /var/www/passiondo.com/htdocs/wp-includes/user.php:426
    [24-Jul-2016 09:25:45 UTC] PHP 13. _wp_get_current_user() /var/www/passiondo.com/htdocs/wp-includes/pluggable.php:69
    [24-Jul-2016 09:25:45 UTC] PHP 14. wp_set_current_user() /var/www/passiondo.com/htdocs/wp-includes/user.php:2471
    [24-Jul-2016 09:25:45 UTC] PHP 15. do_action() /var/www/passiondo.com/htdocs/wp-includes/pluggable.php:47
    [24-Jul-2016 09:25:45 UTC] PHP 16. call_user_func_array:{/var/www/passiondo.com/htdocs/wp-includes/plugin.php:525}() /var/www/passiondo.com/htdocs/wp-includes/plugin.php:525
    [24-Jul-2016 09:25:45 UTC] PHP 17. bp_setup_current_user() /var/www/passiondo.com/htdocs/wp-includes/plugin.php:525
    [24-Jul-2016 09:25:45 UTC] PHP 18. _doing_it_wrong() /var/www/passiondo.com/htdocs/wp-content/plugins/buddypress/bp-core/bp-core-dependency.php:230
    [24-Jul-2016 09:25:45 UTC] PHP 19. trigger_error() /var/www/passiondo.com/htdocs/wp-includes/functions.php:3897

    Best Regards,
    Martin

    in reply to: BP Profile Cover causing Mixed Content Warning #69297
     bit2bit
    Participant

    Btw, when you look at it in the Firefox or Chrome Console, you’ll see, that the only action triggered by the save-button is “Empty string passed on to getElementById().

    Cheers

    in reply to: BP Profile Cover causing Mixed Content Warning #69293
     bit2bit
    Participant

    Hi Andrei!

    I have already tried that, I have disabled the Redis-Cache completely, purged the entire site-cache and browser-cache, disabled the default cover as well and tried uploading a cover – nothing changed. The strange thing about it is, that none of the pictures I have tried over my very extensive testing did ever appear in the wordpress-media-overview (mediathek), so it looks like it does not upload the image at all.

    I was already wondering, if there is any special upload directory / upload directory setting, that is missing … ?

    What do you think?

    Kind Regards!

    in reply to: BP Profile Cover causing Mixed Content Warning #69287
     bit2bit
    Participant

    Dear Andrei!

    Thank you very much for your help. After all it looks like rtMedia causes the Mixed Content Warning an it is actually really strange, because Media uploaded as an activity-update in the stream are always served via http:// (with warning) and media uploaded directly in the BP-Profile are served correctly via https:// …

    But I would like to bring your attention to a different issue I’m having with BP Profile Cover – while I can assign default bp-profile and group covers via Backend/BP/rtMedia, – it does not work to upload or change the cover via frontend. I have tried many times with different user and different browser (desktop chrome, firefox, IE; mobile chrome and safari) – it lets me to choose the file, but after saving nothing happens, except for the message, that the cover was uploaded / change successfully.

    Please try, I have created an admin-user just for you (please use it carefully):

    Username: Kleo
    Pwd: test.2015.temp
    Role: admin

    Thank you for your time.

    Greetings from Vienna,
    Martin

    in reply to: BP Profile Cover causing Mixed Content Warning #69237
     bit2bit
    Participant
Viewing 8 posts - 1 through 8 (of 8 total)

Log in with your credentials

Forgot your details?