Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 19,451 through 19,475 (of 68,969 total)
  • Author
    Search Results
  • #169438

    In reply to: BP Groups and Forums

    Hugo Ashmore
    Participant

    @faramarz @mercime

    This issue is resolved in this ticket on BP’s trac and will be included in the 1.8.1 point release.
    https://buddypress.trac.wordpress.org/changeset/7332/

    #169430
    @mercime
    Participant
    #169428

    In reply to: Edit the Profile Page

    @mercime
    Participant

    But nothing changes


    @drrr
    did you upload the revised member-header.php file into your theme folder in server e.g. wp-content/themes/thesis/buddypress/members/single/ per https://codex.buddypress.org/developer/theme-development/template-hierarchy/

    #169427
    @mercime
    Participant
    #169426
    Tecca
    Participant

    The problem is most likely because you don’t have a loop-archive.php. What I did instead was change some of the code to suit what I had prior: an author.php file that was already styled the way I wanted.

    In the plugin:

    function profile_screen_posts_show() {
    $theuser = bp_displayed_user_id(); 
    query_posts("author=$theuser" );
    if ( have_posts() ) :
    get_template_part( 'loop', 'archive' );
    else: ?>
    <div id="message" class="info">
    		<p><?php _e( 'Sorry, this user has not published any posts.', 'buddypress' ); ?></p>
    	</div><?php endif; ?>    <?php
    } 

    I changed it to:

    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 articles or reviews. Want them to? Send a message or leave a wall post!</p>
    	</div>
        <?php endif; ?>    <?php
    }

    You’ll see in there: get_template_part( ‘author’ );
    — change “author” to whichever template part you want to call. Most installs, I believe, will have an archive.php file, so use archive.

    #169419
    @mercime
    Participant

    @aidnotes you’d need to provide more information about your installation. WP/BP version? What BuddyPress components/features are activated in Settings > BuddyPress > Components? Theme used? Plugins installed?

    #169418
    @mercime
    Participant

    @hitkid the first post you linked is way too old – 3 years ago, we were using the BuddyPress internal forums. BP 1.7 onwards, bbPress plugin is the way to go and if you activate the bbPress plugin, you should find the following bbPress widgets https://codex.bbpress.org/widgets/ under Appearance > Widgets

    #169414
    @mercime
    Participant

    @wpobs upgrade to BuddyPress 1.8.1, clear cache and check if issue is resolved.

    #169413
    @mercime
    Participant
    #169412
    @mercime
    Participant
    #169409

    In reply to: BP Groups and Forums

    Faramarz
    Participant

    @hnla I think you are right, when I check my error log I get this error:

    [28-Jul-2013 22:51:11] PHP Fatal error: Using $this when not in object context in /public_html/wp-content/plugins/bbpress/includes/extend/buddypress/group.php on line 461

    How to submit a ticket to BP and report this bug for tracking?

    #169408
    cappazushi
    Participant

    Can you tell me how to check the page validation? I have kinda figured out how to fix the issue, but the solution I found is neither elegant, and I’ve just discovered that it’s still occurring on other pages. I’d like to check out all of the errors and see what’s really going on.

    #169387
    StuartManning
    Participant

    I’m also on

    WordPress 3.6
    BuddyPress 1.8

    And I get:

    http://[website]/members/%5Buser%5D/profile/edit/group/1/

    And get a 404

    #169386
    StuartManning
    Participant

    I get the same issue when I install Current Version of Buddy Press 1.8 on a custom domain.

    #169383
    Unsal Korkmaz
    Participant

    Yeah, have some links comes here and i see that trac ticket is not linking to latest result. Sorry if i did something wrong

    #169381
    Hugo Ashmore
    Participant

    think you covered that in your other thread!

    #169377
    Tori
    Participant

    @intimez I’m not using that plugin, but I did have the same issue.
    I hope you’ve fixed yours by now, but if not, here’s what I did:

    In the bp-activity-template.php file, edit this function

    function bp_get_activity_comment_name() {
    		global $activities_template;
    
    		if ( isset( $activities_template->activity->current_comment->user_nicename ) )
    			$name = apply_filters( 'bp_acomment_name', $activities_template->activity->current_comment->user_nicename, $activities_template->activity->current_comment );  // backward compatibility
    		else
    			$name = $activities_template->activity->current_comment->display_name;
    
    		return apply_filters( 'bp_activity_comment_name', $name );
    	}

    The last line is all you need to change. Basically, you’re changing “user_fullname” to “user_nicename”.
    I know it’s not ideal to edit bp files, but this is currently the only way I know how to display usernames in comments. Hope this helps someone!

    #169374
    Ben Hansen
    Participant

    it’s more about how many people will be using your site at any given time if you have buddypress and especially if your theme is displaying buddypress info on most of your pages then you will almost certainly need vps to be happy with your load times.

    #169373
    Unsal Korkmaz
    Participant

    Uhm, It seems, I forgot to update this topic.

    Here is theme:

    FirmaSite

    #169372
    shanebp
    Moderator

    So a member has to make a separate donation to see each new message trail?

    This will require the hiring of a buddypress developer to create a custom plugin.
    You can contact me via my profile info.

    Zanora
    Participant

    Thanks Alot Aces

    I just figured out things on Resort. Everything looks smoother.

    #169363
    @mercime
    Participant
    #169358
    @mercime
    Participant

    @barronlau
    – localhost is XAMPP, WAMP, MAMP?
    – As for avatar in localhost, choose something other than the default mystery man for those without Gravatars.
    – If you installed BP subsite, did you follow instructions at https://codex.buddypress.org/user/install-buddypress-on-a-secondary-blog/ ?
    – I suggest that you test BP install first using BP Default or Twenty Twelve/Thirteen theme.

    #169356
    Boone Gorges
    Keymaster

    The problem is, in essence, this: You are filtering for member type/role at the template level, *after* the query has already taken place. So: you run bp_has_members(). It returns 10 users that match the current params, which include the current page, the per_page number, and the dropdown filter (last active, alphabetical, etc). Then, inside of your template loop, you are only displaying a subset of those ten returned members – ie, those that match your s2member role.

    In order to make a custom directory *and* have your pagination work, you’ll need to modify the query *before* it happens. One relatively simple way to do this is to pass an include parameter to bp_has_members(), which would limit the query to users that meet your s2member criteria.

    Because we’re talking about custom user roles as assigned by s2member (and because user roles are stored in a way by WP that doesn’t allow this kind of query to be very efficient), this is going to be pretty tricky. This is totally untested, and probably not very fast at very large scale, but you could try something like the following:

    <?php 
    global $wpdb;
    $level3_user_ids = $wpdb->get_col( "SELECT user_id FROM {$wpdb->usermeta} WHERE meta_key = 'wp_capabilities' AND meta_value LIKE '%s2member_level3%'" );
    $level3_user_ids_param = implode( ',', $level3_user_ids );
    
    if ( bp_has_members( bp_ajax_querystring( 'members' ) . '&page_arg=bapage&per_page=10&include=' . $level3_user_ids_param ) ) : ?>

    Then you will *not* need to do the level3 check inside the loop, because the 10 items returned will already be limited properly.

    Like I said, this is off the top of my head and may not work without further modification. You may have to do some more experimentation to get an accurate whitelist of user ids for each directory type. But, no matter how you do it, the above example should show you a good technique for limiting the bp_has_members() query to a subset of all users (which is the BuddyPress-related part of this puzzle – the other problem is related to s2member).

    #169354
    erp_linkin
    Participant

    OK !! I think I understood why this is happening.
    Please correct me if my understanding is incorrect.

    Because I have enabled bbpress. So Buddypress uses bbpress plugin to provide forums functionality as opposed to its own forum. Now since bbpress is a plugin so the follow goes to plugins.php rather than buddypress’s own forum.php

    Correct ?

Viewing 25 results - 19,451 through 19,475 (of 68,969 total)
Skip to toolbar