Forum Replies Created
-
In reply to: This user has not created any topics
My apologies. I figured it would helpful for other users looking for solutions to the same problems.
In reply to: MODIFY: Topic/Reply Author’s Profile LinkMy hack job solution was to just modify the plugin itself. Line 356 in template.php contains the permalink structure which you can modify to suit your needs.
// Pretty permalinks if ( $wp_rewrite->using_permalinks() ) { $url = $wp_rewrite->root . bbp_get_user_slug() . '/%' . bbp_get_user_rewrite_id() . '%';
I was able to accomplish this by writing a custom query. I was unable to find a solution ANYWHERE else on this forum despite numerous people asking the same question so I’m hoping this will help everyone out until the bbpress team fixes the bbp_get_template_part functions.
<?php $args = array( 'post_type' => 'reply', 'post_status' => 'publish', 'orderby' => 'title', 'order' => 'ASC', 'author' => $curauth->ID, ); $bbpressquery = new WP_Query($args); while ($bbpressquery->have_posts()) : $bbpressquery->the_post(); ?> <?php the_content(); ?> <?php endwhile; ?>
Obviously you can modify the code above to show topics created, I was just trying to return all the forum posts created by a user.
Bump. I’m also interested in this. Can anyone help?
In reply to: MODIFY: Topic/Reply Author’s Profile LinkBump. I just copied that function into my functions.php file and it’s still linking to the default bbPress forum user page.
In reply to: How to remove the freshness Link^ Correct. Set up an unauthorized page and then add it to the the unauthorized message field in the Private Groups settings page.