Forum Replies Created
-
In reply to: Having Different Widgets On Different PagesIn reply to: Friend Suggestion – Linkedin Like
Hi @elpix,
Mabe this plugin will help you
BuddyPress Friends suggestions Widget:- Help your Users to Build Their Network faster
In reply to: Remove Friendship Notifications from Activity Streamhi @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.
In reply to: BuddyPress AppIn reply to: Modifying a core function!In reply to: Lost admin access after 2.o updateHi @imath, @boonebgorges,
I think the problem is caused by bp_update_to_2_0().
https://buddypress.trac.wordpress.org/ticket/5569In reply to: Add activity typeIn reply to: BuddyPress Pages not showing in Menu editorHi,
Click ‘Screen Options’ on the menu page ( at the top right of the page ) and check Buddypress.
In reply to: BuddyPress Activity PrivacyHi @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,
MounirIn reply to: Making Activity Time just like FB timeOk, 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).
In reply to: Making Activity Time just like FB timeIn reply to: Audio Playlist for BuddyPress membersHi @hannah.caswell
i think Buddydrive plugin can help you in this case,
https://wordpress.org/plugins/buddydrive/In reply to: remove "all member tab" in members directoryIn reply to: [Resolved] Group join datedate_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 );In reply to: how to change register form ?use css to hide the text.
add this css code to style.css of your current theme.
div#profile-details-section { display:none; }In reply to: Getting group name from idHi,
use
$group->namethe result returned by
groups_get_groupis an Object.In reply to: how to change register form ?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.
In reply to: How to Automatically add a new member to a groupHi,
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 :).
In reply to: [Resolved] How to remove "Favorite" functionhi!
add this code to your functions.php file.
https://gist.github.com/dzmounir/8542954In reply to: how to remove "all member" tab in members directoryHi @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.
In reply to: BuddyPress Activity PrivacyHi @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,
MounirIn reply to: 1.9.1 Member page not displaying correctlyHi @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, yellowlet us now if it’s work !
In reply to: Forcing incompatible theme to work with Buddypress1 – 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-comments2 – 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!