Forum Replies Created
-
In reply to: Import: does bbPress write an error log?
The importer does save some data under
_bbp_converter_*
keys in the wp_options table. You can try using those to help. Also, if you turn in use something like this in your wp-config.php file, you’ll get a log of errors inwp-content/debug.log
.define( 'WP_DEBUG', true ); // turn on debug mode if ( defined( 'WP_DEBUG' ) && WP_DEBUG ) { define( 'WP_DEBUG_LOG', true ); // log to wp-content/debug.log }
@khunmax I think this might be the edit post/page link. Not an actual link to edit a user’s profile. If this is the case, then it shouldn’t work for any non-admin user, and even then, it won’t take you to a page to edit the profile.
If what I just said is true, this is a theme “issue.” I use quotes because it’s not really an issue with the theme, just a result of how themes are built, and how theme compatibility works in bbPress. It’s probably something we can improve on, but it’s easily fixed with a filter or by editing your theme. Let me know what kind of link, and if it actually works for non-admin users, and we’ll go from there.
In reply to: May have to give up on bbpress :(FYI, there are speed improvements coming to 2.6 related to the posting of topics. We’re getting very close to a release.
In reply to: New topic emails bug on sublevel domainsThe unit tests are passing, so my guess is that it’s a problem with a plugin, or (less likely) your PHP setup. The
$_SERVER['SERVER_NAME']
doesn’t include the protocol (http:// or https:// in most cases), so that shouldn’t be an issue.My guess is that there is some other plugin that’s filtering
bbp_get_do_not_reply_address
incorrectly. Maybe even some code in your theme’s functions.php file. Could provide a list of the plugins you’re using. Specifically, bbPress or email related plugins?In reply to: move Forum Subscribe link/button to rightYou can use either of these to disable subscriptions.
Forum Subscriptions
add_filter( 'bbp_get_forum_subscribe_link', '__return_false' );
Topic Subscriptions
add_filter( 'bbp_get_topic_subscribe_link', '__return_false' );
@antoinemg Based on the profiler output, it looks like you’re using Paid Memberships Pro, and not WooCommerce Memberships, as I don’t see it listed. Is this the case? Also, based on the output, Paid Memberships Pro seems to be the culprit at 4.65 seconds and 70% of load time.
Try this
function casiepa_mention_gravatar() { ?> <div> <label for="bbp-gravatar-notice">Avatar</label> <fieldset style="width: 60%;"> <span style="margin-left: 0; width: 100%;" name="bbp-gravatar-notice" class="description">Manage your profile picture at <a href="https://gravatar.com" title="Gravatar">Gravatar</a>.</span> </fieldset> </div> <?php } add_action( 'bbp_user_edit_after_about', 'casiepa_mention_gravatar' );
I’m assuming you mean that it broke your layout, and not your site, because the code @casiepa posted works. Also, there’s no question mark in the code that he posted.
If you want the link to Gravatar to show only on a user’s edit profile page, try this:
function casiepa_mention_gravatar() { ?> <div> <label for="bbp-gravatar-notice">Avatar</label> <span name="bbp-gravatar-notice" class="description">Manage your profile picture at <a href="https://gravatar.com" title="Gravatar">Gravatar</a>.</span> </div> <?php } add_action( 'bbp_user_edit_after_about', 'casiepa_mention_gravatar' );
In reply to: Imported phpBB, where are the forums?Are you using phpBB 3 or phpBB 3.1? The changed happened between the two it would appear. 3.1 support is on the horizon, but there’s no specific release date at the moment.
I can’t reproduce this behavior on bbPress 2.5.8 or trunk using the default WordPress themes. Topics and replies in private forums are listed. Are you using a custom theme? Are you running any plugins that effect user profiles? Are you running BuddyPress?
In reply to: bbPress on Github@korobochkin, The official bbPress repo links are as follows,
SVN:
https://bbpress.svn.wordpress.orgGit:
git://bbpress.git.wordpress.orgWhat plugins are you running? Sounds like something else (plugin/theme) may be incorrectly filtering the content and or shortcodes and is causing a conflict.
So are you saying that the page works with the shortcode only and with text only, but the two combined fail?
In reply to: Bullets n Numbers?The code I provided doesn’t mess with the bullets. That’s handled by your theme. You could try something like below, but it hides the arrow bullets for those forum listings.
.hentry ul ul.bbp-forums-list li i { background: none; }
To fix the breadcrumb title, use the below instead.
function my_change_forum_root_breadcrumb_title( $args = array() ) { $args['root_text'] = 'The EcoPsi Forums'; return $args; } add_filter( 'bbp_before_get_breadcrumb_parse_args', 'my_change_forum_root_breadcrumb_title' );
In reply to: Forum and topic not showYou have to trash the forums page where you added the shortcode. Then you have to empty the trash so that the forums page is completely gone. Then forums will display without the shortcode.
It’s both. bbPress is setup to automagically create the /forums page out of thin air. If you’d like to add some other text to this page, you may do that as well. If you do create an actual forums page, as it seems you have, all that’s needed is to add the forums shortcode where ever you’d like the forum index to appear. In this case, just add
[bbp-forum-index]
. There are a number of other shortcodes that can be used for similar purposes that can be found here https://codex.bbpress.org/shortcodes/.In reply to: Bullets n Numbers?The numbers represent the topic/post counts of each individual forum. For instance “Cognition (0, 0)” is equivalent to “Cognition (0 topics, 0 posts).”
In your theme’s functions.php file you can add the below to remove the counts:
function my_remove_list_forums_counts( $args = array() ) { if ( ! empty( $args ) ) { $args['show_topic_count'] = false; $args['show_reply_count'] = false; } return $args; } add_filter( 'bbp_after_list_forums_parse_args', 'my_remove_list_forums_counts' );
To change the breadcrumb root add the below code to the same functions.php file as above:
function my_change_forum_root_breadcrumb_title( $args = array() ) { if ( ! empty( $args ) ) { $args['root_text'] = 'This used to be Forums'; } return $args; } add_filter( 'bbp_before_get_breadcrumb_parse_args', 'my_change_forum_root_breadcrumb_title' );