Forum Replies Created
-
Hi @elpix,
Mabe this plugin will help you
BuddyPress Friends suggestions Widget:- Help your Users to Build Their Network faster
hi @josiahw,
add this code to functions.php
remove_action( 'bp_register_activity_actions', 'friends_register_activity_actions' );
Check if registration is enabled in your WordPress settings.
Hi @imath, @boonebgorges,
I think the problem is caused by bp_update_to_2_0().
https://buddypress.trac.wordpress.org/ticket/5569Hi,
Click ‘Screen Options’ on the menu page ( at the top right of the page ) and check Buddypress.
Hi @dtc7240,
Thank you very mutch for reporting bugs.
i have added fix on the last version (1.3).
I just want to mention that i keeped the ability to members to change the visibility of no threaded comment( join group, leave group, ..etc) since this activities concerns it.be cargful when you add this tests on your version:
if( bp_activity_user_can_delete() && bp_get_activity_type() == 'activity_update' ) {
it’s can stop the plugin to work for others plugins like buddydrive or others ( they use others activity type other than ‘activity_update’).
I invite you to join the support forum of the plugin for more enhancement and suggestions.
https://wordpress.org/support/plugin/buddypress-activity-privacy
Thanks again for the fix.
Regards,
MounirOk, i think i understand now,
please check this code:
https://gist.github.com/dzmounir/8707661I add a test ( if activity date > 24h, the code will show the new format date).
Hi @hannah.caswell
i think Buddydrive plugin can help you in this case,
https://wordpress.org/plugins/buddydrive/date_modified field contain the data of the latest group join ( ie: if the member join and leave then he join again a group, this field contain this date).
check the code of
function groups_join_group( $group_id, $user_id = 0 )
Here a small code that can help you to fetch the join date
global $bp; $user_id = 2; //user id $group_id = 1; // your group id $join_date_sql = $wpdb->prepare( "SELECT date_modified FROM {$bp->groups->table_name_members} WHERE is_confirmed = 1 AND is_banned = 0 AND user_id = %d AND group_id= %d", $user_id, $group_id ); $join_date = $wpdb->get_var( $join_date_sql );
use css to hide the text.
add this css code to style.css of your current theme.
div#profile-details-section { display:none; }
Hi,
use
$group->name
the result returned by
groups_get_group
is an Object.Hi @saleh.hi
Create a new profile fields group ( from wpadmin User > Profile Fields ), then drag & drop all fields from Base(Primary) group to the new fields group.
Hi,
for autocreatation you can create a small script who do that ( check buddypress default data how create demo groups )
https://wordpress.org/plugins/bp-default-data/And buddypress-groupomatic plugin can make the autojoin group for members depending fields.
https://wordpress.org/plugins/buddypress-groupomatic/
Hope this can help you !
hi @aemadi,
Click on ” Screen Options ” ( on the top right of menu page ) then check Buddypress :).
hi!
add this code to your functions.php file.
https://gist.github.com/dzmounir/8542954Hi @gunjesh123,
This is can’t be done by filters, the only solution is by using Javascript (or edit template file but i dont suggested do that).
Try this code, this should work
https://gist.github.com/dzmounir/8524437
Add the code to functions.php of your current theme.
Hi @dtc7240,
And many thanks for effort, that was problem and i was fixed it i think last night ( version 1.2.2 ).
here new code
// mentioned members can always see the acitivity whatever the privacy level
if ( $visibility != 'mentionedonly' && $bp_loggedin_user_id && $remove_from_stream ){
$usernames = bp_activity_find_mentions( $activity->content );
$is_mentioned = array_key_exists( $bp_loggedin_user_id, (array)$usernames );
if( $is_mentioned ) {
$remove_from_stream = false;
}}
the second check will be applied only for logged in memebers.
Again, thank you!!
Regards,
MounirHi @jayjaym,
Remove “buddypress” tag from wp-content/themes/platfrom/style.css
Tags: buddypress, rtl-language-support, editor-style, theme-options, one-column, two-columns, three-columns, left-sidebar, right-sidebar, flexible-width, custom-menu, fixed-width, threaded-comments, custom-background, custom-header, custom-colors, custom-menu, photoblogging, translation-ready, white, silver, light, blue, green, yellow
let us now if it’s work !
1 – edit your style.css of your theme, and remove buddypress from tags :
Tags: buddypress,white,one-column,two-columns,three-columns,right-sidebar,fixed-width,editor-style,custom-menu,custom-header,featured-images,full-width-template,theme-options,threaded-comments
2 – remove all this directories if they exisit on your theme :
‘activity’, ‘members’, ‘groups’, ‘bbpress’,’blogs’, ‘forums’, , ‘_inc’, ‘registration’.
(mybe you will find these directories on others sub dir like ‘lib’ or ‘buddypress’.Hope this can help you!