Search Results for 'code'
-
Search Results
-
Hi,
I’m trying to exclude all forum post types within my main WordPress theme’s functions.php file using this sort of syntax:
$post_type != 'forum'However it doesn’t seem to work. Here is the full if statement I’m using:
function single_post_nav() {
if ( is_single() && !in_category(array('54', '55', '56', '57', '58')) && !is_category(array('54', '55', '56', '57', '58')) && $post_type != 'forum' ) { ?>
Some stuffHowever, it is still displaying the content on forum pages. Does anyone know the correct way to exclude the forum posts within functions.php?
Any help much appreciated.
Cheers – Ben
I want to display in a RSS widget just the topics (not the replies) in a specific forum.
right now I have
feed://www.westsac.com/forums/forum/west-sacramento-discussion/west-sac-1a/ask-westsac/feed/
Which display all the posts in a forum, I want just the topics and not the replies. is that possible?
Or is there a short code that will give me this?
tia
Topic: Spam, and other issues
Hi,
I just restored a very old bbpress 1.x install to use bbpress 2.0 plugin, and it worked great! Thanks so much.
There are a few issues though, that I could use help with. Here they are:
- I’m getting a ton of spam. Some of these get caught by akizmet, but most get through, and there’s no way to do a “rescan for spam” thing like there is in wordpress comments. Is there any way to clean this up, to reduce the spam (I’ll continue to troll the forums to find solutions, but I’m not sure how most of the suggestions there work, until I know how registration and new topics work)?
- If not logged in, I can’t see any way to post to the forum, or any register links in the forum area. Is a setting for this (I have it set at defaults, only registered users can post, and anyone can register), or do I have to add theme support? (I’m using 2011.)
- Does registration go through normal WP reg process? I can’t find it from the forums, but the spam bots sure can!
- there is no preview button – here or in my forum – I hope the formatting I put in here works!

On an unrelated note, I couldn’t get my old account to work here on bbpress.org (CaptainN) – When I try to log in it says my username doesn’t exist. But I can’t register with either my old username, or old email – they both exist! Also, when I start the reset password process, I get the link to click, but when I click on it, it says I can’t change my password.

Any help is appreciated. Thanks!
Kevin N.
I am trying to get one forum to show up on a separate page than the normal forum index. I know the shortcode is [bbp-single-forum id=$forum_id] but I do not know where to find the forum_ID at and I have tried everything I can think of to get it to work. I believe this question was asked in the Sticky Shortcodes topic at the top of the page but it wasn’t answered, just linked to another page that had the same information as the topic post with no examples or explanation. Thank you in advance.
jake
Hello,
i used wp 3.2.1 and a theme called wp-basis,
but after installing bbpress no Forum content is visible.
There is some generated forum-text in the header of the site
“<meta name=”description” content=”Topic: DISKUSSION ZUM FILM …etc”
below is the code of my header.php
“<meta name=”description” content=”<?php if ( is_single() ) { wp_title(‘-‘, true, ‘right’); echo strip_tags( get_the_excerpt() ); } elseif ( is_page() ) { wp_title(‘-‘, true, ‘right’); echo strip_tags( get_the_excerpt() ); } else { bloginfo(‘description’); } ?>” />”
i hope somebody can help.
thx and kind regards
Daniel
You posted, I listened.
Version 2 of bbPress’s theme compatibility is now in the 2.1 plugin branch of code for your perusal. This second iteration removes the need to add current_theme_support() to your theme, and totally automates the process.
If your child or parent theme contains the template files that bbPress looks for, bbPress will use them. If not, bbPress will fall back on it’s default templates and styling. No more logic necessary.
Please test it. It’s new code with a new approach, so I’d like to get some fresh eyes on things right away to avoid a long beta period like 2.0 had.
Cheers!