-
Henry Wright replied to the topic How to make activity Stream not showing profile or profile pictures updates? in the forum How-to & Troubleshooting 8 years, 6 months ago
The code removes updates like “Ben changed his profile photo”. It doesn’t remove stuff like “Ben posted an update”. In the code you’ll see I’ve used
new_avatar
. That’s one particular action. Feel free to add more by adding another block. For example:// Rest of code here.
// Remove new_avatar items.
if ( ( $key = array_search( 'new_avatar',…[Read more] -
Henry Wright replied to the topic How to make activity Stream not showing profile or profile pictures updates? in the forum How-to & Troubleshooting 8 years, 6 months ago
To stop “profile photo updated” updates being displayed in your activity stream, try this:
add_filter( 'bp_after_has_activities_parse_args', function( $retval ) {
// Convert $retval['action'] into an array.
$parts = explode( ',', $retval['action'] );// Remove new_avatar items.
if ( ( $key = array_search( 'new_avatar', $parts ) )…[Read more] -
Henry Wright replied to the topic Search in the forum How-to & Troubleshooting 8 years, 7 months ago
Hi lekins101
This doesn’t answer your question but you might want to consider using BP Profile Search. I’ve used it in the past and it was pretty good at finding users.
-
Henry Wright replied to the topic How to make activity Stream not showing profile or profile pictures updates? in the forum How-to & Troubleshooting 8 years, 7 months ago
This article is super valuable if you plan on filtering the activity loop:
-
Henry Wright replied to the topic Change Registration Phrases in the forum Showcase 8 years, 7 months ago
@lekins101 great stuff 🙂
If you need help with translations, please feel free to open a new topic with any questions you have.
-
Henry Wright replied to the topic BuddyPress no longer working with 4.5 update in the forum How-to & Troubleshooting 8 years, 7 months ago
Sorry for the delay, I seem to a missed your reply. Try deactivating each of those plugins 1 by 1 to see if any are causing the problem.
-
Henry Wright replied to the topic Change Registration Phrases in the forum Showcase 8 years, 7 months ago
Hi @lekins101
See the Customizing Labels, Messages, and URLs article for info on how that’s done.
-
Henry Wright replied to the topic Remove zebra striping from profile in the forum How-to & Troubleshooting 8 years, 7 months ago
Hi!
Do you have a link to your website?
-
Henry Wright replied to the topic great and useful buddypress 3rd party plugins in the forum Third Party Plugins 8 years, 7 months ago
Take a look through these:
-
Henry Wright replied to the topic Changing the word Groups in the forum Miscellaneous 8 years, 7 months ago
If you change the URL, then requests to the old URL should return a 404. That’s the expected (and recommended) behaviour.
-
Henry Wright replied to the topic Changing the word Groups in the forum Miscellaneous 8 years, 7 months ago
Try
bp_get_groups_root_slug
instead. Perhaps it’s the root slug you need changing? -
Henry Wright replied to the topic Changing the word Groups in the forum Miscellaneous 8 years, 7 months ago
You’re right @pckelly123, those constants are deprecated. Instead, try:
add_filter( 'bp_get_groups_slug', function() {
return 'yourslughere';
} ); -
Henry Wright replied to the topic Undefined property: stdClass::$register in the forum How-to & Troubleshooting 8 years, 7 months ago
🙂
-
Henry Wright replied to the topic Avatars reset to default when activating BuddyPress in the forum How-to & Troubleshooting 8 years, 7 months ago
Hi @etavio
Your custom plugin is most likely filtering
get_avatar
to display your custom images. BuddyPress actually bypasses that filter through the use ofbp_core_fetch_avatar()
.Ref: https://github.com/buddypress/BuddyPress/blob/master/src/bp-core/bp-core-avatars.php#L192
You will need to use a different filter.
-
Henry Wright replied to the topic Undefined property: stdClass::$register in the forum How-to & Troubleshooting 8 years, 7 months ago
If so, make sure you assign that page to your BuddyPress “register” page under the BuddyPress admin menu.
-
Henry Wright replied to the topic Undefined property: stdClass::$register in the forum How-to & Troubleshooting 8 years, 7 months ago
Do you have a page set up in your WordPress admin area with a slug of register?
-
Henry Wright replied to the topic BuddyPress no longer working with 4.5 update in the forum How-to & Troubleshooting 8 years, 7 months ago
Can you list the plugins you have activated and any custom code snippets you’re using?
-
Henry Wright replied to the topic How to get the page ID associated with a component in the forum Miscellaneous 8 years, 7 months ago
Thanks for sharing, @garrett-eclipse 🙂
-
Henry Wright replied to the topic Changing the word Groups in the forum Miscellaneous 8 years, 7 months ago
Check out the
gettext
filter:https://codex.wordpress.org/Plugin_API/Filter_Reference/gettext
-
Henry Wright replied to the topic Adsense on activity stream? in the forum How-to & Troubleshooting 8 years, 7 months ago
Ok I finaly did it!!
Great 🙂
- Load More
@henrywright
Active 8 months, 1 week ago