Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 4,701 through 4,725 (of 69,040 total)
  • Author
    Search Results
  • #305963
    Juegos.Games
    Participant

    Hello, I’m using Buddypress at https://juegos.games and I’d like to know how to add noindex tags to the user profiles. Regards.

    #305961
    jennifersanchez
    Participant

    Hi! i tried but it isnt work.. i mean one message inside buddypress inbox like a user write to another.. is it?

    function send_message_to_new_member( $user_id, $key, $user ) {
    
        if ( ! bp_is_active( 'messages' ) )
            return;
    $recipients = array( $user_id );
    
        $args = array(
            'sender_id' => 1,
            'thread_id' => false,
            'recipients' => $recipients,
            'subject' => 'Hello new user',
            'content' => 'Welcome to the site',
            'date_sent' => bp_core_current_time()
        );
    
        $result = messages_new_message( $args );
    }
    add_action( 'bp_core_activated_user', 'send_message_to_new_member', 3 );
    #305957
    jsanjak
    Participant

    I am having an issue with BuddyPress public messaging. When users attempt a public message, the activity form (buddypress nouveau) does not appear on the page. It appears that the requisite javascript files are unable to load. I’ve tested this with default wordpress themes ( twentynineteen). I contacted my hosting service provider, wpengine, and they identified the following database error:

    [Fri May 17 17:14:48.061122 2019] [php7:notice] [pid 18420] [client 127.0.0.1:27604] 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 ‘( user_id, blog_id ) VALUES ( 1, 1 ) /* From [menastage.wpengine.com//wp-admin/?’ at line 1 for query INSERT INTO ( user_id, blog_id ) VALUES ( 1, 1 ) /* From [menastage.wpengine.com//wp-admin/?wp-cmd=ensure] in [/nas/content/live/menastage/wp-content/plugins/buddypress/bp-blogs/classes/class-bp-blogs-blog.php:127] */ made by require_once(‘wp-admin/admin.php’), require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘init’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WpeCommon->real_ip, WpeCommon->process_internal_command, WpeCommon->ensure_standard_settings, wp_update_user, wp_insert_user, do_action(‘profile_update’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, bp_blogs_add_user_to_blog, bp_blogs_record_blog, BP_Blogs_Blog->save

    Can anyone identify a solution to this issue? Or perhaps anything else I should try?

    kjhjkhjk
    Participant

    Hi

    Is there a way (plugin or code) to limit the length of xprofile fields to a specific amount of characters?
    Or better, what’s above + like a left character countdown.

    Thanks

    I read that post before where they posted a link with a possible solution, but now the link it’s down…Anyone pls tell me a solution…

    I have been hours searching for a solution…

    https://buddypress.org/support/topic/how-to-limit-length-of-a-xprofile-field/

    #305950
    pandraka
    Participant

    Good Morning,

    WordPress 5.2
    BuddyPress 4.3.0

    I’m in the process of creating a multisite which will contain an existing BuddyPress site. Right now I’m just setting up the site. I’ve created a simple top site, then enabled BuddyPress. When I upload bp-custom.php the site starts to throw errors:

    The plugin generated 3 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.

    Warning: Cannot modify header information – headers already sent by (output started at /home/navalw5/XXX.XXXXwargaming.com/wp-content/plugins/bp-custom.php:7) in /home/navalw5/test3.navalwargaming.com/wp-includes/option.php on line 948

    If I remove the bp-custom.php these errors go away.
    This is the code in bp-custom:
    <?
    add_action( ‘init’, ‘remove_xprofile_links’ );
    function remove_xprofile_links() {
    remove_filter( ‘bp_get_the_profile_field_value’, ‘xprofile_filter_link_profile_data’, 9, 3 );
    }
    >?
    Pretty standard and a direct copy from the production site, I was curious so I just uploaded a blank bp-custom. I still got the errors.

    I had network activated BuddyPress, so I deactivated and then activated the plugin in the main site.

    Still, have the error.

    My intention is to have a multisite / BuddyPress installation. where members can be part of several or just one other department of the organization.

    site/org1
    site/org2
    Site/org3

    each site would have its own groups & forums

    All the research seemed to indicate that BuddyPress / bbpress should be network activated.

    wp-config. currently looks like:

    define(‘MULTISITE’, true);
    define(‘SUBDOMAIN_INSTALL’, false);
    define(‘DOMAIN_CURRENT_SITE’, ‘test3.navalwargaming.com’);
    define(‘PATH_CURRENT_SITE’, ‘/’);
    define(‘SITE_ID_CURRENT_SITE’, 1);
    define(‘BLOG_ID_CURRENT_SITE’, 1);
    define( ‘BP_ENABLE_MULTIBLOG’, true );

    I’m confused as to the error, should I be using the child theme’s function.php instead? Any help is greately appreciated.

    Thanks

    #305949

    In reply to: Email Activation

    shanebp
    Moderator

    You could put it in your theme > functions.php
    Or in bp-custom.php

    bp-custom.php

    oneskysandy
    Participant

    We are trying to filter the group lists Group Meta queries, but the BuddyPress Groups Widget isn’t using the same filtering method. We are following this tutorial:

    Group Meta Queries: Usage Example

    But BP_Groups_Widget isn’t calling bp_has_groups with bp_ajax_querystring.

    This is /bp-groups/classes/class-bp-groups-widget.php:

    if ( bp_has_groups( $group_args ) )

    While bp-default/groups/groups-loop.php is using this:

    if ( bp_has_groups( bp_ajax_querystring( ‘groups’ ) ) )

    Is this a bug? Is there a way to customize which groups the BuddyPress Group Widget displays?

    #305929

    thanks @venutius in media post with rtmedia 4.5.6
    when i give comment in any media activity by rtmedia. the comment bocome activity post with comment. otherwise others buddypress post not do this. after deactivation of the plugin rtmedia, this complain absent. so i think this problem arise by the plugin rtmedia 4.5.6

    #305928
    Venutius
    Moderator

    Hi there, Just tried commenting on an activity item with WP 5.2 and it’s working fine at this end. I suggest you first rule out any other plugin issues by deactivating all of your plugins apart from BuddyPress and try it again. What version of PHP is your site using?

    #305923

    my website http://www.mdpathy.com i use wordpress 5.2 Buddypress 4.3.0
    after update wordpress in 5.2 the buddypress activity comment make new activity post.
    what can i do.

    David Jamieson
    Participant

    Hi all,

    I have Buddypress groups with 2 different group types, and I’m looking to make some customizations to the group nav.

    Specifically, I want to hide the “Members” nav item on specific group types, but display it on others.

    Is there a function that will alow for this?

    Cheers,
    -David

    #305900

    In reply to: Wrong count shows

    bdd
    Participant

    @prashantvatsh I’m having a similar problem and would appreciate a little clarity on your suggestion.

    1. Which email are you talking about when you say to disable the activation email?
    2. How do I auto-login them on registration?
    3. Where/how do I set it so that they’re redirected to the proper place to activate their account? (You mentioned the Users screen and you mentioned their BuddyPress profile. For either, which specific page do I list and where do I list it?)

    Thank you!

    #305895
    elliotchav
    Participant

    Hello guys so i want a pop up that shows usernames with i press @, i found this plugin that works but when i click the name that i want on the editor, it doesn’t let me space up between the name and the text, i have the skip the link for me to type.

    This is the codes in the plugin.

    <?php
    /*
    Plugin Name: bbp Mentions Suggest
    Plugin URI: http://www.rewweb.co.uk/mentions_suggest
    Description: Adds the Buddypress mentions suggest as you type to bbpress topics and replies
    Version: 1.3
    Author: Robin Wilson
    Author URI: http://www.rewweb.co.uk
    License: GPL2
    */
    /*  Copyright 2018  PLUGIN_AUTHOR_NAME  (email : wilsonrobine@btinternet.com)
    
        This program is free software; you can redistribute it and/or modify
        it under the terms of the GNU General Public License, version 2, as 
        published by the Free Software Foundation.
    
        This program is distributed in the hope that it will be useful,
        but WITHOUT ANY WARRANTY; without even the implied warranty of
        MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
        GNU General Public License for more details.
    
        You should have received a copy of the GNU General Public License
        along with this program; if not, write to the Free Software
        Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
    
    	*/
    	
    
    add_action( 'wp_enqueue_scripts', 'bms_enqueue_submit' );
    
    function bms_enqueue_submit() {
    	$path = plugins_url('bbp-mentions-suggest/js/forum.js') ;
    	//loaded dependent on the buddypress bp-mentions being loaded
    	wp_enqueue_script( 'bms_enqueue_submit',$path, array( 'bp-mentions' ));	
    }
    	
    add_filter( 'bp_activity_maybe_load_mentions_scripts', 'bms_enable_mentions_in_group_forum_textareas' );
    /**
     * Enable at-mention autocomplete on BuddyPress group forum textareas.
     */
    function bms_enable_mentions_in_group_forum_textareas( $retval ) {
    	$bbpress = false;
    
    	// Group forum reply.
    	if ( bp_is_group() && 'topic' === bp_action_variable() && bp_action_variable( 1 ) ) {
    		$bbpress = true;
    	}
    
    	// Group forum topic.
    	if ( bp_is_group() && bp_is_current_action( 'forum' ) ) {
    		$bbpress = true;
    	}
    
    	// Do stuff when on a group forum page.
    	if ( is_bbpress() ) {
    		$retval = true;
    		
    	}
    	
    	return $retval;
    }

    JS

    jQuery(document).ready(function($) {
    	/* necessary to get @ mentions working in the tinyMCE on the forums */
    	window.onload = function() { 
    	      my_timing = setInterval(function(){myTimer();},1000);
    	      function myTimer() {
    	        if (typeof window.tinyMCE !== 'undefined' && window.tinyMCE.activeEditor !== null && typeof window.tinyMCE.activeEditor !== 'undefined') {  
    		        $( window.tinyMCE.activeEditor.contentDocument.activeElement )
    					.atwho( 'setIframe', $( '.wp-editor-wrap iframe' )[0] )
    					.bp_mentions( bp.mentions.users );
    				 window.clearInterval(my_timing);
    		    }
    	      }
    	      myTimer();
    	};
    })

    HELP please

    issaquahtechacademy
    Participant

    I did not realize you would have to buy Eduma to test this. I would think that WordPress would have a program where plug-in developers have access to some kind of test accounts or something, where they can quickly spin up a site with specific themes or plugins, specifically for this type of issue.

    Regardless, the people at Eduma went ahead and did the debugging for me. Here is the response I got from Huyen last night…

    Dear jbonifacejr,

    I’m so sorry.

    I tried to deactivated all plugins on your site to check it.

    And BuddyPress plugin is the reason why this issue came.

    Best regards,

    Huyen Anh

    #305884

    In reply to: Finding Themes!

    Venutius
    Moderator
    masumbillah22
    Participant

    I have deactivated all plugin except buddypress. switched to Twenty Nineteen version 1.4 then created new user name “Oliver Jake” you can see that new user on this page http://dev.masum-billah.com/members/ but if you set “New Members” filter on this activity page http://dev.masum-billah.com/activity/ nothing showing up just one message “Sorry, there was no activity found. Please try a different filter.”

    Venutius
    Moderator

    So it’s the activity not posting that’s the issue not the filters. I think in the first instance I’d deactivate all other plugins, switch to a default theme such as 2017 and add another user, see if that shows up in activity. I’d also check if you’ve set up any filters for the activity loop that might exclude that content.

    For new posts and comments you’d need to check that site tracking was enabled in the BuddyPress Component settings.

    shanebp
    Moderator

    > … then why would BuddyPress not be the issue?

    I’m saying that it is unlikely – not impossible.
    Remember that plugins usually include hooks that other code or plugins or themes can use to inject code, behaviours etc.
    So BP may be the issue. Or the issue may only manifest with BP.

    As I said, I’ve never seen this issue before.
    I’m not going to buy the Eduma theme so I can test with it.
    You are not my customer. You are a person having an issue with an open source codebase.
    I am a volunteer and curious about your issue and willing to make suggestions about narrowing down the cause in the hope of clearing identifying a bug.
    Since you do not want to proceed, I wish you all the best with your project.

    #305852
    Venutius
    Moderator

    Are you using Akismet or some other spam blocking plugin? Also Topics are forums related, BuddyPress does not include forums, for those you’d be better off asking on that plugins forums.

    fatboyslim1
    Participant

    I have used this code here:

    https://codex.buddypress.org/developer/loops-reference/the-members-loop/

    and I want to filter users by certain criteria. The example for the bp-custom page is:

    function my_custom_ids( $field_name, $field_value = '' ) {
    
      if ( empty( $field_name ) )
        return '';
    
      global $wpdb;
    
      $field_id = xprofile_get_field_id_from_name( $field_name ); 
    
      if ( !empty( $field_id ) ) 
        $query = "SELECT user_id FROM " . $wpdb->prefix . "bp_xprofile_data WHERE field_id = " . $field_id;
      else
       return '';
    
      if ( $field_value != '' ) 
        $query .= " AND value LIKE '%" . $field_value . "%'";
          /* 
          LIKE is slow. If you're sure the value has not been serialized, you can do this:
          $query .= " AND value = '" . $field_value . "'";
          */
    
      $custom_ids = $wpdb->get_col( $query );
    
      if ( !empty( $custom_ids ) ) {
        // convert the array to a csv string
        $custom_ids_str = 'include=' . implode(",", $custom_ids);
        return $custom_ids_str;
      }
      else
       return '';
    
    }

    Example Usage: Get all members who have filled out the xprofile field ‘dogs’ and selected the value ‘poodles’.

    <?php if ( bp_has_members( my_custom_ids( 'dogs', 'poodles' ) ) ) : ?>

    How do I add more conditions to the dogs/poodles. What If I also want ‘birds’, ‘parrot’ as well as ‘dogs’, ‘poodles’ ?

    issaquahtechacademy
    Participant

    If I de-activate BuddyPress, then everything is fine. If this is the case, then why would BuddyPress not be the issue? If it is your determination that BuddyPress is having an issue with some other plug-in, then why would you be asking me, your customer, to debug this for you. I would think that you would want to spin up a quick test site, apply the Eduma theme, and then debug the issue from your end.

    I’ll just leave this and not worry about it. If other customers run into the same problem, or if that problem starts to spread into other areas, then maybe enough angry customers will draw the attention to get this fixed. I’m not going to debug this for you.

    #305831

    In reply to: Email Activation

    shanebp
    Moderator

    also – have you tried disabling BP Email ?

    Emails will then be sent via the WP Email code.

    shanebp
    Moderator

    Bizarre… I’ve never seen a similar report.
    You’ll need to take some big swings at this.
    Try deactivating everything but BuddyPress and use a WP theme like 2019.
    Then start activating plugins one at a time and testing for the issue.

    issaquahtechacademy
    Participant

    After deactivating BuddyPress, the issue goes away. When I activate BuddyPress, the issue returns.

    shanebp
    Moderator

    It is very highly unlikely that the issue stems from BuddyPress.
    BuddyPress does not touch comments on posts in wp-admin.
    We are trying to help you narrow down possible causes.
    Did you try deactivating BuddyPress and then test for the issue again?

Viewing 25 results - 4,701 through 4,725 (of 69,040 total)
Skip to toolbar