Forum Replies Created
-
Author
-
fullworksmediaParticipantNot marked as solutionfullworksmediaParticipantNot marked as solutionfullworksmediaParticipant
That’s what I needed 🙂 Fixed now in case anyone needs this code.
// budypress activity stream – remove some activities
function buddypress_dont_save_some_activity( $activity_object ) {$exclude = array( ‘new_avatar’, ‘updated_profile’, ‘friendship_created’, ‘joined_group’, ‘created_group’ );
if( in_array( $activity_object->type, $exclude ) )
$activity_object->type = false;}
add_action( ‘bp_activity_before_save’, ‘buddypress_dont_save_some_activity’, 1, 15 );fullworksmediaParticipantHi Kieran,
Thanks for your reply. I’ve checked this plugin before but unfortunately it doesn’t solve the problem.
I can hide some activities from the dropdown but I’d like to be able to remove these activities completely from the loop and not just hide because when I go to ‘everything’ in the filter it still shows things like ie ‘xxx changed their profile picture’ or ‘Anne profile was updated’. The idea is to remove these from the activity loop completely.Any ideas?
fullworksmediaParticipanthi Radu,
I’ve unchecked site tracking, but when I upload new avatar, on the site-wide-activity it still says ‘Adam changed their profile picture’. Any more ideas?Thanks,
AdamfullworksmediaParticipantThanks for your prompt reply, it worked!
Just one more thing.. do you know how to disable certain updates from the activity wall? For example when someone joins the group, uploads new profile picture or became registered member. I don’t really want these messages to show up on the activity wall.
Many thanks,
AdamfullworksmediaParticipantHello Laura, I checked wp-content/themes/kleo/vc_templates/ before, and as I mentioned I found front-end code, but I’m still looking for the back-end code. To be more specific, check the screenshot attached. I want to edit what Kleo Posts Item in Visual Composers offers to select, and to add there additional select custom taxonomy option. But I need to find code which you used to define Kleo Posts item for VC.
Attachments:
You must be logged in to view attached files.fullworksmediaParticipanthey Radu,
I’ve created a webfont, but the rest of your message doesn’t give me any concrete answers.Let me comment your answers:
1. manually include that library in the there – HOW TO DO THAT?
2. After that you will also need to create all the custom styling rules – HOW DO I DO THAT? COULD YOU THROW AN EXAMPLE? HOW CAN I DO IT ON THE CHILD THEME?Many thanks,
AdamfullworksmediaParticipantthanks, i’d rather avoid using external plugins if possible.
i’ve activated Nav Menu plugin to test it out and it gave me that:“Nav Menu Roles has detected a possible conflict with the following functions or classes: kleo_custom_menu”
fullworksmediaParticipantwith caching disabled the problem still occurs. it works fine on another server, but buggy on the one i have kleo with buddypress on. perhaps it’s somehow server related?
thanks,
AdamfullworksmediaParticipantwell, i have registration page selected in buddypress settings so it should be technically ok.
i’ve just uploaded your theme and buddypress on another hosting i have and it seems to be ok. weirdly, it seem to be hosting related.fullworksmediaParticipantthanks, that’s exactly what i’ve asked for. sorry for not being too clear, but your guess was right anyway!:)
regarding the registration page, i understand it may be something at my end. it’s just quite weird, because with only buddypress and kleo activated, it still does that.
thanks,
Adam -
AuthorPosts