Skip to:
Content
Pages
Categories
Search
Top
Bottom

IIncrease text size

Published on March 27th, 2019 by andhi1

Hox do I Increase text size for bbPress forum

can’t remove comments from top level forums

Published on March 27th, 2019 by aapn77

Hello
I am trying to remove the ability to comment on top level forum topics.
For some reason the remove plugins and no comment options already set in do not seem to be working and I have tried css type removal options without success.

The way I set setup the forum is using top level board titles with sub-titles within each one and I only want users to be able to comment within sub-level boards not the top level title boards.

Can anyone please help with suggestions.

I have currently installed the closest plugin I have found to editing a page using css, scripts called “Post/Page specific custom CSS” but same as others nothing I place inside these seems to be working.

I have tried editing the page under FORUMS tab in admin but no styling options there.

Custom Import – how to skip fields that don’t apply

Published on March 26th, 2019 by licondam

Hi there!

We’re trying to move our forums from a custom Q&A platform to bbPress… very glad there is now an importer!

So I copied example.php to myimport.php, changed the class name, and updated the tables/columns that apply (the ones that exist in the old database).

And ran the import…

But I keep running into import errors for fields that don’t apply as they don’t exist in the other database, like forums_table.the_reply_count

So for a field that just does not exist in the old database, what’s the proper syntax for “ignore this”? 🙂

For example, this one…

// Forum topic count (Stored in postmeta)
$this->field_map[] = array(
‘from_tablename’ => ‘forums_table’,
‘from_fieldname’ => ‘the_topic_count’,
‘to_type’ => ‘forum’,
‘to_fieldname’ => ‘_bbp_topic_count’
);
I looked for this on the importer codex page, but just don’t see it.

Thanks!
LICON

Forum Centering and Login Page

Published on March 25th, 2019 by Hummingbird

WordPress version:5.1.1
bbPress version: 2.5.14

Question #1:

Here’s the page I’m looking at: http://www.toledonaturalist.org/forums/

I cannot figure out how to center the forum information on the page. I created this “forums” page and simply pasted in this shortcode:

At first I thought there was an invisible sidebar. Nope, it does not appear that there are any active sidebars. Perhaps I could fiddle around with the template? Nope, doesn’t seem to impact anything. I could try centering the shortcode with CSS? Nope, this didn’t work either, although I don’t know much about CSS, so I easily could have just typed it in wrong.

The weird thing is that all of the children pages are centered. It’s just this page that is having issues.

Question #2)
Here is the page I am looking at:
http://www.toledonaturalist.org/login/?redirect_to=http%3A%2F%2Fwww.toledonaturalist.org%2F

This is so bizarre! The login works great, but I don’t even have a login page on my list of “pages.” I want to change the header image and the redirection after login, but I have no idea where bbpress is getting this page. Without knowing where it is, I cannot reset the redirection after login (I want it to go to the very first link in this post) or change the header image.

Let me know what you think!

Noindex Search Pages

Published on March 25th, 2019 by mereleya

Hello!
How can we block from indexing pages with search like this – >
https://proportsia.co.il/search/%7Bsearch_term%7D/page/3/
https://proportsia.co.il/search/%7Bsearch_term%7D/page/5/
https://proportsia.co.il/search/%7Bsearch_term%7D/page/4/ 

WP – wp 5.1.1–he_IL
bbPress – Moderation Tools 1.2.4
bbPress Moderation 1.8.3

Looking forward to your answer.
Huge thanks in advance.
Best regards, Marina.

How to delete BBpress databases?

Published on March 24th, 2019 by Techknowledgic

Hey, I was using BBpress before but now I decided to stop using it because I was getting a lot of spam posts and users and I don’t have the time to keep on tracking the forums.

However, after deleting the bbpress plugin, I see an inflated wp_posts and wp_postmeta databases each one around 700mb and I found out here that bbpress store their data in wp_posts and wp_postmeta

Stored Database Data

So I am wondering, how can I delete the bbpress related databases from the wp_posts and wp_postmeta without affecting my other posts or pages I have created?

I have 3 more websites with even more posts created by me, but without bbpress and the wp_posts and wp_postsmeta is like 20mb or so. That’s why I am sure that the inflated databse are because of bbpress.

So anyone can help me figure out how to delete the bbpress related databases?

