This topic has 6 replies, 2 voices, and was last updated 9 years by sharmstr.

  • Author

    Tagged: ,

  • #63554
     viadsworld
    Participant

    Hi,

    wonderful themes – Few changes need for activities function

    1. I noticed that on the activity page users can not add a pic to post. Also all ajax functions are removed and pages reload on all functions.

    Just wondering why users can submit pictures on activity and page is forced to reload instead of ajax on (comment, delete, reply etc.) task?

    Would love for it to function exactly like it does on profile page without page reloads, much friendlier.

    3. How do I remove all the unnecessary updates such as recent registrants, who changed there profile pictures etc.

    4 . Also How do I make it so that users can only updates from friends only in activity page instead of the all the members.

    cheers

    #63563
     sharmstr
    Moderator

    1 – It does. If its not for you, check for jquery errors on the page.

    2 – same as above

    You can log into the Kleo demo and see that all of that works fine with ajax.

    3 – You should ask on the bp forums. Kleo doesnt handle that. I remember seeing a custom function to do that.

    4 – Again, ask on the bp forums. There’s probably a plugin for that.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #63574
     sharmstr
    Moderator

    Here’s the function to stop registering of certain notifications. This doesnt hide them, it STOPS them from being saved to the db.

    COPY CODE
    
    //Block certain activity types from being added
    function bp_activity_dont_save( $activity_object ) {
    $exclude = array(
            'updated_profile',
            'new_member',
            'new_avatar',
            'friendship_created',
            'joined_group'
        );
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #63582
     viadsworld
    Participant

    Thanks for the replies –

    So will the still show up in the activity feed. That’s the question

    #63583
     sharmstr
    Moderator

    If they aren’t in the db, how will they show on the activity feed? That is the answer. 🙂

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #63597
     viadsworld
    Participant

    Very true sir.

    I tried activating the childs-theme and adding the code to it, it’s not taking affect. I’m loosing all my custom css & theme options settings.

    What do you thing the problem could be.

    #63646
     sharmstr
    Moderator

    Theme options are saved per theme, so you’ll need to import/export: http://sharmstr.com/saving-importing-and-exporting-kleo-settings/

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

Viewing 7 posts - 1 through 7 (of 7 total)

The forum ‘KLEO’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?