Forum Replies Created
-
In reply to: TrackbacksIn reply to: Trackbacks
I just looked in trac, and fixing this is now a 2.8 goal.
However this looks like it might help
// Force ping_status on bbPress post types add_filter( 'pings_open', 'rew_force_ping_status' ); function rew_force_ping_status( $open, $post_id = 0 ) { // Get the post type of the post ID $post_type = get_post_type( $post_id ); // Default return value is what is passed in $open $retval = $open; // Only force for bbPress post types switch ( $post_type ) { case bbp_get_forum_post_type() : case bbp_get_topic_post_type() : case bbp_get_reply_post_type() : $retval = false; break; // Allow override of the override return apply_filters( 'rew_force_ping_status', $retval, $open, $post_id, $post_type ); }
In reply to: WordPress plug-in to restrict forum categoriesnot within free help, sorry, but if you have a way to allocate I could probably write some code cheaply
contact me via
In reply to: Search issuegiven that you purchased the theme, raise the issue with the theme author
In reply to: WordPress plug-in to restrict forum categoriesgreat – glad you are fixed
In reply to: Is bbPress compatible with WordPress 5?I’m just a user who helps out here, and I haven’t tested it. Most authorities (eg Yoast, Wordfence) recommend holding off on 5.0 until 5.1 with bug fixes probably around January is likely to be released.
I’ll do my test site then
In reply to: There’s a space sign before usernames in bbpresshow did you disable avatars?
In reply to: There’s a space sign before usernames in bbpressThe space is where the site is trying to show your avatar
<a href="http://logicbenchmarks.com/forums/users/logicbenchmarks/" title="View Admin's profile" class="bbp-author-avatar" rel="nofollow"></a>
which is somehow not showing – no idea why, but suspect you have code doing this
In reply to: WordPress plug-in to restrict forum categoriesIn reply to: Issue topic & reply user countI’d suggest you run the repair tools
dashboard>tools>forums>repair forums and run one at a time
In reply to: Forum Index only displaying one forumThat is very strange.
Can you contact me via the email in my website
http://www.rewweb.co.uk, as I need you to send me some info
In reply to: Sorting Forumsmy style pack plugin allows you to do that
once activated go to
dashboard>settings>bbp style pack>Forum Order
In reply to: Forum Index only displaying one forumI am author of the style pack plugin, and 4.0.3 shouldn’t have anything that would affect your site, but please as a test, deactivate it and check that it is not causing any issue, you will not lose any settings, and as soon as you have looked you can re-enable it.
Then come back
In reply to: bbpress – subforum – Separation-signgreat – glad you are fixed
I’ve just added this functionality to my style pack plugin
once activated go to
dashboard>settings>bbp style pack>Topic/Reply Display
dashboard>settings>bbp style pack>Topics Index StylingIn reply to: BBpress seems to not have updated in 3 yearsgreat – glad you are fixed
In reply to: BBpress seems to not have updated in 3 yearsyou have two options
1. delete everything and start again
dashboard>tools>forums>reset forums2. just deactivate and delete 2.6 and install 2.5.14 – that should work, but I’m not sure whether 2.6 has anything funny in changes to the database
In reply to: BBpress seems to not have updated in 3 yearsyou should have version 2.5.14 which is the latest authorised release.
In reply to: How do I add space between two replies?cross posted with yours, both solve the issue, so go with yours
In reply to: How do I add space between two replies?ok, take the change above out.
Then find
wp-content/plugins/bbpress/templates/default/bbpress/loop-single-reply.php
Make a copy of this file to your pcThe edit this file to be this
<?php /** * Replies Loop - Single Reply * * @package bbPress * @subpackage Theme */ ?> <div class='rew-border'> <div id="post-<?php bbp_reply_id(); ?>" class="bbp-reply-header"> <div class="bbp-meta"> <span class="bbp-reply-post-date"><?php bbp_reply_post_date(); ?></span> <?php if ( bbp_is_single_user_replies() ) : ?> <span class="bbp-header"> <?php _e( 'in reply to: ', 'bbpress' ); ?> <a class="bbp-topic-permalink" href="<?php bbp_topic_permalink( bbp_get_reply_topic_id() ); ?>"><?php bbp_topic_title( bbp_get_reply_topic_id() ); ?></a> </span> <?php endif; ?> <a href="<?php bbp_reply_url(); ?>" class="bbp-reply-permalink">#<?php bbp_reply_id(); ?></a> <?php do_action( 'bbp_theme_before_reply_admin_links' ); ?> <?php bbp_reply_admin_links(); ?> <?php do_action( 'bbp_theme_after_reply_admin_links' ); ?> </div><!-- .bbp-meta --> </div><!-- #post-<?php bbp_reply_id(); ?> --> <div <?php bbp_reply_class(); ?>> <div class="bbp-reply-author"> <?php do_action( 'bbp_theme_before_reply_author_details' ); ?> <?php bbp_reply_author_link( array( 'sep' => '<br />', 'show_role' => true ) ); ?> <?php if ( bbp_is_user_keymaster() ) : ?> <?php do_action( 'bbp_theme_before_reply_author_admin_details' ); ?> <div class="bbp-reply-ip"><?php bbp_author_ip( bbp_get_reply_id() ); ?></div> <?php do_action( 'bbp_theme_after_reply_author_admin_details' ); ?> <?php endif; ?> <?php do_action( 'bbp_theme_after_reply_author_details' ); ?> </div><!-- .bbp-reply-author --> <div class="bbp-reply-content"> <?php do_action( 'bbp_theme_before_reply_content' ); ?> <?php bbp_reply_content(); ?> <?php do_action( 'bbp_theme_after_reply_content' ); ?> </div><!-- .bbp-reply-content --> </div><!-- .reply --> </div> <div class='rew-spacer'><p/> </div>
Then put this in the directory called bbpress that you created above, so you end up with
wp-content/themes/%your-theme-name%/bbpress/loop-single-reply.phpFinally in your theme’s custom css area put
#bbpress-forums ul.bbp-replies { border : none ; } .rew-border { border: 1px solid #eee; }
In reply to: General Migration QuestionsI always find this stuff really annoying – what should be simple takes hours to achieve – hope you get sorted, and if you do, please post what you did here to help others
In reply to: How do I add space between two replies?ok,
create a directory on your theme called ‘bbpress’
ie wp-content/themes/%your-theme-name%/bbpresswhere %your-theme-name% is the name of your theme
find
wp-content/plugins/bbpress/templates/default/bbpress/loop-replies.php
Make a copy of this file to your pcThe edit this file to add this line after line 50
<div class='rew-spacer'> <p/> </div>
so you end up with
<?php bbp_get_template_part( 'loop', 'single-reply' ); ?> <div class='rew-spacer'> <p/> </div>
Then put this in the directory called bbpress that you created above, so you end up with
wp-content/themes/%your-theme-name%/bbpress/loop-replies.phpYou may need to do some styling to get it how you want it, but I would need to see your site to help on that
In reply to: How do I add space between two replies?so you want a space between each reply – yes ?
If so, you will need to be able to FTP a file to your website – do you know how to do this?
once activated go to
dashboard>settings>bbp style pack>ButtonsIn reply to: Private Topicno is the simple answer