Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 15 replies - 1 through 15 (of 15 total)
  • @kir-2012

    Participant

    Hi there @antipole, I came across your thread as I have the very same issue – but the AIOS team didn’t update the thread with a solution it was just marked as resolved. Did you ever receive a solution?
    All the best
    K

    @kir-2012

    Participant

    Hi thanks so much for your reply, I have tried the code in both functions and bp custom, I was hoping that it would affect what is shown in the browser tab.

    When on the user profile page, although I have changed all other instances to username throughout the site, the ‘full-name’ still appears in the browser tab / when one hovers a browser tab.

    For example, if one has a username that’s related to a business, eg ‘TopTableFoods’, it isn’t relevant to see the name of the person who opened the account anywhere on the site, also the business would likely prefer not, so I would like to remove the full-name from appearing in the browser tab and anywhere else. The Activity stream, urls and page titles already use only the username, thanks to the plugin ‘username only’. But I noticed the full name still appears in the browser tab.

    Thanks again

    @kir-2012

    Participant

    So, just to make sure my description is as useful as possible, a shop user role or member type, would end up with a list of avatars on their user profile page, under the heading ‘Stuff we stock’ or similar, that were linked to user profiles of the role or member type ‘product’

    @kir-2012

    Participant

    Hi @christianmclark92 how did you manage to set up conditional appearance of certain profile feeds?

    Trying to do this myself with no luck… would really appreciate any help / pointers?

    Thanks

    K

    @kir-2012

    Participant

    Thanks for this Brajesh – hmm yes I did consider keeping it up but I don’t like that there’s no profile header on it, is there a way to add the logged in user’s cover image header and profile nav to the sitewide activity page?

    I think I read once that the code that delivers the profile cover image / avatar / navs is dependent upon being situated in the member component or something similar, so it wasn’t just a case of me changing displayed user to logged in user etc, and so would be tricky to relocate, is that right?

    It would be great to know if it was poss to add the cover image header for the logged in user to the top of the sitewide activity page, any help or pointers much appreciated 🙂

    @kir-2012

    Participant

    Hey thanks, I’m using root profiles so I just used a link with ‘/me’ and it worked – thanks for that!

    @kir-2012

    Participant

    Sorry, just to add when I say images, I don’t mean in media library, that’s fine for admin. And other users don’t have access. I mean the change avatar screen specifically.

    profile/change-avatar/

    @kir-2012

    Participant

    Additional: I am working on a live site

    @kir-2012

    Participant

    Hi thanks for your reply

    So I replaced the code with this:

    //auto send msg
    
    function send_message_to_new_member( $user_id) {
    
        if ( ! bp_is_active( 'messages' ) )
            return;
    
        $args = array(
            'sender_id' => 1,
            'thread_id' => false,
            'recipients' => $user_id,
            'subject' => 'Hello new user',
            'content' => 'Welcome to the site',
            'date_sent' => bp_core_current_time()
        );
    
        $result = messages_new_message( $args );
    }
    add_action( 'bp_core_activated_user', 'send_message_to_new_member', 1 );
    

    I tried this in functions and bp custom and I can’t get it working – am I doing it correctly or did I get it wrong again?

    Thanks for your help

    @kir-2012

    Participant

    Hi, anybody? Many thanks

    @kir-2012

    Participant

    Hi as an update, I tried using the plugin outside of the sidebar tabs plugin and the problem is still there, so I tried using this buddypress-activity-sidebar-widget-resubmission to see if the like’s were pushed to the side in that one too, and the weren’t, that one is perfect, so i’m sure it’s the styling in sitewide activity. Any tips would be most welcome 🙂

    @kir-2012

    Participant

    Ah, a little too quick to be chuffed with myself – that code takes the top menu off in places I don’t want it to, like groups, I need to amend the code further to prevent that … any ideas?

    @kir-2012

    Participant

    Worked it out.
    For anyone wishing to know, the top menu and bottom menu are id’d as
    .item-list-tabs#object-navfor top menu and .item-list-tabs #subnav for sub nav menu.

    To hide only the top menu and keep subnav, I pasted into buddpress.css
    (/wp-content/plugins/buddypress/bp-templates/bp-legacy/css)

    #buddypress div.item-list-tabs#object-nav ul li {
    		display: none;
    }
     

    around line 1266.

    Hope that helps someone some time 🙂

    @kir-2012

    Participant

    Update:
    I’m adding this: display: none; to the code:

    #buddypress div.item-list-tabs ul li {
    	float: left;
    	margin: 0;
    	list-style: none;
    

    At line 1256 on buddypress.css, it works, but hides the subnav too.
    How can i amend the code (full code below) to hide only topnav?

    #buddypress div.item-list-tabs ul li {
    	float: left;
    	margin: 0;
    	list-style: none;
            display: none;
    

    Many thanks in advance for any help people 🙂

    @kir-2012

    Participant

    Hi there, I’m sorry to jump in on your post, I would like to know how to do this too – kind of.
    OP,I think this may be of some help to you.

    Admin, it may just be me being slow today, but I can’t see how to start a new thread or help request from my dash, could you pop a link here for me? Sorry about that! 🙁

    Anyone, I would like to know how to hide (not remove) only the top nav menu, with ‘profile, activity, messages, friends’ etc. I have this menu elsewhere. I want to remove it from all other places. But I need to keep the subnav links visible.

    I know how to -remove- an item nav/subnav – but want to -hide- top links without removing the actual function of the url in order that I can still link to it from my own menu.

    I can edit the css in buddypress.css, I’ve tried a few things but nothing works so far, like.

    #buddypress div.item-list-tabs {display:none};

    I’ve also tried finding the link to the menu in the home or message-header.php in buddypress/bp-templates/bp-legacy/buddypress/members/single to amend it there.

    If anyone could help I’d be so grateful, and sorry OP for riding your post, hope the link helped you. Admin if you could post me a link to start a new thread that would be great 🙂 Thank you

Viewing 15 replies - 1 through 15 (of 15 total)
Skip to toolbar