Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 21,776 through 21,800 (of 64,518 total)
  • Author
    Search Results
  • #142813
    Josh
    Participant

    What is the best way to get the content of a reply? Right now I’m using bbp_get_reply_content() and it was working fine until I added the GD bbPress Attachments plugin. Somehow that plugin is adding text to the end of the reply content, which doesn’t show up in the forums itself but does show up in a custom forum loop I have on my homepage. E.g replies look like this: “Lorem ipsum etc. Attachments: [delete | detach] [delete | detach] [delete | detach].” FYI, I’m using wp_trim_words to only get the first 30 or so words of the reply, so this garbage text from the plugin only appears on very short replies.

    Is there a different way to get the reply text? Anybody else have this issue with the attachment plugin?

    Thanks.

    #142809
    snapinmedia
    Participant

    Looks like this is a theme issue with Genesis.

    I installed bbPress Genesis Extend and it is now working.

    #142803
    tom211221
    Participant

    Hello,

    i have had a wordpress website designed for me which included bbpress, i have some knowledge of wordpress but im not a pro at it.

    I have added a couple of widgets to the bbpress sidebar and they are displaying at the bottom of the page. is there a way to adjust the margins and width of the forum itself without changing the website widths???

    i have left it at the bottom let me know what you can do to help.

    http://www.yourfriendshipcircle.com/forums/forum/general/

    #142798
    Stephen Edgar
    Keymaster

    @nicmare To remove the separator:

    add_filter('bbp_before_list_forums_parse_args', 'nicmare_bbpress_list_forums' );
    function nicmare_bbpress_list_forums() {
    	$args['separator']        = '';
    	return $args;
    }
    

    A good explanation for bbp_get_topic_admin_links and bbp_get_reply_admin_links is here:

    Could a plugin developer protect his functions?

    #142792
    exploder
    Participant

    I have the same issue.

    To solve this i have implemented the fix of barnabe in small plugin. This way I don’t have to edit the core of WordPress.

    The plugin is available here:
    http://www.exploder.org/bbpress-qtranslate-fix.tar.gz

    #142791
    nicmare
    Participant

    yea. such a solution would be awesome and keeps updates of bbpress more save!
    because the separator value was annoying to me, i had to create such a big function just to overwrite this simple argument.

    #142790
    tazogamer
    Participant

    Robin W! Thanks so much! Your answers led me to the solution:
    in functions.php , i have added(with add_filter) a modified “bbp_get_user_profile_url” function,which generates profile urls (original is in bbpress\includes\users\template.php):

    here is my code:

    remove_filter( 'bbp_get_user_profile_url', 'bbp_get_user_profile_url');
    add_filter('bbp_get_user_profile_url','my_replaced' , 10 ,4);	
    function my_replaced ($url, $user_id, $user_nicename = '' ){
    	global $wp_rewrite;
    	if ( empty( $user_id ) ) {return false;}
    	$early_profile_url = apply_filters( 'bbp_pre_get_user_profile_url', (int) $user_id );
    	if ( is_string( $early_profile_url ) ) {   return $early_profile_url; }
    	if ( $wp_rewrite->using_permalinks() ) { 	// if pretty permalinks
    		$url = $wp_rewrite->root . bbp_get_user_slug() . '/%' . bbp_get_user_rewrite_id() . '%';
    		if ( empty( $user_nicename ) ) { $user_nicename = bbp_get_user_nicename( $user_id );}
    
    		$url = str_replace( '%' . bbp_get_user_rewrite_id() . '%', $user_id, $url );
    		$url = home_url( user_trailingslashit( $url ) );
    
    	} 
    	else { 	// Unpretty permalinks
    		$url = add_query_arg( array( bbp_get_user_rewrite_id() => $user_id ), home_url( '/' ) );
    	}
    	//return apply_filters( 'Replaced_bbp_get_user_profile_url', $url, $user_id, $user_nicename );
    	return $url;
    }	
    #142783
    Mycelus
    Participant

    Ok, the problem is, these features should be integrated into bbPress by default, all forum software has this, and the plugins for quoting for example don’t work like it should, and signature plugins are also outdated and not the best.

    EDIT: Didn’t see two posts above, editing post…

    #142780
    Robin W
    Moderator

    Has this always happened, or has it just started, and how long have you been using bbPress?

    #142779

    In reply to: Mirroring Forum Posts

    Robin W
    Moderator

    Sorry, totally misread this – thought you had posts mirroring and wasted to get rid of them.

    I suspect that it would be very hard to get them to just replicate in the database, hits at core code.

    But you could re-do your forum templates to show them twice.

    Beyond my immediate knowledge, but start by looking at you forum page loop, and then the templates viz

    wp-content/plugins/bbpress/templats/default/bbpress

    #142777
    rlitts
    Participant

    @robin-w Thank you for helping me out with this. I can go right to the http://mysite.com/wp-login.php page without any hangup. I also tried creating a new page and used the [bbpress-login] shortcode with the login widget disabled. Still no luck. I removed any custom jquery from the theme, same result. I removed the widgetized area from the functions.php to be sure the sidebar wasn’t registering anything. Still going to a blank page.

    The last thing I tried is disabling all of the plugins except bbPress switching to Twenty Fourteen Theme. going to the http://mysite.com/my-new-page-name and still getting the same result.

    These are the plugins that are installed…
    Akismet: Version 2.5.9
    Contact Form 7: Version 3.7.1
    The Events Calendar: Version 3.4.1
    WP User Avatar: Version 1.7.2

    #142776
    Robin W
    Moderator

    Most bbp functions have simple variables. Yes, there must be a shorter way, but this is an array not a simple variable, and it builds an unordered list using the array and a loop.

    It has an “apply filters” as part of the function, so they are expecting it to be able to be filtered, but hopefully not by having to do it all again !

    I am writing some codex guide for filtering in bbPress, and by co0incidence was just using this oen as an example, and have been trying to crack it.

    I can do it by amending the template –

    https://codex.bbpress.org/layout-and-functionality-examples-you-can-use/ section 2, and save template into

    wp-content/themes/yourthemename/bbpress

    bbPress then uses that one.

    I have posted a fresh query to Stephen Edgar or JJJ to pick up, but it’s gone into moderation as I posted a whole lot of code. Hopefully one of the two will pick it up and answer.

    In the meantime yours is so far the best answer !

    #142772

    In reply to: Forum messed up

    Robin W
    Moderator

    More of a case that the Presswork theme doesn’t support bbPress!

    Since this is a premium theme and therefore you have paid for support, suggest you go on their support site and ask for their help.

    #142771
    Stephen Edgar
    Keymaster

    bbPress actually goes looking for various templates to ‘wrap’ our templates in:

    In this order:
    plugin-bbpress.php
    bbpress.php
    forums.php
    forum.php
    generic.php
    page.php
    single.php
    index.php

    bbPress will go through each of these from top to bottom and use the first one it finds to wrap the templates in from your current active theme.

    #142770
    Stephen Edgar
    Keymaster

    We’ve started tracking some plugins we like here https://codex.bbpress.org/feature-plugins-tracking/

    We have no specific plans to include any of these in bbPress at this stage but things can change 😉

    #142767

    In reply to: bbPress 2.5.3

    kwellafrica
    Participant

    Hi,
    is there anyone able to offer me some tips, I had bbpress 2.5.3 installed and it was working, then the FORUM tab disappear from admin dashboard after I installed buddypress, where did I do wrong? I don’t have buddypress tab under dashboard as well, very strange. I’ve explored around for solution, but I still can’t get right. 🙁

    Thanks

    #142766

    Topic: Forum messed up

    in forum Plugins
    heidione
    Participant

    My site is http://cnec-hhcc.org/wp/forums/forum/faith-qna/
    My forum displayed messed up after I changed the new theme. Does bbPress forum not support for Presswork theme?
    How can I solve my problem?

    #142765
    Robin W
    Moderator

    BBpress uses your themes page.php file as default page template.

    If you copy this (or any other page template) into the root of your theme and call it bbpress.php, it will be used instead.

    ie

    wp-content/themes/yourtheme/bbpress.php

    If you are after individual templates, these are held in :

    bbpress/templates/default/bbpress

    If you want to alter these, create a bbpress folder under your theme

    ie

    wp-content/themes/yourtheme/bbpress

    then any of these templates that you copy to this folder will be used instead, and you can modify them there.

    #142764
    tanvit
    Participant

    please tell me which post templates are used for bbpress forum so i can break it after first iteration.

    #142759
    Robin W
    Moderator

    Did they say which plugin was the issue, and how they knew it was a plugin issue?

    I’d never rule anything out, but if there was an issue with bbpress and buddypress running on themes, then the whole world would be shouting about it, there are tens of thousands of these installations.

    #142753
    Stephen Edgar
    Keymaster

    I’m not sure what the original motivation was for this decision but it has been this way now for over 7 years.

    https://bbpress.trac.wordpress.org/browser/branches/0.7

    #142751
    SK
    Participant

    I don’t understand the reasoning behind showing Freshness instead of Last post in list of topics. bbPress is making an additional calculation, bending over backwards, just to calculate how many seconds, minutes or days have passed since last post.

    In this sense, bbPress is breaking from convention that most forum users are familiar with without making performance gains (in fact making performance losses)

    I don’t see the reason and I don’t like it this way. But since it is like this then I must assume that there are other bbPress users who do. Hence…perhaps this should be configurable.

    #142748

    In reply to: bbPress 2.5.3

    Stephen Edgar
    Keymaster

    @sooskriszta It’s here and your same topic ~2 years ago is here. For some reason it had been marked as spam and is now fixed.

    #142746
    Stephen Edgar
    Keymaster

    As per your post ~2 years ago https://bbpress.org/forums/topic/last-post-date-time-instead-of-freshness/ and the Trac ticket you created:

    https://bbpress.trac.wordpress.org/ticket/2031

    Valid, though easily handled in a theme; there are functions to support this if you want this on your own site.
    Closing as wontfix. If it turns into a popular request, we can reopen and revisit this then.

Viewing 25 results - 21,776 through 21,800 (of 64,518 total)
Skip to toolbar