Forum Replies Created
-
In reply to: Moving a reply to a new topic
It isn;t on my site, so a css thing with your theme.
but glad it works, and thanks for testing !!
In reply to: Change Forum Title from Archives: Forumsgreat – glad you are fixed
In reply to: Moving a reply to a new topicyou can only merge topics in bbpress, so yes merge two topics
In reply to: Moving a reply to a new topicthe variable mismatch fix now does both split and merge
In reply to: Favourites button not showing.thanks, contact me via
In reply to: Moving a reply to a new topicfound a slot whilst waiting for a client to respond !
@randrcomputers sinvce my code only runs on new topics – would be worth running a test with it enabled and disabled, and see if it makes a difference – if it does then come back.
In reply to: Moving a reply to a new topicfound and fixed.
I’ve put the fix in my style pack plugin version 4.5.0
once activated go to
dashboard>settings>bbp style pack>bug fixes
or put this in your child theme’s function file – or use
add_filter ('bbp_get_topic_merge_link', 'rew_get_topic_merge_link' , 10 , 3) ; add_filter ('bbp_is_topic_merge' , 'rew_is_topic_merge' ) ; function rew_get_topic_merge_link( $args = array() ) { // Parse arguments against default values $r = bbp_parse_args( $args, array( 'id' => 0, 'link_before' => '', 'link_after' => '', 'merge_text' => esc_html__( 'Merge', 'bbpress' ), ), 'get_topic_merge_link' ); // Get topic $topic = bbp_get_topic( $r['id'] ); // Bail if no topic or current user cannot moderate if ( empty( $topic ) || ! current_user_can( 'moderate', $topic->ID ) ) { return; } $uri = add_query_arg( array( 'action' => 'bbp-merge-topic' ), bbp_get_topic_edit_url( $topic->ID ) ); $retval = $r['link_before'] . '<a href="' . esc_url( $uri ) . '" class="bbp-topic-merge-link">' . $r['merge_text'] . '</a>' . $r['link_after']; // Filter & return return apply_filters( 'rew_get_topic_merge_link', $retval, $r, $args ); } function rew_is_topic_merge() { // Assume false $retval = false; // Check topic edit and GET params if ( bbp_is_topic_edit() && ! empty( $_GET['action'] ) && ( 'bbp-merge-topic' === $_GET['action'] ) ) { return true; } // Filter & return return (bool) apply_filters( 'rew_is_topic_merge', $retval ); }
In reply to: Moving a reply to a new topicno problem in naming – there are thousands of plugins, and there is always the risk that 2 will use similar name and collide.
I’ll take a look, but maybe a day or 2
that code only runs when a new topic is posted, and should not be resource heavy.
Is it in your functions file or code snippets or elsewhere?
In reply to: Favourites button not showing.so in
dashboard>setting>forums I presume you have
Allow users to mark topics as favourites
set ?
In reply to: Change Forum Title from Archives: Forumsit is theme related – all I can suggest is adding this in the custom css area of your theme
.`forum-archive .site-content-header {
display : none !important;
}`ok, would you be happy for me to take a look at your site? if so, can you contact me via
hmm – do you have sub forums?
how many forums, topics and replies roughly does you forum have ?
presume you have tried
dashboard>tools>forums>repair forums?
and does this work, even if for a shorttime ?
In reply to: Change Forum Title from Archives: Forumsok in menus, do not have a link, but have the page, that should help
In reply to: Cannot read text in my forumyou set up a page called say register_page and put this code into the content
[bbp-register]
In reply to: How to display latest topic in horizontal format🙂
In reply to: Show Custom Warning Message🙂
In reply to: Favourites button not showing.so is this a new problem, has it always been the case, or a new site?
In reply to: Show Custom Warning Messageadd_action ('bbp_theme_before_topic_form_notices' ,'rew_show_notice' ) ; function rew_show_notice () { if (!is_user_logged_in()) { echo '<div class="rew-notice">Only registered users are allowed to upload attachments'</div>' ; } }
In reply to: Search form stylingplay with the width settings in the above code
width: calc(100% - 85px);
and
width: 84px;
In reply to: How can i display bbpress tag listdashboard>appearance>widgets>tag cloud and select topic tags
In reply to: Show Custom Warning Messageadd_action ('bbp_theme_before_topic_form_notices' ,'rew_show_notice' ) ; function rew_show_notice () { echo '<div class="rew-notice">Only registered users are allowed to upload attachments'</div>' ; }