Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 17,626 through 17,650 (of 68,918 total)
  • Author
    Search Results
  • #177048
    shanebp
    Moderator

    I would think that there are several places where a link to the BP profile would appear.

    To handle them all, including the case you state, try using the filter hook in
    function bp_loggedin_user_domain()

    return apply_filters( 'bp_loggedin_user_domain', isset( $bp->loggedin_user->domain ) ? $bp->loggedin_user->domain : '' );
    

    found in
    buddypress\bp-members\bp-members-template.php

    #177047
    jewbi
    Participant

    where to set the message of buddypress? what are the variable?

    need some help please

    #177046
    BroadRippleInc
    Participant

    I am having this problem too, on multiple sites, with different themes. I have tested changing to twentyfourteen, disabling plugins, nothing is working.

    The pages of Buddypress that are redirecting to 404 pages are Notifications, Messages, and Profile, maybe some others.

    Groups, Members, and Activity work fine.

    My htaccess has the same settings as a site that completely works.

    Any help would be appreciated.

    #177044
    shanebp
    Moderator

    Use something like this:
    https://wordpress.org/plugins/buddypress-profile-progression/

    Omit the visual and add the member to your admin display and / or send an email when ‘points == x’

    Ben Hansen
    Participant

    admin i believe for all buddypress backend options.

    BroadRippleInc
    Participant

    I am also buddypress 1.9.1 and still having this problem on multiple sites.

    On one site, Artisteer Themes don’t seem to support Notifications, Messages, Profile, although I may need to do some playing around to see if that is on all Artisteer themes.

    Notifications are definitely displaying wrong on the Custom Community Theme.

    #177027

    In reply to: Change TextBox Size

    n1ck
    Participant

    Can you show me where i should add this?

    
    
    
    /**
     * BuddyPress Login Widget.
     *
     * @since BuddyPress (1.9.0)
     */
    class BP_Core_Login_Widget extends WP_Widget {
    
    	/**
    	 * Constructor method.
    	 */
    	public function __construct() {
    		parent::__construct(
    			false,
    			_x( '(BuddyPress) Log In', 'Title of the login widget', 'buddypress' ),
    			array(
    				'description' => __( 'Show a Log In form to logged-out visitors, and a Log Out link to those who are logged in.', 'buddypress' ),
    				'classname' => 'widget_bp_core_login_widget buddypress widget',
    			)
    		);
    	}
    
    	/**
    	 * Display the login widget.
    	 *
    	 * @see WP_Widget::widget() for description of parameters.
    	 *
    	 * @param array $args Widget arguments.
    	 * @param array $instance Widget settings, as saved by the user.
    	 */
    	public function widget( $args, $instance ) {
    		$title = apply_filters( 'widget_title', $instance['title'] );
    
    		echo $args['before_widget'];
    
    		echo $args['before_title'] . esc_html( $title ) . $args['after_title']; ?>
    
    		<?php if ( is_user_logged_in() ) : ?>
    
    			<?php do_action( 'bp_before_login_widget_loggedin' ); ?>
    
    			<div class="bp-login-widget-user-avatar">
    				">
    					<?php bp_loggedin_user_avatar( 'type=thumb&width=50&height=50' ); ?>
    				
    			</div>
    
    			<div class="bp-login-widget-user-links">
    				<div class="bp-login-widget-user-link"><?php echo bp_core_get_userlink( bp_loggedin_user_id() ); ?></div>
    				<div class="bp-login-widget-user-logout">"><?php _e( 'Log Out', 'buddypress' ); ?></div>
    			</div>
    
    			<?php do_action( 'bp_after_login_widget_loggedin' ); ?>
    
    		<?php else : ?>
    
    			<?php do_action( 'bp_before_login_widget_loggedout' ); ?>
    
    			<form name="bp-login-form" id="bp-login-widget-form" class="standard-form" action="<?php echo esc_url( site_url( 'wp-login.php', 'login_post' ) ); ?>" method="post">
    				<label for="bp-login-widget-user-login"><?php _e( 'Username', 'buddypress' ); ?></label>
    				<input type="text" name="log" id="bp-login-widget-user-login" class="input" value="" />
    
    				<label for="bp-login-widget-user-pass"><?php _e( 'Password', 'buddypress' ); ?></label>
    				<input type="password" name="pwd" id="bp-login-widget-user-pass" class="input" value=""  />
    
    				<div class="forgetmenot"><label><input name="rememberme" type="checkbox" id="bp-login-widget-rememberme" value="forever" /> <?php _e( 'Remember Me', 'buddypress' ); ?></label></div>
    
    				<input type="submit" name="wp-submit" id="bp-login-widget-submit" value="<?php _e( 'Log In', 'buddypress' ); ?>" />
    
    				<?php if ( bp_get_signup_allowed() ) : ?>
    
    					<span class="bp-login-widget-register-link"><?php printf( __( 'Register', 'buddypress' ), bp_get_signup_page() ); ?></span>
    
    				<?php endif; ?>
    
    			</form>
    
    			<?php do_action( 'bp_after_login_widget_loggedout' ); ?>
    
    		<?php endif;
    
    
    #177022
    Tecca
    Participant

    BP Default still comes packaged with BuddyPress, and it will for a while until it’s phased out. By then we’ll be seeing the theme on WordPress.org, though I believe there’s one already up.

    Add this to bp-custom.php to have it show in your WordPress appearances:

    add_filter( 'bp_do_register_theme_directory', '__return_true' );

    #177018
    n1ck
    Participant

    Thanks for your help, i changed them, if you have time take a look at my other 2 problems that i have.

    https://buddypress.org/support/topic/lower-the-search-textbox/

    https://buddypress.org/support/topic/change-textbox-size/

    #177011
    n1ck
    Participant

    not buddypress .css files?

    #176993
    Globetrotter12
    Participant

    Hi! I must admit that I love buddypress. But the activity page has not been well thought for the common usage. I agree that being able to collapse comments easily would be a huge step forward for the plugin. It should actually be in the options. Another option that is a MUST is the possibility of making updates the default, not everything.
    Without those, Buddypress is not going anywhere. With those buddypress would be a revolution.
    I have looked for info everywhere and nothing worked for me. I really love the plugin, you guys are awesome but please consider those two elements as usability necessities. It’s not just details.
    I am running with everything updated wordpress, buddypress everything. Please help, anyone, peers?

    #176989
    Neosnc
    Participant

    This worked beautifully for WordPress 3.8 + Buddypress 1.9.1. Thank you!

    #176986
    Marcella
    Participant

    This is still happening. Any ideas?

    Clean install, BuddyPress 1.9.1 and WordPress 3.8

    #176984
    stoi2m1
    Participant

    I have my custom component working with a custom post type. I found the tutorials written for the development of bp-checkins quite helpful. Info for others needing info on how I accomplished this can be found in these files ExtendBuddyPress-part1.pdf and ExtendBuddyPress-part2-en.pdf.

    I looked into the achievements plugin but couldn’t find if or how they were using taxonomies in the url of a custom component.

    Ive been thinking it might be easier to use subnavs and actions to accomplish what I want.
    Using a URL like this:
    http://www.domain.com/music/type/mix
    or
    http://www.domain.com/music/genre/rock-n-roll

    Where music is my component, type/genre is my subnav slug and mix/rock-n-roll is my action.

    This would give me a way to create an archive page for mixes/rock-n-roll. I would use a negative value for the position so the subnav is not visible on subnav menu.

    Are there any side effects or things I should be concerned with when using this method, like how would I implement pagination of the results or how to keep someone from creating a music item that is the same name as the subnav slugs i am using.

    Thanks,
    Jesse

    #176980
    wiste
    Participant

    I made it so that the “home” tab was named the “activity” tab, moved it over, and made the “forum” tab the first tab that users see when viewing a group. That way at least the first thing they see isn’t the activity feed for the group which is very overwhelming.

    You can do this for each group individually using the BuddPress Group Extras plugin, but you’d have to do it one group at a time. Instead, I added some code to my functions.php in my child theme to do the same thing, but for all groups.

    Below are the two functions I created. The first renames the activity tab and moves it over, the second forces the “forum” tab to be the first tab a user sees when visiting the group (unless the group has no forum in which case it still defaults to the activity tab).

    //function to reorder and rename group tabs in buddypress
    function whff_setup_nav() 
    {
    
    global $bp;
    
      if (isset($bp->groups->current_group->slug) && $bp->groups->current_group->slug == $bp->current_item) 
      {
         $bp->bp_options_nav[$bp->groups->current_group->slug]['home']['position'] = 110;
    	 
    	 $bp->bp_options_nav[$bp->groups->current_group->slug]['home']['name'] = 'Activity';
    	 
    }
    
    } 
    add_action( 'bp_setup_nav', 'whff_setup_nav', 100000 );
    
    //function to redirect group home pages to the forum tab instead of the activity tab
    function redirect_group_home() {
      global $bp;
      $path = clean_url( $_SERVER['REQUEST_URI'] );
      $path = apply_filters( 'bp_uri', $path );
      if (bp_is_group_home() && strpos( $path, $bp->bp_options_nav[$bp->groups->current_group->slug]['home']['slug'] ) === false && bp_is_active('forums') ) {
        if ($bp->groups->current_group->is_user_member || $bp->groups->current_group->status == 'public') {
          bp_core_redirect( $path . 'forum/' );
        }
      }
      
    }
    
    add_action('bp_init', 'redirect_group_home');
    
    Tearstone
    Participant

    @jlarosa 1.9.1 was released to include this fix for #5299: https://codex.buddypress.org/developer/releases/version-1-9-1/

    jlarosa
    Participant

    Is there any update on this? I’m a WordPress expert, but just starting to dabble into Buddypress. I’m experiencing the same problem and tried applying the patches, but it didn’t seem to fix the problem. I’m using the Huddle Theme (Purchased), also having same issue with Frisco Child Theme.

    Any timeline on 1.9.1 roll out?

    Ben Hansen
    Participant

    if you are talking about editing the regular wordpress profile fields from the front end the same way you edit the extended buddypress profiles that may be part and parcel with a feature i am currently lobbying for for 2.0 which is the merger of the two, both fronted and back.

    if that’s something you’d also like to see or is what you are trying to accomplish then i would urge you to enter this code patch as a ticket in trac:

    https://buddypress.trac.wordpress.org

    and while you’re at it please take the survey for any other input you have as far what you’d like to see for buddypress 2.0 i believe today’s meeting is where the new features will be scoped so the next few hours could be the last chance to give your input:

    2014 BuddyPress Survey

    also if you want to attend the devchat itself it’s held on irc at 20:00 UTC every wednesday on the channel #buddypress-dev

    if you do not have an irc client you can use the web browser version here:

    http://webchat.freenode.net

    hope to see you there!

    CORRECTION: the feature scoping has been postponed until next week.

    Tecca
    Participant

    I think we’re a bit confused because this is a native feature of one of BuddyPress’ default components. In Admin CP -> Settings -> BuddyPress Components you find one called Account Settings.

    Allow your users to modify their account and notification settings directly from within their profiles.

    The link should be, though there should be a tab in the profile itself:

    http://example.com/members/USERNAME/profile/edit/

    Replace example and USERNAME.

    Tim2376
    Participant

    Yes, I know you can edit all the field from the back end. However, I am trying to get it to allow you to show and edit the fields from the front end. Here were the steps I am thinking about using:

    1) Use BuddyPress Custom Profile Menu plugin to create new tabs on the profile page like, “about”
    2) make a function in function.php of my theme that would display the content for a user and allow them to edit it if it was their profile.
    3) create a shortcode function that linked to the function in step 2.
    4) Add the shortcode in the new page created with BuddyPress Custom Profile Menu plugin in step 1.

    I know how to do step 1, 3, and 4. I have an idea of how to do step 2, but I am a little fuzzy on it. Here is what I was thinking(I don’t really know php):

    function ProfileAboutPageContent(){
        if(bp_loggedin_user_id() == $GLOBALS['bp']->displayed_user->userdata->user_login)
        {
        echo "<p>'"bp_profile_field_data( 'field=User Bio' )"'</p>";
        //Allow user to edit the content(not sure how)
        } elseif {
        echo "<p>'"bp_profile_field_data( 'field=User Bio' )"'</p>";
        {
    }
    add_shortcode('AboutContent', 'ProfileAboutPageContent');

    Are there any errors in this code? I am not sure how to allow users to edit the content if they are the right user. Any ideas on how I could change this code? I am planning on putting this code in the function.php of my current theme.

    The idea is that after I get this function and short code right I can add the shortcode to the new page I can create with the BuddyPress Custom Profile Menu plugin.

    If anyone would be willing to help me figure this out I would greatly appreciate it. Thanks!

    Ben Hansen
    Participant

    the front end buddypress profile is not connected to the backend one (for the most part) you may be missing the fact that the front end profile fields need to be set by you in the profile fields section of your users settings in wp admin. those fields are only editable from the front end by default.

    #176949
    Asynaptic
    Participant

    because of its nature (membership site where content differs depending on being logged in vs. logged out content) the best caching solution for buddypress is partial page caching (aka fragment cache), something that sort of exists and sorta doesn’t.

    my suggestion is to take the BP survey and to add your voice for it so the developers know there is real demand:

    2014 BuddyPress Survey

    more info:
    http://chrislema.com/high-performance-wordpress-membership-site/

    Fragment caching in WordPress to optimize site speed for logged-in users


    https://bitbucket.org/Rarst/fragment-cache
    https://wordpress.org/plugins/fragmentcache/

    #176947
    Ben Hansen
    Participant

    that plugin works fine with buddypress but analytics itself doesn’t really treat bp pages any different from any other. You can set up filters, views and other GA settings to get a better picture. You might also want to check this plugin out its not free ($16 dollars i believe) but it is specifically designed to give you buddypress specific behavior analytics:

    BuddyReports

    #176941
    Calvin Powers
    Participant

    Thank you thank you thank you! However, it only removes the stuff at the bottom of the page. What do I need to add to the buddypress.php file to remove the “By” underneath the page title?

    #176940
    @mercime
    Participant

    @scottwermter thank you. Will report this.

    Edit – Done. https://buddypress.trac.wordpress.org/ticket/5337

Viewing 25 results - 17,626 through 17,650 (of 68,918 total)
Skip to toolbar