Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 9,151 through 9,175 (of 68,916 total)
  • Author
    Search Results
  • #258667
    danbp
    Participant

    Hi,

    it’s unclear: where do you see member level (none) and did you set up manually a test member ?

    BuddyPress doesn’t handle user roles or levels.
    If you want an automated level for new user, go to dashboard > settings > general and select to your need in regard of New User Default Role

    #258665
    ositive
    Participant

    Yes, it worked for me!
    I have some other doubts that I posted in a separated post as they are not related with the template:

    Buddypress email language selection in multilanguage web site

    Thank you Paul!

    #258661
    danbp
    Participant

    Hi @hanifascraps,

    you can safely update your WorPress. 🙂

    FYI: BuddyPress is developped on WP trunk version. This means in particular that any stable or maintenance version of the one or the other can always work together properly.

    The Tested Up information on the plugin repo is not always updated, if it is this who fears you.

    #258657

    In reply to: Isolated Groups

    BILL
    Participant

    Thank you very much for your reply. Being new to WP I thought for sure this feature was baked into BuddyPress. I have solved the problem with a few plugins around woocommerce and one built for the lms addon I am using with a little wiring up work.

    Have a great day

    #258650
    danbp
    Participant

    Hi,

    sorry, no solution i’m aware of.
    Latest topic about Ning is 3 days old…

    NING MIGRATION

    #258648
    danbp
    Participant

    Hi @karmatiger,

    i moved your topic to it’s own location. Jumping into old topics which are not exactly related to your question is not a good practice. Thank you for comprehension.

    You can use the action hook bp_before_member_home_content which is between H1 and profile header image.
    The template containing it is in bp-templates/bp-legacy/buddypress/members/single/home.php

    To get the field value ( ie. field name is Address):

    function tralala() {
    if( bp_is_active( 'xprofile' ) && is_user_logged_in() ) :
      if ( $address = xprofile_get_field_data( 'Address', bp_get_member_user_id() ) ) :
    		echo $address;
    	endif;
    endif;
    add_action( 'bp_before_member_home_content', 'tralala' );

    Note: all templates have action hooks you can use to add content. You just have to read throught the files to get them and choose the most appropriate for you.

    #258639
    danbp
    Participant

    Forgot to mention that for a complete privacy, you may also lock access to the rss feeds !

    As all this was already handled in a past topic, see here how to do that.

    #258638
    danbp
    Participant

    I’m unable to reproduce your issue on a single install with over 20 plugins active and plenty of custom functions active in bp-custom.php
    I can upload medias without problem with different 3th party themes or Twenty’s

    Try to upload a fresh copy of WordPress and BP and see if it makes a difference.

    Now about the snippet.
    It works more or less, no code error. You commented the action, so it is deactivated if someone copy/paste it without correcting this.

    That said, what is the reason behind using a redirection to login if the site, or at least the buddyPress parts, should be private ?

    Wouldn’t it be more logic to redirect visitors to an anonymous page with some important information, from which the first one could be Sorry, but this site is private ? Followed by some informations how to register or pay a fee or whatever the reason.

    A private site has two type of visitors: those invited to join and the others. Don’t give the opportunity to those who are there by chance to enter the site so easily.

    I let you think about this and eventually create an appropriate page and template.
    Here a code example redirecting to a page called Intranet and the correct calls to slugs for all components (including bbPress).

    function bpfr_guest_redirect() {
    global $bp;
    // enter the slug or component conditional here
    	if ( bp_is_activity_component() || bp_is_groups_component() || bp_is_blogs_component() || bp_is_page( BP_MEMBERS_SLUG ) || is_bbpress() ) {
    	
    // not logged in user are redirected to - comment/uncomment or add/remove to your need
    		if( !is_user_logged_in() ) { 
    			//wp_redirect( get_option('siteurl') ); //back to homepage
    			//wp_redirect( get_option('siteurl') . '/register' ); // back to register page	
    			wp_redirect( get_option('siteurl') . '/intranet' ); // back to whatever page
    		} 
    	}
    }
    add_filter( 'get_header', 'bpfr_guest_redirect', 1 );

    Add it to child-theme’s functions.php

    danbp
    Participant

    You followed apparently all steps except one: permalinks activation. Go to dashboard > Settings > Permalinks and choose an option, except “default”. Save and see if your urls are working. 😉

    Check also anything listed here (php version, htaccess,… ) in case of.

    FYI:
    The default register page is in following location
    /wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/register.php

    This theme exist only for backward compatibility and is no more used by BuddyPress since BP 1.8
    /wp-content/plugins/buddypress/bp-themes/bp-default/registration

    #258634
    idichoo
    Participant

    Hi,

    Which one should i follow. A. Set Up Sitewide Forums only?
    Can tell me which function will exactly remove bbpress from buddypress.

    Thanks.

    #258629
    karmatiger
    Participant

    I usually modify the latest WP theme, as they tend to be pretty stable, but this is my first time working with buddypress and I wanted to start with something built-in buddypress compatible to have a starting point.

    Sort of like how when I went to the Ford grounds in Dearborn, there was a Toyota Prius just inside their shop being reverse engineered “studied”.

    Anyhow, for now I’ve just switched off animation for the lot. Now I’ve moved on to trying to figure out how to add field data bbeside the title (Name) in the profile, but the tutorials for that on this site all seem to be 404ing.

    It’s gonna be one of those months.

    #258626
    danbp
    Participant

    Best recommendation would be to use this premium plugin

    WooCommerce BuddyPress Integration


    and some additionnal add_on like this one:
    https://fr.wordpress.org/plugins/woocommerce-buddypress-integration-xprofile-checkout-manager/

    Note: BuddyPress doesn’t handle registering, it only shows the wp-login form with some more fields (if xprofile component is activated).

    #258625
    danbp
    Participant

    Hi,

    bbPress is a separate plugin. If you don’t want it “inside” BuddyPress, you have to install it as standalone forum. Follow these instructions.

    #258620

    In reply to: Isolated Groups

    gastronimo
    Participant

    It might be a lot of admin configs, but have you considered using BP multi-network plugin to keep everyone separate (https://buddydev.com/plugins/buddypress-multi-network/)?

    #258619
    jowyds
    Participant

    hello danbp, thanks for your reply.

    I have tried the suggestion to use define('WP_DEBUG', true); in conjuction with define('WP_DEBUG_LOG', true); with a twenty theme. It works fine when buddypress is not activated. No error or logfile whatsover. Then after I tried to activate buddypress, and test again. The media library still cannot load out. I have tried to check for error log and I can’t seems to find any.

    Nevertheless I found the culprit can be my bp-custom.php in which I put it just under /wp-content/plugins/[here]

    if I remove the file and everything seems works fine again with buddypress activated.

    This is the content for my bp-custom.php

    
    <?php
    // hacks and mods will go here
    
    /**
     * Make a site Private, works with/Without BuddyPress
     * 
     * @author sbrajesh
     * @global string $pagenow
     * 
     */
     
     /*
    function buddydev_private_site() {
        
        //first exclude the wp-login.php
        //register
        //activate
        global $pagenow;
        
        //do not restrict logged in users
        if( is_user_logged_in() ) {
            return ;
        }
        //if we are here, the user is not logged in, so let us check for exclusion
        //we selectively exclude pages from the list
        
        //are we on login page?
        if( $pagenow == 'wp-login.php' ) {
            return ;
        }
        
        //let us exclude the home page
        if( is_front_page() ) {
            return ;
        }
        
        $exclude_pages = array( 'register', 'activate', 'excelportfolio' );//add the slugs here
        
        //is it one of the excluded pages, if yes, we just return and don't care
        if( is_page( $exclude_pages ) ) {
            return ;
        }
        
        $redirect_url = wp_login_url( site_url('/') );//get login url,
        
        wp_safe_redirect( $redirect_url );
        exit( 0 );
    }
    
    */
     
    //add_action( 'template_redirect', 'buddydev_private_site', 0 );
    
    ?>
    
    <style type="text/css">
    
    #wp-admin-bar-bp-login {
    	display:none; /* JOWY: hide login link for buddypress. */
    }
    
    #wp-admin-bar-bp-register {
    	display:none; /* JOWY: hide register link for buddypress. */
    }
    
    #adminloginform {
    	color: #ffffff; /* JOWY: text color on form. */
    }
    
    #wpadminbar {
    	opacity: 0.7; /* JOWY: Opacity for wpadminbar. */
    }
    
    </style>
    

    what can possible went wrong?

    rafiamudasar
    Participant
    #258611
    jowyds
    Participant

    Hello Dan,

    The error is: “error occurred in the upload, please try again”. I cannot check from media library if the file is there. However, when I go to wp-content I can see the file is already being transferred to the folder. It is very weird.

    I have seeing other people having the issue, but not just from BuddyPress.
    https://wordpress.org/support/topic/media-library-cannot-display-images/

    I have tried but no luck. It seems mine is stucked with buddypress. I have cleared all my plugins and even only just installed and activate buddypress. I am not sure why this happens.

    I haven’t try to deactivate “loginizer” and also “akismet” as they seems to come with the default wp installation. Moreover, it happens when I activate the buddypress. I am also running on default wordpress 2016 theme just to test things out.

    #258604
    danbp
    Participant

    Hi,

    if you have an issue with a plugin, you have to ask on his support.
    You don’t mention BuddyPress, do you use it ?

    #258602
    danbp
    Participant

    Hi,

    please don’t double post. Closing this topic in favor of

    Cannot Upload Image if BuddyPress plugin is activated.

    #258601
    jowyds
    Participant

    Hello guys, I am running with Ampps locally before I try to have my website upload in the actual server. I have recently find out that BuddyPress is the culprit. It only happens if BuddyPress is activated.

    Screenshot

    You can see the beside animation keeps going round and round and never really stop. How can this be solved?

    I am using latest WordPress 4.6.1 and also latest buddypress 2.6.2

    danbp
    Participant

    Hi @mohammad-sy,

    thank you for your interest to BuddyPress.

    You can suggest new features and improvement requests directly on Trac. BP devs are more there as on this forum. More to this here.

    If you’re curious about next release and current works, you can follow the developments of the site on dev’s blog.

    #258591
    karmatiger
    Participant

    I realised this affected the stream on a person’s profile as well, and removing the button removed a member’s ability to delete an update they posted.

    It bothers me having a large DELETE below the activity entry, making the activity feed longer and uglier than it needs be.

    I’d like to move it to the entry header; instead of:

    KarmaTiger posted an update
    3 hours, 5 minutes ago

    it would say

    KarmaTiger posted an update
    3 hours, 5 minutes ago (delete)

    but the entry header is a function ( bp_activity_action() )and not easy to add on to (or find). Do any of you far more experienced buddypress users know how I may do this?

    #258589
    ositive
    Participant

    I tryed to work also with this solution (provided by @shanebp too):
    https://buddypress.org/support/topic/creating-a-new-order-by-filter-in-groups-loop-with-custom-sql/
    but I do not obtain to order members by rating.. is this the right approach??

    function antares_members_filter_options() {
        echo '<option value="rating">rating</option>';
    }
    add_action( 'bp_members_directory_order_options', 'antares_members_filter_options' );
    
    function antares_ajax_querystring( $query_string, $object ) {
    
    	if ( 'members' != $object ) 
    		return $query_string;
    
    	if ( ! bp_is_members_directory() ) 
    		return $query_string;
    	
    	$query_args = wp_parse_args( $query_string, array() );
    
            $page = $query_args['page'];
    
    	if( isset( $query_args['action'] ) && $query_args['action'] == 'rating' ) {
    	
    		$query_args = array();
    		$query_args['page'] = $page;
    		$query_args['orderby'] = 'rating';		
    		$query_args['order'] = 'ASC';			
    		$query_args['include'] = antares_get_members(); 
    		$query_string = http_build_query( $query_args );
    
    	}
    
    	return $query_string;
    
    }
    add_filter( 'bp_ajax_querystring', 'antares_ajax_querystring', 32, 2 );
    
    function antares_get_members() {
        global $wpdb;
    
            $sql = "SELECT 
    					a.ID as id, a.user_login AS name, a.display_name AS displayname, AVG(star) AS rating, COUNT(star) AS reviews
    				FROM 
    					{$wpdb->prefix}users AS a
    				LEFT JOIN 
    					{$wpdb->prefix}bp_activity AS b ON a.ID = b.usercheck
    				WHERE 
    					(b.is_activated is null or b.is_activated=1)
    				GROUP BY 
    					id
    				ORDER BY 
    					rating DESC";
        
    $buff = array();
    
    $result = $wpdb->get_results( $sql , OBJECT );
    
    		foreach ($result as $row) {
    			$buff[]= $row->id ;
    		}
    		
    $query_str= implode (',', $buff);
    return $query_str;
    }
    #258588
    macroccs
    Participant

    I am fairly new to WordPress, so I can’t answer with certainty. As far as I can tell, it’s just the Buddypress emails that aren’t sending.

    Plugins Include:
    BuddyPress Follow Version 1.2.2
    BuddyPress Global Search Version 1.1.5
    BuddyPress Group TinyChat Pro Version 1.4
    BuddyPress Groups Extras Version 3.6.9
    BuddyPress Message Attachment Version 2.1.1
    BuddyPress Reorder Tabs Version 1.0.9
    BuddyPress Security Check Version 2.1.2
    Buddypress Social Version 2.0
    BuddyPress User Blog Version 1.1.1
    Chat by Flyzoo – Group Chat & Live Support Version 2.2.7
    cometchat Version 1.0.0
    Disable Comments Version 1.5.2
    Embedly Version 4.0.12
    Events Manager Version 5.6.6.1
    Inline Google Spreadsheet Viewer Version 0.10.2
    Insert Adsense Version 2.0
    Invite Anyone Version 1.3.11
    Send From Version 2.2
    VideoWhisper Video Presentation Version 4.1.3
    WangGuard Version 1.7.2
    WordPress Reset Version 1.4
    WP Project Manager – Sub Task Version 0.1
    WP Project Manager PRO Version 1.5
    WP Project Manager pro – BuddyPress Integration Version 1.2
    WP Super Cache Version 1.4.8

    danbp
    Participant

    Hi!

    1) yes – as i already explained

    2) yes

    3) the solution is to patch the file manually. It will be available in a future bbPress update, but i ignore the date… It’s better to patch immediatly, update can be in a long time.

    Here is the patch.
    – In red you see the current code.
    – In green the new one you can use.

    Remove the line in red and replace it by the green one. Note this modification in a safe place, in case the patch won’t be applied at next bbP update. This can happen and is available for absolutly any plugin, theme and even WP when it comes to patch core files.

    You see also the line number so it’s very easy to find it inside the file.
    The concerned file is mentionned in bold, above the diff. code itself.
    FYI the complete path is wp-content/plugins/bbpress/includes/extend/buddypress/activity.php

    I suppose you know how to copy/paste ? 🙂

Viewing 25 results - 9,151 through 9,175 (of 68,916 total)
Skip to toolbar