Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 12,576 through 12,600 (of 73,985 total)
  • Author
    Search Results
  • #260888
    Venutius
    Moderator

    You could try something like this, only it’s not been updated in a while, not tried it myself https://wordpress.org/plugins/buddypress-login-redirect/

    #260884
    danbp
    Participant

    Well, you now have to control your child theme and custom functions (if any).
    Seems that changes made in BP 2.7, 2.7.1 and 2.7.2 won’t apply to your case.

    Read also here.

    And if it doesn’t help, go to kleo support and ask there.

    #260872
    inzerat
    Participant

    It is possible? This is a killer function..

    #260862
    worsin
    Participant

    Oh and its important to note that none of the tools for buddypress work to fix this issue.

    #260861
    worsin
    Participant

    So im making a learndash site and using Buddypress and the BP Learndash plugin and noticed a problem with Group Member counts pulling old deleted members and adding them to the group when you change the settings of the group. I do NOT know for sure if this has anything to do with Learndash but i know it has something to do with Buddypress.

    To better explain it i made a quick video.
    http://www.screencast.com/t/3FAMkiq95otz

    You can see there very clearly the issue with the referenced database tables etc.

    Would love to know how to prevent this from happening.

    #260856
    claudiosinopoli
    Participant

    Dear danbp,
    first of all tank you for killing the discussion with your silence.
    Almost two months ago I asked you for help, without success.

    After a while I realized that I can perform a supposedly so simple task myself.
    I’m writing now to inform other people that want the “create a group” button in the single member’s “groups” page or somewhere else in a buddypress template page.

    After reading some buddypress documentation I replicated in my child theme the buddypress templates and css folders structure.

    Looking into the group-related php files I noticed that the function for the button “create a group” is called bp_groups_directory_group_filter.

    The “groups” page for the single member is generate by the file located in the following folder in my child theme: my_child_theme/buddypress/members/single/groups.php

    It is starting with the following code

    <?php
    /**
     * BuddyPress - Users Groups
     *
     * @package BuddyPress
     * @subpackage bp-legacy
     */
    
    ?>
    <div class="item-list-tabs no-ajax" id="subnav" role="navigation">
    	<ul>
    		<?php if ( bp_is_my_profile() ) bp_get_options_nav(); ?>
    		
    		<?php if ( !bp_is_current_action( 'invites' ) ) : ?>
    
    			<li id="groups-order-select" class="last filter">
    
    				<label for="groups-order-by"><?php _e( 'Order by:', 'buddypress' ); ?></label>
    				<select id="groups-order-by">
    					<option value="active"><?php _e( 'Last Active', 'buddypress' ); ?></option>

    It’s enough to add the line
    <?php do_action( 'bp_groups_directory_group_filter' ); ?>
    after line 12
    <?php if ( bp_is_my_profile() ) bp_get_options_nav(); ?>
    and you do the trick.

    Now in the single member’s “groups” page there will be the following buttons:
    Memberships | Invitations | Create a group

    In the same way you can add this button to any other template page, taking care that the function it’s placed in the right position in the code.

    Thank you again danbp: your silence was not very professional but perhaps stimulating in order to take initiative, learn something and solve a problem by myself.

    #260855
    maccast
    Participant

    Just so this is complete. Here’s the code updated for BuddyPress 2.6 or later.

    
    function add_settings_subnav_tab() {
    
        //reorder messages tabs
        buddypress()->members->nav->edit_nav( array(
            'position' => 10,
        ), 'compose', 'messages' );
    
        buddypress()->members->nav->edit_nav( array(
            'position' => 11,
        ), 'inbox', 'messages' );
    
        buddypress()->members->nav->edit_nav( array(
            'position' => 12,
        ), 'sentbox', 'messages' );
    
         buddypress()->members->nav->edit_nav( array(
            'position' => 20,
        ), 'starred', 'messages' );
    
    }
     
    add_action( 'bp_setup_nav', 'add_settings_subnav_tab', 100 );
    
    #260853
    cummingsbl
    Participant

    My site features Sensei courses that have Buddypress groups/forums associated with them. Once someone signs up for a course, they are automatically in the group/forum. Is there some way to automatically subscribe those learners to the course group’s forum so they don’t have to take any action to be notified when new topics are created? I tried this plugin (https://wordpress.org/plugins/buddypress-group-email-subscription/) but it seems to tack on separate email options functionality instead of using the built-in “subscribe/unsubscribe” functionality.

    #260851
    michel4534
    Participant

    Hello everyone 

    I’m a beginner and I request your help for finish my project. 

    Thanks to Buddypress + BP custom fields + BP profile search I can make a wonderfull system but I miss one thing : 

       A simple profile page with my custom fields made by BP custom fields + avatar for member. And If possible with a button to edit and delete profile

    I’m not able to do that. I haven’t find a plugin for or tips for code.

    In fact my theme lovestory have a profile page but she’s not working like I want and my customs fields can’t appear on 

    Please could you tell me how to solde my problem  because i’m working for since two days and I’m dreaming about that at night XD ! 

    Thank’s you

    #260850
    esavvides
    Participant

    WP version: 4.6.1
    BP version: 2.7.2

    Hi all. I’m surprised this solution isn’t easy to find as it seems like a lot of people would want to do this, but I guess most themes have it already. I’m trying to integrate BP into a theme that isn’t BP compatible. It works but isn’t styled for it.

    I moved the user navigation menu from the admin bar to the header so I could get rid of the admin bar altogether. Everything works except the Profile menu item isn’t showing the sub-menu. All the links are under Settings so I could just remove the Profile item. I just don’t know where the code is. I believe it’s pulling from ‘bp_nav_menu’ but I don’t know which file to tweak. Could you tell me where to look?

    Also, the main issue is the styling. I can’t seem to find the CSS code to modify the navigation menu. I’ve been messing with it but a few things I can’t seem to find.

    The code I used was from answer #2 on this link. (#1 didn’t seem to work as well.)

    http://stackoverflow.com/questions/31812132/buddypress-display-notification-and-profile-in-header-instead-of-wp-admin-bar

    The php code was fine but the CSS code was kind of a mess and needs a lot of padding and alignment adjustments. Mainly, could you tell me two things…

    1. Where do you add the alignment so the menu items are flush left?

    2. Which section is the styling for the individual menu items (Activity/Profile/etc.) in the dropdown? Thought I found it but the code doesn’t seem to be appearing.

    I know we’re supposed to post the link to our site but the menu only shows when you’re logged in and I’m still working on it so I prefer not to post it.

    Also, I’m not a programmer. I can use Firebug and tweak php code and CSS but I’m still learning a lot of the stuff you guys probably know really well. If I sound stupid, well, in a lot of things I am. 🙂

    Thanks for any help.

    #260847
    metalhead
    Participant

    Hello Buddypress buds!

    A lot of people have been talking over the past couple of years about “how to require a profile photo upon registration. And I know it’s a risky thing to do, but many of us are willing to take that risk.

    There are a handful of plugins that try to assist with this procedure, but some fail, and some are only partially successful. The best solution that I’ve found is Xprofile Custom Fields. With this plugin, and a lot of help from the author, I’ve managed to get profile photos to be required in the registration process. However, the issue I’m having is that the users are unable to effectively change their profile photo by using the options in the Buddypress “Profile” section/menu. The user can still click “Change Profile Photo,” and it will accept their upload, but the old photo remains in the member directory & in the user’s profile itself.

    I think there must be a miscommunication occurring due to this new way of gathering the user’s original profile photo. It seems like some code, pertaining to the Buddypress “Change Profile Photo” function needs to be tweaked, but I can not pinpoint the function, which would be the first step towards fixing this issue.

    To demonstrate how I’m requiring the profile photo upload in the registration, here is the function I’ve added to my theme’s functions.php file:

    add_filter( 'bp_core_fetch_avatar', 'my_custom_avatar', 10, 2 );
    function my_custom_avatar( $avatar, $params ) {
        if ( 'user' === $params['object'] ) {
            // Get the src of the original avatar.
            $array = array();
            preg_match( '/src="([^\"]*)"/i', $avatar, $array );
            if ( count( $array ) > 1 ) {
                $old_url_avatar = $array[1];
                // Get the new url of image.
                $uploads = wp_upload_dir();
                $img = maybe_unserialize( BP_XProfile_ProfileData::get_value_byid( 5218, $params['item_id'] ) );
                if ( ! empty( $img ) ) {
                    $new_url_avatar = $uploads['baseurl'] . $img;
    
                    // Replace the old src with the new url.
                    $avatar = str_replace( $old_url_avatar, $new_url_avatar, $avatar );
                }
            }
        }
    
        // Return the avatar.
        return $avatar;
    }

    I’d like to mention that I have asked the plugin author about this, but my message on that plugin’s support forum has been deleted twice, making me think I should give the man a break.

    Here are some specifications of my site:

    The site can be reached here.

    It’s running on WordPress v4.6.1, Buddypress v2.7.0, & using BuddyPress Xprofile Custom Fields Type v2.6

    “5218” is the field ID for the “Upload Image” field.

    Thanks and sorry if I posted in an inappropriate forum, I think I chose the right one.

    buckyb
    Participant

    Hi, I’m using the plugin BuddyPress Admin Only Profile Fields to hide certain xprofile fields, I have quite a few, when viewing the admin EDIT (front view) page, it shows a blank white screen. I cannot figure out whats wrong with the site, if anyone can help I’d greatly appreciate it.

    ico33
    Participant

    Hello, I was looking how to change the email address from which are sent the emails from buddypress to the users. When a user receives an email from buddypress it looks like this

    wordpress@mydomain.com

    How to change the word “wordpress” in “info”?

    I found online a topic that has over 2 years. There is the suggestion to add in theme’s function.php this code

    function custom_wp_mail_from( $email ) {
            $handle = 'info';
    	$find = 'http://'; 
    	$replace = '';
    	$link = get_bloginfo( 'url' );
    	$domain = str_replace( $find, $replace, $link );
    	return $handle . '@' . $domain ;
    }
    add_filter( 'wp_mail_from', 'custom_wp_mail_from' );

    Can you confirm this is the best solution to do it?

    Thanks you!

    radair2002
    Participant

    Hi Buddypress and Members,

    Is there a way to display a “xProfile Field Group Name” by slug for example, with the fieldnames as links below the group name, on the groups overview page. The link would show the searchresult for the members having selected this field value in their profile. So actually it would just need to get the Keyword for the fieldname.

    That is to make an overview page with more details on how the members are sorted.

    Obviously the field is not related to a user ID.

    Example:
    – Group “Sports”
    – Profile Field Group “Display: Disciplins”
    – Profile group fields “Links: Tennis, Football, Rugby” (By clicking on the link you get to see all members that have selected the link search item)
    – Group “Hobbies”
    – Profile Field Group “Display: Disciplins”
    – Profile group fields “Links: Dance, Drawing, Programming” (By clicking on the link you get to see all members that have selected the link search item)

    In my mind the logik would be something like “get all fieldnames from field group “ID” and make a link to search page”.
    Example:
    <a href="/members/member_?search=###fieldname###">###fieldname###</a>

    Kind regards

    Rolf Service – Onlineplaner

    #260839

    Topic: BP and AMP

    in group forum Third Party Plugins
    Earl_D
    Participant

    Does it make sense to implement AMP on a buddypress site? Or is that just unnecessary overhead it theme is responsive etc.

    mattrea
    Participant

    Hi, I have previously been asked to set my site up so that buddyprerss members’ profiles can not be found by search engines. They want theme to only be accessible by visiting the site. I have put a robots file on my site (see below) but am still getting profiles appearing in searches – please can you tell me if there is anything I need to add to the file. Thanks, Matt.

    User-agent: *
    Disallow: */activity/p/*
    Disallow: /docs/
    Disallow: *send-invites*
    Disallow: */groups/*members*
    Disallow: */groups/*media*
    Disallow: *widget-title*
    Disallow: *members/*activity*
    Disallow: *members/*notifications*
    Disallow: *members/*friends*
    Disallow: *members/*groups*
    Disallow: *members/*docs*
    Disallow: *members/*media*
    Disallow: *acpage*
    Disallow: *messages*
    Disallow: *friends*
    Disallow: *settings*
    Disallow: /*/comment-page*
    Disallow: *register*
    Disallow: *login*
    Disallow: *profile*
    Disallow: *admin*
    Disallow: *includes*
    Disallow: *content*

    #260832
    danbp
    Participant

    Hi @maccast,

    thank you for the tutorial and sharing your trick, but there is a little problem !

    bp_options_nav is deprecated since 2.6 – you can verify by enabling wp-debug in wp-config.php or by reading the doc.

    Get the right navigation solutions available for BP 2.6+ here:

    Navigation API

    #260831
    intanmunirah
    Participant

    Hi
    How i want to unavailable certain parts in buddypress for certain user only?
    For example, i want to unavailable add friends and sent with read message for user that not paid.
    Help me please.
    Thank you.

    #260830

    In reply to: Emailing all users

    Venutius
    Moderator
    #260825
    Tranny
    Participant

    I have an ongoing problem with spammers, and whereas there is no adequate mechanism to control spam with BP, I proceeded to disable sending of email notifications. At least that’s what I figured the feature is about.

    Under “Emails >> All Emails”, I chose to Edit those that are abused by spammers, and deselected whatever was checked off under “Selection”, thinking that if no situation is selected for when the email should be triggered, then none will be triggered.

    Unfortunately, those I have deselected now disable the following error message on the All Emails page:

    Warning: Invalid argument supplied for foreach() in ../../wp-includes/functions.php on line 3508

    Warning: implode(): Invalid arguments passed in ../../wp-content/plugins/buddypress/bp-core/classes/class-bp-admin.php on line 1015

    I am up to date on WP and all plugins, and use Twenty Sixteen child theme slightly customized.

    Hope somebody can help me resolve the error issue.

    #260824

    Hey @danbp

    I just thought I’d jump in here real quick, as I think this will be beneficial to everyone in the thread including @Tranny.

    And even if you would be a genius coder creator of an extra super original spam shield, you could be sure to became target #1 of all spammers, because in this case, you would represent the absolute challenger of all code breakers !

    We are that “genius coder creator of an extra super original spam shield” that you speak of. 🙂

    There is no miraculous plugin or trick to stop them.

    Ahh, but there is.

    It’s real, and it’s even called WP-SpamShield. LOL…you can’t make this stuff up. 🙂

    Check it out on WPorg. It’s been out for about two and a half years, and is forked from another plugin we developed almost a decade ago. It works perfectly and automatically on BuddyPress, bbPress, and pretty much everything else. You can also feel free to check out the plugin documentation here.

    …And for the record, we definitely are a huge target of spammers. 🙂

    dealing with spammers is a long run work, to not say a never ending work.

    True story!

    – Scott

    #260818
    hotloverspassion
    Participant

    Hi,

    I have one problem in my member’s directory. All members who have not filled the age in their profile, in members directory is their age automatically set for 46 instead of a blank space. I have deactivated all my plugins except buddypress and also tried to deactivate child theme to see if any of my changes could have caused it, but nothing. The problem is still there. Any idea why?

    I have also contacted the SweeDate theme guys, but they just don’t know what this could be.

    I have also seen similar issue discussed in this forum dated 2 years ago, but it seemed that the issue hasn’t been sorted… https://buddypress.org/support/topic/all-members-showing-age-of-44-years-old/

    I am using WordPress 4.6.1 running Sweetdate Child theme and BuddyPress 2.7.2

    Thanks

    #260816
    MatrixMedia
    Participant

    to exclude some categories I have tried this:

    function exclude_category_slugs_from_activity_stream( $new_status, $old_status, $post ) {
    
    	// Only record published posts
    	if ( 'publish' !== $new_status ) {
    		return;
    	}
    
    	// Don't record edits (publish -> publish)
    	if ( 'publish' === $old_status ) {
    		return;
    	}
    
    	// add in any categories to exclue from activity stream, separated by commas, no spaces
    	$category_slugs_to_exclude = "news,new,News,service,Service";
    
    	// create the array that contains the category ids to exclude
    	$ids_to_exclude = array();
    	// create new array by splitting category slugs by comma
    	$category_slug_array = split( ",", $category_slugs_to_exclude );
    	// iterate over category_slug_array
    	foreach ( $category_slug_array as $category ) {
    		// get the category id based on the slug
    		$idObj = get_category_by_slug( $category );
    		$id = $idObj->term_id;
    		// push the category id onto the exclude array
    		array_push ( $ids_to_exclude, $id );
    	}
    
    	// get the post's categories
    	$categories = get_the_category( $post->ID );
    	$in = false;
    
    	// check if the post has any categories, do nothing if not
    	if( count($categories) > 0 ) {
    		// iterate over categories
    		foreach ( $categories as $category ) {
    			// check if any excluded category exists within post's categories
    			if( in_array( $category->cat_ID, $ids_to_exclude) )
    				$in = true;
    		}
    	}
    
    	// Don't record posts from filtered categories
    	if( $in )
    		return;
    
    	return bp_activity_post_type_publish( $post->ID, $post );
    }
    
    add_action( 'bp_init', 'bp_blogs_catch_filtered_published_post' );
    
    function bp_blogs_catch_filtered_published_post() {
    	if ( bp_is_active( 'blogs' ) ) {
    		remove_action( 'transition_post_status', 'bp_activity_catch_transition_post_type_status', 10 );
    		add_action( 'transition_post_status', 'exclude_category_slugs_from_activity_stream', 10, 3 );
    	}
    }

    I found here: https://premium.wpmudev.org/forums/topic/exclude-auto-blog-posts-from-buddypress-activity-stream

    of course I changed the deprecated functions:
    bp_blogs_record_post -> bp_activity_post_type_publish
    bp_blogs_catch_transition_post_status -> bp_activity_catch_transition_post_type_status

    but nothing … not working … HELP!!!

    #260813
    Roed
    Participant

    Hi all.
    In my Buddypress groups I need a button “Login to post” if the user is not logged in. I thought that Buddypress would do this by default but apparently not?
    Can someone point me in the right direction as I have search a bunch of articles but not found the key yet.

    Thanks,
    Michael

    #260809
    Henry Wright
    Moderator

    Great plugin; but the online status only display on the blog site

    Thanks! As I mentioned it’s a WordPress plugin so you will need to adapt it for use with BuddyPress. It shouldn’t be too difficult to do because BuddyPress members and WordPress users are the same.

Viewing 25 results - 12,576 through 12,600 (of 73,985 total)
Skip to toolbar