Even with all those things changed the plugin does no redirect or allow you to logout so I guess something is messing up with the forwarding?
If you have full access to the server, it’s good practice to log PHP errors and warnings rather than display them to the browser. That’s done in php.ini.
Are you using permalinks? Did you already have an .htaccess and add the error handling lines to it?
Okay I added Htaccess and now the error does not appear however when i post it does not forward me back to the forum is just gets stuck on a white screen on the bb-post.php screen….
Got full access to the server. What is the best means of doing this but only affecting only this site? The plugin makes an error for any change not just posts (ie any kind of update) gives a similar warning.
Here’s one way:
http://perishablepress.com/press/2008/01/14/advanced-php-error-handling-via-htaccess/
I’m assuming you’re on shared hosting. If you have more control over the server, there are better ways to do it than with an override in .htaccess.
I have the same problem in one browser, no problem in another browser (I had the warnings showing in Firefox but not in IE.) If it’s just a warning and it works, maybe you just need to not display warnings to visitors?
Yes it states:
Warning: Cannot modify header information – headers already sent by (output started at /public_html/voices/my-plugins/exclude-forum.php:13) in /public_html/voices/bb-includes/functions.bb-pluggable.php on line 232
That is with or without any other plugin installed.
Does the error message you are seeing say “Warning:” at the beginning of it?
You have a space or a line return around your code tags.
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.