Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 17,051 through 17,075 (of 64,532 total)
  • Author
    Search Results
  • #156953
    jrenjithk
    Participant

    Hi, I have a wordpress page for my company – http://www.honeymoontourkerala.wordpress.com and would like to know how to integrate the same with bbpress? What are the advantages in doing so? As desired, my main webpage is http://www.honeymoontourskerala.com

    Please suggest options/advantages.

    Thanks JK

    #156952
    Radiantmoment
    Participant

    Hi

    My issue is when a registered user clicks on open forum. all the topics are displayed, but when the user clicks on one of the topics they are taken directly to a reply page – without showing the actual topic.

    WP version 4.1
    bbPress version 2.5.4
    http://www.oregonsungrown.org
    you can test with user testor password test123

    thanks

    #156949
    clocky
    Participant

    does anybody out there struggles with the same problem as i?

    after migration vom bbpress standalone (1.2) to bbpress WP-Plugin (newest) migrated user can’t login with their given password.
    does someone got a solution or a hint?

    #156948
    mvaneijgen
    Participant

    Why do widgets have not enclosing container around them?

    Here is the Widgets for recent replies I was expecting a <div class="bbpress-widget-recent">code</div> or at least a <h1></h1> around the title

    
    "Recente Reacties"
    
    <ul>
    <li>
    <a href="/members/" title="Bekijk profiel" class="bbp-author-avatar" rel="nofollow"><img src="http://gravatar.com/avatar/b24c3f45ce107cd64af84ff792df90da?d=mm&s=14&r=G" class="avatar user-4-avatar avatar-14 photo" width="14" height="14" alt="Profile photo of user"></a>&nbsp;<a href="/members/" title="Bekijk profiel" class="bbp-author-name" rel="nofollow">User</a> op <a class="bbp-reply-topic-title" href="/onderwerp/link" title="link">link</a>
    </li>
    <li>
    <a href="/members/" title="Bekijk profiel" class="bbp-author-avatar" rel="nofollow"><img src="http://gravatar.com/avatar/b24c3f45ce107cd64af84ff792df90da?d=mm&s=14&r=G" class="avatar user-4-avatar avatar-14 photo" width="14" height="14" alt="Profile photo of user"></a>&nbsp;<a href="/members/" title="Bekijk profiel" class="bbp-author-name" rel="nofollow">User</a> op <a class="bbp-reply-topic-title" href="/onderwerp/link" title="link">link</a>
    </li>		
    </ul>
    #156944
    olesolo
    Participant

    I’m calling a login form by [bbp-login]
    As I understand it’s using a wp-content/plugins/bbpress/templates/default/bbpress/form-user-login.php
    I want to rename “Username” label and remove “:”
    But my changes don’t appear on site. It seems that [bbp-login] uses a different template?

    #156943
    sha77ered
    Participant

    Hi there,

    Ive been searching all over for a solution to this problem and have tried extensively myself to solve it, but to no avail. Please if someone could offer some guidance i would really appreciate it.

    So on the forum root if one display the topics directly, I would need the option allow the user to sort the topics alphabetically or by date. Perhaps this should be considered a default feature in bbpress?

    Anyways, I realise that the ‘bbp_has_topics’ function in includes>topics>template.php needs to be hooked into and changed, but how to do that I dont know.

    Any support would be greatly appreciated.

    #156940
    eVersatile
    Participant

    Good evening everyone.
    I have been trying to figure out how to add a action to add to my bbpress instance.
    For the form_topic.php file. I would like to add an section that allows any to choose the visibility of the topic. i.e.; Public, Hidden.
    I would also like to add an action to user_topics_created.php which allows the user to view both public and hidden topics which they created.
    Currently I have it set up for the two sections to show hidden or private topics. though I am at a lose when it comes to choosing the visibility and showing topics started by visibility

    #156934
    jkohler344
    Participant

    I was trying to change the CSS file to make the font more readable on my forums. I messed up the file and lost my original. Could someone post some code I could copy that is either the original bbpress.css file or one modified to have good readable font? Thanks for any help

    #156933
    dansearle
    Participant

    I have isolated the exact post content that causes the BBCode::Parse to hang. I can’t post the original content, but I made this version replacing the text with lorem ipsum, and it also hangs:

    $field =<<<EOD
    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla dictum ligula sit amet massa condimentum gravida. Quisque qutris imgdper diet dolor. Nulla quis ante id elit lacinia commodo. Maecenas convallis felis at libero fringilla, feiat.<br><br><br><i><b>[EDIT: Aenean aliquet velit est, ac sodales "tortyor aliquoam vitae" urna sit amet dui rutr "OpenGL Uiot" Tenentis in faucibus orci luctus et ultrices posuere cubilia Curae Donec fringilla velit non too much
    EOD;
    

    If you remove the words “too much” from the end then it parses ok.

    This is the full code that I put into a theme page template to run this test in isolation:

    echo "<h2>Begin the parser test</h2>";
    
    require_once( WP_PLUGIN_DIR . '/bbpress/bbpress.php' );
    
    $field =<<<EOD
    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla dictum ligula sit amet massa condimentum gravida. Quisque qutris imgdper diet dolor. Nulla quis ante id elit lacinia commodo. Maecenas convallis felis at libero fringilla, feiat.<br><br><br><i><b>[EDIT: Aenean aliquet velit est, ac sodales "tortyor aliquoam vitae" urna sit amet dui rutr "OpenGL Uiot" Tenentis in faucibus orci luctus et ultrices posuere cubilia Curae Donec fringilla velit non too much
    EOD;
    
    require_once( bbpress()->includes_dir . 'admin/parser.php' );
    $bbcode = BBCode::getInstance();
    echo  html_entity_decode( $bbcode->Parse( $field ) );
    
    #156924
    pahroblem
    Participant

    Hi guys, so ive followed this function from the bbpress codex webpage…

    // Filter wp_nav_menu() to add profile link
    add_filter( ‘wp_nav_menu_items’, ‘my_nav_menu_profile_link’ );
    function my_nav_menu_profile_link($menu) {
    if (!is_user_logged_in())
    return $menu;
    else
    $current_user = wp_get_current_user();
    $user=$current_user->display_name;
    $profilelink = ‘

  • Edit Profile
  • ‘;
    $menu = $menu . $profilelink;
    return $menu;
    }

    Its working great. the problem im having though is if the user has a space in their name it will produce a invalid link.. for example

    if the users name was Adam John

    the link will be http://www.example/forum/users/adam john/ and it wont work..

    any ideas? thank you in advance!

#156918
Killerrabbit2
Participant

@andreippo – Contact Robin. He will set you strait.


@robin-w

https://bbpress.org/forums/profile/robin-w/

#156917
Robin W
Moderator

I can only suggest that you go back to

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, as a test switch to a default theme such as twentytwelve, and see if this fixes.

and then come back.

#156910
dansearle
Participant

Hi, I’m trying to import a Vanilla forum db into my new BBPress install (2.5.4 on WP 4.0.1) and it silently hangs during the conversion of topics.

I’ve debugged the code and I suspect it’s getting stuck when it tries to parse the HTML into BBPress. Is this a known issue at all? Is there something I can do to prep the incoming data perhaps?

I’m open to hacking the core of the importer here, I only need to get it working once.

#156903
Matt
Participant

Hi,

This issue has been resolved. bbPress works perfectly with Striking Multiflex.

Thanks,
Matt

#156900
mvaneijgen
Participant

TL;DR How do I make the forum open so everyone can read an view topics without being logged in?

Screenshot

Im developing a forum with BBpress, but im having trouble viewing topic when im not logged in. I develop with two browsers open one logged in to the wp-admin and one for viewing without being logged in and I can view everything except when I go in to a topic to view the comments. How can I make the forum open for everyone to view, but only logged in users can comment?

#156898
Kelley
Participant

Fresh install of the latest bbpress and wordpress 4.1 – theme powermag 1.8.0

When someone posts, the first post layout is fine. Any reply after though, the avatar and name is at the bottom of the screen?

http://www.wisbechtownfc.co.uk/forums/topic/wednesday-at-histon/

I checked it with live preview on twentyfifteen and its fine, perhaps I can override the them of just the forum ?

any help would be appreciated

#156892
Deleyna
Participant

Okay, I broke it.

I imported a phpbb forum into bbpress. Nice. We had a number of older threads with a post at the beginning and a bunch of replies. I used a conversion tool to convert the topics to posts — so the initial topic of each thread is now converted to a post.

For this site, this was powerful good. Magic. Yay…

Except that now the users wonder what happened to all of those replies. We’re using a plugin that uses bbpress to integrate the comments on the posts…so, now having their cake, they want to eat it, too.

I can see in the back end that the replies are still all there. I’ve picked at a couple and moved and merged and fiddled and got them where I wanted them. Generated a mismatch warning at one point, but it all connected back up.

But the process is insanely slow.

I used the auto-create to create new topics in the forum for each of the posts (converted topics). So each of the ones I converted to a post now HAS a master topic in the forum, but the replies aren’t attached.

They aren’t visible on the front end, either.

In retrospect, this was pretty stupid. Looking at about 800 replies. My current workflow takes me around 15 minutes to reattach one. Not going to happen.

Thoughts?

#156887

In reply to: Problem with header

Robkk
Moderator

ok i think i found it this is whats causing the space on your other pages an not on the forum archive

it has this code close to the header, while on the bbPress forum archive doesnt

<div class=”container-inner”>

<p class=”site-title”>SDGR.pl</p>
`
<p class=”site-description”></p>

<div id=”wpai_widget-11″ class=”widget widget_wpai_widget”>
<div style=”display: table; margin: 20px auto;”>

#156885

In reply to: Problem with header

Robkk
Moderator

if you haven’t already create a bbpress.php file and put it in a bbpress folder in your child theme and see if this fixes your issue.

https://codex.bbpress.org/theme-compatibility/getting-started-in-modifying-the-main-bbpress-template/

#156883
eurythmech
Participant

About one week ago, my bbPress forum stopped working. I get a 404 when trying to access the root folder of the forum. When I try to follow links to topics, they do work. But replying or navigating to the root via links does not work.

I have bbPress 2.5.4 and WordPress 4.1

How do I trouble shoot this?

#156882

In reply to: Category Tree

Robkk
Moderator

in your child theme create a folder called bbpress (unless you already have one)

use FTP by using software like Filezilla on your CPU or upload the file in the bbpress folder in your hosts file manager

to know what FTP is and how to use it go to the What is FTP and how do I access it? section in this document https://codex.bbpress.org/functions-files-and-child-themes-explained/

#156878
Robin W
Moderator

ok, I’ve had a detailed look, and there is no simple filter, so we just copy the function, rename it, and the hook back

so post this in your functions file

function change_root( $args = array() ) {

		// Turn off breadcrumbs
		if ( apply_filters( 'bbp_no_breadcrumb', is_front_page() ) )
			return;

		// Define variables
		$front_id         = $root_id                                 = 0;
		$ancestors        = $crumbs           = $tag_data            = array();
		$pre_root_text    = $pre_front_text   = $pre_current_text    = '';
		$pre_include_root = $pre_include_home = $pre_include_current = true;

		/** Home Text *********************************************************/

		// No custom home text
		if ( empty( $args['home_text'] ) ) {

			$front_id = get_option( 'page_on_front' );

			// Set home text to page title
			if ( !empty( $front_id ) ) {
				$pre_front_text = get_the_title( $front_id );

			// Default to 'Home'
			} else {
				$pre_front_text = __( 'Home', 'bbpress' );
			}
		}

		/** Root Text *********************************************************/

		// No custom root text
		if ( empty( $args['root_text'] ) ) {
			$page = bbp_get_page_by_path( bbp_get_root_slug() );
			if ( !empty( $page ) ) {
				$root_id = $page->ID;
			}
			$pre_root_text = bbp_get_forum_archive_title();
		}

		/** Includes **********************************************************/

		// Root slug is also the front page
		if ( !empty( $front_id ) && ( $front_id === $root_id ) ) {
			$pre_include_root = false;
		}

		// Don't show root if viewing forum archive
		if ( bbp_is_forum_archive() ) {
			$pre_include_root = false;
		}

		// Don't show root if viewing page in place of forum archive
		if ( !empty( $root_id ) && ( ( is_single() || is_page() ) && ( $root_id === get_the_ID() ) ) ) {
			$pre_include_root = false;
		}

		/** Current Text ******************************************************/

		// Search page
		if ( bbp_is_search() ) {
			$pre_current_text = bbp_get_search_title();

		// Forum archive
		} elseif ( bbp_is_forum_archive() ) {
			$pre_current_text = bbp_get_forum_archive_title();

		// Topic archive
		} elseif ( bbp_is_topic_archive() ) {
			$pre_current_text = bbp_get_topic_archive_title();

		// View
		} elseif ( bbp_is_single_view() ) {
			$pre_current_text = bbp_get_view_title();

		// Single Forum
		} elseif ( bbp_is_single_forum() ) {
			$pre_current_text = bbp_get_forum_title();

		// Single Topic
		} elseif ( bbp_is_single_topic() ) {
			$pre_current_text = bbp_get_topic_title();

		// Single Topic
		} elseif ( bbp_is_single_reply() ) {
			$pre_current_text = bbp_get_reply_title();

		// Topic Tag (or theme compat topic tag)
		} elseif ( bbp_is_topic_tag() || ( get_query_var( 'bbp_topic_tag' ) && !bbp_is_topic_tag_edit() ) ) {

			// Always include the tag name
			$tag_data[] = bbp_get_topic_tag_name();

			// If capable, include a link to edit the tag
			if ( current_user_can( 'manage_topic_tags' ) ) {
				$tag_data[] = '<a href="' . esc_url( bbp_get_topic_tag_edit_link() ) . '" class="bbp-edit-topic-tag-link">' . esc_html__( '(Edit)', 'bbpress' ) . '</a>';
			}

			// Implode the results of the tag data
			$pre_current_text = sprintf( __( 'Topic Tag: %s', 'bbpress' ), implode( ' ', $tag_data ) );

		// Edit Topic Tag
		} elseif ( bbp_is_topic_tag_edit() ) {
			$pre_current_text = __( 'Edit', 'bbpress' );

		// Single
		} else {
			$pre_current_text = get_the_title();
		}

		/** Parse Args ********************************************************/

		// Parse args
		$r = bbp_parse_args( $args, array(

			// HTML
			'before'          => '<div class="bbp-breadcrumb"><p>',
			'after'           => '</p></div>',

			// Separator
			'sep'             => is_rtl() ? __( '&lsaquo;', 'bbpress' ) : __( '&rsaquo;', 'bbpress' ),
			'pad_sep'         => 1,
			'sep_before'      => '<span class="bbp-breadcrumb-sep">',
			'sep_after'       => '</span>',

			// Crumbs
			'crumb_before'    => '',
			'crumb_after'     => '',

			// Home
			'include_home'    => $pre_include_home,
			'home_text'       => $pre_front_text,

			// Forum root
			'include_root'    => $pre_include_root,
			'root_text'       => $pre_root_text,

			// Current
			'include_current' => $pre_include_current,
			'current_text'    => $pre_current_text,
			'current_before'  => '<span class="bbp-breadcrumb-current">',
			'current_after'   => '</span>',
		), 'get_breadcrumb' );

		/** Ancestors *********************************************************/

		// Get post ancestors
		if ( is_singular() || bbp_is_forum_edit() || bbp_is_topic_edit() || bbp_is_reply_edit() ) {
			$ancestors = array_reverse( (array) get_post_ancestors( get_the_ID() ) );
		}

		// Do we want to include a link to home?
		if ( !empty( $r['include_home'] ) || empty( $r['home_text'] ) ) {
			$crumbs[] = '<a href="' . trailingslashit( home_url() ) . '" class="bbp-breadcrumb-home">' . $r['home_text'] . '</a>';
		}

		// Do we want to include a link to the forum root?
		if ( !empty( $r['include_root'] ) || empty( $r['root_text'] ) ) {

			// Page exists at root slug path, so use its permalink
			$page = bbp_get_page_by_path( bbp_get_root_slug() );
			if ( !empty( $page ) ) {
				$root_url = get_permalink( $page->ID );

			// Use the root slug
			} else {
				$root_url = get_post_type_archive_link( bbp_get_forum_post_type() );
			}

			// Add the breadcrumb
			//$crumbs[] = '<a href="' . esc_url( $root_url ) . '" class="bbp-breadcrumb-root">' . $r['root_text'] . '</a>';
		$crumbs[] = '<a href="/forums/">Forums</a>';

		}

		// Ancestors exist
		if ( !empty( $ancestors ) ) {

			// Loop through parents
			foreach ( (array) $ancestors as $parent_id ) {

				// Parents
				$parent = get_post( $parent_id );

				// Skip parent if empty or error
				if ( empty( $parent ) || is_wp_error( $parent ) )
					continue;

				// Switch through post_type to ensure correct filters are applied
				switch ( $parent->post_type ) {

					// Forum
					case bbp_get_forum_post_type() :
						$crumbs[] = '<a href="' . esc_url( bbp_get_forum_permalink( $parent->ID ) ) . '" class="bbp-breadcrumb-forum">' . bbp_get_forum_title( $parent->ID ) . '</a>';
						break;

					// Topic
					case bbp_get_topic_post_type() :
						$crumbs[] = '<a href="' . esc_url( bbp_get_topic_permalink( $parent->ID ) ) . '" class="bbp-breadcrumb-topic">' . bbp_get_topic_title( $parent->ID ) . '</a>';
						break;

					// Reply (Note: not in most themes)
					case bbp_get_reply_post_type() :
						$crumbs[] = '<a href="' . esc_url( bbp_get_reply_permalink( $parent->ID ) ) . '" class="bbp-breadcrumb-reply">' . bbp_get_reply_title( $parent->ID ) . '</a>';
						break;

					// WordPress Post/Page/Other
					default :
						$crumbs[] = '<a href="' . esc_url( get_permalink( $parent->ID ) ) . '" class="bbp-breadcrumb-item">' . get_the_title( $parent->ID ) . '</a>';
						break;
				}
			}

		// Edit topic tag
		} elseif ( bbp_is_topic_tag_edit() ) {
			$crumbs[] = '<a href="' . esc_url( get_term_link( bbp_get_topic_tag_id(), bbp_get_topic_tag_tax_id() ) ) . '" class="bbp-breadcrumb-topic-tag">' . sprintf( __( 'Topic Tag: %s', 'bbpress' ), bbp_get_topic_tag_name() ) . '</a>';

		// Search
		} elseif ( bbp_is_search() && bbp_get_search_terms() ) {
			$crumbs[] = '<a href="' . esc_url( bbp_get_search_url() ) . '" class="bbp-breadcrumb-search">' . esc_html__( 'Search', 'bbpress' ) . '</a>';
		}

		/** Current ***********************************************************/

		// Add current page to breadcrumb
		if ( !empty( $r['include_current'] ) || empty( $r['current_text'] ) ) {
			$crumbs[] = $r['current_before'] . $r['current_text'] . $r['current_after'];
		}

		/** Separator *********************************************************/

		// Wrap the separator in before/after before padding and filter
		if ( ! empty( $r['sep'] ) ) {
			$sep = $r['sep_before'] . $r['sep'] . $r['sep_after'];
		}

		// Pad the separator
		if ( !empty( $r['pad_sep'] ) ) {
			if ( function_exists( 'mb_strlen' ) ) {
				$sep = str_pad( $sep, mb_strlen( $sep ) + ( (int) $r['pad_sep'] * 2 ), ' ', STR_PAD_BOTH );
			} else {
				$sep = str_pad( $sep, strlen( $sep ) + ( (int) $r['pad_sep'] * 2 ), ' ', STR_PAD_BOTH );
			}
		}

		/** Finish Up *********************************************************/

		// Filter the separator and breadcrumb
		$sep    = apply_filters( 'bbp_breadcrumb_separator', $sep    );
		$crumbs = apply_filters( 'bbp_breadcrumbs',          $crumbs );

		// Build the trail
		$trail  = !empty( $crumbs ) ? ( $r['before'] . $r['crumb_before'] . implode( $sep . $r['crumb_after'] . $r['crumb_before'] , $crumbs ) . $r['crumb_after'] . $r['after'] ) : '';

		return apply_filters( 'change_root', $trail, $crumbs, $r );
	}

add_filter ('bbp_get_breadcrumb', 'change_root') ;

#156874
Robkk
Moderator

@dingzj

its tricky to solve issues in premium themes.

first contact your theme authors support.

see if its only that themes issue

see if its a plugin issue , deactivate every plugin but bbPress if that solves it reactivate each one and try to pinpoint the one causing the issue.

if you havent created a bbpress.php file see if creating one fixes the issue.

https://codex.bbpress.org/theme-compatibility/getting-started-in-modifying-the-main-bbpress-template/

#156871
Robkk
Moderator

@julianms so your issue is its hard to customize the Markdown plugin??

and you tried to see if you could customize it in the bbPress templates??

and you want to use Latex language in bbPress , i can test out some plugins in a minute and see how that works out.

but yeah the first two questions i’m not sure i had right it was pretty hard following your reply, you put a lot of personality in it.

#156869

In reply to: Category Tree

Robkk
Moderator

download this .zip , extract the file loop-forums.php and copy it into a folder called bbpress in your child theme

https://github.com/robkk/bbPress-Hierarchical-Forum-and-Category-Layout

more on bbpress templates go to this.

codex.bbpress.org/theme-compatibility/

need anymore help setting it up please reply back.

Viewing 25 results - 17,051 through 17,075 (of 64,532 total)
Skip to toolbar