Search Results for '+.+default+.+'
-
AuthorSearch Results
-
January 23, 2015 at 10:49 am #157208
In reply to: Confusion with Forums root and Forums slug.
flashandshine
ParticipantI think it had something to do with my Woo commerce permalinks- once I changed product permalinks back to default, it seems to be working. However, the forums page is still full-width and I think it has something to do with Woo commerce too.
January 22, 2015 at 3:16 pm #157190In reply to: Main forums page – Freshness
Robin W
ModeratorI think the FRESHNESS field should display the date of the last reply or topic, but instead it only shows the date of the last topic.
This is what it should do (and does on my test site)
It could be a theme or plugin 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 21, 2015 at 7:40 am #157132In reply to: bbpress custom user role ?
mvaneijgen
ParticipantI had to create several new users but I could not just copied and paste the code again so I modified the code a bit
//code to add expert role function add_expert_role( $bbp_roles ) { /* Add a role called expert */ $bbp_roles['bbp_expert'] = array( 'name' => 'expert', 'capabilities' => custom_capabilities_expert( 'bbp_expert' ) ); return $bbp_roles; } add_filter( 'bbp_get_dynamic_roles', 'add_expert_role', 1 ); function expert_role_caps_filter( $caps, $role ) { /* Only filter for roles we are interested in! */ if( $role == 'bbp_expert' ) $caps = custom_capabilities_expert( $role ); return $caps; } add_filter( 'bbp_get_caps_for_role', 'expert_role_caps_filter', 10, 2 ); function custom_capabilities_expert( $role ) { switch ( $role ) { /* Capabilities for 'expert' role */ case 'bbp_expert': return array( // Primary caps 'spectate' => true, 'participate' => true, 'moderate' => false, 'throttle' => false, 'view_trash' => false, // Forum caps 'publish_forums' => false, 'edit_forums' => false, 'edit_others_forums' => false, 'delete_forums' => false, 'delete_others_forums' => false, 'read_private_forums' => true, 'read_hidden_forums' => false, // Topic caps 'publish_topics' => true, 'edit_topics' => true, 'edit_others_topics' => false, 'delete_topics' => false, 'delete_others_topics' => false, 'read_private_topics' => true, // Reply caps 'publish_replies' => true, 'edit_replies' => true, 'edit_others_replies' => false, 'delete_replies' => false, 'delete_others_replies' => false, 'read_private_replies' => true, // Topic tag caps 'manage_topic_tags' => false, 'edit_topic_tags' => false, 'delete_topic_tags' => false, 'assign_topic_tags' => true, ); break; default : return $role; } }This creates the role Expert. I put this in my functions.php of my child-theme
January 20, 2015 at 1:01 pm #157091In reply to: Import bbPress 2.5.4 Forum into WordPress 4.1
Robin W
Moderatorok, thanks for the clarification.
You say that everything is working on the backend – this would suggest that the import is fine, and maybe that something else is affecting.
It could be a theme or plugin 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.
Then come back !
January 19, 2015 at 3:43 pm #157069Robin W
Moderatorbbpress works with 4.1 so it not/not only a 4.1 issue
It could be a theme or plugin issue with 4.1
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.
then come back
January 19, 2015 at 11:31 am #157050In reply to: Click Topic – links to reply
Robkk
Moderatorif you haven’t already copy all of your bbPress templates to a folder called bbpress in your child theme
follow this codex guide.
https://codex.bbpress.org/theme-compatibility/
and also check if its a theme issue , switch to a default theme like twentytwelve and see if the issue is still there or not.
January 18, 2015 at 8:30 am #157022In reply to: NOT DISPLAY TOPICS
v_dee
ParticipantOn default theme, all displayed, but if I return to forums page, i se
Fatal error: ob_end_flush() [ref.outcontrol]: Cannot use output buffering in output buffering display handlers in /home/user1178811/www/procentovka.by/wp-includes/functions.php on line 3269
January 17, 2015 at 2:56 pm #157004In reply to: Allowing inline images uploads in posts?
atomicadam
ParticipantAny luck on this? This is something our forum users are requesting as well, and kind of seems like a no brainer default feature of a forum plugin.
Currently, when user is a “participant” and try to upload an image via the media uploader, this is the error they get “You don’t have permission to attach files to this post.”
Viewing the “participant” permissions via Roles plugin, upload image is checked off, while unfiltered is not. But I can’t alter these settings.
What gives?
January 17, 2015 at 2:55 pm #157003In reply to: bbpress translation in greek
dyrer
ParticipantHello, leveltgp
We are translating at Greek bbPressYou are welcome to post here and at WordPress Greece for any problem
Τα λέμε
January 17, 2015 at 4:54 am #156988In reply to: Can't get access to a created forum
J.Parra
ParticipantWPML Support they neglect the issues.
I think, having WordPress installed “by default” the WPML plugin, bbPress should take this into account and find a solution. Do not you believe it appropriate?January 16, 2015 at 7:20 pm #156979In reply to: NOT DISPLAY TOPICS
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 16, 2015 at 7:18 pm #156978In reply to: Forum all of a sudden stopped working
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.
also clear cache, and lastly you could reinstall bbPress
January 16, 2015 at 7:12 pm #156976In reply to: Posting Youtube url's
Robkk
Moderatorno idea if this is even a bbpress issue really??
but see 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 16, 2015 at 6:36 pm #156937Topic: BreadCrumb
in forum TroubleshootingFredericBegin
ParticipantHey guys! I need your help,
actually, im bulding a web site with bbforum in my partage-dexpertise section
(http://localhost/bibliotheque/pour-les-bibliotheques-gouvernementales/partage-dexpertise/)My breadCrumb work fine for all my website so I desactivate BBPress default breadCrumb.
Now when I go to my forum I got this link(http://localhost/bibliotheque/sujet/test/)
so my breadCrumb is(Services de bibliotheque>Sujets>test).But I want something like this (http://localhost/bibliotheque/pour-les-bibliotheques-gouvernementales/partage-dexpertise/sujet/test/).
breadCrumb(Services de bibliotheque>Pour les bibliothèques gouvernementales>Partage d’expertise>Sujets>test)
My question is: Can I change my topic(sujet for me) parent page or something like that.
Thanks a lot fred
January 16, 2015 at 6:08 pm #156961In reply to: BBpress widgets no class or container
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 16, 2015 at 6:05 pm #156959In reply to: Forum Navigation bar on top?
Robkk
Moderatorare you talking about breadcrumbs??
if so see if your theme author can help bring those back because bbPress displays this by default in a unmodified theme.
January 16, 2015 at 4:49 am #156944Topic: how to change template (bbp-login)
in forum Troubleshootingolesolo
ParticipantI’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?January 16, 2015 at 4:45 am #156943Topic: Sort topics alphabetically
in forum Troubleshootingsha77ered
ParticipantHi 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.
January 15, 2015 at 12:38 pm #156935In reply to: User registration on multisite
Nicolas Korobochkin
ParticipantOne more thing. I found some “bug” in my solution. If you use wp_signup_location in MU Plugins directory you need to pass three arguments to add_filter, because mu-plugins loaded before plugins or themes.
- MU Plugins
- Plugins
- Themes
In MU Plugins:
add_filter ('wp_signup_location', 'selena_signup_page', 99); // You can set up any number greater than 10 (default value). // Otherwise your WordPress will be redirect users to wrong page.In Theme or Plugin:
add_filter ('wp_signup_location', 'selena_signup_page'); // or // add_filter ('wp_signup_location', 'selena_signup_page', 99);January 14, 2015 at 3:08 pm #156917Robin W
ModeratorI 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.
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 4:56 am #156849In reply to: bbp-single-forum issues
Robin W
ModeratorThis is theme related, to prove as a test switch to a default theme such as twentytwelve, and see if this fixes.
I suggest you start with the theme author and see if he can suggest how to fix.
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:08 pm #156823In reply to: Group Forum Permalink Wrong
Robkk
Moderatoryeah if you have the default settings in the permalinks section it would show a weird url like
example.com/?post_type=forum
try changing it to post-name
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…)
-
AuthorSearch Results