Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 27,451 through 27,475 (of 94,561 total)
  • Author
    Search Results
  • #176357
    Ben Hansen
    Participant

    it’s in the menu screen there should be a buddypress section with the links.

    #176356

    Hello Hugo, I am using BuddyPress1.9 and I can not find “BP account screen link” in BP setting? could Hugo/anyone tell me where to find the link? I would like add dynamic profile Link to my main menu item. please help!!!

    #176351
    Birdseye
    Participant

    Okay now. The fix I used.
    FTP and renamed the offending plugin.
    Dashboard came back. Deleted the offending plugin and files, which worked surprisingly
    Activated new BuddyPress version.
    Members, Grouyps, Activity back…Whew!
    Now to re back up the site..
    wp 3.8

    #176340

    In reply to: DO NOT FORCE SIGN UP

    Right. This doesn’t seem directly related to BuddyPress, but rather some privacy setting on the page itself.

    Tully5150
    Participant

    Hi,

    I’ve been at this for 2 days now and I still can’t get Buddypress to register a single User…I have re-installed WordPress, Re-installed Buddypress – all I need to do to get going is just create 1 User!!!!!

    I’m using WordPress 3.8, Buddypress 1.9, Theme Twenty Fourteen and am developing my first site locally on my Mac using MAMP (which has probably got something to do with it!).

    The only way I can create new users is in the “Add New User” under the “User” menu.

    My “Create Account” page displays fine, allows Me to input the info to create a new user, but when I hit “complete sign up” the page simply re-displays with the same information in it (except the password) and the User is not created.

    Any help would be much appreciated!

    #176336
    Tully5150
    Participant

    PLEASE HELP!!!!! I’ve been at this for 2 days now and I still can’t get Buddypress to register a single User…I have re-installed WordPress, Re-installed Buddypress – all I need to do to get going is just create 1 User!!!!!

    #176326
    lz430
    Participant

    Still kind of confused. Sorry for the delay between responses. I’ll be more responsive now.

    Where should I use the type=alphabetical now?
    Here’s my code again:

    <?php
    /*
    Template Name: Buddypress Leadership Template
    */
    ?>
    
    <?php get_header(); ?>
    <?php if ( bp_has_members() ) : ?>
     
        <h4 id="executive-header">Executive Board</h4>
        <div class="leadership-list">
            <ul class="members-list executives leadership item-list" role="main">
           <?php while ( bp_members() ) : bp_the_member(); ?>
            <?php 
                global $current_site; 
                $user_id = bp_get_member_user_id(); 
                $memberOf = xprofile_get_field_data( 'Member of' ,bp_get_member_user_id(), $multi_format = 'array');
                $jobTitle = xprofile_get_field_data( 'Job Title' ,bp_get_member_user_id());
                $companyName = xprofile_get_field_data( 'Company' ,bp_get_member_user_id());
                $lastName = xprofile_get_field_data( 'Last Name' ,bp_get_member_user_id());
                if ($memberOf != '') {
                    foreach($memberOf as $key => $value){
                ?>
            <?php 
            if($value == "Executive Board") {?>
            
               <li class="member-dir-member">
                    <div class="column-first">
                        <div class="item-avatar">
                            <a href="<?php bp_member_permalink(); ?>"><?php bp_member_avatar(); ?></a>
                         </div>
                     </div>
                    <!-- end column-first -->
                    <div class="column">
                        <div class="item">
                            <div class="item-title">
                                <a href="<?php bp_member_permalink(); ?>" class="member-name"><?php bp_member_name(); ?> <?php echo $lastName ?></a>  
                                <div class="job-title"> <?php echo $jobTitle; ?> of </div>
                                <div class="company-name"> <?php echo $companyName ?></div>
                            </div>  
                        </div>
                    </div>
                    <!-- end column -->
                    <div class="clear"></div>
                </li>
           
    
        <?php } ?>
        <?php     }
                } endwhile; ?>
     
         </ul>
        </div>
    
        <h4 id="steering-header">Steering Committee</h4>
        <div class="leadership-list">
            <ul class="members-list executives leadership item-list" role="main">
           <?php while ( bp_members() ) : bp_the_member(); ?>
            <?php 
                global $current_site; 
                $user_id = bp_get_member_user_id(); 
                $memberOf = xprofile_get_field_data( 'Member of' ,bp_get_member_user_id(), $multi_format = 'array');
                $jobTitle = xprofile_get_field_data( 'Job Title' ,bp_get_member_user_id());
                $companyName = xprofile_get_field_data( 'Company' ,bp_get_member_user_id());
                $lastName = xprofile_get_field_data( 'Last Name' ,bp_get_member_user_id());
                if ($memberOf != '') {
                    foreach($memberOf as $key => $value){
                ?>
            <?php 
            if($value == "Steering Committee") {?>
               <li class="member-dir-member">
                    <div class="column-first">
                        <div class="item-avatar">
                            <a href="<?php bp_member_permalink(); ?>"><?php bp_member_avatar(); ?></a>
                         </div>
                     </div>
                    <!-- end column-first -->
                    <div class="column">
                        <div class="item">
                            <div class="item-title">
                                <a href="<?php bp_member_permalink(); ?>" class="member-name"><?php bp_member_name(); ?> <?php echo $lastName ?></a>  
                                <div class="job-title"> <?php echo $jobTitle; ?> of </div>
                                <div class="company-name"> <?php echo $companyName ?></div>
                            </div>  
                        </div>
                    </div>
                    <!-- end column -->
                    <div class="clear"></div>
                </li>
          
    
        <?php } ?>
        <?php     }
                } endwhile; ?>
     
          </ul>
        </div>
        <?php do_action( 'bp_after_directory_members_list' ); ?>
    
     <?php else: ?>
       <div id="message" class="info">
         <p><?php _e( "Sorry, no members were found.", 'buddypress' ); ?></p>
       </div>
    
    <?php endif; ?>
    <?php get_footer(); ?>
    
    fquiquet
    Participant

    Hi Aron,

    Hi all,
    I need your advice about Templatic Theme.
    Their author told me they don’t compatible with BuddyPress.
    Nevertherless I red that someone of you have successfully used Templatic theme and BP.
    So it’s possible ?

    My wish is to used Directory Theme with BP.
    http://templatic.com/app-themes/directory-theme/

    Tell me if it’s possible ?
    and how ?

    #176301
    modemlooper
    Moderator

    If you have a properly coded WordPress theme you do not need to copy the BuddyPress folder unless you want to customize a template.

    #176296
    Matt McFarland
    Participant

    I am having the same issue. intuition tells me this is a JS issue. Currently tested on Chrome.

    Have left this issue (forgot about it) until I read this.

    Here’s a few troubleshooting things you could try:

    First the mundane things that should always be done when something isnt working right (lol):

    0. Try in all browsers – see if this is a browser issue or not, clear cache etc
    1. Try using buddypress default theme, see if it stops there then you know its something to do with your theme. (then we go from there)
    2. If still having the problem, try without all other plugins disabled – if it works now then you know it has something to do with a plugin.

    Haven’t really dug into this (too many other irons in the fire!!) but am curious about it, hope you get it resolved and will follow this thread.

    #176295
    Matt McFarland
    Participant

    Hi there,

    I created my own theme and had to manually bp into it to get everything functioning properly.

    What you do is make a subfolder called buddypress in your theme directory.

    THen you want to copy /template/bp-legacy/* over to buddypress recursively.

    To change the CSS, you’ll want to copy or create a buddypress.css file and put it in the buddypress folder you made.

    hth

    Matt McFarland
    Participant

    For the most part, Buddypress is great! However, as a theme/php developer, its great strengths (ease if use and installation) also become its weakness. Customizing the Activity feed beyond CSS (ie: building your own template), the labyrinth of procedural code, the dated codex, and the hooks and actions becomes quite the challenge.

    Now, if you just want to customize the title, change colors, or modify the layout a lot of that can be achieved by CSS.

    But if you want to access activity data beyond it’s intended scope (say, for mobile app development, API layers, or just becasue you want to get your hands on it!) then this guide is for you!!

    Prerequisites:
    Basic PHP Knowledge
    WP Theme development experience (even child-theme)
    Experience using the fabled ‘functions.php’ and template tags.

    Ok, so if you meet the prerequisites allow me to share with you the best bp function ever (well, maybe not ever, but the best one for me, right now, haha)

    take a look at /wp-content/plugins/buddypress/bp-activity/bp-activity-functions.php – line:900ish and say hello to pandoras box!

    
    /**
     * Retrieve an activity or activities.
     *
     * bp_activity_get() shares all arguments with BP_Activity_Activity::get(). The
     * following is a list of bp_activity_get() parameters that have different
     * default values from BP_Activity_Activity::get() (value in parentheses is
     * the default for the bp_activity_get()).
     *   - 'per_page' (false)
     *
     * @since BuddyPress (1.2)
     *
     * @see BP_Activity_Activity::get() For more information on accepted arguments
     *      and the format of the returned value.
     * @uses wp_parse_args()
     * @uses wp_cache_get()
     * @uses wp_cache_set()
     * @uses BP_Activity_Activity::get() {@link BP_Activity_Activity}
     * @uses apply_filters_ref_array() To call the 'bp_activity_get' hook.
     *
     * @param array $args See BP_Activity_Activity::get() for description.
     * @return array $activity See BP_Activity_Activity::get() for description.
     */
    function bp_activity_get( $args = '' ) {
    	$defaults = array(
    		'max'              => false,        // Maximum number of results to return
    		'page'             => 1,            // page 1 without a per_page will result in no pagination.
    		'per_page'         => false,        // results per page
    		'sort'             => 'DESC',       // sort ASC or DESC
    		'display_comments' => false,        // false for no comments. 'stream' for within stream display, 'threaded' for below each activity item
    
    		'search_terms'     => false,        // Pass search terms as a string
    		'meta_query'       => false,        // Filter by activity meta. See WP_Meta_Query for format
    		'show_hidden'      => false,        // Show activity items that are hidden site-wide?
    		'exclude'          => false,        // Comma-separated list of activity IDs to exclude
    		'in'               => false,        // Comma-separated list or array of activity IDs to which you want to limit the query
    		'spam'             => 'ham_only',   // 'ham_only' (default), 'spam_only' or 'all'.
    
    		/**
    		 * Pass filters as an array -- all filter items can be multiple values comma separated:
    		 * array(
    		 * 	'user_id'      => false, // user_id to filter on
    		 *	'object'       => false, // object to filter on e.g. groups, profile, status, friends
    		 *	'action'       => false, // action to filter on e.g. activity_update, profile_updated
    		 *	'primary_id'   => false, // object ID to filter on e.g. a group_id or forum_id or blog_id etc.
    		 *	'secondary_id' => false, // secondary object ID to filter on e.g. a post_id
    		 * );
    		 */
    		'filter' => array()
    	);
    	$r = wp_parse_args( $args, $defaults );
    	extract( $r, EXTR_SKIP );
    
    	// Attempt to return a cached copy of the first page of sitewide activity.
    	if ( 1 == (int) $page && empty( $max ) && empty( $search_terms ) && empty( $meta_query ) && empty( $filter ) && empty( $exclude ) && empty( $in ) && 'DESC' == $sort && empty( $exclude ) && 'ham_only' == $spam ) {
    		if ( !$activity = wp_cache_get( 'bp_activity_sitewide_front', 'bp' ) ) {
    			$args = array(
    				'page'             => $page,
    				'per_page'         => $per_page,
    				'max'              => $max,
    				'sort'             => $sort,
    				'search_terms'     => $search_terms,
    				'meta_query'       => $meta_query,
    				'filter'           => $filter,
    				'display_comments' => $display_comments,
    				'show_hidden'      => $show_hidden,
    				'spam'             => $spam
    			);
    			$activity = BP_Activity_Activity::get( $args );
    			wp_cache_set( 'bp_activity_sitewide_front', $activity, 'bp' );
    		}
    
    	} else {
    		$args = array(
    			'page'             => $page,
    			'per_page'         => $per_page,
    			'max'              => $max,
    			'sort'             => $sort,
    			'search_terms'     => $search_terms,
    			'meta_query'       => $meta_query,
    			'filter'           => $filter,
    			'display_comments' => $display_comments,
    			'show_hidden'      => $show_hidden,
    			'exclude'          => $exclude,
    			'in'               => $in,
    			'spam'             => $spam
    		);
    		$activity = BP_Activity_Activity::get( $args );
    	}
    
    	return apply_filters_ref_array( 'bp_activity_get', array( &$activity, &$r ) );
    }
    

    This magical function, dubbed bp_activity_get() will allow you to get just about every piece and part of an activity feed even OUTSIDE of a bp loop. Not only that, but it allows for you to run filters through it, meaning you can grab activities by group, by member, sitewide, or just ONE activity if you want.

    Here’s a sample function I made that grabs the 8 most recent activities and puts the keys I found important into an array. If you’re familiar with the wp $post object, this is quite similar:

    
    /**
    * Dumps a list of the latest activities. May be used with pagination by setting $current_page
    *
    * @posts_per_page	INT, Default is 8.
    * @current_page		INT, which page you are on, Default is 1.
    *
    * @var_dump 	ARRAY, activity items.
    */
    
    function get_latest_activities($posts_per_page=8,$current_page=1) {
    	$args = array (
    		'page'	=>	$current_page,
    		'per_page' => $posts_per_page
    	);
    	$pre_rec = bp_activity_get($args);
    	$activities = $pre_rec['activities'];
    	$results = array();
    	foreach ($activities as $activity) {
    		$record = array(
    			'ID'		=> strip_tags($activity->id),
    			'TYPE'		=> strip_tags($activity->type),
    			'TIME' 		=> strip_tags($activity->date_recorded),
    			'AUTHOR' 	=> strip_tags($activity->display_name),                
    			'TITLE' 	=> strip_tags($activity->action),
    			'CONTENT' 	=> strip_tags($activity->content),
    			'ITEM_ID'	=> strip_tags($activity->item_id),		
    			'REL_ID'	=> strip_tags($activity->secondary_item_id),		
    		);
    		array_push($results, $record );
            unset($record);
    
        }
    	foreach ($results as $record) {
    		var_dump ($record);
    		print "<br>###################<br>";	
    	}	
    }
    

    So now, I could place any piece of the data, anywhere I want. You could also (if you wanted to) create template tags that are much more custom. You can also get the data outside of the loop, throw it in the <head> section for SEO purposes, and on and on and on. Maybe you want to throw a widget on your site with the latest activities? This method will do it.

    Let me know if you have any questions, I hope this helps, because it took me way too long to figure this out and the current documentation did not help.

    rockydude
    Participant

    Hello

    I have tried this buddypress plugin on 2 different sites and both of them giving me the same problem.

    I am not able to upload my own Avatar properly, after i uploaded it, it asks me to crop the image, but please see what happen when i select the dimension to crop here

    can someone help me with this?

    thanks

    #176286
    modemlooper
    Moderator

    You do not need to “integrate” BuddyPress with a theme in the current version. What theme are you using?

    #176284
    modemlooper
    Moderator

    What an exhaustive way to get “post to someone’s profile functionality”. This could have easily been done using the core activity stream without the need to remove and then replace with almost identical code.

    You can add customized activity items with a custom post form. As for changing Activity text to Wall that is simple to edit as well. Adding custom template files for the activity isn’t a good idea as they can be altered in a theme.

    Create custom activity using this function https://codex.buddypress.org/developer/function-examples/bp_activity_add.

    #176279
    rianhall
    Participant

    I am still having this problem and REALLY need a solution. I’m not a developer so ca anyone walk me through what I need to do?

    so far I have added this to my functions.php

    // to exclude only defined roles in the Buddypress Members LOOP
    
    function exclude_by_role($exclude_roles) {
    
    $memberArray = array();
    
    if (bp_has_members()) :
    while (bp_members()) : bp_the_member();
    $user = new WP_User( bp_get_member_user_id() );
    $user_role = $user->roles[0];
    foreach ($exclude_roles as $exclude_role) {
    if ($exclude_role==$user_role) {
    array_push($memberArray, $user->ID);
    break;
    }
    }
    endwhile;
    endif;
    
    $theExcludeString=implode(",",$memberArray);
    
    return $theExcludeString;
    }
    

    Then added this to my member-loop.php

     
    $excluded_roles = array ('administrator', 'author', 'subscriber'); // this can be any roles you have set up
    	if (bp_has_members( 'exclude=' . exclude_by_role($excluded_roles) . '&' . bp_ajax_querystring( 'members' ) ) ) : 
    

    Unfortunately, no luck. It is not excluding any of the three roles noted above.

    #176278
    davidassange
    Participant

    Oh, and am using the latest WordPress and BuddyPress.

    #176277
    davidassange
    Participant

    Hi,
    I’m having a bit of a pickle with the single activity item view. The theme I’m currently using supports BuddyPress, however, it’s not BuddyPress integrated. So I tried to advance integrate it with BuddyPress. I pasted the bp-default theme templates into my theme, added theme support in my functions.php, etc… Overall, I did everything correct and everything went perfectly well, until I noticed that when I click on the activity item “read-more” or “view” link, it leads to a broken layout page. I think it has to do with the 2 different integrations, but I’m not sure. So Someone Please Help. Will Be Much Appreciated.
    Cheers.

    sundev
    Participant

    happy new year everybody.

    Congratulations to us @mfmsw2youth. to get this solved.
    @hnla. thanks for your contribution.

    @buddypress newbies: Please ensure to put the code in your theme-child to keep the changes in the feature update.

    And of cause finally the BOSS himself 🙂 @henrywright-1. Thank you very, very much for the great code. It worked greatly.

    #176275
    Tully5150
    Participant

    Hi,

    I’m using WordPress 3.8, Buddypress 1.9, Theme Twenty Fourteen and am developing my first site locally on my Mac using MAMP (which has probably got something to do with it!).

    The only way I can create new users is in the “Add New User” under the “User” menu.

    My “Create Account” page displays fine, allows Me to input the info to create a new user, but when I hit “complete sign up” the page simply re-displays with the same information in it (except the password) and the User is not created.

    Any help would be much appreciated!

    #176274
    glyndavidson
    Participant

    I’ve read this article on Segregated X-Profile Fields for Multisite which explains how to “create separate tables for each site, so Extended Profile Fields work independently on the network”.

    Looking at the example code, it only shows how to segregate X-Profile fields.

    Before I go down a path that could lead to much frustration, can anybody tell me if the same is possible with groups?

    Perhaps by adding a few lines of code to the example:

    
    function add_custom_bp_groups_tables($sql) {
    ...
      $sql[] = "CREATE TABLE {$wpdb->prefix}bp_groups (
        // bp_groups table fields would go here
      ) {$charset_collate};";
      return $sql;
    }
    
    add_action( 'bp_init', 'modify_bp_global_groups_tablenames' );
    add_action( 'switch_blog', 'modify_bp_global_groups_tablenames' );
    
    function modify_bp_global_groups_tablenames() {
    	global $bp, $wpdb;
    	$bp->groups->table_name            = $wpdb->prefix . 'bp_groups';
    	$bp->groups->table_name_groupmeta  = $wpdb->prefix . 'bp_groups_groupmeta';
    	$bp->groups->table_name_members    = $wpdb->prefix . 'bp_groups_members';
    }
    

    And, by default, does the member’s loop only query users of the current blog, or does it query users for the entire network?

    #176273
    johnnymestizo
    Participant

    I couldn’t get it working with the latest buddypress – just whitescreened my buddypress pages. (header still loaded.) will get back to you with some debug info…

    #176272
    jackf
    Participant

    First, thank you BuddyPress Devs and Community for the plugin(s) and all the work over the past 4 years. I have been using BuddyPress since version 1 for a private community.

    I have a site running WP 3.8 & BP 1.9.

    All of the features in BuddyPress including Activity streams are working perfectly.

    However, Sites Tracking is the only part I cannot get fully functioning the way I need it because,

    WordPress Blogs

    I really need to show all of our blogs/sites in this private BuddyPress network to display in the All Sites tab on the standard BuddyPress Sites Tracking Directory for all network users even when marked “discourage search engines…”

    Is there a workaround/hack? or a plugin recommendation? I’m looking for a scalpel, not a Swiss Army knife.

    I’ve tried several stabs at this and searched the forums and the BuddyPress blogs/sites documentation here, but have run into what appears to be a hard block or possibly a filter somewhere and I can’t find it.

    Would be grateful for a solution that restores the very useful sites directory to private BuddyPress networks.

    Thank you.

    ebiznet
    Participant

    WP v3.8
    BuddyPress v1.9
    Site: http://ehangar.com

    I activated a Classifieds plugin which resulted in a warning notification by BuddyPress which appears at the top of every screen on my site now. The warning reads:
    “Warning: Creating default object from empty value in /home/ehangar/public_html/wp-content/plugins/classifieds/core/buddypress.php on line 60”

    Can someone please help me troubleshoot this? The Classifieds plugin appears to be working ok, so if this is a conflict with BuddyPress, how can I resolve this?

    Thanks in advance for any help offered!

Viewing 25 results - 27,451 through 27,475 (of 94,561 total)
Skip to toolbar