Skip to:
Content
Pages
Categories
Search
Top
Bottom

Email Activation


  • elucinda
    Participant

    @elucinda

    Hello, I am trying again here since no one got back to me.

    I cannot get buddy press to email the activation email upon registration!
    I have tried deactivating all plugins.. no difference.
    Event Manager and WP SMTP Mail both had no problem sending me test emails.

    I tried activating a different theme.. Theme Seventeen as suggested. No difference.

    I have even tried adding the code I found through out other people’s support questions around the same issue. None are making any difference. Adding WP SMPT Mail. No difference.

    I am not a programmer so I could really use some guidance, if you need me to pay to get an answer I will. I NEED HELP.

    Thank you

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

  • shanebp
    Moderator

    @shanebp

    Is it just the activation email that is not sending?
    Or all BP emails, including things like @mentions ?


    shanebp
    Moderator

    @shanebp

    also – have you tried disabling BP Email ?

    Emails will then be sent via the WP Email code.


    elucinda
    Participant

    @elucinda

    I do not know if it sends others since I haven’t launched the site until this is fixed.
    How could I test those?


    elucinda
    Participant

    @elucinda

    As for the disabling, I saw that mentioned but I do not have a bp-custom.php file under wp-content/plugins. Why would that be?

    I have a screenshot I could show you. But doesn’t look like I can send them here.


    elucinda
    Participant

    @elucinda

    Could I do it under another php? Why wouldn’t I have the bp_custom.php?


    shanebp
    Moderator

    @shanebp

    You could put it in your theme > functions.php
    Or in bp-custom.php

    bp-custom.php


    elucinda
    Participant

    @elucinda

    Hallelujah, it is working. THANK YOU


    concinnityadmin
    Participant

    @concinnityadmin

    I am having this same issue having tried the solutions all listed above, but have yet to get it to work.

    I have created a folder named “bp-custom” at wp-content/plugins/bp-custom

    Inside is a php file named bp-custom.php

    In that php file is

    <?php
    add_filter( 'bp_email_use_wp_mail', '__return_true' );
    ?>

    Which causes me to get


    Warning: Use of undefined constant ‘bp_email_use_wp_mail’ – assumed ‘‘bp_email_use_wp_mail’’ (this will throw an Error in a future version of PHP) in /srv/users/cd-staging-2/apps/concinnity-works/public/wp-content/plugins/bp-custom.php on line 3

    Warning: Use of undefined constant ‘__return_true’ – assumed ‘‘__return_true’’ (this will throw an Error in a future version of PHP) in /srv/users/cd-staging-2/apps/concinnity-works/public/wp-content/plugins/bp-custom.php on line 3
    ” in the header of my site.

    Am I failing at the implementation here? What is causing me to still not get activation emails?


    shanebp
    Moderator

    @shanebp

    Move bp-custom.php to the plugins folder: wp-content/plugins/bp-custom.php
    Delete the folder named bp-custom at wp-content/plugins/bp-custom


    concinnityadmin
    Participant

    @concinnityadmin

    Okay, did that.

    Still throwing in error in the header.

    Should the .php file have <?php ?> tags in it?


    shanebp
    Moderator

    @shanebp

    > Should the .php file have <?php ?> tags in it?

    Yes – please read the documentation: https://codex.buddypress.org/themes/bp-custom-php/


    concinnityadmin
    Participant

    @concinnityadmin

    Yeah I did that. Still not working for me.

    I have the disable bp mail function in between the 2 php tags, per the codex. Uploaded to /plugins as you said, still no dice. Still shows error codes in the header.


    kjetisve
    Participant

    @kjetisve

    Hi,
    I was getting the same message.
    Turns out, the apostrophe used was the wrong one.
    Corrected to

    add_filter( ‘bp_email_use_wp_mail’, ‘__return_true’ );

    And the message was gone.

Viewing 13 replies - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.
Skip to toolbar