This stylesheet is referenced in your html, but it’s not actually there:
http://www.wp-portal.de/my-templates/bbpress-forum/style2.css?v=8
404 Not Found
Not Found
The requested URL /my-templates/bbpress-forum/style2.css was not found on this server.
Now it folds finally.
This was possible by the .htaccess.
Now I wanted to install the Design, whatever is used here, but that is not correctly indicated.
http://www.wp-portal.de/
Why?
Some themes put it in the public footer but there’s no guaranteed way to find it other than the admin panel in the footer. And the build number is never available which is critical for trunk builds.
In part it’s a security risk if a flaw is found in old versions.
While this looks ugly, they’re just PHP warnings. PHP error messages and warnings should not be visible on a production webserver anyway. They are there because of a problem with the bbPress code and the way it is interacting with your server, but they are not preventing you from going further. If you suppress the PHP warnings (maybe you have access to your .htaccess file) you will be blissfully unaware of the warnings.
https://bbpress.org/forums/topic/php-error-messages?replies=16#post-13128
Will any of that help with indexing the forum though? My impression is that the WordPress sitemaps plugin generates a sitemap for WordPress content only, not bbPress.
Is there any interest in doing something like this for bbPress?
http://install4free.wordpress.net/
There are quite a few gotchas in getting bbPress up and running these days. The latest development trunk doesn’t work, and the 0.8.3.1 release doesn’t work for a lot of people either. So, people are forced to edit files, apply patches or download an interim revision. What if we did something like http://install4free.wordpress.net/ but for bbPress?
I have offered to help people off list before, but some are hesitant. Having something like this would add legitimacy to anyone offering to help. In fact, it flips it around. Someone wanting help requests it at that site, and then a volunteer from the project contacts them. Not as much chance of a random dude trying to mess with their server.
Do you have a sitemap that does not include the forums? Maybe Google is reading that and not looking any further?
This sitemap doesn’t contain anything about the forum at all:
http://argentinastravel.com/sitemap.xml
There was a sitemap plugin for bbPress at one time:
http://boakes.org/talk/topic/31
I have no idea if that works with current bbPress releases. I stopped using it a long time ago because generating the sitemap took too long.
I think that’s the problem though: Google knows only about the one site map and it doesn’t include anything about the forum. Other problems could be a restrictive robots.txt or a meta tag in the forum that restricts robots, but I didn’t see either of those.
I would add a sitemap for the forum and see if that helps.
I’m seeing some interesting behavior. Though I am a php rookie it seems like what I am trying to do should work.
I include some code in the header that parses cookies and sets variables appropriately. I use the exact same code and approach in WordPress and it works perfectly.
This is at the top of my bbpress header.php:
<?php
global $research_subscriber; // '1' if user is research subscriber
global $forums_subscriber; // '1' if user is forums subscriber
if (condition) $nyquist_research_subscriber=1;
if (condition) $nyquist_forums_subscriber=1;
?>
Just to make sure, I echo’ed out the variables afterward within header.php and they are all being set as expected.
Later on, in files that include header.php (topic.php or front-page.php) by invoking bb_get_header(), I attempt to access these global variables and they are all null.
Why are these variables not being passed? Why does this work in WordPress but not BBpress? What am I missing (bangs head against wall)?
I know sometimes WordPress has a meta tag with the WordPress version, but does bbPress do something similar? Or, can you access something from the public side of a bbPress installation that would tell the version? It would save time helping others by preventing the question “what version are you running?”
Sam, I noticed that may have changed in/after 0.8.3.1
After some tinkering I also had to add:
$bb->sitecookiepath = '/';
(there is also a related minor issue in that I can’t seem to affect the cookie domain to be undotted in the newest builds)
I have now put together some basic code which successfully interacts with OpenID servers.
Unlike other solutions it doesn’t requires any other libraries or special languages/features on the server other than CURL support (with SSL) which is fairly common.
Unfortunately during this time OpenID has upgraded to 2.0 and certain providers like Yahoo will only accept 2.0 queries and not 1.1 which is all the code can handle.
But if there is any serious interest, I could get bbPress to accept openid from wordpress.com/livejournal/aol/etc. which continue to allow 1.1
That I made now already fourth time and it come again and again the same error. So can’t that be, what could still lie?
If your site is at:
http://www.example.com/
And bbPress is at:
http://www.example.com/forums/
Then you will need to add this line to your config.php file…
$bb->cookiepath = ‘/’;
That way your code in the base directory that is trying to read the cookies will be able to do so.
See this post for a solution.
PHP Error Messages
This was a problem before this version, but is fixed in the latest builds.
bb-load essentially loads the entire bbpress framework
It just doesn’t generate any template output
It’s how RSS feeds, etc. are done
You can indeed evaluate the user login via loading the entire framework. But you can also write a very small subset of code to check the cookie and then read the database directly too.
However note that if your bbpress cookies are locked to a path (ie. /forums/) as they are by default, they will not be valid outside of the path and no user will be detected. So you have to change the cookiepath in config.php
Otherwise neither method will work.
Hello, we integrated bbpress with our WP site at http://argentinastravel.com/forums/ The site ranks great for all kinds of search terms and gets indexed by Google daily, but for some reason the /forums/ are all being ignored entirely. Any ideas why this could be? Any other page / section that gets added is usually indexed within a day.
I have the problem that I can´t acces the admin panel since I deleted the WordPress”files” WordPress database and my bbPress installation was in the same database.
don´t have a backup.
but did a fresh reinstall in the nower bbpress database.
does anyone know how to solve that problem?
OK, I take that back. Requiring bb-load.php definitely fixed all the errors, but the functions still aren’t working. They don’t throw an error, but they don’t return anything either and so are pretty much worthless.
Is it perhaps because the files I am trying to use them in are in the parent directory above the bbPress installation?
There must be some way to get access to the bbPress login info directly through PHP…
Thank you rmccue! bb-load.php was the only file required to make those functions work. I guess that was the source of the chain of includes. Thanks a bunch
Hi,
bad Version, why too many bugs ?
Look this : http://www.wp-portal.de/bb-admin/install.php
Sorry 4 my bad english.
Greetings
Try requiring bb-load.php and going from there.
By the way, assuming I can get these functions to run, what would be the function for getting the current users’s id?
I got lost somewhere in bb_get_current_user() and bb_get_user() without really being able to figure out what returns what. If I can get them running though, then I can test them, so I should be able to figure it out…
It sounds like just including the bbPress function files and using those functions would be the easiest. I couldn’t figure out which files needed to be included for the login functions to work though.
I tried doing if (bb_is_user_logged_in())
, which required /bb-includes/pluggable.php and /bb-includes/functions.php, but after I included both those files I was left with the following error:
Fatal error: Call to a member function get_row() on a non-object in /bb-includes/functions.php on line 1228
Am I missing some other file, or is it just not possible to use this function outside of the actual bbPress build?
That has to be one of the top 10 themes I’ve seen for bbpress, very well done. The wordpress integration is also excellent.
I personally love white text on darker background so it’s a favorite for me.
Are you going to make it publicly available for download?
Depending on which version of bbpress you are using, the method to put “closed” and “sticky” onto topic titles has changed. The newest versions (trunk, not sure if it’s in 0.8.3.1 yet) uses a new label method that in theory should be independent of the template.
However older bbpress versions require the “sticky” label be detected and placed via the template (theme). If you edited your templates, you may have inadvertently removed the feature.
Which bbpress version and theme are you using?
Make sure you are using the very newest support forum plugin update, I think it’s up to 2.3.4 which deals with the new bbpress update.