Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 20,551 through 20,575 (of 64,534 total)
  • Author
    Search Results
  • JBBoY
    Participant

    Hello again!

    I read a lot about create new forum roles with capabilities. I’ve found a solution with some hardcoding functions.php file:

    Add forum roles

    But, is there a plugin to do the same much clearer? I need to add some new roles and edit his capabilities.

    I’m using “user role editor” but this plugin only changes WordPress roles, not bbpress.

    Thank you so much for all your help. πŸ™‚

    #146471
    Stephen Edgar
    Keymaster

    One more thing, when making a custom importer always base it of the Example.php importer, I keep that updated with examples and any other changes I make for bbPress.

    The latest (updated 3 days ago) is here:
    https://bbpress.trac.wordpress.org/browser/trunk/src/includes/admin/converters/Example.php

    As Robin points out, you just delete/remove the sections or fields that are not applicable to your import e.g. ‘tags’ or if your database doesn’t include the ‘counts’ for topics in forums then remove that part in the forum section.

    #146469
    Robkk
    Moderator

    Nevermind ill just remove the breadcrumbs from bbpress pages and style the bbpress breadcrumbs to be like my yoast ones

    #146468
    Robin W
    Moderator

    ok, the answer is somewhere in this function

    function bbp_title( $title = '', $sep = '»', $seplocation = '' ) {
    
    	// Title array
    	$new_title = array();
    
    	/** Archives **************************************************************/
    
    	// Forum Archive
    	if ( bbp_is_forum_archive() ) {
    		$new_title['text'] = bbp_get_forum_archive_title();
    
    	// Topic Archive
    	} elseif ( bbp_is_topic_archive() ) {
    		$new_title['text'] = bbp_get_topic_archive_title();
    
    	/** Edit ******************************************************************/
    
    	// Forum edit page
    	} elseif ( bbp_is_forum_edit() ) {
    		$new_title['text']   = bbp_get_forum_title();
    		$new_title['format'] = esc_attr__( 'Forum Edit: %s', 'bbpress' );
    
    	// Topic edit page
    	} elseif ( bbp_is_topic_edit() ) {
    		$new_title['text']   = bbp_get_topic_title();
    		$new_title['format'] = esc_attr__( 'Topic Edit: %s', 'bbpress' );
    
    	// Reply edit page
    	} elseif ( bbp_is_reply_edit() ) {
    		$new_title['text']   = bbp_get_reply_title();
    		$new_title['format'] = esc_attr__( 'Reply Edit: %s', 'bbpress' );
    
    	// Topic tag edit page
    	} elseif ( bbp_is_topic_tag_edit() ) {
    		$new_title['text']   = bbp_get_topic_tag_name();
    		$new_title['format'] = esc_attr__( 'Topic Tag Edit: %s', 'bbpress' );
    
    	/** Singles ***************************************************************/
    
    	// Forum page
    	} elseif ( bbp_is_single_forum() ) {
    		$new_title['text']   = bbp_get_forum_title();
    		$new_title['format'] = esc_attr__( 'Forum: %s', 'bbpress' );
    
    	// Topic page
    	} elseif ( bbp_is_single_topic() ) {
    		$new_title['text']   = bbp_get_topic_title();
    		$new_title['format'] = esc_attr__( 'Topic: %s', 'bbpress' );
    
    	// Replies
    	} elseif ( bbp_is_single_reply() ) {
    		$new_title['text']   = bbp_get_reply_title();
    
    	// Topic tag page
    	} elseif ( bbp_is_topic_tag() || get_query_var( 'bbp_topic_tag' ) ) {
    		$new_title['text']   = bbp_get_topic_tag_name();
    		$new_title['format'] = esc_attr__( 'Topic Tag: %s', 'bbpress' );
    
    	/** Users *****************************************************************/
    
    	// Profile page
    	} elseif ( bbp_is_single_user() ) {
    
    		// User is viewing their own profile
    		if ( bbp_is_user_home() ) {
    			$new_title['text'] = esc_attr_x( 'Your', 'User viewing his/her own profile', 'bbpress' );
    
    		// User is viewing someone else's profile (so use their display name)
    		} else {
    			$new_title['text'] = sprintf( esc_attr_x( "%s's", 'User viewing another users profile', 'bbpress' ), get_userdata( bbp_get_user_id() )->display_name );
    		}
    
    		// User topics created
    		if ( bbp_is_single_user_topics() ) {
    			$new_title['format'] = esc_attr__( "%s Topics",        'bbpress' );
    
    		// User rueplies created
    		} elseif ( bbp_is_single_user_replies() ) {
    			$new_title['format'] = esc_attr__( "%s Replies",       'bbpress' );
    
    		// User favorites
    		} elseif ( bbp_is_favorites() ) {
    			$new_title['format'] = esc_attr__( "%s Favorites",     'bbpress' );
    
    		// User subscriptions
    		} elseif ( bbp_is_subscriptions() ) {
    			$new_title['format'] = esc_attr__( "%s Subscriptions", 'bbpress' );
    
    		// User "home"
    		} else {
    			$new_title['format'] = esc_attr__( "%s Profile",       'bbpress' );
    		}
    
    	// Profile edit page
    	} elseif ( bbp_is_single_user_edit() ) {
    
    		// Current user
    		if ( bbp_is_user_home_edit() ) {
    			$new_title['text']   = esc_attr__( 'Edit Your Profile', 'bbpress' );
    
    		// Other user
    		} else {
    			$new_title['text']   = get_userdata( bbp_get_user_id() )->display_name;
    			$new_title['format'] = esc_attr__( "Edit %s's Profile", 'bbpress' );
    		}
    
    	/** Views *****************************************************************/
    
    	// Views
    	} elseif ( bbp_is_single_view() ) {
    		$new_title['text']   = bbp_get_view_title();
    		$new_title['format'] = esc_attr__( 'View: %s', 'bbpress' );
    
    	/** Search ****************************************************************/
    
    	// Search
    	} elseif ( bbp_is_search() ) {
    		$new_title['text'] = bbp_get_search_title();
    	}
    
    	// This filter is deprecated. Use 'bbp_before_title_parse_args' instead.
    	$new_title = apply_filters( 'bbp_raw_title_array', $new_title );
    
    	// Set title array defaults
    	$new_title = bbp_parse_args( $new_title, array(
    		'text'   => $title,
    		'format' => '%s'
    	), 'title' );
    
    	// Get the formatted raw title
    	$new_title = sprintf( $new_title['format'], $new_title['text'] );
    
    	// Filter the raw title
    	$new_title = apply_filters( 'bbp_raw_title', $new_title, $sep, $seplocation );
    
    	// Compare new title with original title
    	if ( $new_title === $title )
    		return $title;
    
    	// Temporary separator, for accurate flipping, if necessary
    	$t_sep  = '%WP_TITILE_SEP%';
    	$prefix = '';
    
    	if ( !empty( $new_title ) )
    		$prefix = " $sep ";
    
    	// sep on right, so reverse the order
    	if ( 'right' === $seplocation ) {
    		$new_title_array = array_reverse( explode( $t_sep, $new_title ) );
    		$new_title       = implode( " $sep ", $new_title_array ) . $prefix;
    
    	// sep on left, do not reverse
    	} else {
    		$new_title_array = explode( $t_sep, $new_title );
    		$new_title       = $prefix . implode( " $sep ", $new_title_array );
    	}
    
    	// Filter and return
    	return apply_filters( 'bbp_title', $new_title, $sep, $seplocation );
    }
    

    a filter such as

    function amend_title () {
    	if ( bbp_is_single_forum() ) {
    		$new_title['text']   = 'YA book forum' ;
    		$new_title['format'] = esc_attr__( 'YA book Forum', 'bbpress' );
    		}
     return $new_title;
    }
    add_filter('bbp_before_title_parse_args', 'amend_title' );
    

    should sort it but doesn’t, and I’m too tired to work out why πŸ™‚

    Over to you !

    #146467
    Bard
    Participant

    Hi Guys,

    Or how you solve this? a wysiwyg editor with image upload which is not uploaded in a public media box for bbpress users?

    Robkk
    Moderator

    on my site i have yoast breadcrumbs

    and everything is looking fine setting it up

    until i see that when im on any topic, it shows this

    https://drive.google.com/file/d/0B_Ue9ryY5cmYRE8xQl9QUVhvUm8/edit?usp=sharing

    Shouldnt it be

    Home | topics | test topic 3

    or

    Home | test forum | topics | test topic 3

    #146460
    Robin W
    Moderator

    hmm, I’d check for a conflict first

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, switch to a default theme such as twentytwelve, and see if this fixes.

    Then I’d re-download the software in case this was an issue

    come back if that doesn’t work

    #146459
    Robin W
    Moderator

    I think I understand

    go into dashboard>settings>forums and change the slugs for forum root and single forum root. that will change the url

    If you want to change the breadcrumb, then see

    Layout and functionality – Examples you can use

    you can also set

    ‘home_text’ , ‘root_text’ and ‘current_text’

    using this code

    If that’s not what you are after – come back !

    #146458
    Robin W
    Moderator

    @gianjj – thanks for adding this – very helpful, and please continue to update us !

    I forget that it was only 13 months ago that I started using bbPress – seems like years now !

    #146451
    Robin W
    Moderator

    @nirgalo

    Thanks for your comments, I have not been ignoring you, I have been running a training course all today.

    It’s great that you plan to improve an existing plugin, this is exactly what community software is all about, and I really hope that you will share it when done to help others :-).

    I would hasten to add I have nothing to do with bbPress, I just help out on the forum, and have written a few bbPress plugins, so views are my own!

    There’s lots I’d like to see in a core bbPress or as well maintained plugins, but someone has to write the stuff, and as it’s free no-one gets paid to do so. Where there is perceived demand, then hopefully the core guys will add it.

    Read/unread is a popular feature on many forums, I don’t use it on my own as it’s not relevant, but I do take advantage of other forum sites that do, and you could easily argue that it should be core, but then of course it would only be the way that the bbPress guys want it to work, which could be either of the plugins that you don’t like !

    Of course ones person’s standard is another’s stifling of innovation, and that community software can grow organically is both an argument for it, and an annoyance with it πŸ™‚

    Anyway, I would love to see a read/unread plugin along the lines you propose, so if you’re the man to code it, and then share with us, you’ll be very welcome here ! necessity is the mother of invention.


    @blankstage
    – hey thanks for your comments- they cheered me up after a long day !

    #146450
    Bard
    Participant

    Can someone tell me is there a plugin doing this now?(This has been asked over 6 years)

    I have tried lots of plugins but no one does exactly what I need,
    1) An easy WYSIWYG editor in bbpress for normal users(frontend).
    2) With an image “upload” feature, but is not working like an attachment like “GD bbPress Attachments”.
    3) All the uploaded images will be separated by folder(user name or individual name for an user).
    This is to avoid user use images from other users.
    I am also happy to know the reason if this is impossible this meanwhile, like wordpress official has a consideration on it’s risks.

    JBBoY
    Participant

    Thanks a lot for your response πŸ™‚

    I have seen in “Step by step guide to setting up a bbPress forum – Part 1”

    Step by step guide to setting up a bbPress forum – Part 1

    The way I want my forum looks like. Is this screenshot from previous versions and now there isn’t an easy way to do this ? I just want the topics (better last 4 topics of each forum) under the name of the forum wich they belong. The only solution is hardcoding? I don’t know where to start. Which file should I edit to change the forum structure? :S

    Thanks a lot for all.

    #146436
    JBBoY
    Participant

    Thank you for your response and support. I think it was a problem between my theme and bbpress css, a pair of “!important;” in the css and everything’s solved! πŸ™‚

    #146431
    nirgalo
    Participant

    @robin-w – thanks for pointing out bbPress Mark as read plugin. I have checked it but for the reason mentioned above (not using the same db keys), it is not compatible with bbPress Unread posts plugin. So what I’ll do it make a custom version of bbPress Unread posts plugin whose code is simple and easily fixable and get along with this. Again, the read/unread state of posts really needs to be standardised by bbPress to prevent these incompatibilites between plugins.

    #146430
    nirgalo
    Participant

    I have been looking at the implementation of two plugins so far to track the read/unread state of posts. They are both using a specific key into the post meta, meaning the posts marked as read by one plugin are not marked as read by another plugin. This is to avoid this kind of mess I would suggest bbPress contributors to add at least a standard field to mark a post as read by a given user.

    #146429
    nirgalo
    Participant

    @robin-w – right, but for every feature there is into bbPress, the same question probably arises : “is this a feature to put into bbPress or implement as a plugin?”. The status of unread posts is quite a common feature and the question is legitimate for this in my opinion.

    #146428
    Robin W
    Moderator

    The bbPress philosophy is :

    ‘We’re keeping things as small and light as possible while still allowing for great add-on features through WordPress’s extensive plugin system. What does all that mean? bbPress is lean, mean, and ready to take on any job you throw at it.’

    see

    About

    There are literally hundreds of bits that could be added, which some/many/all forums either need or don’t need !

    Plugins are written by the community to add features to bbPress, and maintained where the author is both able and willing.

    Remember all this software is free, and relies on volunteers to make it all work – it takes many hours to write and as long to maintain a good plugin.

    You could try ‘mark as read’ as a possible solution.

    https://wordpress.org/plugins/bbpress-mark-as-read/

    #146426
    nirgalo
    Participant

    Hi, I would like the unread posts for a given user to display distinctively so the user quickly knows what to read. Also I would like threads which have new replies to also display distinctively. Not necessarily through colors, maybe using icons.
    There is a plugin bbPress Unread Posts doing close to what I am looking for, but it is not maintained anymore. Why such a basic feature needs to be done through a plugin and is not part of the bbPress stock features? Any idea of other plugins or custom code I can use?

    #146421
    Brent Brooks
    Participant
    Robin W
    Moderator

    ‘I have some forums that only serves as main forum for sub-forums’

    Try setting them as categories rather than forums – on the edit forum page you will see the option on the right hand side

    ‘It would also be nice if members could comment on a post, but not create new topics.’

    You can create a custom role to do this – see

    Layout and functionality – Examples you can use

    Layout and functionality – Examples you can use

    If you are not very good at code, come back and I will try to help further

    Robin W
    Moderator

    ok, on your breadcrumb issue see

    Layout and functionality – Examples you can use

    On your weird forums page, given that it says “continue reading” I suspect that your theme is treating this as a post, and just giving what it thinks is an ‘excerpt’.

    I’d suggest you next try setting up a page called ‘forums’ and using [bbp-forum-index] to get it to render. ie

    Step by step guide to setting up a bbPress forum – Part 1

    method 2

    If this doesn’t work, then come back

    robgranholm
    Participant

    Hi,

    It’s easiest to show a visual of what’s going on, but when you click on “Forums” in the breadcrumb, you get a page showing a search of some sort, with no data…this is a fresh forum with some dummy threads, but not much else. Is this supposed to be what’s showing up? How do I fix or override.

    Also, there’s no spacing between the words in the breadcrumb, how do I make this better looking? I’ve already tried using a plugin to change the word “Home” to a – because I don’t want a home link, but the plugin didn’t help in terms of spacing.

    Using the latest version of BBpress and WP.

    Website: http://dev.mindbodycoachuniversity.com

    Picture of weird /forums page: http://take.ms/i5u3d
    Picture of breadcrumb: http://take.ms/6dov0

    boblebad
    Participant

    Hi

    I’m at the part of my coming website, where i need to fit bbPress layout to my needs.

    It’s a dating/friending site where i use Sweet Date theme, which uses Buddypress for members and bbPress for forums.

    As per default bbPress posts status’s at the top and bottom of every forum. I have some forums that only serves as main forum for sub-forums, and therefore in these i don’t want/need the notifications, that there no forums/topics in this forum.

    How is this done the right way, and if, what files do i need to copy and edit to make it work ?

    It would also be nice if members could comment on a post, but not create new topics.

    I tried using the page.php template, but it uses different styling, so the text is another font and weight, i need the bbPress layout πŸ™‚

    EDIT: Forgot that i need to be able to have right sidebar on the pages as well.

    All the best
    Carsten

    #146409

    In reply to: Importing from drupal

    pratip.ghosh
    Participant

    Hi,

    Is there a way so that bbPress can auto-migrate (as a scheduled job) using some sort of web service provided from Drupal? Is it possible?

    Thanks,

    #146403
    NikolajR
    Participant

    Hi,

    I have seen that in some of the topics in my forum. The usernames on the posts moves out of position. I think it’s because they move to the right, but i’m not sure about it.

    Topic where the problem is: [url]http://danskyt.net/forums/topic/nyt-grafikkort/[/url]

    Site: [url]http://danskyt.net/[/url]
    Theme: Point
    Wordpress Version: 3.9.1
    BBpress Version: 2.5.3

Viewing 25 results - 20,551 through 20,575 (of 64,534 total)
Skip to toolbar