Can we get an explanation on what this is about
and where exactly bbPress is being taken? (ie. backPress)
Since it sounds like you’re heavily modifying your install, I suppose you don’t have a problem modifying core files. It makes upgrading to a new version of bbPress more difficult, but you’ve already started down that road.
How about just changing bb-includes/template-functions.php and modifying what the bb_feed_head function returns (i.e. make it return no rss links at all.) I don’t know if that takes care of everything or not. Maybe it just kills autodiscovery of feeds. But I think in that file is where you would make the changes you want to disable RSS altogether.
There are rss links in the template files as well, so you should remove those too, so they don’t appear. I think a combination of removing the links from the template and the rss links from the <head> would take care of it.
Also, I imagine there is a way with a plugin to remove the rss feed links, to avoid modifying core files. I just don’t know how to do that (add a plugin to remove links in the <head>.)
I am looking for a generalized way to stop all feeds from BBPress.
Is there a core file I can delete? I deleted register.php to prevent any user registrations (and removed any links to it). Where is the ‘beating heart’ of the RSS so I can rip that out too?
Note – I was using the private categories plugin which did this nicely but I have migrated to Amember and am coding the security right into the theme.
Not possible or at least not easy to do (I don’t think I’ve seen any one do it.) See here:
https://bbpress.org/forums/topic/unable-to-log-in-in-iframes?replies=9#post-11051
What version bbPress did you install? I don’t see a line 294 in my bb-settings.php.
But, the solution is going to be the same as before. I can’t help you with the actual change since I can’t actually find the line you’re talking about.
And woop, backpress.
https://trac.bbpress.org/changeset/1076
backPress: BOOM! this will break *everything*
Things be happnin’.
I managed to install bbpress, and its all working well, getting the data from the wpbase. but what i wis to do is to integrate bbpress as a part of my wp site, it should load in the main content frame. is this possible?
ex: http://www.indexhibit.org/forum/
here the skeleton of the cms remains after going to the forum.
help is much appreciated
using bbpress .8.3 I can view my main page (http://www.healthstatus.com/health_blog/forums), I can view a latest discussion by clicking on it, but when I click on a forum, I get the message:
Fatal error: Call to undefined function bb_get_header() in /…../forums/forum.php on line 1
Second, when I try and add a forum (from the admin screen) it just flashes at me but doesn’t add the new forum.
The bug you have run into is fixed in the latest trunk release, or you can see this thread and this post specifically about the change to make:
PHP Error Messages
It’s been discussed before as well:
https://bbpress.org/forums/topic/warning-invalid-argument-supplied-for-foreach-in-bb-settingsphp-on-line-173
https://bbpress.org/forums/topic/installation-problem-cannot-modify-header-information
It’s just a php warning, and your server is configured to show warnings, so you see it. It does point to a problem with the code, but even with the warning, everything still works fine.
I’ve installed the bbpress forum, but I received this error:
Warning: Invalid argument supplied for foreach() in /var/www/vhosts/etichettando.com/subdomains/forum/httpdocs/bb-settings.php on line 169
You can see here: http://forum.etichettando.com/
May you help me, please?
Hi
I’m trying to make a new theme for bbPress but i’ve run into a problem. If a user is not logged in, and viewing a topic, he is being told:
Reply
You must log in to post.
The problem i have is that i do wish to have this text shown, but i want to customize it to fit with my theme. And this text is not to be found in the theme files. My guess is that bbPress adds the text from the core files.
Is there a way to add some code to the theme files, without modifying the core files, so that this can be shown the way i would like it to be shown?
The bbpress mail funcion is just something I can’t really understand. When I tried to use it with my favorite notification plugin I got some problems, so I decided to hardcode the mail-function into my plugin.
mail( $userdata->user_email, bb_get_option('name') . ':' . __('Notification'),
sprintf( $message, $topic->topic_title, get_user_name($bb_current_user->ID), get_topic_link($topic_id) ),
'From: ' . bb_get_option('admin_email') );
I just kept it simple there. Did someone of you try to hardcode the mailing into the registration function? Would be interesting to see if it works then?!
Not sure who reads the WP feeds, so here’s an interesting snippet:
Mullenweg says he’ll use the new cash to fund more projects, including a new forums product. Called TalkPress, he said it will be “smaller, lighter, with fewer features but a richer customization API.”
In other words, it will work a lot like WordPress, which is a basic framework upon which users add the features they really need. Mullenweg some time ago created a forum program, BBPress, and the TalkPress service will be built on that.
“I spend a lot of time on forums, and they drive me crazy,” he said. “They haven’t changed in 10 years.”
http://blogs.chron.com/techblog/archives/2008/01/the_importance_of_being_matt.html
@starnet – The best way is to have it in an auto-load WPMU plugin, which means stick it in a file called “no-404s.php” or something in wp-content/mu-plugins/.
I am trying to think if there is a work around // using what works .. I.E wordpress. Since the passwords would be the same for both.. Maybe there is an angle I can take there.. Sign them up in wordpress and dump the new users into bbpress to edit profile/ or add the additional bbpress profile fieldsto wordpress profile edit.. Just thinking out loud..
Good question. I’m inclined to say it’s hotmail right off the bat, since they make it through to gmail, but maybe it’s something that bbPress does with the email that hotmail finds objectionable.
Who does the email arrive from, at gmail (and the first time at hotmail for that matter), and if the mail were rejected, where would the bounced message go? In my installation, emails appear to come from bbpress@domain.com – but that email doesn’t exist, so any mail that fails to get delivered is just gone forever. If your email comes from a real email address, is that address getting rejection emails from hotmail?
I get the first:
“If you wanted to reset your password, you may do so by visiting the following address:
http://appleswitcher.com/wp/forum/bb-reset-password.php?key=4d8981628df36c3
If you don’t want to reset your password, just ignore this email. Thanks!”
Click that link which takes me to my page:
“Password Reset
Your password has been reset and a new one has been mailed to you.”
But the email never gets to my account, not even in Junk. Gmail *does not have this problem.* I just checked. It’s just Hotmail. Don’t know if it’s “them” or bbPress.
I have tried all different ways of entering email addresses. I am baffled. The only thing I can think is the following:
bbpress resides in folder one up from Word press. I am wondering if there is a file permission issue for that folder. But again the odd thing is.. the favorites notification works just fine and it is in the same plugin folder as the plugin Sam had me upload. I do not know. I hope Sam may have more ideas.
None of this makes sense. It has to be a BBpress email php coding issue.. But why is it so different from wordpress and the bpress plugin “favorites notification” that work fine.
We are setting up bbpress to work with WP and a Perl program we developed in house. We have most of it working, except the forum always returns No Entries found and their isn’t a link to add a post, edit a post or anything, and in WP you can’t make comments. (other than that it is perfect). We would also like to make an attempt to login from either bbpress or WP get routed over to our system login page which uses our Perl program. please contact me at gwhite [at] healthstatus . com
One thing I always thought was interesting was that mail appears to be sent from bbpress@yourdomain.com, whether or not that is a valid email. So, if you responded to your password email or something, it would be sent to that bbpress@ address, which might be invalid, so it would bounce.
I wonder if bbpress@yourdomain.com has to be set up as a valid email account on the server, so if the SMTP server says “let me make sure this is one of my users before I sent out email for him” it will work. Since you wouldn’t normally have a bbpress@yourdomain.com address already set up, maybe some MTAs don’t like it and give up on the mail altogether.
Why wouldn’t the email just be sent from the admin email address since we’re asked to enter it in config.php anyway?
Any thoughts?
The $bb->name setting in config.php is the name for the whole site and the name you see in Admin > Content > Forum is the name of the categories or sub-forums (however you want to think about it – see the bottom of http://bbPress.org/forums/ for “Installation”, “Troubleshooting”, “Themes”, etc – that is what you’re changing in Admin > Content > Forums). Changing it there does indeed change the display (look at the bottom of the front page to see the name you are changing in the admin panel: it’s under “Forums”). If it’s not working like that in your installation, there’s another problem I’m not familiar with.
Anyway, being able to change the site name in the admin panel might be a good suggestion. You can make feature requests at http://trac.bbpress.org .
I couldn’t find anything here on the bbPress site… I would like for email addresses that appear in posts to be transposed to something like “user [at] domain [dot] com”.
Is there a plugin, or an easy way to do this?
File uploads and attachments: like many others, I am highly interested in such a plugin. While I agree with the intent of the developers to keep bbPress light and awesome (which it is,) it certainly seems a shame to have to abandon bbPress because it does not provide for file uploads.
It’s my understanding that each post is given a unique identifier, visible as a URL parameter: id=38 for post 38, id=39 for post 39, etc.
Functionally, it seems a matter of creating an /uploads folder, and using a PHP upload/file management script to create a folder with the same name of the post ID in the /uploads folder.
I think one could add some PHP code in the topic page loop to parse the /uploads folder for folders whose names match the numbers of the post id’s displayed on that page, if-then display links to any files contained within those folders, if-not, then don’t.
Do I have the technical know-how to pull this off? Of course not. I barely got the forums installed and avatar plugin running on my server. But others lurking here with any PHP ninja skills might be able to.
Of course, there might be horrendous security risks that I’m not thinking of with this method. And the PHP code that scans the uploads folder for foldernames that match post id’s might ridiculously slow down the forums, as it constantly scans the filesystem instead of performing a quick database lookup.
But it might be a good start. Between all of us here in these forums, I am confident that we’ll eventually stumble across this much-needed functionality. Necessity is a mother…
@j8h9
I’ve got 3 fixes for you to choose from:
1. Make the above changes
2. Upgrade the version of PHP you are using
3. Download the current trunk (rev 1071) here
Or go back to phpbb, your choice.
: )
Looks like it may be rejecting the mail due to the “From” email address being invalid. Try this code in a plugin and make sure your admin_email option is a valid email address:
<?php
if ( !function_exists( 'bb_mail' ) ) :
function bb_mail( $to, $subject, $message, $headers = '' ) {
if (!is_array($headers)) {
$headers = trim($headers);
$headers = preg_split('@r(?:n{0,1})|n@', $headers);
}
if (!count($headers) || !count(preg_grep('/^from:s/im', $headers))) {
if (!$from = bb_get_option('admin_email'))
if ($uri_parsed = parse_url(bb_get_option('uri')))
if ($uri_parsed['host'])
$from = 'bbpress@' . trim(preg_replace('/^www./i', '', $uri_parsed['host']));
if ($from)
$headers[] = 'From: "' . bb_get_option('name') . '" <' . $from . '>';
}
$headers = trim(join("rn", $headers));
return @mail($to, $subject, $message, $headers);
}
endif;
?>