Skip to:
Content
Pages
Categories
Search
Top
Bottom

Count replies ant get last activity link

Published on November 19th, 2019 by rederis

Hi, I am trying to grab all replies and count them (7 days old only)
Then I want to put on my nav menu message “There is new posts in formum ( 4hours 21mins ago )
1. Problem post_type Reply doesn’t work
2. Can’t access bbp functions in main-theme
3. It counts and renews only new TOPICS

function count_new_forum_posts() {

$today = date("Y-m-d");

$date2 = date("Y-m-d", strtotime($today . "-7 Day")); 	
$args = array(
		'post_type' => 'topic',
		'meta_query' => array(
			array(
				'key' => '_bbp_last_active_time',
				'value' => $date2,
				'type' => 'DATE',
				'compare' => '>='
					),
				)
);

$posts_query = new WP_Query($args);
$the_count = $posts_query->post_count;

return $the_count;

}
add_filter('wp_nav_menu_items', 'new_forums_notice_to_menu', 10, 2);
 
 function new_forums_notice_to_menu($items, $args) {
	 if(count_new_forum_posts() > 0){
          if( $args->theme_location == 'primary' )
          $items .= '<li><a href="http://apygarda/forums/" text-transform="lowercase" text-shadow="2px 1px 2px black"><font color="red">Šios savaitės naujos žinutės forume: <span>'.count_new_forum_posts().' ('.bbp_forum_freshness_link().')</span></font></a></li>';
     return $items;
 }else{
	           if( $args->theme_location == 'primary' )
          $items .= '<li><a href="http://apygarda/forums/" text-transform="lowercase" text-shadow="2px 1px 2px black"><font color="gray">Šią savaitę forume dar niekas nepasisakė</span></font></a></li>';
     return $items;
 }
}

Private forums

Published on November 19th, 2019 by brunov99

Hello,

If a forum or a category are already marked as private, are their child sub-forums also private or should they be set as private too?

Thank You
bV

Footer issues

Published on November 19th, 2019 by urthllc

After installing bbPress, I noticed my footer on the Forum pages is skewed. All the Social Link menu is stretched on just the forum pages. None of my other pages have a problem.
Using Twentyseventeen theme with a child theme installed
WordPress vs 5.3
bbPress ver 2.6.1

Link to site: https://lonestarlegends.us

Recent topics widget – remove one forum?

Published on November 18th, 2019 by demonboy

Hi,

I’m running the recent topics widget in my footer but I’d like to remove the topics from one forum (Troubleshooting – it doesn’t look good to display publicly the problems my users are having!). I’ve tried putting in -41381 to the Parent Forum ID field but this doesn’t work.

Does anyone know how to do this?

Unable to Reply to a Reply with Visual Editor

Published on November 18th, 2019 by

When I click reply to a reply in a topic I am unable to type in the Visual Editor box. I can type into the Text Editor but it will not show in the Visual Editor box.

The forum-beginner-posts plugin was updated a week ago. Since that is the plugin that adds in the visual editor, I’m wondering if that update caused a conflict somewhere, maybe with either the bbpress or buddypress plugins?

WordPress 5.3 running Boss. Child Theme theme.
bbPress Version 2.6.1
https://members.lockeinyoursuccess.com/

Widget display problems

Published on November 18th, 2019 by cj74

wordpress 5.3
bbpress 2.6.1

Hello,
I am noticing in the last few days and that is even prior to upgrading to wordpress 5.3 the bbpreply widget which lists the recent replies does not list the replies CLEARLY as it used to.

After the listing there is line now added next to all new replies that says”<span class=”dashicons dashicons-visibility wvrbbp-fav-sub” style=”font-size:80%;vertical-align:middle;”></span>”.

This added line obviously is taking away the clean clear quality of the webpage making it look ugly like a coded page. Please advise. Any help is appreciated. Thank you.

In mobile view the new topic text area is too narrow

Published on November 18th, 2019 by ajmcastro

Hi,

I’m using wordpress version 5.3–pt_PT and BBPress 2.6.1.

When i create a new topic, in a mobile, the text appears only on the right side of the creator identity. That makes that each line is very short and the text is extended in a lot of lines. The text does not occupy the area below. Please see in this link:

Que carro comprar

I would be really grateful for some help to solve this as mobile users are each time more.

Thanks!!

No MemberPress login form when bbPress plugin is active

Published on November 18th, 2019 by blackandbluebird

Hello. My site has been working fine with MemberPress and bbPress for over a year. When a user goes to the forums page and are not logged in, they get a message stating they must log in to view the content. Just recently, when I go to the forums page, I get the message “Oh, bother! No forums were found here.” and no login form. Rule is correct in MemberPress, that if a user is not logged in, a login form should appear. When I deactivate bbPress, the form shows correctly. Please help!

Address: https://nextgencoalition.org/login/forums/

Nested/threaded replies looking wonky

Published on November 18th, 2019 by peskyoatmeal

Hi guys,

We seem to have an issue when nested/threaded replies are allowed. Instead of having the replies neatly appearing one under another, they seem to be squished all together. Please take a peek at the screenshot in hopes of it better explaining the issue at hand: wonky threaded/nested replied
When threaded replies aren’t allowed, everything looks peachy fine (of course!) and the comments just fall neatly in line.

We have heavily modified the CSS so that we could get the visuals as our client requested, however we have only noticed this issue after updating WordPress, the theme and bbPress (we’re not sure which one of the three, if any, could have been the source of the issue at hand).

If anything has any suggestions or if you need any additional info to offer any insight, please let us know!

Thank you in advance. 🙂

2.6.1 has tiny font, is this breaking custom css?

Published on November 18th, 2019 by Tom

I noticed once I got my 2.6.1 working that all the font size is tiny, when I made my theme I used some custom css to re-size the font way before I moved to 2.6.1, I also found this thread

Upgrade to 2.6.1 No Longer Loads Custom CSS

But no replies, did custom css/themes change?

The default font size if for ants.

https://piratemc.com/forums/

Skip to toolbar