Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 17,901 through 17,925 (of 94,565 total)
  • Author
    Search Results
  • #245042
    jonq8787
    Participant

    Hi, when i post a status, I get the following message “Warning: Illegal string offset ‘id’ in /home/webdemo/public_html/wp-content/plugins/buddypress-activity-privacy/includes/bp-activity-privacy-filters.php on line 355”

    Can any body help please?

    Thanks

    #245039
    bkf0
    Participant

    I ran into the same or similar issue. From my debug logs it appears to be an issue when login with ajax is also an active plugin…these are the two errors that repeat endlessly until there’s a server timeout:

    [03-Oct-2015 22:00:33 UTC] PHP Warning:  current() expects parameter 1 to be array, null given in /var/www/html/_wp/wp-content/plugins/buddypress/bp-core/bp-core-template-loader.php on line 223
    [03-Oct-2015 22:00:33 UTC] PHP Stack trace:
    [03-Oct-2015 22:00:33 UTC] PHP   1. {main}() /var/www/html/_wp/wp-admin/plugins.php:0
    [03-Oct-2015 22:00:33 UTC] PHP   2. require_once() /var/www/html/_wp/wp-admin/plugins.php:10
    [03-Oct-2015 22:00:33 UTC] PHP   3. require_once() /var/www/html/_wp/wp-admin/admin.php:31
    [03-Oct-2015 22:00:33 UTC] PHP   4. require_once() /var/www/html/_wp/wp-load.php:37
    [03-Oct-2015 22:00:33 UTC] PHP   5. require_once() /var/www/html/_wp/wp-config.php:106
    [03-Oct-2015 22:00:33 UTC] PHP   6. do_action() /var/www/html/_wp/wp-settings.php:353
    [03-Oct-2015 22:00:33 UTC] PHP   7. call_user_func_array() /var/www/html/_wp/wp-includes/plugin.php:503
    [03-Oct-2015 22:00:33 UTC] PHP   8. LoginWithAjax::init() /var/www/html/_wp/wp-includes/plugin.php:503
    [03-Oct-2015 22:00:33 UTC] PHP   9. LoginWithAjax::getRegisterLink() /var/www/html/_wp/wp-content/plugins/login-with-ajax/login-with-ajax.php:91
    [03-Oct-2015 22:00:33 UTC] PHP  10. bp_get_signup_page() /var/www/html/_wp/wp-content/plugins/login-with-ajax/login-with-ajax.php:270
    [03-Oct-2015 22:00:33 UTC] PHP  11. bp_has_custom_signup_page() /var/www/html/_wp/wp-content/plugins/buddypress/bp-members/bp-members-template.php:1902
    [03-Oct-2015 22:00:33 UTC] PHP  12. bp_locate_template() /var/www/html/_wp/wp-content/plugins/buddypress/bp-members/bp-members-template.php:1885
    [03-Oct-2015 22:00:33 UTC] PHP  13. bp_get_template_stack() /var/www/html/_wp/wp-content/plugins/buddypress/bp-core/bp-core-template-loader.php:90
    [03-Oct-2015 22:00:33 UTC] PHP  14. current() /var/www/html/_wp/wp-content/plugins/buddypress/bp-core/bp-core-template-loader.php:223
    [03-Oct-2015 22:00:33 UTC] PHP Warning:  next() expects parameter 1 to be array, null given in /var/www/html/_wp/wp-content/plugins/buddypress/bp-core/bp-core-template-loader.php on line 229
    [03-Oct-2015 22:00:33 UTC] PHP Stack trace:
    [03-Oct-2015 22:00:33 UTC] PHP   1. {main}() /var/www/html/_wp/wp-admin/plugins.php:0
    [03-Oct-2015 22:00:33 UTC] PHP   2. require_once() /var/www/html/_wp/wp-admin/plugins.php:10
    [03-Oct-2015 22:00:33 UTC] PHP   3. require_once() /var/www/html/_wp/wp-admin/admin.php:31
    [03-Oct-2015 22:00:33 UTC] PHP   4. require_once() /var/www/html/_wp/wp-load.php:37
    [03-Oct-2015 22:00:33 UTC] PHP   5. require_once() /var/www/html/_wp/wp-config.php:106
    [03-Oct-2015 22:00:33 UTC] PHP   6. do_action() /var/www/html/_wp/wp-settings.php:353
    [03-Oct-2015 22:00:33 UTC] PHP   7. call_user_func_array() /var/www/html/_wp/wp-includes/plugin.php:503
    [03-Oct-2015 22:00:33 UTC] PHP   8. LoginWithAjax::init() /var/www/html/_wp/wp-includes/plugin.php:503
    [03-Oct-2015 22:00:33 UTC] PHP   9. LoginWithAjax::getRegisterLink() /var/www/html/_wp/wp-content/plugins/login-with-ajax/login-with-ajax.php:91
    [03-Oct-2015 22:00:33 UTC] PHP  10. bp_get_signup_page() /var/www/html/_wp/wp-content/plugins/login-with-ajax/login-with-ajax.php:270
    [03-Oct-2015 22:00:33 UTC] PHP  11. bp_has_custom_signup_page() /var/www/html/_wp/wp-content/plugins/buddypress/bp-members/bp-members-template.php:1902
    [03-Oct-2015 22:00:33 UTC] PHP  12. bp_locate_template() /var/www/html/_wp/wp-content/plugins/buddypress/bp-members/bp-members-template.php:1885
    [03-Oct-2015 22:00:33 UTC] PHP  13. bp_get_template_stack() /var/www/html/_wp/wp-content/plugins/buddypress/bp-core/bp-core-template-loader.php:90
    [03-Oct-2015 22:00:33 UTC] PHP  14. next() /var/www/html/_wp/wp-content/plugins/buddypress/bp-core/bp-core-template-loader.php:229

    Simple fix is to deactivate login with ajax, then deactivate buddypress, then activate login with ajax.

    This error might also present itself with other plugins/themes that have custom signup pages.

    #245035
    shanebp
    Moderator

    Questions specific to another plugin are best asked of the plugin creators.
    Try http://www.learndash.com/ or https://wordpress.org/support/plugin/buddypress-learndash

    #245034
    paul-burwell
    Participant

    Hi,

    We are using BuddyPress along with LearnDash.

    WordPress ver 4.3.1
    BuddyPress ver 2.2.3
    BuddyPress for LearnDash ver 1.0.4
    LearnDash ver 2.1.1

    For each class a user is registered in, a Course Discussion button appears for each lesson and topic. I want to make them completely disappear. How can I accomplish this?

    Thanks in advance,

    Paul

    #245031
    Henry Wright
    Moderator

    Do you have any plugins activated aside from BuddyPress?

    #245028

    In reply to: business page

    Henry Wright
    Moderator

    If you can think of business pages as “groups” then BuddyPress comes with that functionality. You just need to enable the Groups component and your members will be able to create and invite more members to join the group.

    #245019
    jrunfitpro
    Participant

    When I’m in a group and turn on forums for the group, this is what happens:

    Warning: substr() expects parameter 1 to be string, array given in /home/workou23/public_html/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-query.php on line 776

    Warning: strpos() expects parameter 1 to be string, array given in /home/workou23/public_html/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-query.php on line 783

    Warning: explode() expects parameter 2 to be string, array given in /home/workou23/public_html/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-query.php on line 789

    Warning: Invalid argument supplied for foreach() in /home/workou23/public_html/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-query.php on line 789
    – See more at: http://workoutanywhere.net/community/fit-healthy-mommas-challenge/forum/#sthash.3xBUV0H9.dpuf

    Does anyone know how to fix these errors?

    Thanks,

    William
    Participant

    Hi, How can I get an id of a user who was just activated on buddypress? The user is not logged in yet so bp_loggedin_user_id() will not work.

    #245011
    shanebp
    Moderator

    Please include any links to bbPress forums that refer to these statements:

    that bbPress function turns out to be riddled with bugs šŸ™
    (I guess JJJ’s ā€œcondemnedā€ remarks would imply the same conclusion?)

    >Is there a way to completely disconnect BuddyPress notifications from the bbpress forums?

    Try changing this line:
    add_action( 'bbp_new_reply', 'bbp_buddypress_add_notification', 10, 7 );
    to
    //add_action( 'bbp_new_reply', 'bbp_buddypress_add_notification', 10, 7 );
    in bbpress\includes\extend\buddypress\notifications.php

    #245010
    VeeLow
    Participant

    Thanks for the help, Henry–that bbPress function turns out to be riddled with bugs šŸ™
    (I guess JJJ’s “condemned” remarks would imply the same conclusion?)

    Is there a way to completely disconnect BuddyPress notifications from the bbpress forums?

    #245008
    Henry Wright
    Moderator

    It looks as though BuddyPress has got PHP 7 in the bag šŸ™‚

    #245007
    billreed
    Participant

    Hi there Justin,

    I’ve run into a similar issue but in reverse.

    We’re in the process of migrating an individual WordPress site with BuddyPress to a multi-site WordPress with BuddyPress.

    In my case, the normal practice would be to rename the WordPress tables from wp_ to something like wp_99_* , where 99 represents one of the site IDs.

    The tool I used called “Export2 Multisite”, does a great job at fixing the table names.
    However, it’s not smart enough to handle the data merge of the wp_bp_* and wp_rt_* table names.

    Regardless, I’m seeing the same symptoms on the site I migrated from a single WordPress install to a multi-site WordPress.

    So, any help whatsoever from this community on migrating sites with Buddypress either coming FROM or TO a multi-site would be GREATLY appreciated!

    #245006
    Paul Wong-Gibbs
    Keymaster

    Hi

    We’ve been testing against PHP7 nightly releases for a long time. It helps that our PHP is newer than most of WordPress’, so we have less really old stuff to migrate.

    You can view our test coverage on https://travis-ci.org/buddypress/BuddyPress/ (“PHP: nightly” is PHP7), as you can see, there’s currently a failure with one test that we need to fix. It looks fairly straightforward to fix, and we’ll do that soon.

    This one test aside, to the best of knowledge, yes, BuddyPress works with PHP 7.

    #245004
    Henry Wright
    Moderator

    Good question! This is likely to being looked at by the core team.

    See this post which describes what is being done by the WordPress core team: https://make.wordpress.org/core/2015/09/10/wordpress-and-php7/

    My guess is the BuddyPress core team are doing something like that. Maybe @djpaul can add something here?

    #245003
    danbp
    Participant

    Hi,

    of course, in so far that php 7 will be used by WordPress. BuddyPress’s dev follow the same route.

    WordPress and PHP7

    jerryd221
    Participant

    the php 7 will be released soon, probably in the end of 2015, I am wondering that is buddypress compatible with php7?

    #244998
    Vikram Shaw
    Participant

    Hi, I’m using latest version of buddypress. I want to customize my activity page to show updates on activity page for me and my friends only, so I’ve used the codes which was given by @R-A-Y. But I want to make the blogs updates to be shown in activity page to everyone irrespective of friend, but I don’t know how to achieved that because the code which I’ve used is restricting to me and my friends only. And even I want to give “News” update in activity page can anyone suggest me how to achieve that two things.

    The codes which I’ve used for activity page which shows activity updates for me and my friends is given below:–

    add_action( 'bp_loaded', array( 'BP_Home', 'init' ) );
    /**
     * BP Home
     */
    class BP_Home {
    	/**
    	 * Our activity scope name.
    	 *
    	 * @var string
    	 */
    	const SCOPE_NAME = 'swa-home';
    	/**
    	 * Multiple scopes we will be using for our 'Home' tab.
    	 *
    	 * @var string
    	 */
    	protected static $scopes = '';
    	/**
    	 * Marker to determine when to stop our object buffer
    	 *
    	 * @var bool
    	 */
    	public $should_end_buffer = false;
    	/**
    	 * Static initializer.
    	 */
    	public static function init() {
    		return new self();
    	}
    	/**
    	 * Constructor.
    	 */
    	public function __construct() {
    		if ( ! bp_is_active( 'activity' ) ) {
    			return;
    		}
    		// set our default scopes
    		$this->set_default_scopes();
    		// add in our hooks
    		$this->hooks();
    	}
    	/**
    	 * Sets the default scopes used by the "Home" tab.
    	 *
    	 * Filterable.
    	 */
    	private function set_default_scopes() {
    		$scopes = array();
    		$scopes[] = 'just-me';
    		$scopes[] = 'mentions';
    		if ( bp_is_active( 'friends' ) ) {
    			$scopes[] = 'friends';
    		}
    		self::$scopes = apply_filters( 'bp_activity_home_scopes', $scopes );
    	}
    	/**
    	 * Hooks.
    	 */
    	private function hooks() {
    		add_action( 'bp_activity_screen_index', array( $this, 'set_home_scope' ) );
    		add_action( 'wp_logout',                array( $this, 'reset_activity_scope_cookie' ) );
    		add_filter( 'bp_after_has_activities_parse_args', array( $this, 'filter_activity_loop' ) );
    		add_action( 'bp_before_activity_type_tab_all',       array( $this, 'ob_start' ), 0 );
    		add_action( 'bp_before_activity_type_tab_friends',   array( $this, 'ob_end_clean' ), 0 );
    		add_action( 'bp_before_activity_type_tab_groups',    array( $this, 'ob_end_clean' ), 0 );
    		add_action( 'bp_before_activity_type_tab_favorites', array( $this, 'ob_end_clean' ), 0 );
    	}
    	/**
    	 * Override some activity default / AJAX parameters if we're on the Sitewide Activity page.
    	 */
    	public function set_home_scope() {
    		// reset cookie for logged-out users
    		if ( ! is_user_logged_in() ) {
    			$this->reset_activity_scope_cookie();
    			return;
    		}
    		// override post title
    		add_action( 'bp_template_include_reset_dummy_post_data', array( $this, 'post_title' ), 20 );
    		// if we have a post value already, let's add our scope to the existing cookie value
    		if ( !empty( $_POST['cookie'] ) ) {
    			$_POST['cookie'] .= '%3B%20bp-activity-scope%3D' . self::SCOPE_NAME;
    		} else {
    			$_POST['cookie'] = 'bp-activity-scope%3D' . self::SCOPE_NAME;
    		}
    		// set the activity scope by faking an ajax request (loophole!)
    		if ( ! defined( 'DOING_AJAX' ) ) {
    			$_POST['cookie'] .= "%3B%20bp-activity-filter%3D-1";
    			// reset the selected tab
    			@setcookie( 'bp-activity-scope',  self::SCOPE_NAME, 0, '/' );
    			//reset the dropdown menu to 'Everything'
    			@setcookie( 'bp-activity-filter', '-1',   0, '/' );
    		}
    	}
    	/**
    	 * Resets BP's activity scope cookie to 'all'.
    	 *
    	 * Only reset if the activity scope is set to 'swa-home' since the 'Home' tab
    	 * will not be available when logged out.
    	 *
    	 * We do this when a user is logging out or is logged out.
    	 */
    	public function reset_activity_scope_cookie() {
    		if ( ! empty( $_COOKIE['bp-activity-scope'] ) && self::SCOPE_NAME === $_COOKIE['bp-activity-scope'] ) {
    			@setcookie( 'bp-activity-scope', 'all', 0, '/' );
    			$_COOKIE['bp-activity-scope'] = 'all';
    		}
    	}
    	/**
    	 * Filter the activity loop with our custom scope.
    	 */
    	public function filter_activity_loop( $r ) {
    		if ( self::SCOPE_NAME !== $r['scope'] ) {
    			return $r;
    		}
    		// add in our custom scopes
    		$r['scope'] = self::$scopes;
    		// change default empty activity text as well while we're at it
    		add_filter( 'gettext', array( $this, 'override_empty_message' ), 10, 3 );
    		return $r;
    	}
    	/**
    	 * Start the object buffer before any activity tabs are outputted.
    	 */
    	public function ob_start() {
    		if ( ! is_user_logged_in() ) {
    			return;
    		}
    		ob_start();
    	}
    	/**
    	 * Replace the "All Members" tab with "Home" on the Sitewide Activity page.
    	 *
    	 * Try to determine when to stop our object buffer and inject our "Home" tab.
    	 * Accounts for whether certain BP components are active or not.
    	 */
    	public function ob_end_clean() {
    		if ( ! is_user_logged_in() ) {
    			return;
    		}
    		if ( false === $this->should_end_buffer ) {
    			$this->should_end_buffer = true;
    			$buffer = ob_get_contents();
    			ob_end_clean();
    			// find the default 'All Members' tab
    			$all_start = strpos( $buffer, '<li class="selected" id="activity-all">' );
    			$all_end   = strpos( $buffer, '</li>', $all_start );
    			// our custom 'Home 'tab
    			$home = '<li class="selected" id="activity-' . self::SCOPE_NAME . '"><a href="' . bp_get_activity_directory_permalink() . '">' . __( "Home", "bp-home" ) . '</a></li>';
    			// output and replace the 'All Members' tab with the 'Home' tab
    			echo substr_replace( $buffer, $home, $all_start, $all_end + 5 );
    		}
    	}
    	/**
    	 * Post title override.
    	 *
    	 * Whee! Dirty hack!
    	 */
    	public function post_title() {
    		global $wp_query;
    		$wp_query->post->post_title = __( 'Home', 'bp-home' );
    	}
    	/**
    	 * Overrides the "Sorry, there was no activity found. Please try a different filter." message.
    	 *
    	 * @param string $translated Current translated text
    	 * @param string $untranslated Untranslated text
    	 * @param string $domain Domain for the string
    	 * @return string
    	 */
    	public function override_empty_message( $translated, $untranslated, $domain ) {
    		if ( 'Sorry, there was no activity found. Please try a different filter.' === $untranslated ) {
    			$translated = sprintf( __( "It looks like you're new here. To see some activity, try posting an update or <a href='%s'>adding a friend</a>.", 'bp-home' ), bp_get_members_directory_permalink() );
    		}
    		return $translated;
    	}
    }
    #244995
    sambssc
    Participant

    Also I just discovered the Buddypress member profile pages aren’t loading for logged in users.

    sambssc
    Participant

    I updated my Buddypress to the latest version.

    Now pages for logged out users return a 404 page could not be found error.

    Once you log in the site works fine.

    Everything else is the latest version and the site was working fine before I updated Buddypress.

    I was also using Private Community for BP Lite to control access to pages but I have deactivated this plugin and it hasn’t made a difference.

    Buddypress v2.3.3
    Wordpress 4.3.1
    Dynamix Theme 5.0.2

    Does anyone know where I can start to fix this problem?

    #244987

    In reply to: Profile Tabs

    shanebp
    Moderator
    #244984
    bfreed
    Participant

    Hello,

    We are running a membership site with BuddyPress installed. Recently some of our members complained against a particular brother who was allegedly “stalking” some of the gals on our membership site. Realizing different people from different backgrounds and cultures have different ideas about appropriate and inappropriate behavior, is there a way an Admin can view any specific private messages, perhaps using FTP? We are not wanting to allow bad behavior but want to confirm it is happening before disciplining a member inappropriately or empower false reporting.

    Can this be done?

    #244983
    @mercime
    Participant

    @wecreatehype Have you done any basic troubleshooting like deactivating other plugins except BuddyPress and changing to the WP default theme? Also, do provide more information about your installation so we won’t be chasing ghosts. https://buddypress.org/support/topic/when-asking-for-support-2/

    #244982
    @mercime
    Participant

    I have read many stories about converting BuddyPress to BBPress format

    @netentry Just to clarify that the only converting we ever did was to import content from the very old stand-alone bbPress 1.x.x versions included in very old BuddyPress installations into the bbPress 2.x.x plugin a long while back. That’s it. BuddyPress itself cannot be converted into bbPress forums.

    Are there any good tools for performing a BBPress-to-BuddyPress conversion?

    Another clarification here. BuddyPress is not a forum. It is a social network plugin with many components which could have Sitewide and/or Group forums if bbPress 2.x.x is installed and activated.

    So in your case, if you only have the bbPress plugin activated, you could install and activate BuddyPress and set it up in the bbPress Settings screen to allow Group forums in addition to the Sitewide Forums. Take note however, that if you activate bbPress and BuddyPress at the same time, the BuddyPress member profile pages will trump (or will show up instead of) the bbPress member profile pages.

    #244981
    ckchaudhary
    Participant

    This sounds doable theoretically. But i am sure there will be implications šŸ™‚

    abc.com – table prefix wpabc_
    xyz.com – table prefix wpxyz_

    Now in xyz.com, if you want to use buddypress tables of abc.com, go to active theme of xyz.com > functions.php and add the following code: ( untested )

    add_filter( 'bp_core_get_table_prefix', 'bporg_244943_change_table_prefix', 99 );
    function bporg_244943_change_table_prefix( $prefix ) {
        return 'wpabc_';
    }
    #244975
    ckchaudhary
    Participant

    I’d vote for boss theme too. It looks awesome and is specifically built for buddypress network sites.
    http://www.buddyboss.com/product/boss-theme/. You might want to check its live demo.

Viewing 25 results - 17,901 through 17,925 (of 94,565 total)
Skip to toolbar