Customizing the BuddyPress blog loop

Currently the bp_has_blogs() loop does not allow an exclude param to remove certain blogs from the listing. By default all public blogs are listed. You can try a simple hack (but the pagination will be off) http://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/excluding-certain-blogs-from-bp_has_blogs-function-for-12/ Or you can filter on bp_has_blogs and loop over the array and unset (+ recount) prior to being … Read more

User-based media gallery

Custom post types seem the best match for what you want: you get the permalinks, comments, … You only need one of the many rating plugins as an extra. If the users have accounts you could try making them authors, it could work since they exist in the users table so the posts table can … Read more

After Upgrade to Buddypress 1.2.6 from 1.2.5.2 , admin bar area displayed incorrectly for guest-visitors

why not contact the company who developed the theme? – they provide support for their customers. http://premium.wpmudev.org/project/buddypress-blogsmu-theme http://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/what-necessary-changes-should-be-made-to-bp-themes-for-bp-1-2-6/ Maybe the theme was not tested/compatible with bp1.2.6 yet or have issued an update since.

How to auto-accept a friend-request in buddypress based on user meta

UPDATE try this function bp_auto_accept_friend_request( $friendship_id, $friendship_initiator_id, $friendship_friend_id ) { $friendship_status = BP_Friends_Friendship::check_is_friend( $friendship_initiator_id, $friendship_friend_id ); if ( ‘not_friends’ == $friendship_status ) { if ( is_user_expert( $friendship_friend_id ) ) { // force add friends_add_friend( $friendship_initiator_id, $friendship_friend_id, true ); friends_accept_friendship( $friendship_id ); } } } add_action(‘friends_friendship_requested’, ‘bp_auto_accept_friend_request’, 200, 3); this way we only call friends_add_friend function … Read more

how to remove mandatory required fields in buddypress registration [closed]

Finally i did find an hack for this problem Make the field fullname, confirm password as display:none Bind the data from username to fullname and from password to confirm password For eg ( a simple binding example ) <html> <head> <script src=”http://code.jquery.com/jquery-latest.js”></script> <script> $(document).ready(function(){ $(‘#target’).bind(‘keyup keypress blur’, function() { $(‘#target1’).val($(this).val()); }); }); </script> </head> <body> … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)