Skip to:
Content
Pages
Categories
Search
Top
Bottom

is_page() equivalent for bbPress 2.0

Published on September 24th, 2011 by nathanbunn

I have a template, originally designed for WordPress 3.2.1 and modified to accomodate the bbPress 2.0 plugin. One of the PHP functions I use in my navigation menu is the is_page() function, which finds if a certain page is selected and has been set to append a CSS style to the list item.

Is there an equivalent function that can be used for the bbPress plugin? If not, is there a workaround solution?

Calling a forum id

Published on September 24th, 2011 by Jaja..

I’ve insert this to the loop. (showing on the homepage)

<?php if ( bbp_has_forums( array( 'posts_per_page' => 1, 'max_num_pages' => 1 ) ) ) : ?>

<?php bbp_get_template_part( 'bbpress/loop', 'forums-1' ); ?>

<?php else : ?>

This print only the first forum ID (top forum) and hides all others.

Next i would like to make this.

<?php if ( bbp_has_forums( array( 'posts_per_page' => 1, 'max_num_pages' => 1 ) ) ) : ?>

<?php bbp_get_template_part( 'bbpress/loop', 'forums-1' ); ?>

<?php else : ?>

<?php if ( bbp_has_forums( array( ‘posts_per_page’ => 1, ‘max_num_pages’ => 1 ) ) ) : ?>

<?php bbp_get_template_part( ‘bbpress/loop’, ‘forums-2’ ); ?>

<?php else : ?>

<?php if ( bbp_has_forums( array( ‘posts_per_page’ => 1, ‘max_num_pages’ => 1 ) ) ) : ?>

<?php bbp_get_template_part( ‘bbpress/loop’, ‘forums-3’ ); ?>

<?php else : ?>

Only problem it will always call the first (top) forum ID.

I need to find an $args? for calling a forum ID in each loop, this way i can say get forum ID 4 on the first loop and get forum ID 12 on the second loop.

How to display full image for author profile?

Published on September 24th, 2011 by Ravi

Hi,

The single topic page shows only the thumbnail of an author and it looks fuzzy.

How do I make it to show full image?

I am using bbPress 2.0 plugin.

http://ravidreams.in/offgrid/forums/topic/alternatives-to-st-augustine-grass/

is an example topic page.

Full image URL format is here:

http://ravidreams.in/offgrid/wp-content/uploads/avatars/7/71c948a9c1d112404e9f6ec0e62bcae6-bpfull.jpg

Current thumbail at

http://ravidreams.in/offgrid/wp-content/uploads/avatars/7/71c948a9c1d112404e9f6ec0e62bcae6-bpthumb.jpg

Please let me know which file to edit and what to add.

Thanks

How to show recent topics in forum homepage?

Published on September 24th, 2011 by Ravi

Hi,

The forum homepage now shows only list of forums.

How to show list of latest topics above this forums index? (like it is done in the bbPress forums page)

I am using bbPress 2.0 plugin.

Which file should I edit and what should I add?

http://ravidreams.in/offgrid/forums/ is the site I am working on.

Thanks,

Ravi

Showing the most recent page when clicking the topic URL?

Published on September 24th, 2011 by common8308

In WP, most of the users usually set the latest post or comments shown on the first loaded page. I think it’s very natural to show like that, but somehow the forum topic URL is made to show the first page when clicking the forum link.

I’m curious to know if there’s any manual way to show the latest page URL when clicking the topic URL. Thanks for reading!

Is there a plugin to make my forums registration invite only?

Published on September 23rd, 2011 by zakiu

I would like to make my forums registration invite only. So far I have no way of doing that. I can remove “register” from my login page, but the register.php file still needs to work for me to create new users. Is there a plugin to make my forums invite only? That would be awesome if there is.

Dummy's guide to installing bbPress 2.0, BuddyPress, and WP (sitewide forums)

Published on September 23rd, 2011 by 3sixty

Has anyone done this successfully? I feel like an idiot. I have 1) installed WP, 2) added and activated BP, and then 3) installed bbPress via BP “Sitewide Forums” option. Then I get a whole series of conflicts – first the forums won’t display in the BP theme, then I adjust the slug names and the Forums tab disappears, then I get the Forums page but there doesn’t appear to be anything there. I can’t crack the secret code. I feel like I’m playing Myst.

bbPress 2011 template question – how to turn off columns? customize?

Published on September 23rd, 2011 by nvisioncurtis

Hi, I want to turn off the right column on the bbPress pages.

Previously I was able to turn off the right column by assigning the appropriate template from the page menu. But now with bbPress twenty11 template – the template includes this column.

Where do I find this template so I can edit?

Thanks,

C.

bbPress redirect problem at WP MultiSite installs

Published on September 23rd, 2011 by Jaja..

I think i have found a Glitch,

When i log-in and log-out the redirecting script isn’t working correctly at WP MultiSite installs.

It copy-/paste the root directory like this.

(this is after i logged in from the home-page)

http://localhost.sites/example.nl/members/example.nl/members/

(this is my home-page)

http://localhost.sites/example.nl/members/

I think it has something to do with this code: bbp_logged_in_redirect();

Nobody else got this problem on WP Multisite installs?

importing data from other forums?

Published on September 23rd, 2011 by Ed

I’m currently using punbb (also have that data exported into phpbb3), but would like to move over to bbpress 2.0

However, I can’t find any working converter.

So – is there any proven path for getting data into bbpress v2.0 from outside?

Thanks!

Skip to toolbar