-
Henry Wright replied to the topic Profile Avatar cropping problem in the forum How-to & Troubleshooting 8 years, 11 months ago
Hi Joe and Nat,
Can you provide some more details?
plugins used
theme used
WP and BP versions
any console errors or notices -
Henry Wright replied to the topic Hide deactivated users from members loop in the forum How-to & Troubleshooting 8 years, 11 months ago
@cityfox the only problem with that approach is it doesn’t consider pagination.
-
Henry Wright replied to the topic is it possible know if the receiver read the message? in the forum How-to & Troubleshooting 8 years, 11 months ago
Hi @bruce30
The code I posted isn’t for cutting and pasting. It’s the name of the functions you could use to complete the task. And the text that follows is an overview of the things you’ll need to do when using those functions.
-
Henry Wright replied to the topic is it possible know if the receiver read the message? in the forum How-to & Troubleshooting 8 years, 11 months ago
Hi @bruce30
You would use
bp_messages_update_meta()
andbp_messages_get_meta()
to add data to and retrieve data from the table. One approach could be to add the user’s ID once the message is viewed and display some kind of indicator on the page to the rest of the message participants. -
Henry Wright replied to the topic Remove add friend button for member type in the forum How-to & Troubleshooting 8 years, 11 months ago
Oops, my apologies. This should work:
function browserco_filter_add_friend_button( $button ) {
$member_type = bp_get_member_type( bp_displayed_user_id() );
if ( 'business' !== $member_type ) {
return $button;
}
return "";
}
add_filter( 'bp_get_add_friend_button', 'browserco_filter_add_friend_button'… -
Henry Wright replied to the topic is it possible know if the receiver read the message? in the forum How-to & Troubleshooting 8 years, 11 months ago
Thanks @r-a-y, I think I was looking at an out-of-date database. 🙂
-
Henry Wright replied to the topic is it possible know if the receiver read the message? in the forum How-to & Troubleshooting 8 years, 11 months ago
I don’t think there’s a message meta table so you’d need to save some data to user meta when
bp_after_message_thread_content
fires.Alternatively there may be a plugin available but I’m not aware of one.
-
Henry Wright replied to the topic Issue with comment count when first comment is added and deleted of an activity in the forum Miscellaneous 8 years, 11 months ago
You should let the theme author know there’s a problem, and hopefully they can issue a fix.
-
Henry Wright replied to the topic Remove add friend button for member type in the forum How-to & Troubleshooting 8 years, 11 months ago
Try this:
function browserco_filter_add_friend_button( $button ) {
$member_type = bp_get_member_type( bp_displayed_user_id() );
if ( 'business' !== $member_type ) {
return $button;
}
return "";
}
add_filter( 'browserco_filter_add_friend_button', 'bp_get_add_friend_button' ); -
Henry Wright replied to the topic Issue with comment count when first comment is added and deleted of an activity in the forum Miscellaneous 8 years, 11 months ago
Could be a theme issue. Which theme are you using? Does the same thing happen if you use Twenty Fifteen or Twenty Sixteen?
-
Henry Wright replied to the topic Issue with friendship activity when friend has deleted his account in the forum Miscellaneous 8 years, 11 months ago
You can open a bug report for this on Trac (the login details will be the same as those you use here in this forum).
-
Henry Wright replied to the topic Buddypress privacy for tabs in the forum How-to & Troubleshooting 8 years, 11 months ago
BP Simple Private might be helpful?
-
Henry Wright replied to the topic Security issue: Need to contact devs in the forum Requests & Feedback 8 years, 11 months ago
Hi @hatherley
security [at] wordpress.org is the place to contact about this kind of thing.
-
Henry Wright replied to the topic Does BuddyPress 2.4.0 – Pietro take advantage of php 7 in the forum How-to & Troubleshooting 8 years, 11 months ago
The speed improvements of 7.0 are hard to resist. Apparently it’s 2x as fast as 5.6 (I haven’t upgraded yet) but if you can’t use your caching plugin yet then personally I’d wait. I reckon you’ll get a faster website with caching in place V the speed improvements of 7.0 without caching.
-
Henry Wright replied to the topic Notification emails after import in the forum How-to & Troubleshooting 8 years, 11 months ago
Earlier today I added the following to my functions.php file:
add_filter( ‘bp_activity_do_mentions’, ‘__return_false’ );
No @mention emails were generated since then. As soon as I commented that code out, within 5-10 minutes thirteen @mention email notifications went out – all with links to content that is years old (pre-import).
-
Henry Wright replied to the topic Notification emails after import in the forum How-to & Troubleshooting 8 years, 11 months ago
@reedy to my knowledge BuddyPress doesn’t implement any cron jobs, especially ones that send email.
they seem to more or less be coming out every time a page is loaded
This indicates something is hooked to
init
, orbp_loaded
etc. But that would almost certainly be custom code because nothing in BuddyPress or bbPress would hook to those events…[Read more] -
Henry Wright replied to the topic Notification emails after import in the forum How-to & Troubleshooting 8 years, 11 months ago
I very much doubt my install has been compromised. In fact, searching through the buddypress support forum it seems this is an issue that crops up after imports
That suggests your import script is the issue. Which script are you using?
-
Henry Wright replied to the topic Notification emails after import in the forum How-to & Troubleshooting 8 years, 11 months ago
In the mean time you could ask your host to deactivate your mail server, until you find a fix?
-
Henry Wright replied to the topic Does BuddyPress 2.4.0 – Pietro take advantage of php 7 in the forum How-to & Troubleshooting 8 years, 11 months ago
In the mean time you could ask your host to deactivate your mail server, until you find a fix?
That should have been posted on another topic. sorry about that! I’ve deleted it from above 🙂
-
Henry Wright replied to the topic Notification emails after import in the forum How-to & Troubleshooting 8 years, 11 months ago
If you’re running vanilla WordPress, with BuddyPress as the only plugin installed and you’re sure you have no custom code in place, it may mean your install has been compromised. You should check to be sure this isn’t the case.
Just a thought, have you tried using a standard theme such as Twenty Fifteen?
- Load More
@henrywright
Active 8 months, 1 week ago