Forum Replies Created
-
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.
Okay, did that.
Still throwing in error in the header.
Should the .php file have <?php ?> tags in it?
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 3Warning: 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?
I have implemented the above items using a different method, and still the results are the same. This is a common bug that is reported in numerous posts on here and is something that the BP Devs need to address.
I can’t believe that a system like this is having issues with Activation Email delivery. That is a core functionality of any platform
Why is this thread not updating. I’ve left several comments and none have posted
I tried 2 things. 1 – adding the custom bp folder via SSH via FileZilla. This caused a fatal error, so I had to reinstall from backup.
Then I tried #2,
I went to appearance > theme editorWent to functions.php
Underneath this section,
/****************************** CUSTOM FUNCTIONS ******************************/// Add your own custom functions here
I pasted the code:
add_filter( ‘bp_email_use_wp_mail’, ‘__return_true’ );This caused a fatal error on my site.
I am thankful for your help, but I request that you actually help me by giving me instruction instead of telling me that I’m doing it wrong or I should look for help elsewhere. I am sufficiently capable of injecting code and dealing with lower sophistication items like this.
Can you please walk me through this?
@shanebp , yes, adding the custom file to my site via SSH caused a fatal error and crash. I have since removed that folder. I tried adding the function to my functions.php but the list would not update