Another (0,0) sub-forum topic, kind of…?

Published on March 22nd, 2019 by lorcannolan

I’m having a weird “bug” or just unwanted result from something that usually works perfectly.

(0,0) removed via usual method:

function remove_counts() {
    $args['show_topic_count'] = false;
    $args['show_reply_count'] = false;
    $args['count_sep'] = '';
return $args;
}
add_filter('bbp_before_list_forums_parse_args', 'remove_counts' );

Unfortunately this time it is leaving me with the commas still intact despite the separator being target to be removed (I’m not comfortable with coding like most of you guys but years in WordPress you have to pick up a few things).

Probably easier if you take a look at this point it’s : MCR Biker Community Forum

I am using a plugin called Youzer to style the forum if that has any effect. Switching themes doesn’t fix.

Any suggestions?

Forum bloc with subforum list

Published on March 22nd, 2019 by lucju04

Hi everybody,

I would like to creat a home for my forum who loop some forum in blocs. And in this bloc I would like to list sub forum with topic count, post count and freshness.

I make a mockup to be more precise ^^ You can the here: https://ibb.co/zFD60d1

I already try to make these loop but I can’t retrieve the freshness & counts for each sub forum.

And also I need to design differently each row but bbpress retrieve data in columns…

Do you already make something like this ?

I found this function:

//This function adds descriptions to the sub forums
function custom_list_forums( $args = '' ) {

	// Define used variables
	$output = $sub_forums = $topic_count = $reply_count = $counts = '';
	$i = 0;
	$count = array();

	// Parse arguments against default values
	$r = bbp_parse_args( $args, array(
		'before'            => '<ul class="bbp-forums-list">',
		'after'             => '</ul>',
		'link_before'       => '<li class="bbp-forum">',
		'link_after'        => '</li>',
		'count_before'      => ' <span class="counts">[ ',
		'count_after'       => '  réponse(s) ]</span>',
		'count_sep'         => ' sujet(s), ',
		'separator'         => ', ',
		'forum_id'          => '',
		'show_topic_count'  => true,
		'show_reply_count'  => true,
	), 'list_forums' );

	// Loop through forums and create a list
	$sub_forums = bbp_forum_get_subforums( $r['forum_id'] );
	if ( !empty( $sub_forums ) ) {

		// Total count (for separator)
		$total_subs = count( $sub_forums );
		foreach ( $sub_forums as $sub_forum ) {
			$i++; // Separator count

			// Get forum details
			$count     = array();
			$show_sep  = $total_subs > $i ? $r['separator'] : '';
			$permalink = bbp_get_forum_permalink( $sub_forum->ID );
			$title     = bbp_get_forum_title( $sub_forum->ID );
			$content = bbp_get_forum_content($sub_forum->ID) ;

			// Show topic count
			if ( !empty( $r['show_topic_count'] ) && !bbp_is_forum_category( $sub_forum->ID ) ) {
				$count['topic'] = bbp_get_forum_topic_count( $sub_forum->ID );
			}

			// Show reply count
				$count['reply'] = bbp_get_forum_reply_count( $sub_forum->ID );

			// Counts to show
			if ( !empty( $count ) ) {
				$counts = $r['count_before'] . implode( $r['count_sep'], $count ) . $r['count_after'];
			}

			// Build this sub forums link
			$output .= $r['before'].$r['link_before'] . '<a href="' . esc_url( $permalink ) . '" class="bbp-forum-link">' . $title . $counts . '</a>' . $show_sep . $r['link_after'].'<div class="bbp-forum-content">'.$content.'</div>'.$r['after'];
		}

		// Output the list
		return $output ;
	}
}

add_filter('bbp_list_forums', 'custom_list_forums' );

I got the description of subforum, it’s a good start..

Show recent forum topics on another wp site

Published on March 21st, 2019 by ksansone

Hi all!

I want to have the forum installed on domain1.com and then on domain2.com I want to have a ‘teaser’ of the forum content… like the 5 most recent topics/excerpts showing. Is it possible to cross domains with this plugin? Or any other ways or plugins that could accomplish that?

Thanks!

How to remove the freshness column

Published on March 21st, 2019 by mbanovastore

Hi,

I’m using bbPress and was wondering how I could remove the freshness column.

Thank you!

Skip to toolbar