Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 21,051 through 21,075 (of 94,541 total)
  • Author
    Search Results
  • #234766
    Rapforthemoment
    Participant

    Sir, I believe this is basic knowledge. That is not my problem. I cannot add a widget ANYWHERE on a page activated with BuddyPress. I have the right sidebar for widgets and they will not add any kind of widget to any page that has BuddyPress Activity, Groups, etc.

    #234764
    danbp
    Participant

    i tested the function and it works on my install. Do you use a cache plugin ? If yes, clear it and try again.

    You could also try to do that directly in the activity template, via your child theme.
    See bp_has_activities in bp-templates/bp-legacy/buddypress/activity/activity-loop.php

    But this will also affect the whole site activities.

    Activity Loop

    Profile specific what’s new update activity doesn’t exist outside of a user activity page.
    In other words, when you call the action filter activity_update, you’ll receive updates from “members”, “groups” and “swa activity” which is default.

    To understand, open your DB and go to bp-activity table.
    You’ll see component, type and action rows, which are used to built the SWA.
    And the comp xprofile doesn’t include activity_update action

    More doc about this in /buddypress/bp-activity-template.php:166

    #234763
    whoaloic
    Participant

    Hello,
    I finally use https://wordpress.org/support/plugin/user-access-manager to restrict access to posts (and custom post types).
    I had to create same groups than BuddyPress for the plugin because this one does not synchronies with BuddyPress groups.
    But this plugin effectively adds a Access metabox for each post where I can check groups who are able to read posts.
    It will be such an improvement if BuddyPress integrates such a feature.
    Where could I post this feature suggestion?

    Best regards.

    #234753
    mathijs84
    Participant

    Thanks danbp,

    You think Buddypress is the right way to go ??

    With point 2 i mean, that at the start of each month every user has to upload a new picture.
    So this will be custom development i guess!

    We are only going to use the member (wall)pages, kinda like a facebook wall. Is it possible to somehow get the elements like activity, photo’s, documents and messages on 1 page without the tabs?

    #234751
    @mercime
    Participant

    @rapforthemoment You can’t put a widget on a page whether it’s BuddyPress or a regular WordPress page. You can only place a widget in a widget area.

    #234744
    Henry Wright
    Moderator

    Without knowing exactly what was done via the one click migration, it’s going to be hard to pintpoint what went wrong.

    Was the one click migration intended for BuddyPress? Just WordPress? I’m not familiar with GoDaddy’s process

    #234742
    Andrea Reed
    Participant

    Hi @henrywright, While I appreciate the comment, the migration was done via GoDaddy. One click migration from one hosting plan to another. The only difference was that the BuddyPress Activity Stream was no longer there.

    #234740
    Rapforthemoment
    Participant

    My website http://www.rapforthemoment.com has Buddypress uploaded to it, only I cannot add widgets to any of it’s configured pages. So like on the Activity page, I cannot add widgets. Nor the Groups page, or any other it comes with. What should I do to fix this?

    #234738
    Rapforthemoment
    Participant

    I am using the newest version of Buddypress on my website: http://www.rapforthemoment.com :and it doesn’t seem to be responding very well. I am using the Happenstance theme. The “show everything” dropdown bar is all scrunched up and unable to be clicked on. I already contacted the theme developer, but I want to know how to fix this from the Buddypress experts point of view. Please help. You can get the gist of what I am talking about on this page: http://www.rapforthemoment.com/activity/ :and any little bit of info helps.

    Is there like a code I can add into my FTP files or something? A template pack? Anything?

    #234737
    peter-hamilton
    Participant

    Dont you think it might be an issue with the theme, you are all alone with this problem so it is not a Buddypress fail, obviously.

    A quick search on google shows lts of issues with hueman theme, especially interesting is the need for some “if” calls cause perhaps the theme only uses the single.php template.

    Do you have he entire buddypress template folder copied to your theme root?

    #234734
    Hugo Ashmore
    Participant

    bp_is_user() returns true for the users profile or account screens so probably won’t work in this instance, you might try is_buddypress() for a more generic check to see if this is a BP page.

    We can’t tell you where to add that though as we simply have no notion of how wishlist is effecting this re-direct, what file, what function etc etc.

    #234733
    ch1n3s3b0y
    Participant

    @shanebp I tried $ch_querystring['user_ids'] = $users_str; but I think that only works for bp_user_query();. I saw the example before about how to sort by last name by @danbp and I think I should be able to modify this, but I can’t seem to get it to work:

    public function alphabetize_by_last_name( $bp_user_query ) {
        if ( 'alphabetical' == $bp_user_query->query_vars['type'] )
            $bp_user_query->uid_clauses['orderby'] = "ORDER BY substring_index(u.display_name, ' ', -1)";
    }
    add_action ( 'bp_pre_user_query', 'alphabetize_by_last_name' );

    Also, another weird thing is when I change ‘Order By’ to ‘Price’, all of the results show up, but they ignore what is in the search box. I added some code to take the search parameter in the URL and if you reload the page with the search parameter and ‘Price’ as ‘Order By’ then it filters the results as expected, both with ‘Order By’ and with the search term.

    If you then change the ‘Order By’ to another option such as ‘Alphabetical’ and then back to ‘Price’, then the AJAX results don’t take into account the search terms. Not sure if I’ve just made a stupid mistake.

    function ch_member_order_options() {
    ?>
       <option value="price"><?php _e( 'Price', 'buddypress' ); ?></option>
    <?php
    }
    add_action( 'bp_members_directory_order_options', 'ch_member_order_options' );
    
    // filter ajax members by contributing
    function ch_filter_ajax_querystring( $querystring = '', $object = '' ) {
    
    	if( $object != 'members' )
    		return $querystring;
    
    	$defaults = array(
    		'type'            => 'active',
    		'action'          => 'active',
    		'scope'           => 'all',
    		'page'            => 1,
    		'user_id'         => 0,
    		'search_terms'    => '',
    		'exclude'         => false,
    	);
    
    	$ch_querystring = wp_parse_args( $querystring, $defaults );
    
    	if( $ch_querystring['type'] == 'price' ) {
    		
    		$path = $_SERVER['DOCUMENT_ROOT'];
    	    $path .= "/wp-load.php";
    	    require_once($path);
    		global $wpdb;
    		
    		$field_id = 5; 
    		$user_query = $wpdb->get_col("SELECT object_id FROM " . $wpdb->prefix . "term_relationships WHERE term_taxonomy_id = " . $field_id);
    		$users_str = '';
    		foreach ( $user_query as $user ) {
    	        $users_str .=  $user . ',';
    	    }
    		$users_str = rtrim($users_str, ",");
    		$user_ord = $wpdb->get_col("SELECT user_id FROM " . $wpdb->prefix . "bp_xprofile_data WHERE user_id in (" . $users_str . ") AND field_id=18 ORDER BY value ASC");
    		$user_ordf = '';
    		foreach ($user_ord as $user_o) {
    			$user_ordf .= $user_o . ',';
    		}
    		$user_ordf = rtrim($user_ordf,",");
    		$ch_querystring['include'] = $user_ordf; 
    		$ch_querystring['type'] = 'alphabetical';
    		$search_terms = $_GET['s'];
    		if(!empty($search_terms)) {
    			$ch_querystring['search_terms'] = $search_terms;
    		}
    		
    		//var_dump($ch_querystring);
    		return $ch_querystring;
    		
    	}
    	
    	else 
    		return $querystring;
    }
    add_filter( 'bp_ajax_querystring', 'ch_filter_ajax_querystring', 20, 2 );
    #234732
    shanebp
    Moderator

    Note that right before the return, I switch to $ch_querystring['type'] = 'alphabetical';
    There is no ['type'] = 'price'; in the class.

    Not sure about this, but instead of
    $ch_querystring['include'] = $users_str;
    Try
    $ch_querystring['user_ids'] = $users_str;

    Read the very bottom of this page.

    #234727
    rosyteddy
    Participant

    Hi Faldekan!

    Is it a must that you should use Frontend User Pro for images?
    If you have option to use other stuff for images you can use the following – all of these add an icon to the form atop Activity page to click and upload images

    buddypress-media by rtcamp
    mediapress by brajesh
    buddypics by modemlooper
    bp activity plus
    You need to see which works for you.
    However, none of these use WP core media.

    If you can use core media of the WP itself, you can use the p2 theme which also has image upload button attached to the sitewide form. To show image thumbs in Gallery posts in the activity stream your users will have to “insert” at-least one picture apart from the Gallery.

    #234726
    @mercime
    Participant
    #234722
    Faldekan
    Participant

    Hi,

    I am using a custom form created by Frontend User Pro the output of which populates the sitewide activity stream on BuddyPress. One element of the form allows users to upload images, but these are not appearing on the BP stream. Looking through old queries I see that there may have been an issue with the plugin not allowing images on the stream. Is this the case? If so, is there any workaround I can employ to allow images to appear? It is essential that a user can upload images to my site…

    Please help?!?

    Thanks in advance,

    Tom.

    #234721
    mcpeanut
    Participant

    Hi @aluxi33, this can easily be done via this code

    function my_disable_bp_registration() {
      remove_action( 'bp_init',    'bp_core_wpsignup_redirect' );
      remove_action( 'bp_screens', 'bp_core_screen_signup' );
    }
    add_action( 'bp_loaded', 'my_disable_bp_registration' );
    
    add_filter( 'bp_get_signup_page', "firmasite_redirect_bp_signup_page");
        function firmasite_redirect_bp_signup_page($page ){
            return bp_get_root_domain() . '/wp-signup.php'; 
        }

    What you will need to do is first create a bp-custom.php file (make sure you add the opening and closing tags at the top and bottom ) and put it in your plugins folder, then paste the code between the php opening and closing tags and save.

    This should disable buddypress registration and let you use wordpress registration as default, hope this helps.

    #234720
    aluxi33
    Participant

    I love all the features BuddyPress has to offer but is there a way to disable the BuddyPress registration option and leave the default one only? I have the Sparkle theme and have BBPress installed.

    If there’s a way to do this, I would appreciate if you’re as detailed as possible to avoid confusion.

    The URL to my site: http://www.carfanaticsforum.com/forums/

    #234718
    ch1n3s3b0y
    Participant

    @shanebp Thank you so much for your help. I got that working. I managed to query based on the new buddypress member types and also an xprofile field which is great.

    One weird issue, I can’t see to order them accurately by the xprofile field (which is price). No matter whether I make SQL ORDER BY ASC or DESC the results always appear in the same order in the members loop. The SQL is definitely returning the results in the correct order as I have done a var_dump and checked.

    Could it be something to do with

    $ch_querystring['type'] = 'price';

    I have changed this to a different ‘type’ and it does change the results, but not to display them in the order I want.

    #234716
    ozanguzelkan
    Participant

    Hi, actually there are a few issues i need to handle. I used @azchipka’s code

    in bp-custom.php author posts are been seeing in profile page. However as you’ ll see in this photo how can i solve these highlighted problems?

    – remove the rating showing on avatar.
    – give hyperlink to page titles.
    – post content must be deleted.

    Regards,

    Code is:

    //POSTS ON PROFILE STARTS HERE
    
    add_action( 'bp_setup_nav', 'add_profileposts_tab', 100 );
    function add_profileposts_tab() {
    global $bp;
    bp_core_new_nav_item( array(
    'name' => 'My Posts',
    'slug' => 'posts',
    'screen_function' => 'bp_postsonprofile',
    'default_subnav_slug' => 'My Posts', 
    'position' => 25
    )
    );
    }
    // show feedback when 'Posts' tab is clicked
    function bp_postsonprofile() {
    add_action( 'bp_template_content', 'profile_screen_posts_show' );
    bp_core_load_template( apply_filters( 'bp_core_template_plugin', 'members/single/plugins' ) );
    }
    
    function profile_screen_posts_show() {
    query_posts( 'author=' . bp_displayed_user_id() );
    	if ( have_posts() ) :
    	get_template_part( 'author' );
    	else:?>
    	<div id="message" class="info">
    		<p><?php bp_displayed_user_username(); ?> has not published any post! </p>
    	</div>
        <?php endif; ?>    <?php
    
    }
    
    //POSTS ON PROFILE ENDS HERE
    
    ?>
    #234714
    friloo
    Participant

    Hello,

    sry for my bad english but i am from Germany.
    I use WordPress 4.1 and Buddypress 2.2.1….

    Now i want to enable HTML for profile fields, because the user want to iframe some soundcloud players. i know it’s a problem fpr security, but thats no problem because only 10 users are allowed tu have a profile.

    i’ve tried to enable html for this fields on this way in the bp-custom.php but i only geht a white site.

    function stuff_i_want_triggered_after_bp_loads(){
    
    remove_filter( 'xprofile_get_field_data', 'wp_filter_kses', 1 );
    
    }
    
    add_action('wp', 'stuff_i_want_triggered_after_bp_loads');

    any idea what i can try now? I really want to enable html.

    kind regards
    friloo

    #234712
    danbp
    Participant

    hi @vikingpoker,

    I’m sorry to hear that BuddyPress has upset you.
    Members are the heart of BuddyPress and the plugin comes with anything necessary to let you manage them.

    We might be able to help, would you please let us know exactly which components you activated during the BP setup ?

    BuddyPress use the WordPress page system for internal purpose only. Content is shown dynamically, depending the context. When you click on a username, BP calls the pre defined member page and use the appropriate template to show the profile.

    BuddyPress has also his own menu, on which you’ll find activity, members, groups so far you have activate the respective component. To access this menu, go to dashboard > appearence > menu. If you don’t see it, go to the top right corner of the screen and open the sceen option, and check “buddypress”.

    You’re using a framework theme, which is not the easiest to handle if you have not much experience with WP theing. I tested it a while ago and can understand your disapointment. You may probably find good advice about BuddyPress on the Hueman support forum.

    I would recommend you to use 2015 or 14 theme during the time you familiarize yourself with BuddyPress.

    I invite you to read also the Codex to start with your BuddyPress.

    Oh, and if you don’t understand why this is not a #1 topic in this forum, it’s probably because a large majority of user haven’t this issue. And discover here all what you can do with BuddyPress. 😉

    #234708
    @mercime
    Participant

    Why is there no page setup to show the profile information?

    @vikingpoker You do that from the backend. https://codex.buddypress.org/administrator-guide/extended-profiles/

    #234706
    vikingpoker
    Participant

    Using WP 4.1, bbpress 2.5.4, buddypress2.2.1, Hueman Theme.

    I have tested this in 5 different themes and I get the same result. They all say they work with buddypress. There is no profile page at all. When you click on a member all that comes up is a blank page. The only thing showing are comments when I make a comment. In fact there is no option at all to even show a profile page when you install buddypress. You get the screen when you sign up that lets you make a profile but there is nothing that gives you the option to even display the profile information of the user on a page. So when you go to the front end and click on the user it is no wonder that there is no page to show for the user profile because one is not even created on the initial setup of the plugin. This is basic information people expect to see when they click on a profile. Why is there no page setup to show the profile information? I have deactivated every plugin and started from scratch several times with different themes. This should be the very first issue people should be bringing up about this plugin. I don’t understand why this is not a #1 topic in this forum. Is there a solution to this problem?

    The Plug in creates pages for:

    MEMBERS
    ACTIVITY STREAMS
    USER GROUPS
    REGISTER
    ACTIVATE

    Nothing for member profiles. There needs to be a main profile page. There is none.

    sootsnoot
    Participant

    WordPress 4.0.1, BP 2.2. Access is firewalled only to developers.

    I have an unusual multisite installation where access to BuddyPress/WordPress is controlled by a Zend Framework application. That application controls what is accessible via BuddyPress/WordPress based on what user is logged in to the ZF application: there are no BuddyPress/WordPress signup or login pages accessible, signup and login/logout to WP are done through PHP APIs.

    I want a BuddyPress user to be able to list “all” sites (not just the ones in which they have capabilities), but exclude certain sites based on the ZF application’s database.

    I customized bp_blogs/bp_blogs_classes.php:get_all() to do exactly what I want. But having done that, I see that it only affects the little circled number of sites shown on the sites page within the “All Sites” button.

    The actual list of sites displayed shows the original unmodified number of sites in the “Viewing i-j of k sites” heading, and it contains entries for those sites that I excluded in bp_blogs/bp_blogs_classes.php:get_all(). Can anyone point me at the other piece of code that does this computation? I’ve been struggling stepping through code in xdebug and haven’t been able to find it…

Viewing 25 results - 21,051 through 21,075 (of 94,541 total)
Skip to toolbar