Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 24,376 through 24,400 (of 64,535 total)
  • Author
    Search Results
  • #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 '»'. 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.

    #136979
    CC-Cailin
    Participant

    I am integrating bbpress files into my own wordpress theme. But, I don’t get why there is so many loop files?

    “content-archive-forum.php” links to “loop-forums.php”, and inside that, it links to “single-forum.php”.
    Why on earth is there one loop linked to another, and then another, and then another? It sees confusing to me…

    Can’t I just leave out files like “loop-forums.php” and add that code directly in “content-archive-forum.php and do the same with the other files? Or is it necessary to keep them broken up?

    #136977
    harpeml
    Participant

    Hi Again, I looked at the plug-ins and it seemed that WP Ultimate CSV Importer would do the job. I tried importing one of their example CSV files. It lets me choose the post type “forum” although I see no way to provide a forum title. It appeared to work with no errors. However, looks like it took each post entry and created a new Forum with it. I see no way to have the posts come in as topics under an existing or new Forum. Is there a way to change this once the import is done?

    Sorry I am not a PHP person and not familiar with the inner workings of WordPress.

    dan
    Participant

    @bbpress staff or @moderators

    Please review dbungard’s suggestions above and say something, so that ordinary users can feel confident to make use of it.

    Thank you.

    #136975

    In reply to: Forums Index Issue

    dan
    Participant
    #136973

    In reply to: Forums Index Issue

    akasocrates
    Participant

    Hi Daniel,

    Actually, I didn’t. In fact, after I installed bbPress, I got hacked and my site went down. In an effort to get to the root cause, I uninstalled bbPress. My host doesn’t think it’s related to bbPress though.

    Either way, I’m stabilizing things before I install bbPress. Moreover, I’m probably going to move to a host that specializes in WordPress security/optimization etc…like WPEngine or Synthesis.

    Hope this helps.

    #136969
    sciman@cpp.edu
    Participant

    This is terrific, though I suppose that I have to learn somehow the field names to be mapping my fields to. I’ve not actually installed the bbPress plug-in as yet. Does it work with the regular WP database, so that I import the ‘custom post type’ to a WP install, or does it get imported to bbPress itself. Boy am I dumb;-) But thanks Stephen — your responsiveness if super encouraging.

    #136968

    I ran a search and didn’t find an answer to this. If there is one please point me to the right post.

    Behavior problem with Title Tags

    Site is multi-site 3.6, buddy press 1.81, bbpress 2.4. All other themes and plugis current. Problem on the main site only. Sub-domains not effected.

    I found the title tags aren’t showing up correctly. On all pages other then BP pages and home page only the site name shows up as title in the browser. I can see that the page name/site Page | site name is trying to show but loops back to just the site name without the page or pipe.

    I change the theme to 2012 and I still had the same problem.

    I’ve tested in Chrome, Firefox and IE all behave the same.

    I cleared, cache, temp internet history and file throughout the process of finding what’s wrong.

    I deactivated all plugins and Title tags returned to normal tag behavior. I activated the plugins 1 by one and discovered that BBPress is causing the problem with the title tags. I deactivate all plugins again and activated only bbpress and sure enough it’s the problem. Right now I have BBPress deactivated.

    Please help me through this issue.

    #136967
    Stephen Edgar
    Keymaster

    Cool πŸ™‚ Once you have tried them let me which one worked for you. If none work we will then look at forking one of them and writing a custom version for bbPress. If that doesn’t work we can come up with a custom CSV format to import directly into MySQL and then write an extension for the bbPress importer. In the end there will be a way. πŸ™‚

Viewing 25 results - 24,376 through 24,400 (of 64,535 total)
Skip to toolbar