Forum Replies Created
-
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’
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
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 🙂
Hey thanks, I’m using root profiles so I just used a link with ‘/me’ and it worked – thanks for that!
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/
Additional: I am working on a live site
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
Hi, anybody? Many thanks
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 🙂
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?
Worked it out.
For anyone wishing to know, the top menu and bottom menu are id’d as
.item-list-tabs#object-nav
for 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 🙂
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 🙂
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