Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 24,351 through 24,375 (of 64,518 total)
  • Author
    Search Results
  • #137028
    Stephen Edgar
    Keymaster

    Ahhh… Yes… That would make sense, probably a dedicated ‘User CSV Import’ plugin eg. https://wordpress.org/plugins/search.php?q=csv+user plugin that matches your requirements.

    You shouldn’t have to assign passwords, users can do this themselves later.

    Once you have your users you will want to update your topic.csv & reply.csv files with the new user ID’s.

    #137027

    Did you try repairing the roles via “Tools” -> “Forums” -> “Remap existing users to default forum roles”?

    That usually works and is a fix that sticks.

    #137022
    acekin
    Participant

    That shortcut access to the missing Forums components did not work. I had do disable and enable bbPress to bring back the forums dashboard block. I hope there is a permanant fix for this soon. I am using Genesis-Platinum child theme.

    #137021
    kandrite
    Participant

    Hello!

    I can’t seem to find any answers via Google, so maybe you fine folks could help me. I just started delving into bbpress themeing. I’m basically skeletonizing the default bbpress theme so I can start working in depth with it.

    The way I have my forums structured is in three category forums, with variable amounts of subforums. The default theme uses bbp_list_forums to return an unordered list of all subforums of a category. I’ve been messing with the arguments and made each list item separated in its own div. My problem with that is only the text inside the div links to the forum, whereas I would like the entire div to be the link.

    My arguments look like so:

    		<?php bbp_list_forums( array(
    			'before'              => '<ul class="bbp-forums-list">',
            	'after'               => '</ul>',
            	'link_before'         => '<li class="bbp-forum"><a href="<?php the_permalink(); ?>"><div class="forum-list-item">',
            	'link_after'          => '</div></a></li>',
    			'count_before'        => '<div class="forum-list-item-count"><span class="forum-list-item-topics">Topics: </span>',
            	'count_after'         => '',
            	'count_sep'           => '<br><span class="forum-list-item-replies">Replies: </span>',
            	'separator'           => '<br>',
            	'forum_id'            => '',
            	'show_topic_count'    => true,
            	'show_reply_count'    => true,
    		)); ?>

    Any way I can get the permalinks to the individual subforums?

    #137018

    In reply to: SMF Import to bbPress

    bigtreesjoe
    Participant

    I had basically finished writing a converter template for smf 1.1.8 when I came across your post and your script. Good news is it looks like I got pretty close.

    I would like to understand better what the authenticate_pass function is supposed to do. If it is just supposed to return true if the current user’s password matches the old smf hashed password then it seems that I should be able to use a function similar to ssi_checkPassword that was included in the SMF ssi.php script, assuming that the sha1 function is available.

    Is there something more complicated that I am missing?

    I realize that due to SMF licensing issues I would not be able to distribute the code I write for myself based on the ssi.php code.

    #137017
    matrixd
    Participant

    btw. did anyone else notice that the latest bbpress killed the display of the date of the latest post/reply as well as the display of the post author?

    Its simply not showing anymore even though I checked the box in the widget settings

    Your answer is here

    #137015
    acekin
    Participant

    If a momentary outage of the forum is acceptable, disabling and then enabling bbPress also seems to fix the problem. I have also created a shortcut to each of the submenu items under Forums/Topic/Replies block. Next time I have this outage, I will try the direct shortcuts and see if that may be a workaround.

    I am curious, does the solution “Remap existing users to default forum roles” change any of the users’ roles to “default” from whatever they might be set at?

    #137014
    jralston
    Participant

    I feel like I am missing something very basic here… why are breadcrumbs not showing at all? I used a custom template for the main bbpress page. I’ve added in <?php bbp_breadcrumb(); ?> into that custom template – nothing changed and no breadcrumbs appearing. Help? What am I missing here?

    #137012
    jakejules
    Participant

    When bbPress is deactivated the Page Titles in my chrome browser tabs show fine. When bbPress is activated the page titles disappear (for the entire site, not just forum pages).
    I have tried re-saving my permalinks, but no change.

    you can see here — http://employment.ssiparked.com/wp/job-seekers/

    #137011
    sciman@cpp.edu
    Participant

    One other question, Stephen. As I think through this, don’t I also somehow need to be concerned about getting my authors and perhaps their email addresses registered as members of the site or something? I’d imagine that that would need to be done first. Interestingly, as I look at the file data I have, the identified “author” sometimes has taken new names, and of course email addresses probably require updating. Do I need to assign passwords or something? I hope not, though I expect this depends on how I will choose to configure or reconfigure permissions for posting at the website? Again, thanks a million for any help.

    #137010
    sciman@cpp.edu
    Participant

    Thanks so very very much, Stephen. I hope that others in the future can find this very helpful guidance for custom importing since it’s so much clearer than the advice I’d seen elsewhere. I will give it a go and post any observations I may have from the experience.

    #137009
    Zack Tollman
    Participant

    Hi there!

    I just updated to bbPress 2.4 and experienced the same problem. All titles not on bbPress pages were rendered as blank titles.

    It seems bbPress 2.4 introduced a new function that filters the wp_title function. As a temporary workaround that does not required bbPress plugin file changes, I have added the following to my theme’s functions.php:

    /**
     * Restore non bbPress page titles.
     *
     * v2.4 of bbPress introduced a bug where titles for all non-bbPress pages were blank. This function restores order
     * without overwriting the bbPress core files. It uses the exact same function as bbPress for the titles with one
     * change: if none of the bbPress queries match, it returns the original title.
     *
     * The function first removes the bbPress filter that performs this action, then uses it's own routine to determine the
     * title.
     *
     * @param  string    $title          Optional. The title (not used).
     * @param  string    $sep            Optional, default is '&raquo;'. How to separate the various items within the page title.
     * @param  string    $seplocation    Optional. Direction to display title, 'right'.
     * @return string                    Modified title.
     */
    function my_prefix_bbp_title( $title, $sep, $seplocation ) {
    	// Get rid of the core "bbp_title" filter callback
    	remove_filter( 'wp_title', 'bbp_title', 10, 3 );
    
    	// Store original title to compare
    	$_title = $title;
    
    	// Title array
    	$title = array();
    
    	/** Archives **************************************************************/
    
    	// Forum Archive
    	if ( bbp_is_forum_archive() ) {
    		$title['text'] = bbp_get_forum_archive_title();
    
    	// Topic Archive
    	} elseif ( bbp_is_topic_archive() ) {
    		$title['text'] = bbp_get_topic_archive_title();
    
    	/** Edit ******************************************************************/
    
    	// Forum edit page
    	} elseif ( bbp_is_forum_edit() ) {
    		$title['text']   = bbp_get_forum_title();
    		$title['format'] = esc_attr__( 'Forum Edit: %s', 'bbpress' );
    
    	// Topic edit page
    	} elseif ( bbp_is_topic_edit() ) {
    		$title['text']   = bbp_get_topic_title();
    		$title['format'] = esc_attr__( 'Topic Edit: %s', 'bbpress' );
    
    	// Reply edit page
    	} elseif ( bbp_is_reply_edit() ) {
    		$title['text']   = bbp_get_reply_title();
    		$title['format'] = esc_attr__( 'Reply Edit: %s', 'bbpress' );
    
    	// Topic tag edit page
    	} elseif ( bbp_is_topic_tag_edit() ) {
    		$title['text']   = bbp_get_topic_tag_name();
    		$title['format'] = esc_attr__( 'Topic Tag Edit: %s', 'bbpress' );
    
    	/** Singles ***************************************************************/
    
    	// Forum page
    	} elseif ( bbp_is_single_forum() ) {
    		$title['text']   = bbp_get_forum_title();
    		$title['format'] = esc_attr__( 'Forum: %s', 'bbpress' );
    
    	// Topic page
    	} elseif ( bbp_is_single_topic() ) {
    		$title['text']   = bbp_get_topic_title();
    		$title['format'] = esc_attr__( 'Topic: %s', 'bbpress' );
    
    	// Replies
    	} elseif ( bbp_is_single_reply() ) {
    		$title['text']   = bbp_get_reply_title();
    
    	// Topic tag page
    	} elseif ( bbp_is_topic_tag() || get_query_var( 'bbp_topic_tag' ) ) {
    		$title['text']   = bbp_get_topic_tag_name();
    		$title['format'] = esc_attr__( 'Topic Tag: %s', 'bbpress' );
    
    	/** Users *****************************************************************/
    
    	// Profile page
    	} elseif ( bbp_is_single_user() ) {
    
    		// Current users profile
    		if ( bbp_is_user_home() ) {
    			$title['text'] = esc_attr__( 'Your Profile', 'bbpress' );
    
    		// Other users profile
    		} else {
    			$title['text']   = get_userdata( bbp_get_user_id() )->display_name;
    			$title['format'] = esc_attr__( "%s's Profile", 'bbpress' );
    		}
    
    	// Profile edit page
    	} elseif ( bbp_is_single_user_edit() ) {
    
    		// Current users profile
    		if ( bbp_is_user_home_edit() ) {
    			$title['text']   = esc_attr__( 'Edit Your Profile', 'bbpress' );
    
    		// Other users profile
    		} else {
    			$title['text']   = get_userdata( bbp_get_user_id() )->display_name;
    			$title['format'] = esc_attr__( "Edit %s's Profile", 'bbpress' );
    		}
    
    	/** Views *****************************************************************/
    
    	// Views
    	} elseif ( bbp_is_single_view() ) {
    		$title['text']   = bbp_get_view_title();
    		$title['format'] = esc_attr__( 'View: %s', 'bbpress' );
    
    	/** Search ****************************************************************/
    
    	// Search
    	} elseif ( bbp_is_search() ) {
    		$title['text'] = bbp_get_search_title();
    	} else {
    		return $_title;
    	}
    
    	// This filter is deprecated. Use 'bbp_before_title_parse_args' instead.
    	$title = apply_filters( 'bbp_raw_title_array', $title );
    
    	// Set title array defaults
    	$title = bbp_parse_args( $title, array(
    		'text'   => '',
    		'format' => '%s'
    	), 'title' );
    
    	// Get the formatted raw title
    	$title = sprintf( $title['format'], $title['text'] );
    
    	// Filter the raw title
    	$title = apply_filters( 'bbp_raw_title', $title, $sep, $seplocation );
    
    	// Compare new title with original title
    	if ( $title === $_title )
    		return $title;
    
    	// Temporary separator, for accurate flipping, if necessary
    	$t_sep  = '%WP_TITILE_SEP%';
    	$prefix = '';
    
    	if ( !empty( $title ) )
    		$prefix = " $sep ";
    
    	// sep on right, so reverse the order
    	if ( 'right' === $seplocation ) {
    		$title_array = array_reverse( explode( $t_sep, $title ) );
    		$title       = implode( " $sep ", $title_array ) . $prefix;
    
    	// sep on left, do not reverse
    	} else {
    		$title_array = explode( $t_sep, $title );
    		$title       = $prefix . implode( " $sep ", $title_array );
    	}
    
    	// Filter and return
    	return apply_filters( 'bbp_title', $title, $sep, $seplocation );
    }
    
    add_filter( 'wp_title', 'my_prefix_bbp_title', 9, 3 );
    #137007
    Sven
    Participant

    Update: When I switch the editor in the WordPress backend, it will shown in the bbPress frontend, too. But when I switch from visual to text and back, then again the above error is shown and I have to switch back in the backend.

    #137006
    leanderbraunschweig
    Participant

    Already did (re-)save the permalinks settings (see original post). Did it again right now just to make sure & still the same problem…

    What to do? Which file / script / logic could be responsible?

    When issuing a search-query, this is the “real” URL, which gets called first (before rewriting):
    /search?action=bbp-search-request&bbp_search=my-query << No problems here, right?

    FYI: I deactivated all the other plugins – no effect, the error persists.

    #137005
    ovizii
    Participant

    btw. did anyone else notice that the latest bbpress killed the display of the date of the latest post/reply as well as the display of the post author?

    Its simply not showing anymore even though I checked the box in the widget settings.

    check it out live here: die-kellerkinder.eu

    my widget settings:
    http://screencast.com/t/wJIMj9WQR
    http://screencast.com/t/emLrUiJIF

    FreeWPress
    Participant

    I all, is possible to have a function to bypass bbp_get_caps_for_role with one custom?

    I want to get false this two option for participant:

    // Forum caps
    ‘read_private_forums’ => true,

    // Topic tag caps
    ‘assign_topic_tags’ => true,

    In this moment i have update file capabilities.php but when bbpress have upgrade to new version i sure lost this modify…

    P.s. Why this options aren’t present in administration forum panel?

    How to do? Thanks….

    #137001
    Sven
    Participant

    Hi,

    I have the same problem. When I click on the Visual Tab, following error will shown:

    TypeError: d is undefined …/wp-includes/js/quicktags.min.js?ver=3.6 Line 1

    I’m using Wodpress 3.6 and the latest bbPress. What can I do?

    #136998
    ManuZorch
    Participant

    Hi
    I have faced an issue that maybe some people have encountered and for which I did not find much info on the net.

    Basically the problem was that the bbpress default template that I embedded in my WP template was rendered with supplementary line breaks (<br> and <p> tags). Just as if the wpautop function was reapplied on the forum content included in the template.

    I noticed that the problem was existing on Linux if the template files had an Unix EOL : LF
    And also existing on Windows (using WAMP) if those same files had a Windows EOL : CR+LF
    I found a workaround by making the template files have a Mac End Of Line with : CR

    But I am not sure this is a clean solution
    Maybe there is something far more simple that I do not know

    Thanks

    I am using the latest 2.4 bbpress version

    #136990
    Stephen Edgar
    Keymaster

    Firstly, thanks for looking further into this, it gave me enough info to run a quick test import.

    bbPress uses WordPress tables and doesn’t create any of its own and not having answers to something you don’t know doesn’t make anyone dumb. 😉

    Ok…. Here we go….

    I installed this plugin https://wordpress.org/plugins/wp-ultimate-csv-importer/

    I realised the csv file had to be split into 3, one for the forum, one for topics and one for replies. Here is a copy of the 3 CSV files I used https://gist.github.com/ntwb/6532360

    Next jump into WP Admin and and open up the WP CSV Tool and select ‘Custom Post’ to import from and select your forum.csv file to upload and click import.

    Set the options and field mappings as per this:

    Import Data Configuration

    Select Post Type = forum
    Import with post status = publish
    post_author = post_author
    post_date = post_date
    post_content = post_content
    post_title = post_title

    And click import.

    Topics is up next and you will notice that it includes the field ‘post_parent’ so this is the forum ID that the topic will be imported into. As we do not know the forum ID you will need to open up the bbPress forums panel in wp-admin. Select the forum you want the topics to be imported and this will take you into the forum edit section, look at the URL in your browser and it should be similar to /wp-admin/post.php?post=348830&action=edit what we want here is the ‘348830’ as that will be the parent forum for each topic imported. Update your topic.csv file with this number as per my sample linked above.

    Back to the CSV importer to import your topics.csv

    Set the options and field mappings as per this:

    Import Data Configuration

    Select Post Type = topic
    Import with post status = publish
    post_author = post_author
    post_date = post_date
    post_content = post_content
    post_title = post_title
    post_parent = post_parent

    The replies section is basically the same as the topics section, you need to get the ID orf each topic ID for each reply and update your reply.csv file for each entry.

    Lastly run each of the ‘Recalculate’ and ‘Count’ bbPress ‘Repair Tools’ from wp-admin-> Tools- Forums -> Repair Forums (more info here https://codex.bbpress.org/repair-forums/)

    And I think that’s it, there is a bit of juggling your data around, give it a bash and let me know how it works out for you and here’s the result 🙂

    #136989
    RitaNow
    Participant

    I want to build a page that is a single forum using bbPress. When a topic is created it will stay in that Main Forum. A drop down displaying other Forums is available for that topic to be also in. The other forums are on the same site. The forums will be on the menu bar so the user can choose which forum to visit.

    When a member is viewing a specific forum, a new topic can be created which will automatically be both in that forum and the Main forum.

    How do I create this?

    #136988

    The reason it doesn’t exist is because the audience for this is relatively small compared to users asking for other things. Right now, I see 3 people that need this. That’s not saying it’s trivial, but it’s non-urgent.

    The actual clean-up of this is not super straight forward, unfortunately. There is an uninstall script located in Tools > Forums that will permanently purge most data, but it doesn’t remove user roles yet.

    Open a feature request at http://bbpress.trac.wordpress.org, and we’ll put in a milestone and work towards getting it in.

    #136987

    Can you try hitting your permalinks page, and saving them. Could be a rogue rule conflicting somewhere. bbPress flushes these on update, but it’s possible something blocked it.

    #136985

    Yes, you can! The reason they’re parted out in bbPress is to make it easier to override specific template parts in a child theme, rather than needing to write a complete theme. Also, some parts are reused in several places, such as loop-forums.php and loop-topics.php, so they are parted out to reduce duplication.

    it seems to have wiped out the blog admins permission to access plugins and themes

    bbPress shouldn’t have done this. Do you have some other role/capability plugin installed?

    #136980
    samoya22
    Participant

    I would like the Recent Topics widget to have html embedded that would make styling it a lot easier. This ” by” nonsense is impossible to work with in CSS. Please, make these things lists or encapsulate everything within a style-able inline element like paragraphs. Divs with no semantic titles (ie. classes) are equally useless.

    Just my two cents. I’m really quite pleased with BBPress overall, as a plugin.

Viewing 25 results - 24,351 through 24,375 (of 64,518 total)
Skip to toolbar