Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 11,951 through 11,975 (of 69,016 total)
  • Author
    Search Results
  • #244535

    In reply to: Unsubscribe

    Henry Wright
    Moderator

    Settings > Email should do it. Alternatively you can go straight to the page via:

    https://buddypress.org/members/username/settings/notifications/

    #244526
    danbp
    Participant

    @douglaslovin83

    You’re lucky !
    Download the latest version of the plugin, as it seems that this is now in since 101 minutes:
    Added support for Buddypress custom profile fields

    https://plugins.trac.wordpress.org/browser/wp-auto-affiliate-links/

    danbp
    Participant

    @froster2,

    add a conditionnal to existing on template for that element.
    $user_id != bp_loggedin_user_id()

    In /child-theme/buddypress/members/single/activity.php
    Replace line 48 or so with this:

    if ( is_user_logged_in() && bp_is_my_profile() && ( $user_id != bp_loggedin_user_id() ) && ( !bp_current_action() || bp_is_current_action( 'just-me' ) ) )

    danbp
    Participant

    WordPress is the software behind buddyPress.
    If you need custom roles&capabilities on your site, you can add roles programatically as explained on your mentionned tutorial. If it works, site admin can attribute one of the additionnal role to members, within admin.

    BuddyPress, at this time, handles only member types. A member type is not a role or a capability à la WordPress, but only a way to sort better your members. In other words, a kind of a member category.

    To handle such behave from front-end while registering, you can associate a xprofile field value with an existing WP role. See here for a solution (untested) provided a few month ago.
    https://buddypress.org/support/topic/how-to-assign-a-wp-user-role-based-on-a-registration/#post-232887

    Add snippet to your child theme functions.php or into bp-custom.php and give it a try.

    #244499
    niyaza
    Participant

    I also faced the same error, showing HTTP error while upload avatar on buddypress profile.
    On my site also have bbpress and BuddyPress plugins.
    In my site don’t have BBPress plugin ‘Forum Restrict’.
    Can you advice how I would resolve this issue.

    #244495
    djsteveb
    Participant

    @deklein
    starting a new thread for the exact same issue is rude and wastes precious support time (of which we have very little around here) – please keep it in the same thread: https://buddypress.org/support/topic/buddypress-logged-in-menu-items-not-manifesting/


    @mods
    please delete this one.

    #244494
    djsteveb
    Participant

    @deklein – it certainly would not hurt, and would be pretty fast and easy to make a backup of your entire wordpress install (all files on server, maybe a zipped folder) – then delete your buddypress plugin and all your default themes.. reinstall a fresh 2014 theme and buddypress – activate and test. Very strange that those do not show up with all other plugins disabled while switched to 2014 theme – and you even checked screen options..

    I would say before trying that I would try to mess with that menu using a different browser.. sometimes things work in firefox that do not work in chrome.. sometimes a browser plugin blocks something from loading somewhere that you may not find is an issue when using Internet Explorer..

    #244490
    deklein
    Participant

    Tried both changing the theme and disabling all plugins but buddy-press. To no avail. I didnt think it was another plugin interfering with buddypress’ ability to manifest the buttons. It has to be something else, maybe my buddypress is corrupt?

    #244486
    djsteveb
    Participant

    Sounds like this is a theme issue and likely not an issue in regards to the 2014 / 2015 themes.. so you are probably going to have to contact your theme author about this.

    You also did not provide any info about your setup – ( https://buddypress.org/support/topic/when-asking-for-support-2/ ) so there is no way anyone could guess about this.. have things changed with bp? quite a bit with some updates, and not so much with others –

    you should disable all plugins aside from bp and see if the issue continues first imho.

    if so – your theme author will likely have to dig into the issue.

    #244477
    shanebp
    Moderator

    Review this example.
    You’ll need to adjust it to gather PM levels.
    Ditto re this example.

    #244473
    JECPFG
    Participant

    You are correct on all three of your questions.

    I tried switching themes and am still seeing the same issue.

    I’m actually using BuddyPress in conjunction with WPMUDev’s Membership 2 Pro plugin, so it’s an issue with how those two are functioning together. I’ve posted on WPMUDev’s forums but can’t seem to find an answer there either, so I tried posting here hoping one side would know what the problem may be.

    #244471
    shanebp
    Moderator

    A BP site uses BP to register users.
    So afaik, it is not possible to create a WP account but not automatically a BuddyPress profile.

    #244454

    In reply to: Where to learn.

    Henry Wright
    Moderator

    The best place to learn how BuddyPress works is the codebase. Over the past few years, the inline docs have been improved tremendously and are now at a point where they’re very useful.

    #244445
    anbusurendhar
    Participant

    https://buddypress.org/support/topic/make-your-own-custom-buddypress-page/.

    The snippet I found in the above link is as below:

    
    define('BP_EXAMPLE_SLUG', 'fun');
    
    function bp_show_example_page() {
    
    global $bp, $current_blog;
    
    if ( $bp->current_component == BP_EXAMPLE_SLUG && $bp->current_action == '' ) {
    
    // The first variable here must match the name of your template file below
    
    bp_core_load_template( 'fun', true );
    
    }
    
    }
    
    add_action( 'wp', 'bp_show_example_page', 2 );
    
    #244444
    anbusurendhar
    Participant

    Sorry the link is Link. My mistake

    #244443
    anbusurendhar
    Participant

    In buddypress, activity, members, group have a definite pages like ‘domain/activity’, ‘domain/members’, ‘domain/group’, respectively. Likewise I’m trying to create my own custom page like ‘domain/mycustom’.

    For this purpose I referred John James Jacoby’s Post in here. The snippet used in that link didn’t work for me. I don’t know where I’m missing.

    From that snippet, I found that $bp->current_component returns me an empty string.

    #244438
    anbusurendhar
    Participant

    @danbp : Thank You very much for your reply.

    Even I’ve tried bp_current_component() and bp_is_current_component() functions with no success.

    Actually this function works fine when used in default buddypress pages like domain/activity/. This returns me “activity”, which is exactly correct. But when I tried this in my custom page (domain/custompage), I’m getting an empty string.

    #244433
    bravenguyen
    Participant

    I’ve got the same problem. My installed theme is KLEO. I don’t know how but when I installed the same KLEO and related plugins on my PC’s localhost. The register/activate pages of BuddyPress v2.3.3 DID APPEAR! I opened both online and localhost pages on the same browser Google Chrome. How weird!
    BTW, I guess we have to create the pages manually.Thanks @danbp for your reply

    #244431
    djsteveb
    Participant

    @swissprice – There are several “chat” plugins what “work with wordpress / buddypress” – it would be easy to establish a group chat room that allows registered and non-registered users to chat with each other via the main chat room – and they can private message each other there.

    As far as “begin chat with this user” – I think you would need something that says “User A” is online now – and a setting that would allow a non-registered, non-logged in person to send a “message”. I think I saw a thread a while back where someone was trying to adapt the “single user profile page” to allow guest comments, aka activity post on that profile / user’s activity page..

    Not sure exactly what you are going for here.

    #244429
    LJagermaster
    Participant

    @edoescad you might have more luck creating your own post herehere

    I’m not a developer, in fact this was my first ever post on bp.org so I can’t help you on this… 🙂

    #244427
    deklein
    Participant

    Any suggestion, I’ve done a lot of looking around and have not found anyone having a similar problem!

    I have double checked that under Screen Options: BuddyPress is enabled, obviously. The plugin is active and I do not know of any errors. I have no idea as to why none of the menu items are appearing.

    #244418
    danbp
    Participant

    When you mention a member in a blog comment, that member is informed of that on is profile notification screen and via the notif bubble in user menu (top right under howdy). But no mail is send in this case.

    May be related topics:
    https://buddypress.org/support/topic/no-notifications-for-mentions-in-comments/
    https://buddypress.org/support/topic/notifications-component-fixing-custom-templatestemplates/

    Also:

    bp_notifications_add_notification

    #244417
    danbp
    Participant

    No. You have to create Activate/Register pages manually.

    Configure BuddyPress

    #244416
    danbp
    Participant

    hi @bigkahunaburger,

    Give this a try (goes to bp-custom.php or child-theme functions.php)

    function bpfr_get_user_comments_on_profile() {
    
    // number of comments to show per page
    define( 'DEFAULT_COMMENTS_PER_PAGE', 3 );
    
    $page = (get_query_var('page')) ? get_query_var('page') : 1;
    
    $limit = DEFAULT_COMMENTS_PER_PAGE;
    
    $offset = ($page * $limit) - $limit;
    
    $param = array(
    	'user_id' 	=> bp_displayed_user_id(),
    	'status'	=> 'approve',
    	'offset'	=> $offset,
    	'number'	=> $limit
    );
    
    $total_comments = get_comments(array(
    	'orderby' => 'comment_date',
    	'order'   => 'ASC',
    	'status'  => 'approve',
    	'parent'  => 0
    ));
    
    $pages = ceil(count($total_comments)/DEFAULT_COMMENTS_PER_PAGE);
    $comments = get_comments( $param );
    
    $args = array(
    	'base'         => @add_query_arg('page','%#%'),
    	'format'       => '?page=%#%',
    	'total'        => $pages,
    	'current'      => $page,
    	'show_all'     => false,
    	'mid_size'     => 4,
    	'prev_next'    => true,
    	'prev_text'    => __('« backward'),
    	'next_text'    => __('onward »'),
    	'type'         => 'plain'
    );
    
    // Output pagination
     echo paginate_links( $args );
    ?>
    
    <ul>
    <?php
    
    	foreach($comments as $comment) {
    
    	// short version
    	//echo '<li>'. ($comment->comment_content .'&nbsp;<a href="'. esc_url( get_permalink( $comment->comment_post_ID ) ) ).'">View post</a></li>';
    	
    	// long version
    		echo '<li>'. ($comment->comment_content .'&nbsp;<a href="'. esc_url( get_permalink( $comment->comment_post_ID ) ) ).'">'. get_the_title( $comment->comment_post_ID ) .'</a> Comment: '. get_comment_date( '', $comment ) .'</li>';
    	}
    ?>
    </ul>
    <?php
    
    }
    add_action ( 'my_profile_comment', 'bpfr_get_user_comments_on_profile' );
    
    function bpfr_comment_profile_setup_nav() {
    global $bp;
    
    	$parent_slug = 'comments';
    	$child_slug = 'comments_sub';	
    	
    	// Add nav item
    	bp_core_new_nav_item( array(
    	'name' => __( 'My comments' ),
    	'slug' => $parent_slug,
    	'screen_function' => 'bpfr_profile_comment_screen',
    	'position' => 40,
    	'default_subnav_slug' => $child_slug 
    	) );
    	
    	//Add subnav item 	 
    	bp_core_new_subnav_item( array( 
    	'name' => __( 'My latest comments' ), // as content title
    	'slug' => $child_slug, 
    	'parent_url' => $bp->loggedin_user->domain . $parent_slug.'/', 
    	'parent_slug' => $parent_slug, 
    	'screen_function' => 'bpfr_profile_comment_screen'
    	) );
    }
    
    		function bpfr_profile_comment_screen() {	
    			add_action( 'bp_template_content', 'bpfr_profile_comment_screen_content' );
    			bp_core_load_template( apply_filters( 'bp_core_template_plugin', 'members/single/plugins' ) );
    		}
    
    		function bpfr_profile_comment_screen_content() {
    			do_action( my_profile_comment );
    		}
    
    add_action( 'bp_setup_nav', 'bpfr_comment_profile_setup_nav' );

    Reference: https://codex.wordpress.org/Function_Reference/get_comments

    To do the same for user’s post, see here:
    https://buddypress.org/support/topic/creating-a-custom-tab-that-takes-in-the-info-from-wp-recent-posts/

    #244413
    danbp
    Participant

    I can’t figure out what is going on.

    That snippet is 6 years old. BuddyPress is slightly different today.

    Some explanation here:

    bp_is_current_component

    bp_current_action

    May be you can also read here:

    Template Overload from a Plugin

Viewing 25 results - 11,951 through 11,975 (of 69,016 total)
Skip to toolbar