Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 20,526 through 20,550 (of 64,517 total)
  • Author
    Search Results
  • #146493
    Stephen Edgar
    Keymaster

    Ah…. I know why, apologies for saying not cool 😉

    Make a copy of your page.php file and save it as bbpress.php in your themes folder (you can use page-sidebar.php if you prefer) and then bbPress will ‘wrap’ all of it’s pages in that template for you.

    #146489
    Stephen Edgar
    Keymaster

    Wow! Bumping your own topic 7 minutes after first posting, not cool.

    That said you are correct it is a compatibility issue with your theme and also bbPress does NOT support signatures ‘out of the box’

    #146488

    In reply to: CSS Plugin

    Stephen Edgar
    Keymaster

    Why not just enter your custom bbPress CSS in your themes custom CSS Editor?

    It should work just as it does for your themes CSS.

    #146486
    Stephen Edgar
    Keymaster

    Here is our ‘Official’ stance on the ‘Unread’ feature/functionality:

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

    The primary issue is performance, we have not seen a plugin that will work well for larger sites, if we implement this as a feature it must work for everyone who uses bbPress.

    I just updated the list of ‘Unread’ type plugins I know of here:

    Feature Plugins Tracking

    #146482
    Stephen Edgar
    Keymaster

    1) An easy WYSIWYG editor in bbpress for normal users(frontend).

    You can enable the TinyMCE Visual Editor with instructions shown here:

    Enable Visual Editor

    2) With an image “upload” feature, but is not working like an attachment like “GD bbPress Attachments”.

    I’m only aware of the “GD bbPress Attachments” plugin that offers this for bbPress, you should be asking in their support forums for any issues relating to why this plugin doesn’t work for you.

    3) All the uploaded images will be separated by folder(user name or individual name for an user).

    bbPress does NOT support attachments or media uploads ‘out of the box’
    I would also suggest you also contact the “GD bbPress Attachments” support forum to request any enhancements you would like to see in the plugin.

    #146481
    Stephen Edgar
    Keymaster

    Set WP_DEBUG to false define('WP_DEBUG', false); in your wp-config.php file, this is a known issue.

    More info on this:

    https://bbpress.trac.wordpress.org/ticket/2309 https://core.trac.wordpress.org/ticket/24169

    #146477
    Stephen Edgar
    Keymaster

    bbPress doesn’t actually support the use of signatures ‘out of the box’.

    What we can do though is still import that data and store it in the wp_usermeta table, then if you do add a plugin that supports signatures in bbPress you can then copy that data (Using phpMyAdmin for example) from your imported database to however that plugin supports signatures.

    Simply add this field map:

    
    // User Signature (Stored in usermeta)
    $this->field_map[] = array(
    	'from_tablename'  => 'FORUM_MEMBERS',
    	'from_fieldname'  => 'M_SIG',
    	'to_type'         => 'user',
    	'to_fieldname'    => '_bbp_snitz_user_sig'
    );
    

    Thus once you (if you do) add a plugin to support signatures to can then query against the _bbp_snitz_user_sig field directly with MySQL and update your user profile fields.

    I just added the above to the Gist also, you can see the changes via the ‘revisions’ link.

    #146474

    In reply to: Freshness Date Format

    Morgensonne
    Participant

    Robin, hi again 🙂

    I’m still working on my new bbPress and now I was looking for a solution to change the ‘freshness’ that bbPress displays to the date of topic. I’m excited because I found your posting here and read that there is a plugin now which does that. How great!!

    I’ve installed it right now, but still I have a problem to activate it.
    It is the message:

    Plugin can not be activated because fatal error.
    Parse error: syntax error, unexpected T_FUNCTION in …..myTestWP/wp-content/plugins/bbp-last-post/includes/lp-widgets.php on line 224

    Do you have an idea, Robin, why it can not be activated at me?
    Link unfortunately I have not currently, I’m still on my test server.
    Would be glad to hear from you.
    Thank you!

    Morgensonne

    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/

Viewing 25 results - 20,526 through 20,550 (of 64,517 total)
Skip to toolbar