-
defunctlife joined the group How-To and Troubleshooting 14 years, 3 months ago
-
Justin Frydman posted a new activity comment 14 years, 3 months ago
Getting this as well. More details in my comment here: http://dev.pellicule.org/?page_id=19#comment-66
-
defunctlife started the forum topic [Resolved] Customizing bp_get_displayed_user_nav() in the group Creating & Extending: 14 years, 4 months ago
Hi there, I want to add some html to where the Friends (0) tab is displayed. I want to specifically include a different color tab, or maybe even another notice when there is a friend request. Could someone point me the right direction as to where the friends number is calculated, or where the Friends […]
-
defunctlife posted on the forum topic Customizing bp_get_displayed_user_nav() in the group Creating & Extending: 14 years, 4 months ago
@Jeff indeed it’s working now: Here is my bp-custom.php for others: http://pastie.org/1030176
I think it wasn’t working because I had adjusted the do_action() function from within my function to do_action( ‘my_friends_setup_nav’); and I guess it needs to be left as do_action( ‘friends_setup_nav’);
Thanks for all your help Jeff!
-
defunctlife posted on the forum topic Customizing bp_get_displayed_user_nav() in the group Creating & Extending: 14 years, 4 months ago
@Jeff you copied it in as my_friends_setup_nav()? Can you post your function please?
-
defunctlife posted on the forum topic Customizing bp_get_displayed_user_nav() in the group Creating & Extending: 14 years, 4 months ago
Hey Jeff, Yeah I had tried that already (tried 99 etc…) and nothing seems to work. Thanks for trying though, really do appreciate the time. I decided to take another route and override the $bp global in my functions.php $disp_user = $bp->displayed_user->id; if( bp_friend_get_total_requests_count($disp_user) > 0) { $bp->bp_nav .= ‘ (‘.bp_friend_ge…[Read more]
-
defunctlife posted on the forum topic Customizing bp_get_displayed_user_nav() in the group Creating & Extending: 14 years, 4 months ago
Thanks for having a look Jeff, however it didn’t help. I simply want to edit some HTML that is generated in a tab and it’s a total nightmare. Besides the fact that I wish this was generated in a template since it generates HTML, I just cannot seem to override this function: friends_setup_nav() located in […]
-
Justin Frydman posted an update 14 years, 4 months ago
@jeffsayre After reading a few of your threads you seem to have a very good understanding of buddypress hooks. Think you could have a look here? I’m confused as to how to make this working with correct timing (after the action has been added, but before the function has been called, correct?)
Thanks…[Read more]
-
defunctlife posted on the forum topic Customizing bp_get_displayed_user_nav() in the group Creating & Extending: 14 years, 4 months ago
Well, I tried remove_action on the function I found that I want to customize, but it doesn’t work apparently because bp-custom.php is being loaded before bp-friends. I tried this in my theme’s functions.php as well, but it still does not work. What am I doing wrong? /*** * Create custom functions for buddypress so updates […]
-
defunctlife joined the group Creating & Extending 14 years, 4 months ago
@defunctlife
Active 1 week ago