Search Results for 'bbpress'
-
AuthorSearch Results
-
January 13, 2015 at 5:15 pm #156887
In reply to: Problem with header
Robkk
Moderatorok 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;”>January 13, 2015 at 4:24 pm #156885In reply to: Problem with header
Robkk
Moderatorif 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.
January 13, 2015 at 3:56 pm #156883Topic: Forum all of a sudden stopped working
in forum Troubleshootingeurythmech
ParticipantAbout 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?
January 13, 2015 at 3:12 pm #156882In reply to: Category Tree
Robkk
Moderatorin 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/
January 13, 2015 at 1:31 pm #156878In reply to: Change Breadcrumb url link
Robin W
Moderatorok, 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() ? __( '‹', 'bbpress' ) : __( '›', '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') ;January 13, 2015 at 1:03 pm #156874Robkk
Moderatorits 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.
January 13, 2015 at 12:44 pm #156871In reply to: Add Text Above Forum on Main Page
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.
January 13, 2015 at 12:34 pm #156869In reply to: Category Tree
Robkk
Moderatordownload 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.
January 13, 2015 at 12:33 pm #156868lflier
ParticipantOver on the ticket page (https://bbpress.trac.wordpress.org/ticket/2523#comment:1) there is a ticket reporting a bug in which reply treading breaks pagination.
I was about to report the same thing, until I saw a reply explaining that disabling pagination is by design. I had just spent the better part of a morning trying to figure out what happened to the pagination on my site. Turns out I had activated the reply threading.
Several other members in another support thread have asked for a solution. It’s not clear to me why it isn’t possible to paginate replies where threading is enabled. A solution in which a top-level reply, along with all of its threaded sub-level replies, is counted as a single reply for pagination purposes would be acceptable — certainly better than the present situation, where you can choose threading or pagination but not both.
And at the very least, this either/or choice needs to be made transparent to the user. Clicking an innocent looking check box on a configuration page shouldn’t disable another function on the same page without a warning. That’s just bad design. It wouldn’t be difficult, for example, to grey-out and disable the pagination controls when the threading check box is checked. That would get the message across.
If my skills were up to it, I’d offer to help. As it is, I can only offer my feedback.
January 13, 2015 at 12:27 pm #156866lflier
ParticipantOver on the ticket page (https://bbpress.trac.wordpress.org/ticket/2523#comment:1) there is a ticket reporting a bug in which reply treading breaks pagination.
I was about to report the same thing, until I saw your reply explaining that disabling pagination is by design. I had just spent the better part of a morning trying to figure out what happened to the pagination on my site. Turns out I had activated the reply threading.
Several other members in this thread have asked for a solution. It’s not clear to me why it isn’t possible to paginate replies where threading is enabled. A solution in which a top-level reply, along with all of its threaded sub-level replies, is counted as a single reply for pagination purposes would be acceptable — certainly better than the present situation, where you can choose threading or pagination but not both.
And at the very least, this either/or choice needs to be made transparent to the user. Clicking an innocent looking check box on a configuration page shouldn’t disable another function on the same page without a warning. That’s just bad design. It wouldn’t be difficult, for example, to grey-out and disable the pagination controls when the threading check box is checked. That would get the message across.
If my skills were up to it, I’d offer to help. As it is, I can only offer my feedback.
January 13, 2015 at 12:22 pm #156865In reply to: bbPress Android\iOs app
Robkk
ModeratorAs well is it possible to make Search widget available at ANY page? A looks it like forum search results (after searching something) or its just a regular search of WordPress?
the search widget should be able to handle being on different pages as long as you have it in your sidebar.
do you have an issue with it not being on some pages??
and the bbPress forum search that displays on the forum archive and also the search widget should only show results of bbPress related topics/replies/forums based on what you searched.
you can let the regular WordPress search show results of bbPress related topics/replies/forums if you follow this topic in the link.
Plugin, snippet, hack to include bbpress topics in wordpress search
Is it possible do detect in some ways that user subscribe only for particular “Forum” to receive ONLY noyifications (mail) for those “answers” …? Which function does it?
i havent found a plugin that could do this , so this might be some custom development so you might need to post another job in jobs.wordpress.net
January 13, 2015 at 11:46 am #156863In reply to: Rersonal reply.
Robkk
ModeratorYou can try this plugin.
https://github.com/dota2lt/bbpress-direct-quotes
It is not exactly what you wanted though.
January 13, 2015 at 11:41 am #156862In reply to: Search not working in default theme (twentyfifteen)
Robkk
Moderatori think i found it, i had the bbpress templates copied to my child theme of twenty-fifteen and it worked, i then removed it and i saw exactly what you explained.
you have to copy the bbPress templates to a folder called bbpress in your child-theme
follow this document and see if it fixes your issue.
January 13, 2015 at 2:23 am #156841In reply to: Cannot create topic (No data received)
pydun
ParticipantProblem solved, turns out it is the word “announce” that triggers the issue. Hope bbpress can find the real cause of this issue.
January 12, 2015 at 10:15 pm #156838In reply to: User registration on multisite
jeffacubed
ParticipantThanks so much @korobochkin for sharing this in such detail! I’m going to test this out from start to finish on a 100% fresh bbPress, multi-site setup over the next few weeks. I’m thinking this is ‘finally’ a rock-solid sol’n to managing bbPress on multi-site, particularly in situations where the root site has no obvious visual/branding/etc relationship to the other sites on the network.
This sol’n looks very solid, much better than what I was previously doing with the Login With Ajax (lwa) plugin, wp-members (plugin) & hard-coded redirections (which while worked, seemed very ‘hacky’) & would not work with the [bbp_register] shortcodes, etc.
Thanks again Koyla!
-Jeff
January 12, 2015 at 6:25 pm #156831In reply to: Can't get access to a created forum
January 12, 2015 at 6:19 pm #156830In reply to: Search not working in default theme (twentyfifteen)
Robkk
Moderatorit worked when i just tested it on my local development area.
see if its a plugin issue
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.
January 12, 2015 at 6:11 pm #156827In reply to: Group Forum Permalink Wrong
Robin W
ModeratorWhich it wouldn’t do if I uncheck the “group forums” check box at bbpress settings.
can you explain what you mean by this ie
Dashboard>settings>…. etc.
Thanks
January 12, 2015 at 6:08 pm #156826In reply to: Media not working in forums
Robkk
Moderatorsee if its a plugin or theme issue
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.
January 12, 2015 at 5:40 pm #156824In reply to: How do I remove the yellow notices?
Robkk
Moderatorthe bbcodes one i think you can deactivate the message in gd bbpress tools settings.
go to the bbcodes section find BBCodes New Topic/Reply Notice and deactivate that.
the unrestricted HTML content message shows up for only keymasters so its not really worth messing with since you are the only one seeing it.
January 12, 2015 at 5:01 pm #156822In reply to: bbPress Android\iOs app
Robkk
Moderatoroh ok the zoom is probably just the app or maybe even some phone animations.
and bbPress has custom post types forums, topics, and replies
custom post types are just like regular WordPress Posts
bbPress doesnt use WordPress comments , the replies are just like regular posts
January 12, 2015 at 4:55 pm #156821In reply to: Add Text Above Forum on Main Page
JulianK
ParticipantHi !
hepdoll said (some times ago) that she couldn’t find page-front-forums.php file.
I like bbPress, also Markdown Editor I’m using (WP plugin named : “WP-Markdown”, produced by Stephen Harris, as I saw there…). BUT I have problems with both bbPress and Markdown.It’s too chaotic there, hard to customize…
(.. Now I’m writing here … Brrr, how ugly it is, and how slow the writing is)WELL, I give the path @hepdoll .. and others, and there one can modify.
Suppose the WP blog is installed in folder BLOG and the “theme folder” (as it is written above in a comment) is named TH. Well, TH is useless here. So, the path :
../BLOG/wp-content/plugins/bbpress/templates/default/extras/ and here are those files…(Concerning Markdown, it’s SOOOOO difficult to modify. I’m “jealous” on those from SO = StackOverflow, who managed so well with their Markdown … and their Instant Preview show also Math formulas written in Latex (using MathJax), also instantly…)
January 12, 2015 at 2:53 pm #156810Robin W
ModeratorI can only think that wishlist member or other factor is referencing an item within bbpress, and this has a different ID now that you have reinstalled.
I’d try going into all the settings within wishlist to see if you can identify !
January 12, 2015 at 2:21 pm #156807In reply to: bbPress Android\iOs app
NewCo
ParticipantBy ZOOM I meant when I loading a Mobile Version of the BBpress site via WEBview option of Android App… and want to type something its zooming in)
One technical question:
BBpress have structure:
Forums AND Posts
is it like
Posts (in wordpress) and Comments (in wordpress)
January 12, 2015 at 2:10 pm #156804Robin W
Moderatorhmm, not sure quite the best way to proceed.
So did bbpress change when the theme changed?, or why did you deactivate it? and did you deactivate because of THIS problem? or has this problem only occurred since you deactivated/recativated?
-
AuthorSearch Results