Forum Replies Created
-
In reply to: Is bp-friends-template.php editable?
@hnla, you are a life safer… Thumbs up. Exactly what I am looking for
Regards
In reply to: Is bp-friends-template.php editable?@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
In reply to: Private Message Button Label Changethanks for your reply I thought as much but I think it get wiped during the plugin update.
Thanks for your input anyways.
Best Regards
In reply to: Private Message Button Label ChangeThanks 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
In reply to: Is bp-friends-template.php editable?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
In reply to: How to add a link to Friends Tab subnavThanks 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
In reply to: New great plugin, buddypress-wall by @megainfoIn reply to: How to check if member has avatar ?@henrywright-1, alert still not closing when user click on close button but thanks for your help anyways.
In reply to: How to check if member has avatar ?@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
In reply to: How to check if member has avatar ?@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
In reply to: Best way to limit friend requests to avoid spam@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.
In reply to: Contacts Importer@marathifacebook,
Have a look at this, but it is for facebook only.https://wordpress.org/extend/plugins/facebook-friends-inviter
In reply to: How to add a link to Friends Tab subnav@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
In reply to: Create Sub Nav Menu Item in ProfilePlease 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
In reply to: Blocking members and IP’s@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/
In reply to: BuddyPress Activity Privacy Plugin@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
In reply to: [Resolved] Where is activity stream privacy?@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.
In reply to: How to add a link to Friends Tab subnavPolite Bump
In reply to: How to add a link to Friends Tab subnavsorry @chouf1,
Am using Buddypress default theme (child theme)
In reply to: [Resolved] This script blocks oEmbed@megainfo, unfortunately this script makes activity un editable from WP-admin backend
In reply to: Private Message Button in Member List LoopYour link is not working anymore
In reply to: [Resolved] This script blocks oEmbedBravo, work like a charm
In reply to: [Resolved] This script blocks oEmbedIn reply to: Check if is friend to display data in member-loop@chouf1, here is my thread.
thanks
In reply to: Check “If friends” to display data conditionallyPlease 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/