Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 1,851 through 1,875 (of 69,016 total)
  • Author
    Search Results
  • #324000
    brhoom
    Participant

    I have created “Professional Experience” repeater field set and inside it I created :

    • current job (yes or no)
    • end date (date) hide when current job is yes

    The issue is when I edit the profile the end date hid only in the first field not working on other fields. Also, it’s not working at all when I view the profile.
    Does anyone have a solution, please?

    BuddyBoss Platform Pro v 1.2.0
    Conditional Profile Fields for BuddyPress v 1.2.5
    BuddyBoss Theme v 1.8.7

    #323979

    In reply to: message of messages

    shanebp
    Moderator

    Go to wp-admin > Settings > BuddyPress > Components
    Then select “Private Messaging” and save.

    #323969
    simondevries
    Participant

    Dear Mathieu,

    thank you for the quick reply.

    I have found out that the plugin, verify members is causing this error.

    on the theme that i am using: godlike theme of NK

    I have not gotten a reply back of the theme dev because the plugin owner of verify is saying that the theme owners should make a small fix of this.

    But for the small fix, if they see that its not a bug i have to pay 80 euros for the support section and get a half year support but i dont want to pay for this small fix that much amount of money.

    https://wordpress.org/support/topic/notification-buddypress-crashed-and-becomes-white/

    here is a link of everything

    #323961
    shanebp
    Moderator

    There is no such hook in BuddyPress – bp_members_admin_user_profile_nav

    #323956
    masievi
    Participant

    Thank you @shanebp actually i am trying to do this via BuddyPress
    And this is my code

    `function my_bp_nav() {
    ?>
    <a class=”nav-tab” href=”#”>Active tab </a>
    <?php
    }
    add_action( ‘bp_members_admin_user_profile_nav’, ‘my_bp_nav’ );`

    havealookhere
    Participant

    Hi,

    I did not want to show some things in the activity stream. After searching a long time I did find a snippet what did work.

    function bp_activity_dont_save($activity_object)
    	{
    	$exclude = array(
         'bp_doc_created',
    	 'bp_doc_edited',
    	 'bp_doc_comment',
    	'bbp_topic_create', //bbpress
        'bbp_reply_create', //bbpress
    	'created_group',
    	 'joined_group',
    	);
    
    	// if the activity type is empty, it stops BuddyPress BP_Activity_Activity::save() function
    
    	if (in_array($activity_object->type, $exclude)) $activity_object->type = false;
    	}
    add_action('bp_activity_before_save', 'bp_activity_dont_save', 10, 1);

    Is this the best way to do this? Or do you have a better sollution?
    I cannot find the right term to exclude when someone updates in a group, does someone know that one?

    Then, I want to get rid off the options in the drop down menu on the activity stream. I did find some code what almost did the trick.

    `add_filter( ‘bp_get_activity_show_filters_options’, function( $filters ) {
    unset( $filters[‘bp_doc_created’] );
    unset( $filters[‘bp_doc_edited’] );
    unset( $filters[‘bp_doc_comment’] );
    unset( $filters[‘bbp_topic_create’] );
    unset( $filters[‘bbp_reply_create’] );
    unset( $filters[‘created_group’] );
    unset( $filters[‘joined_group’] );
    unset( $filters[‘updated_group’] );
    return $filters;
    } );

    I think there should be a better way, so I hope someone can advice me with this.

    Now i have a strange thing. The Forum topics and replies are not visible anymore in the dropdown so thats good.

    The group creation and the group joining are not visible anymore so thats good.

    I cannot find the group update term. Does someone know what Term i need?

    And, the bp docs are still visible. This is strange because they are not showing anymore in the activity feed, but i cannot get them out of the dropdown menu.

    Can someone help me to achieve this? Or give me a better sollution??

    Sorry for any bad English

    Thanks in advantage

    #323944
    Mike Witt
    Participant

    Any advice on debugging the error below?
    WordPress 5.9.2, BuddyPress 10.1.0, bbPress 2.6.9
    (I haven’t upgraded to 10.2.0 yet, but I don’t see any fixes that seems to apply to this.)
    It happens “once in a while” since upgrading to 10.1.0. (Four times since March 9th.)
    It *might* be related to email notifications (mentions?) in a bbPress closed topic.

    [09-Mar-2022 17:13:53 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND user_id = 1348 AND component_name = 'messages' AND component_action = 'new' at line 1 for query UPDATE wp_bp_notifications SET is_new = 0 WHERE item_id IN () AND user_id = 1348 AND component_name = 'messages' AND component_action = 'new_message'
    made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/generatepress/page.php'), generate_do_template_part, get_template_part, locate_template, load_template, require('/themes/generatepress/content-page.php'), the_content, apply_filters('the_content'), WP_Hook->apply_filters, bp_replace_the_content, apply_filters('bp_replace_the_content'), WP_Hook->apply_filters, BP_Members_Theme_Compat->single_dummy_content, bp_buffer_template_part, bp_get_template_part, bp_locate_template, load_template, require('/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/home.php'), bp_get_template_part, bp_locate_template, load_template, require('/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/messages.php'), bp_get_template_part, bp_locate_template, load_template, require('/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/messages/single.php'), bp_thread_the_message, BP_Messages_Thread_Template->the_message, do_action('thread_loop_start'), WP_Hook->do_action, WP_Hook->apply_filters, bp_messages_screen_conversation_mark_notifications, bp_notifications_mark_notifications_by_item_ids, BP_Notifications_Notification::update_id_list
    #323912

    In reply to: Get group ID from slug

    resortstylebeanbags
    Participant

    I don’t know why, but I have found a solution. As ‘check_slug’ worked, I just took the code from that function, amended it to return the group id instead of the slug, and included it in my function – which worked. Be good to understand why none of the other functions worked though?

    
    function ofc_add_registrant_to_group($registration, $old_STS_ID, $new_STS_ID, $context) {
      
       global $wpdb;
     
       $user_id = get_current_user_id();
    
       if (! $registration instanceof EE_Registration ) {
            // No EE_Registration, get out
            return;
        }
       
        $event_id = $registration->event_ID();
        $subgroups = get_field('event_sub_group', $event_id);
    
        $slug = $subgroups[0]->post_name;
    
        // These two lines made the difference
        $bp = buddypress();
        $group_id = $wpdb->get_var( $wpdb->prepare( "SELECT id FROM {$bp->groups->table_name} WHERE slug = %s", $slug ) ); 
    
        if ( ! groups_is_user_member($user_id, $group_id )) {
           groups_join_group($group_id, $user_id);
        }
    }
    add_action('AHEE__EE_Registration__set_status__to_approved', 'ofc_add_registrant_to_group', 10, 4); 
    
    mikel87
    Participant

    Hello

    I am having a problem.
    I can list groups and if I click a group I got a white page and in brwoser tab shown “page not found ”
    But just when I am loggedin

    When I am logged out and click any group it will be shown and I can join groups or see the inside of groups

    Hope anybody can help me

    Page: https://netzwerk-helden.com

    thank you so much
    Michael

    #323890
    parkerspegs
    Participant

    Wordpress: 5.8.3
    BuddyPress: 10.1.0
    URL: https://learn.rebeccagordonastrology.com/

    Why can’t a user that has access to a hidden group not be able to see that group on the groups page?

    Thank you for your help.

    #323888
    ditout
    Participant

    Hi
    I have the similar cas, when I uploaded a photo, it showed a red belt as the joint photo:
    https://si3.photorapide.com/invites/photos/2022/03/148l95.jpg
    2 months before, the upload was Ok, than suddenly, it doesn’t work.
    For the upload Cover Image is OK.
    my WP is 5.9.2
    Buddypress 10.1.0
    Can someone help me ?
    thank you so much !

    #323886
    shanebp
    Moderator

    Member Types is probably your best bet. And then add some if / else code to the profile templates.

    Member Types

    #323884
    adaptec
    Participant

    I have a BuddyPress installation as an intranet for our employees. When employees quit I go in and delete under “Users”. Even though they are deleted and not showing up in the users list anymore, their login still works! How do I actually delete or deactive a user?

    #323877
    bastings
    Participant

    Hi all, pretty new here.
    I’m using the buddypress members widget on my frontpage and it is showing the recent registered member or the active members. I don’t want visitors to choose, i only want to show the newest members. How can i remove this option? Can it be done with a snippet or in bp-custom.php?
    Remove option

    #323859
    giuseppe2016
    Participant

    Hello friends,

    i’m creating a wide social with Buddypress.

    Having already considered all the security measures regarding wordpress (first of all registration), which are the way or best practices to avoid maliciuos code injected via publishing a post by a member (that is not manual approval of any commment of course)?

    Example: dedicated plug-in, limitation of some symbol as “bad word” (i have plugin) or others.

    Many thanks,

    Giuseppe

    #323857
    macoholder
    Participant

    Is there a way to force submissions made via buddypress to require admin approval before being published?

    #323852
    shanebp
    Moderator

    The error comes from this plugin: pmpro-buddypress
    You need to contact the creators of that plugin.

    #323849
    bigtinydesigns
    Participant

    Hi,

    I get this message when my pages disappeared and I get a 404-page error.

    Notice: Trying to get property ‘ID’ of non-object in <b>/home/micomuni/public_html/wp-content/plugins/pmpro-buddypress/includes/restrictions.php on line 232

    Please help?

    Thanks.

    #323847
    shanebp
    Moderator

    Did you activate the Friends component? Settings > BuddyPress > Components ?
    If you’ve already done that, then it is probably an issue with your theme.
    Verify by switching momentarily to a WP theme like 2020.

    #323838
    anjanphukan
    Participant

    Sure no problem. So here is my scenario.

    There are 2 member types and I have a custom user field created, let’s called it Items.

    Both member types need to select some of those Item checkboxes. Now I need to show the oposite member types with common Items on a member profile. For that I created a custom page and run the Members loop. I was able to show the oposite members. But I am not sure how to match the Items and filter those oposite members. The my_custom_id() function works well if it is a textbox field. But it doesn’t work with the checkboxes. You can see how they are stored in the database.

    I can get the current logged in user’s Items list in an array format. I think if I follow the my_custom_id() function then I will have to pass the field name and the array to compare like this my_custom_id($item_field, $current_user_items_array)

    I think with that the SQL select query in the function needs to be modified.

    Hope this clarifies my requirement.

    I am very new to buddypress. If there is another way to achieve this then I will be happy to implement. My main goal is to show the members with common items selected but from the opposite member type to a logged in member.

    Thank you so much.

    anjanphukan
    Participant

    How to use bp_has_members() function to filter members based on a custom field which is a set of checkboxes?
    I think checkbox values are stored as array in database.
    The my_custom_ids() function in Members Loop works only with single value. But it doesn’t work with array of checkboxes.

    Thank you.

    chadriston
    Participant

    Sorry, I did not notate that well in the post above, should have been buddypress/members/single/front-member-type-{type}.php.

    #323816
    wappiez
    Participant

    Hi,

    Where can I find the group profile and background images in WordPress? I want to download them, but can’t find them in the Media section.

    Thx

    Mathieu Viet
    Moderator

    Unless you created a member type called ‘type’ and assigned the member you’re displaying to this type, the buddypress/members/single/front-member-type-type.php shouldn’t load. Instead of the second ‘type’ in your template filename, you need to use the name of your member type. If I created a “student” member type, assigned it to a user and added a buddypress/members/single/front-member-type-student.php template it should be used when I display the user having a student type.

    #323811

    In reply to: Avatar Cropping issue

    Mathieu Viet
    Moderator

    Hi @maleemuse

    The mime_content_type() issue will be fixed in 10.2.0. Thanks for your report.
    See https://buddypress.trac.wordpress.org/ticket/8646#comment:12

Viewing 25 results - 1,851 through 1,875 (of 69,016 total)
Skip to toolbar