The plugin works except whenever you post you get that “headers already sent by (output started at /home/whey/public_html/voices/my-plugins/exclude-forum.php:13) in /public_html/voices/bb-includes/functions.bb-pluggable.php on line 232” error. It still posts but it would be in the way seems in affects every post (thread and reply). Trying to figure away around it but I am not the best at PHP
Actually, trying in another browser, I am able to exclude some forums by adding them to the array there.
Do you have other plugins installed that might be in conflict?
(Guess I should turn off PHP warnings, eh?)
I couldn’t even activate that; I got an error on bb-includes/functions.bb-meta.php line 708 and 709.
That’s not related to your problem though. Sorry I can’t try this out for you.
I’m running 1.0.1.
Update: Just upgraded to 1.0.2 and tried again. Same errors. Those are just about cookies though. Not sure what’s going on there.
<?php
/*
Plugin Name: exclude
*/
function filter_front_page_topics($where){
$exclude_forums=array (“13″,”19”); // enable this to manually specify specific forums by id #
// $forums = get_forums(); foreach ($forums as $forum) {if ($forum->forum_parent) {$exclude_forums[]=$forum->forum_id;}} // exclude ALL sub-forums
if ( is_front() ) {foreach($exclude_forums as $forum) { $where.=” AND forum_id != “.$forum.” “; }}
return $where;
}
add_filter( ‘get_latest_topics_where’, ‘filter_front_page_topics’);
add_filter( ‘get_latest_posts_where’, ‘filter_front_page_topics’);
?>
Can you post the full code of exclude-forum.php please? If it’s too long, use something like pastebin rather than posting here.
http://pastebin.com/
If you post here, be sure to wrap code in backticks `, usually above the tab key on a US keyboard.
If your concept of the site depends on this plugin, you may want to consider hiring a developer (like Kawauso!) to build and test it for you…
Regarding waiting for the password over email – you can address that with this plugin! I use it on all my sites and can vouch for it:
https://bbpress.org/plugins/topic/instant-password/
This may also simplify the registration process… I haven’t used this one yet though:
https://bbpress.org/plugins/topic/openid/
Good luck!
It works but it keeps bringing up this error (which is diffent the solution suggested in the post, which does not solve the issue in 1.0.2 apparently).
The error when just using the plugin:
Warning: Cannot modify header information – headers already sent by (output started at /home/whey/public_html/voices/my-plugins/exclude-forum.php:13) in /public_html/voices/bb-includes/functions.bb-pluggable.php on line 232
The error when using the plugin and amending the function bb_latest_topics_pages() in functions.bb-template.php:
Parse error: syntax error, unexpected T_STRING in /public_html/voices/bb-includes/functions.bb-template.php on line 666
Any ideas?
Cheers!
Sure, and i’ll definitely use it. Im just a little scared about support or having to fix things that are beyond my reach.
So, as much as i Will test it. I don’t think im using it in production enivonment yet.
But, my concept of a forum, the way I am conceiving it, designin it, and targeting it, REQUIRES this feature. I won’t use it right now but I’m sure the lack of it will almost fully stop the growth of the site.
Simple as is, mi site “¿Cómo diablos.. ?” is targeted to solve basic questions to tech newbies in spanish, you can imagine there are a LOT of people, and grownups how are just getting to know a computer. And the process of registering, in a separate page, activating through email, and then asking some really basic question, it just really doesn’t work.
What we’ve been using until now is a WordPress site, with reply to coment mail notification enabled. So they just ask, and get the answer to their mails. It’s working ok. But we really think the right way of doing it is using a forum. Auto-creating an account when the user signs up could be incredibly useful for getting recurent visitors and building local support communities in common language.
Sorry for writing so much in such a bad english
hope you understand.
Hello there,
I am starting to create a community using bbpress, so far I am getting most of the features I want besides a few that I am having difficulties grasping. One of these problems is I want to make a sandbox forum for testing and so forth, I want it to be open so all users have access to it however I do not want any of the posts appearing into the “latest discussions” as they are for testing purposes only.
forums:
http://voices.snailface.com/
I am running 1.0.2
Cheers,
I tested both Valendesigns and Ohnas solution with no success, it just shows the default gravatar icon!
Edit: BTW using bbPress 1.0.2
Hi!
Yes i would like to have the Gravatar in all those places, is that possible?
I am currently making a forum here:
http://www.speedrevision.se/forum/
And i would like to have the gravatars to the left be from the authors of the latest posts, is that possible?
Also, i would like to have the same function here: http://www.speedrevision.se/forum/forum/allmant
I´ve have looked in alot of Gravatar posts here but cant find a solution that works, please, anyone?
@johnhiler and we will work!
I don’t want that greatest board engine (since IPB) collapse.
Simple, fast, elegant
hello,
after upgrad my bbpress installation to the latest release , i can no more see the menu in the admin panel , so i should put the link manually in the browser to get into the plugin administration section , setting section , edit section … or any other section
whazt is the matter with thease please.
Sorry for the confusion – I just meant that Akismet is a plugin, so as long as the plugin is activated… it should do a decent job of filtering spam.
I dunno if the Human Test plugin works well with “login free posting”, but it has an option to add a math problem to the topic/post posting form:
https://bbpress.org/plugins/topic/human-test/
I haven’t tested this, but this plugin was just posted recently:
https://bbpress.org/plugins/topic/login-free-posting/
This makes the block quotes on your test thread look different in my browser:
#thread .entry blockquote {
color:red;
padding:0 25px;
font-weight: bold;
font-style:italic;
}
Just add that after #thread .entry in your style.css and change the styling rules to whatever you want.
I copied all the required styles from WP to the bbPress theme.
If you look at the source of the WP end, you will see I placed 2 <–COPY–> here markers for the Page & Cat nav, then in the bbPress backend theme options you just paste that code.
Thanks yeah, I looked at those threads and didn’t find anything. Recounting did nothing… yes… I think I did knock out that “pick a forum” thing…. however, I guarantee that didn’t cause the problem because I’ve been posting test posts left and right since then. Only immediately after deleting my tests did the problem kick in… hadn’t make any changes to the theme. It’s definitely theme related, as the default theme works… very strange. I’ll put that dropdown thing back and see what happens.
Dig this –
I’m about to lauch the forum, so I deleted all my test posts. Now whenever I try to create a new post (even logged in as Admin) I’m taken to an error screen saying “This Topic Has Been Closed” …. what’s going on?
See for yourself – http://www.triplepundit.com/forum
The only thing I did prior to it ceasing to function was delete a bunch of test posts…
Hi all,
just wondering if anyone wants to help testing with a Hybrid & bbPress theme?
The wordpress end is a child theme of Hybrid, & bbPress end is based on Justin Tadlocks experimental bbPress theme.
I’ll fix up a few bugs tomorrow & let anyone who wants it have it in the next few days.
You can set the forum url in the wp admin & the link will get added to the page nav.
You can also set user registrations to be done by bbPress instead of WordPress, and profile links to the bbPress profile pages.
There is also an area in the bbPress admin to copy & paste your page_nav & cat_nav source, not the same as full integration, but a lot easier…
Feel free to try it out, register & post rubbish if you want.
http://im-a-celebrity.com/theme/
I have managed to get BBPress and WordPress Sync installed on my web site. That is, the sync plug in (the latest one) is installed and “working” (albiet not as I want it to be). There were a lot of check boxes and input involved to make the plugins (both on the BBPress side and the WordPress) work and see each other. In some of the check boxes I just clicked on them because I was unclear about what they meant.
The way I would like my WordPress to work is like this. When the user makes his comments about the blog, he is making them in the Forum. So the whole input field where he posts his responses to blogs are not there. Instead there is a link that takes him to the forum where responses are mirrored as responses to the blog.
If a user goes directly to the forum (an option I will allow). And makes a brand new discussion thread, it is not automatically posted in the blog and the responses to that post are not reflected in the blog as well.
There are lots of options on the Dashboard for setting up the plugins. Which options should I check and how do I customize the plugins such that my blog and forum behave like I want them to?
/** Sets up WordPress vars and included files. */
require_once(ABSPATH . ‘wp-settings.php’);
that was needed in your wp-config.php If you want real deep integartion there will be allot more work. I just fixed a long running problem of using all bb-press plugins in wp, i managed to do it after working on it for 4 days
test2.cell-systems.net .. I’m now able to call plugins from BB in WP (like the BBpm in the header and such)
I’m thinking about posting my fix / work but.
The above isn’t (post by gerikg) as you want to integrate bb-press into WordPress and not the other way around. I’m not posting all the work i have done yet btw as i want to run the test site for atleast 2 weeks (to see if any problems appear)
http://test2.cell-systems.net/
test setup working almost flawless, 100% valid CSS and XHTML 
Allot of css work goes into it to make the WP theme and Bb theme to work. I’m not combining both CSS files to make 1 standart css file.