Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 1,576 through 1,600 (of 7,472 total)
  • Author
    Search Results
  • #237781
    nblxhd
    Participant

    Kleo Theme.

    — WordPress Active Plugins

    bbPress: 2.5.6
    BP Group Organizer: 1.0.8
    BuddyPress: 2.2.1
    BuddyPress Activity Shortcode: 1.0.2
    BuddyPress Cover Photo: 1.0.5
    BuddyPress Edit Activity: 1.0.4
    BuddyPress Like: 0.2.0
    Buddypress Messages Spam Blocker: 1.1
    BuddyPress Toolbar: 1.6.0
    CodeStyling Localization: 1.99.30
    GD bbPress Attachments: 2.2
    iThemes Security: 4.6.12
    K Elements: 2.4
    NextScripts: Social Networks Auto-Poster: 3.4.16
    Paid Memberships Pro: 1.8.2.2
    Peter’s Login Redirect: 2.8.2
    Revolution Slider: 4.6.5
    rtMedia for WordPress, BuddyPress and bbPress: 3.7.35
    Social Articles: 1.8
    Taxonomy Metadata: 0.4
    WangGuard: 1.6.2
    WooCommerce: 2.3.7
    WordPress Importer: 0.6.1
    WordPress SEO: 2.0.1
    WPBakery Visual Composer: 4.4.2
    WP Super Cache: 1.4.4
    YITH WooCommerce Wishlist: 2.0.5

    PHP Version: 5.2.17
    MySQL Version: 50617
    Webserver Info: Apache/2.4.9-0-beget (Unix)

    ### End System Info ###

    danbp
    Participant

    You edit the topic and you add it manually to the title.

    If you ask for doing this on your site, preferably use this plugin, which is more user friendly
    https://wordpress.org/plugins/buddy-bbpress-support-topic/

    #237667
    mbarbakov
    Participant

    I also forgot to mention that if bbPress is installed, there are topics and replies in Activity Feed. In case of bbPress it seems working.

    #237659

    In reply to: Title

    Hugo Ashmore
    Participant

    Technically you’re on the wrong forum, you have no instance of BuddyPress running only bbPress and they are two different plugins.

    You might try any of the Title tag plugins out there such as Yoast WP SEO also look at how your theme is handling the title tag in the header and search the WP codex for any guides on filtering the WP title tag to modify the title strings.

    #237656

    In reply to: Title

    Atilla
    Participant

    Thanks for your answer.
    http://www.ekademik.com/forum/

    There is no any plugin or 3. part app. but title is not good for us.
    wp: 4.1.1
    bbpress: 2.5.6

    danbp
    Participant

    Welcome on BuddyPress !
    You’re on the wrong forum.
    bbPress has it own support forum.

    #237566
    Matthias
    Participant

    Hi @danpb,
    I found a snippet in my theme functions.php that causes the missing link to profile in all @mentions in bbpress. When I delete the following code all @mentions in the bbpress topics and replies are shown.
    Can you have a look at the following code. Maybe you can see, why it deletes the mention links to the profiles…?

    // replies visible only for logged in users
    function bb_auth_reply_view( $reply_id ) {
    $reply_id = bbp_get_reply_id( $reply_id );
    
    // Check if password is required
    if ( post_password_required( $reply_id ) )
    return get_the_password_form();
    
    $content = get_post_field( 'post_content', $reply_id );
    
    // first topic reply shouldn't be hiding
    $rep_position = bbp_get_reply_position($reply_id);
    
    // if user is not logged in and not the first post topic
    if( !is_user_logged_in() && $rep_position > 0 ) {
    return "replies only for logged in users!";
    } else {
    // return normal
    return $content;
    }
    }
    add_filter( 'bbp_get_reply_content', 'bb_auth_reply_view' );
    #237552
    Matthias
    Participant

    Hi danbp,
    I can not find a setting to allow explicit @mention. I allowed the activity stream in buddypress. And @mentions are working fine in there.
    The notifications if someone is mentioned in the bbpress forums are working fine, too. I even have a dropdown field with suggestions for @mention in bbpress.

    The only thing is the missing link to the profile behind the @mention in replies…
    forums and buddypress sites are exluded from caching…

    Thanks
    Matthias

    #237528
    danbp
    Participant

    Nothing happen ? Where do you try to use this function ?
    And No you haven’t to use another snippet.

    The snippet is not correct as it ouput the display name. We need nicename.

    Use this instead

    function abc() {
    $user = get_userdata( bbp_get_reply_author_id() );
    	if ( !empty( $user->user_nicename ) ) {
    		$user_nicename = $user->user_nicename;
    		echo '@'.$user_nicename;
    	}
    }
    add_filter( 'bbp_theme_after_reply_author_details', 'abc' );

    This will only show up in a bbpress forum. Like here, that’s what you asked for.

    #237524
    danbp
    Participant

    hi @svend-rugaard,

    this is a bbpress trick. Add this snippet to bp-custom.php

    
    function abc() {
    	echo '@'. bbp_get_topic_author_display_name();
    }
    add_filter( 'bbp_theme_after_reply_author_details', 'abc' );
    #237521
    Matthias
    Participant

    Hi @danpb,
    now I’m using your code and the plugin, but my forum still shows no links in @mention
    I just was searching in the bbpress support forum and it seems that it is a built in feature. But I don’t know why it is not working on my install?
    Here is how @mention are shown in my forum. No link to the user profile at all

    Any suggestions to solve the problem?
    Thanks
    Matthias

    #237515
    danbp
    Participant

    To link to a profile within bbpress topic editor, you should add the snippet to bp-custom.php

    Read also here, where i mentionned a plugin
    https://buddypress.org/support/topic/link-to-users-profile-non-template/

    #237459
    danbp
    Participant

    Hi @andrew55,
    add this snippet to bp-custom.php. Now you can use shortcode [profilo] in any blog post, blog comment, page and BP notice. Note that activity walls are stripped, the shortcode will not work/appear there.

    For bbPress topics and replies, use this plugin. Read the doc, as you’ll have to check user capacity to get it to work for participant.

    function bpfr_link_to_profile() {	
    
    	return ' <a href="'. bp_get_loggedin_user_link() .'">View my profile</a>';			
    }
    add_shortcode( 'profilo', 'bpfr_link_to_profile' );
    add_filter( 'comment_text', 'do_shortcode' );
    #237457
    Svend Rugaard
    Participant

    i was maeing i havent got this issue before i activated Buddypress not BBpress sorry for confusing

    #237455
    danbp
    Participant

    Please read here, as you have to debug your install.

    Are all pages assigned to BP components ?
    Have you same issue with Twenty Fifteen or one of the other WP default themes ?

    Note also that you got that issue after activating bbPress, which has his own support.
    And as you use a premium theme, we can’t help you much here, as we have no free access to it’s code.

    #237341
    aymanomar85
    Participant

    1- WordPress 4.1
    2- install directory
    3- subdirectory
    4- wordpress upgrade 4.1.1
    6-BuddyPress 2.2.1
    7- last version
    8- yes i have many plugins

    8.1-Advanced Custom Fields
    8.2-bbPress
    8.3-BP Login Redirect
    8.4-BP Profile Search
    8.5-BP Profile Widgets
    8.6-BuddyPress
    8.7-BuddyPress cover
    8.8-BuddyPress Edit Activity
    8.9-BuddyPress Follow
    8.10-BuddyPress Security Check
    8.11-Buddypress Social
    8.12-BuddyPress Xprofile Custom Fields Type
    8.13-Email newsletter
    8.14-Facebook Friends Inviter
    8.15-HashBuddy
    8.16-rtMedia for WordPress, BuddyPress and bbPress
    8.17-Social Login
    8.18-User Name Availability Checker for wordpress/buddypress
    8.19-Wordpress Social Invitations – Lite

    #237324
    dingxiaohan
    Participant

    Thank you, I think that answers one of my questions: notification does not go far beyond indicating that there has been activity. What I’m hoping to do is breathe more life into a community by improving communication, and the more action is required from users the less likely that is to happen. At present we correspond by exchanging emails to group addresses manually compiled in Notepad, with no two people having the same list! A Yahoo group would work much better. At present it looks to me as if people would find the bbpress / buddypress solutions more laborious.

    Two things about Yahoo groups: 1. The incoming email gives you all the content, without your having to do a second click and go and find it, and 2. you get emails on all contributions to the group you’ve subscribed to, not just when someone specifically targets you. Those limitations in buddypress look to me like killers, but maybe I haven’t understood everything yet.

    I hope not, because full and easy integration of communication into a website would make it such a powerful tool.

    #237227
    Matthias
    Participant

    Hi @danbp,
    no I mean the link to the profile shown here in the buddypress forum replies.
    When I write @danpb it is linked to your profile!
    Just want the same in my bbpress install, but the code in functions.php above does not work…

    #237202
    danbp
    Participant

    @mentions doesn’t work (actually) in bbPress.

    To add it, so you can mention a user in a topic, add this snippet to bp-custom.php or child-theme’s functions.php

    function custom_bbpress_maybe_load_mentions_scripts( $retval = false ) {
    	if ( function_exists( 'bbpress' ) && is_bbpress() ) {
    		$retval = true;
    	}
     
    	return $retval;
    }
    add_filter( 'bp_activity_maybe_load_mentions_scripts', 'custom_bbpress_maybe_load_mentions_scripts' );
    #237160
    David Bisset
    Participant

    @henrywright

    Thanks but that didn’t seem to do much either. I even checked back to other BP_Component examples and i’m using the same hooks. I’m guessing this is something “weird” (or something i’m not aware of) with bbPress. I just went ahead and created the bbPress forum and connected it to the BP group in my plugin manually. I hate to do that – if bbPress decides to change something my plugin is going to be out of date, but such is life.

    Thanks for the attempts.

    #237151
    danbp
    Participant

    No it doesn’t and is throwing an undefined function error, filters only the forums template topics. bbPress also has a similar function which cannot be used outside of the forum template.

    #237147
    danbp
    Participant

    Hi @matthias70,

    try this. Will show 2 lines of stats on the profile header. Add to bp-custom.php

    function bpfr_topics_stat( $user_id, $type = 'topic' ) {
    global $bp;
    // Check if bbPress plugin is loaded
    if ( class_exists( 'bbPress' ) ) {
    
    	if( bp_is_user() && ! bp_get_member_user_id() ) {
            $user_id = 'displayed: '. bp_displayed_user_id();
        } else {
            $user_id = 'get_member_user: '. bp_get_member_user_id();
        }
    
      	$query = new WP_Query( array('post_type'=>$type,'author'=>$user_id) );				
    	
    	if ( $query->have_posts() ) {
    		echo '<p>Topics created: '. $query->post_count .'</p>';
    	}
    	else{
    		echo '<p>Topics created: 0</p>';
    	}
      }
    }
    add_action( 'bp_before_member_header_meta', 'bpfr_topics_stat', 2 );
    
    function bpfr_replies_stat( $user_id, $type = 'reply' ) {
    global $bp;
    // Check if bbPress plugin is loaded
    if ( class_exists( 'bbPress' ) ) {
    
    	if( bp_is_user() && ! bp_get_member_user_id() ) {
            $user_id = 'displayed: '. bp_displayed_user_id();
        } else {
            $user_id = 'get_member_user: '. bp_get_member_user_id();
        }
    
      	$query = new WP_Query( array('post_type'=>$type,'author'=>$user_id) );				
    	
    	if ( $query->have_posts() ) {
    		echo '<p>Replies created: '. $query->post_count .'</p>';
    	}
    	else{
    		echo '<p>Replies created: 0</p>';
    	}
      }
    }
    add_action( 'bp_before_member_header_meta', 'bpfr_replies_stat', 2 );
    #237143
    David Bisset
    Participant

    Thanks. Sadly this isn’t working out. I’m going to post this here in case someone can tinker with it (you’ll need BP and bbPress installed):

    https://dl.dropboxusercontent.com/u/14006840/curriki-group-import.zip

    Yeah, i’m trying to use the BP native functions and hooks. I have no problem with the BuddyPress flow – just when it comes to relying on bbPress to create the forums is when it falls apart.

    If anyone figures this out, i’ll throw them some PayPal change for some coffee. 🙂

    #237140
    David Bisset
    Participant

    @shanebp

    Thanks for the response. That in a nutshell is what i’m doing right now with the change you suggest. Loader.php loads the file that contains the code above via bp_loaded. Then i try to initialize my class CurrikiGroupImport. So it’s a chicken and egg thing – either I can init my class and get the plugin loaded and showing up in the WP admin menu and can’t get bbPress loaded first OR bbPress seems to load but my plugin doesn’t show up.

    If it helps, I can zip up a simple version of the plugin and assuming you have BP and BBPRESS loaded you can give it a spin.

    #237133
    Matthias
    Participant

    Want to show number of
    topics created:
    replies created:

    in the buddypress user profile.
    bbpress without buddypress did the job without modification…

    Any ideas?

Viewing 25 results - 1,576 through 1,600 (of 7,472 total)
Skip to toolbar