Skip to:
Content
Pages
Categories
Search
Top
Bottom

Show forum but not posts

Published on February 22nd, 2014 by cwgml

Hi there, I would like guests to see my forum exists and see the intro – but not see the actual posts as I would like to keep that private. Also I would like to show post counts but not posts to guests. Has that been done yet?

Thank you,
Colin

Adding "View Your Posts" and "View Friends' Posts" links

Published on February 21st, 2014 by deadbeat007

Hi,

Is there a way that I can set up links where users can view the following information?

– All Topics/Posts they’ve created
– All Topics/Posts their friends have created

Any help would be appreciated. Thank you!

Lauren

Incorrectly drawn posts

Published on February 21st, 2014 by vinc2k

Hello, im using “mythemeshop”‘s monospace theme, and encounter this problem
image
any post other than the first one is drawn incorrecly

Im new to php, so any help would be apperiated

Thanks in advance

How to filter an array

Published on February 21st, 2014 by Robin W

ok, so I know how to filter variables (and am documenting for the codex), but I cannto figure the syntax for an array.

As an example (and apologies for long code – but in this case hope you’ll let me off!)

function bbp_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'      => ' (',
		'count_after'       => ')',
		'count_sep'         => ', ',
		'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 );

			// 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
			if ( !empty( $r['show_reply_count'] ) && !bbp_is_forum_category( $sub_forum->ID ) ) {
				$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['link_before'] . '<a href="' . esc_url( $permalink ) . '" class="bbp-forum-link">' . $title . $counts . '</a>' . $show_sep . $r['link_after'];
		}

		// Output the list
		echo apply_filters( 'bbp_list_forums', $r['before'] . $output . $r['after'], $r );
	}
}

If I wanted to turn off the topic and reply counts, I could use a filter which would look something like

function hide_forum_counts () {
$r['show_topic_count'] = false ;
$r['show_reply_count'] = false ;
$r['separator']  = ' ';
return $r ;
}
add_filter('bbp_list_forums','hide_forum_counts') ;

Stephen, JJJ or other bbp genius – can you post the answer, I have tried everything to prevent needing to copy all the original function, but have failed

Forum messed up

Published on February 21st, 2014 by heidione

My site is http://cnec-hhcc.org/wp/forums/forum/faith-qna/
My forum displayed messed up after I changed the new theme. Does bbPress forum not support for Presswork theme?
How can I solve my problem?

Login issue goes to blank screen

Published on February 20th, 2014 by rlitts

I am using WP version 3.8.1 and bbPress 2.5.3. This issue is when you login using the bbPress widget in the sidebar. The page gets stuck on http://mysite.com/wp-login.php and it is just a blank screen. I hit refresh and then it loads the normal WP admin login page. I looked and have seen some folks increased their memory on the PHP.ini file but mine is all ready set to 256M. I know that this was working fine and then out of no where it just stopped. I don’t recall any plugin updates or theme updates. Infact I turned them all off along with the and tried TwentyTwelve Theme with no luck. Any help would be much appreciated.

[REQUEST] Quote, multi-quote, and signatures

Published on February 20th, 2014 by Mycelus

I know there are plugins for these, but they don’t work well, and with any forum software, these features are a must.

I am requesting that quoting, multi-quotings, and signatures are added to bbPress.

Quotes and multi-quotes should be possible via the option bar next to Edit, Move, Split, etc.

Signature should be accessible via the profile settings for each user.

User ranking system?

Published on February 20th, 2014 by jenseo

Hi!

I’m looking for a solution to the following:

I would like to display a user ranking system based on the number of posts they have written in the forums.

Take a look at the reputation indicator under the users profile photo on this forum to see what I’m looking for:

User reputation under profile picture.

Any ideas on how I can achieve this?

Thanks!

// Jens.

Time to show new topic/reply

Published on February 20th, 2014 by Kazhamania

Hi everyone,

bbpress is my first forum I have never installed on my blog.

Something is so confuse for me, when I or one of my users create/reply a topic we have to wait 30 min – 1 Hr to see it (it doesn’t appear before)

Is there way to fix it ?

Edit reply button goes to 404 error

Published on February 20th, 2014 by futiles

When a user tries to edit their reply, the “Edit” button links to: http://www.achievementfest.com/index.php/forums/topic/[THREAD NAME]/edit/

Which goes to a 404 error. I am using WordPress 3.6.1, and bbPress 2.5.3-5249. I had been using a previous version of bbPress, with the same issue, and tried updating it to see if the problem resolved.

I cannot find anything about setting up the edit page, so, I don’t know if I missed a step.

Does anyone have a suggestion, please?

Skip to toolbar