Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 16,376 through 16,400 (of 94,565 total)
  • Author
    Search Results
  • #250120
    danbp
    Participant

    Hi,

    normally you have a filter upon the activity stream so you can sort it by different activities. By default, a stream use “anything”.

    Settings > BuddyPress > Settings -> Activity Settings and make sure that “Allow activity stream commenting on blog and forum posts” is checked. And also “Allow search engines”.

    While testing, i recommand that you use one of Twenty’s theme first. Just in case of… 😉

    #250116
    anrcommunity
    Participant

    Hello there – I’m fairly new to Buddypress (and web design in general) so please forgive me if this is an obvious question. I am wondering if there is a good/reliable plugin so that members can create a gallery of images under their own account? Just something simple where they could create albums and upload a few images? This seems like it would be really basic but I am having a hard time finding a good plugin for it. Thanks so much for any kind help!

    wh82
    Participant

    Hi all,

    I just started to use BuddyPress and I LOVE it.

    I just have one small problem on my website. New posts appear in the stream, new friendships also… but new members and new comments don’t!

    If I check the commenters profile page the comment-update is there, but in the stream on the homepage: nothing.

    I tried the Twenty Twelve theme, same problem.
    I disables all plugins, same problem.

    WP Version: 4.4.2
    BP Version: 2.4.3

    #250102
    danbp
    Participant

    You’re welcome 😉

    Meanwhile, have you found this ?
    http://hookr.io/plugins/buddypress/2.4.3/functions/bp_core_get_user_displayname/

    #250100

    In reply to: Notes Empty

    danbp
    Participant

    Hi,

    i have several installs in french without any error at this level, so it’s difficult to tell you what’s going wrong for you.

    If you have a local install, i would suggest
    1) make a new test site and activate Twenty Thirteen or Fourteen. There should be only one user (you, as admin) at this stage. Once installed and workink, create a new user within admin, with subscriber status.
    2) upload a new copy of BuddyPress and bbPress and add Bp Default Data plugin, with all data options enabled.
    3) use WordPress in english for a first try. If ok, set it to french and re-test

    #250096

    In reply to: Notes Empty

    aerostar1974
    Participant

    Hi,

    I have enabled Options de Notifications (In Settings/Buddypress/Components, all is enabled, in Settings all is enabled except “Enable group creation for all users”)

    I haven’t touch anything in bp-custom or theme-functions, and more, i have tried the web site with many differents Themes, and with no plugin exept buddypress, and always the same problem.

    I have tried in english, and i have the same problem.

    #250093
    Andrew Tibbetts
    Participant

    Solution:

    There is an action to hook to inside bp_core_activate_signup() that fires right after activating the account ( user clicked the link in the email ), so when the user hits /activate this will fire and reset the user_status to 3 ( 1 is spammer I guess ). Now to figure out the rest…

    Here is the code ( the second function disallows the user from logging in with custom message ):

    add_action( 'bp_core_activated_user', 'custom_bp_core_activated_user' );
    function custom_bp_core_activated_user( $user ) {
    
    	if ( empty( $user ) ) {
    		
    		return false;
    	}
    
    	if ( is_array($user) ) {
    		
    		$user_id = $user['user_id'];
    	}
    	else {
    		
    		$user_id = $user;
    	}
    
    	$member_type = bp_get_member_type($user_id);
    	
    	if ( $member_type == 'member_type_to_manually_activate' ) {
    		
    		global $wpdb;
    		
    		$wpdb->query( $wpdb->prepare( "UPDATE $wpdb->users SET user_status = 3 WHERE ID = %d", $user_id ) );
    	}
    }
    
    add_filter( 'authenticate', 'custom_authenticate', 30 );
    function custom_authenticate( $user ) {
    
    	if ( is_wp_error( $user ) || empty( $user ) ) {
    
    		return $user;
    	}
    
    	if ( 3 == $user->user_status ) {
    
    		$member_type_name = bp_get_member_type($user->ID);
    		$member_type = bp_get_member_type_object($member_type_name);
    		
    		return new WP_Error( 'invalid_username', __( '<strong>ERROR</strong>: All ' . $member_type->labels['name'] . ' accounts require manual confirmation from an admin. You might be contacted soon to verify your identity. You will recieve an email once your account is approved.', 'buddypress' ) );
    	}
    
    	return $user;
    }
    Andrew Tibbetts
    Participant

    I have a handful of member types that I would like to manually confirm by an admin.
    Users choose their member type upon registration so, regular members can register, confirm email and start using the site, but special member types I want to be able to register, confirm email and then get put into some kind of user confirmation status.
    Couple things:
    – maybe this can be done by hooking into bp_core_activate_account in bp_core_screen_activation()?
    – what are the meanings of the ints for user_status in the wp_users table? Seems like WordPress doesn’t use it and Buddypress uses it but only 0 and 2. Maybe use 1 as a custom pending status?

    #250085
    shanebp
    Moderator

    The images are not stored in the database.
    They are stored in the uploads folder.
    For a member with user_id = 1:
    /wp-content/uploads/buddypress/members/1/cover-image/

    To remove the cover photo, use the ‘Delete My Cover Image’ button at the bottom of this screen:
    .../members/designloud/profile/change-cover-image/

    If you don’t see that button, it may be an issue with your theme.
    To confirm, try switching momentarily to a WP theme like 2013

    #250082
    shanebp
    Moderator

    …this file just pulls in bp_activity_action

    And that’s what you need to filter.
    There are a couple of filters you can use.
    Look at function bp_activity_action
    in this file buddypress\bp-activity\bp-activity-template.php

    You probably want to use the first filter.
    Something like:

    function graeme_activity_action( $action, $activity, $r) {
    
       $action .= ' something added here';  // simple example
    
       return $action; 
    }
    add_filter( 'bp_get_activity_action_pre_meta', 'graeme_activity_action', 1, 3 );
    #250078
    danbp
    Participant
    #250077
    danbp
    Participant
    #250076
    danbp
    Participant

    Use your theme CSS file.

    Ask on bbPress forum and read the documentation:

    Step-by-Step Guide to Creating a Custom bbPress Theme


    You may find similar explanation on BuddyPress codex.

    Other solution: https://wordpress.org/plugins/bbp-style-pack/

    #250073
    graeme_bryson
    Participant

    Hi,

    I’m looking to insert some information from the extended profile into a user’s activity item. Specifically, I’m trying to show the ‘Job Title’ field I’ve created and included at registration next to their name. I’ve drafted up a quick mockup and marked the new field with a (1) for clarity here: https://www.dropbox.com/s/1rnmrt5kjnkph1m/sample.png?dl=0

    Initially I’ve searched for ‘activity-header’ in the BuddyPress core files to see if it’s something I can easily drop in (which led me to entry.php), but from what I understand this file just pulls in bp_activity_action. I’m pretty overwhelmed and not quite sure where to start, so any advice would be massively appreciated.

    Thanks in advance, Graeme

    #250072
    aerostar1974
    Participant

    Hi everybody,

    I have installed Buddypress 2.4.3 on wordpress 4.4.2
    when a member post an answer on forum bbpress ( 2.5.8), a message come on Buddypress member profil, with “1” for explaine that there is one notification, but the area of “Note” is empty, and in “reception” is “il y a un inconnu” “no kknow personne”…
    I confirm something, the 2 personnes, ares wordpress/buddypress members users.

    I have changed many themes, buddypress theme, original wordpress theme, desactivated all plugins, and i have always the same error.

    Anyone can help me ?

    There is the screen capture : screen capture of buddypress bug

    thanks a lot

    bareguys
    Participant

    Hi.

    At the moment I have a single WP site installed with buddypress set up, with some xtra plugins. At the moment the homepage is set to static and the posts are set to blog. On my frontpage I have widgets set up with latest posts, latest memebers online, latest activity stream (my activity page is not the front page), Latest posts and latest galleries. All this to encourage activity. As the site grows and due to its x-rated nature I now find it necessery to protect the members more. That meaning I need to differentiate more what visitors see and what registred memembers see. I have lloked at different BP plugins for privacy and also looked at Membership 2 (wich broke the admin bar for users) but can not seem to get my head around on how to organize the content or how to both protect the members but also have SOME content (pref the content produced by admins, generic content) for the visitors to attract new members.

    Any tips on how to organize and plugins etc to achieve this would be great.

    Cheers!

    WordPress Version: 4.4.2
    PHP Version: 5.4.45
    MySQL Version: 5.5.48-cll
    Web Server: Apache/2.2.29 (Unix) mod_ssl/2.2.29 OpenSSL/1.0.1e-fips mod_bwlimited/1.4

    Active Theme:
    – Buddy Child 1.0

    – bbPress 2.5.8

    bbPress

    – BuddyPress 2.4.3

    BuddyPress

    #250031
    alabius
    Participant

    Please i also want to do same. But in my case, i want to use BuddyPress Login instead of WP login, how can i do this.

    #250030
    blogook
    Participant

    Hello ,

    We developed our own plugin to make sure that users on our website are having a unique display_name. Throughout the website we make use of display_name. And obviously we also would like to use display_name in @mention in buddypress activity. I just cannot figure out whats hooks or filters I can use to achieve just that. I am quite sure that I am not the only one 🙂

    If someone can be as kind to point me towards a direction from where I can start looking for hooks/filters that Activity is using that would be great. Or of course if someone has a complete answer that would really make my day 🙂

    Thanks in advance,

    J.

    #250019
    youmin
    Participant

    I think he is referring to roles based on member_type, not by wp capability (role).
    As he mentioned above, his buddypress website having various roles, so he wants to display different profile field based on created role.

    If role is a (member_type) lyricist = profile field
    If role is a (member_type) singer = profile field

    #250017
    selenii
    Participant

    That saide to me the wpdiscuz support.

    Ok, this is not a regular post or page, this comes from BuddyPress template file. It sees they don’t use the regular <?php comments_template() ?> function in activity template file. The only way to turn on wpDiscuz on buddyPress activity page is editing activity template file and changing its comment function to WordPress Theme standard <?php comments_template() ?> function.

    More info: https://codex.wordpress.org/Plugin_API/Filter_Reference/comments_template

    #250012
    shanebp
    Moderator

    wpdiscuz provides support for BuddyPress – not vice versa.
    Please talk to them at:
    https://wordpress.org/support/plugin/wpdiscuz

    ying-sun
    Participant

    hi. i’m having some trouble with the bbpress-buddypress integration. i want new bbpress forum topics and replies to show up in the buddypress activity stream, but right now they are not.

    i added this to bp-custom.php:

    add_post_type_support( 'topic', 'buddypress-activity' );

    which works, but with a generic “UserName wrote a new item.” it seems like there must be a better, easier way to tie the two together. looking at the bbpress files, i see this:

    public function register_activity_actions() {
    
    // Sitewide activity stream items
    bp_activity_set_action( $this->component, $this->topic_create, esc_html__( 'New forum topic', 'bbpress' ) );
    bp_activity_set_action( $this->component, $this->reply_create, esc_html__( 'New forum reply', 'bbpress' ) );
    }

    i don’t know if they’re not getting called or they’re conflicting with something or what, but they aren’t doing what it seems like they should be doing. i see other php code that makes it seem like the integration should be really good, so i don’t know what i’m missing. is there a setting to activate this feature or something?

    so that’s the situation. little help?

    #249994
    Florent
    Participant

    Hello,

    I would like to add the class ‘thumbnail’ to the group avatar with this filter but for some reason it returns an error saying “Illegal string offset ‘class’ “. What could be the reason ?

    function.php :

    // Add class to Group avatar image
      function bp_add_class_thumbnail_group_avatar( $avatar ) {
      $avatar['class'] .= ' thumbnail';
      return $avatar;
    	}
    	
    add_filter( 'bp_get_group_avatar', 'bp_add_class_thumbnail_group_avatar' );
     

    The original class is set by the function bp_core_fetch_avatar inside bp_get_group_avatar but it is not clear for me how to address this sub-function.

    If somebody have an idea,
    Thank you

    	function bp_get_group_avatar( $args = '' ) {
    		global $groups_template;
    
    		// Bail if avatars are turned off.
    		if ( bp_disable_group_avatar_uploads() || ! buddypress()->avatar->show_avatars ) {
    			return false;
    		}
    
    		// Parse the arguments
    		$r = bp_parse_args( $args, array(
    			'type'   => 'full',
    			'width'  => false,
    			'height' => false,
    			'class'  => 'avatar',
    			'id'     => false,
    			'alt'    => sprintf( __( 'Group logo of %s', 'buddypress' ), $groups_template->group->name )
    		) );
    
    		// Fetch the avatar from the folder
    		$avatar = bp_core_fetch_avatar( array(
    			'item_id'    => $groups_template->group->id,
    			'title'      => $groups_template->group->name,
    			'avatar_dir' => 'group-avatars',
    			'object'     => 'group',
    			'type'       => $r['type'],
    			'alt'        => $r['alt'],
    			'css_id'     => $r['id'],
    			'class'      => $r['class'],
    			'width'      => $r['width'],
    			'height'     => $r['height']
    		) );
    
    		// If No avatar found, provide some backwards compatibility
    		if ( empty( $avatar ) ) {
    			$avatar = '<img src="' . esc_url( $groups_template->group->avatar_thumb ) . '" class="avatar" alt="' . esc_attr( $groups_template->group->name ) . '" />';
    		}
    
    		/**
    		 * Filters the group avatar while in the groups loop.
    		 *
    		 * @since 1.0.0
    		 *
    		 * @param string $avatar HTML image element holding the group avatar.
    		 * @param array  $r      Array of parsed arguments for the group avatar.
    		 */
    		return apply_filters( 'bp_get_group_avatar', $avatar, $r );
    	}
    #249993
    Henry Wright
    Moderator

    All of the core BuddyPress navigation functions are in bp-core/bp-core-buddybar.php. You can see the contents of that file here:

    https://github.com/buddypress/BuddyPress/blob/master/src/bp-core/bp-core-buddybar.php

Viewing 25 results - 16,376 through 16,400 (of 94,565 total)
Skip to toolbar