Forum Replies Created
-
@hnla, you are a life safer… Thumbs up. Exactly what I am looking for
Regards
@megainfo, have had a look through your code but still no luck as its not working. Any help from anyone will be highly appreciated. I just want to filter is_button text to another text.
@terraling,any new development?Thanks
thanks for your reply I thought as much but I think it get wiped during the plugin update.
Thanks for your input anyways.
Best Regards
Thanks for your snippet which works great with standard buddypress message system but did not work if using BP Profile Message UX plugin, is there anyway to make it work please
https://wordpress.org/plugins/bp-profile-message-ux/
tahnks
thank for the above code, please how can i use it to target Cancel Friendship button alone
I have tried the below code with no luck.
function my_add_friend_link_text($button) { $button['link_text'] = 'Unfriend'; if($button['id']!='is_friend'); return $button; } add_filter('bp_get_add_friend_button', 'my_add_friend_link_text');
Note: Your code above changed both add friend and cancel friend button to the same thing.
Regards
Thanks for your help on this topic, I just noticed that the link also visible while viewing the friends tab subnav of your friends.
How can I stop this, I want it to show on my profile alone and not while viewing my friends profile.
Note: i use the link on profile tab
Best regards
@henrywright-1, alert still not closing when user click on close button but thanks for your help anyways.
@henrywright-1, still not working. the check works perfectly but to close the notification is not working. do I need jquery to make the alert close?
thanks
@megainfo, @shanebp, please what am I missing.
I put the below code in my functions.php
function current_user_has_avatar() { global $bp; if ( bp_core_fetch_avatar( array( 'item_id' => $bp->loggedin_user->id, 'no_grav' => true,'html'=> false ) ) != bp_core_avatar_default() ) return true; return false; }
and this in my header.php
<?php global $bp; if( !bp_get_user_has_avatar()) : ?> <div class="no-pic"> <strong>Alert !</strong> You have no profile Pic, Clik here to add one now. <button class="close" data-dismiss="alert">×</button> </div> <?php endif;
It work but the alert is not closing when i try to close it
@sbrajesh, thanks for all your great work for bp community. if there is a way to limit message a user can send aswell, let say 10 messages in 30min etc that will be great.
Sometimes, human spam will sign up and send messages to hundreds of users.
@marathifacebook,
Have a look at this, but it is for facebook only.https://wordpress.org/extend/plugins/facebook-friends-inviter
@shanebp, you are beautifully good, I used the code in functions.php of my child theme and it works great.
Thanks for been a blessing to BP community.
Regards
Please anyway to help me out on how to create subnav.
below is my topic.
https://buddypress.org/support/topic/how-to-add-a-link-to-a-link-to-friends-subnav/regards
@tim_marston, the only plugin that i know which can do the major of your requirement is a premium plugin found here: http://www.philopress.com/products/buddyblock/
@megainfo, You are the bomb. Thanks for this great plugin. I voted 5 star already.
Future suggestion,To make it look cleaner, may be just a padlock icon with a dropdown arrow to replace the word privacy: . So when you click on the padlock it then display all the privacy level. just a suggestion.
Thanks for your great work
@megainfo, you are the bomb. Thanks for this great plugin. I voted 5 star already.
Future suggestion,To make it look cleaner, may be just a padlock icon with a dropdown arrow to replace the word privacy: . So when you click on the padlock it then display all the privacy level.
Polite Bump
sorry @chouf1,
Am using Buddypress default theme (child theme)
@megainfo, unfortunately this script makes activity un editable from WP-admin backend
Your link is not working anymore
Bravo, work like a charm
@chouf1, here is my thread.
thanks
Please how can i use this in members-loop.php
please see: https://buddypress.org/support/topic/check-if-is-friend-to-display-data-in-member-loop/