Hi,
I’m also new to bbpress but I’m using wordpress since a while.
I think that akismet is a good prevention, if you have to much new user registrations made by bots you should protect with
http://recaptcha.net/
and moderate your forum, I wrote this plugin
http://www.finalwebsites.com/bbpress/moderator-notification.php
to get all new posts in my email
I’ve recently enabled the hard cache, to see how it handles on a test forum with only a few users. The first problem I’ve come across has been an error with $bb_cache->get_forums() – the array it was returning when cached was 0, instead of containing the forum ids.
I fixed it by a simple reversal of the sections of code within the get_forums() function in cache.php:
$forums = (array) $bbdb->get_results("SELECT * FROM $bbdb->forums $where ORDER BY forum_order");
if ( $this->use_cache && $normal && $forums )
$this->write_cache(BBPATH . 'bb-cache/bb_forums', $forums);
$_forums = array();
foreach ( $forums as $forum )
$_forums[(int) $forum->forum_id] = $bb_forum_cache[(int) $forum->forum_id] = $forum;
After reversing them (the above are their original positions), I then made sure the write cache line was using $_forums, instead of $forums.
No idea if this may have other consequences I’ve yet to unearth, but I thought it may be worth noting here.
I’ve also used the “load all options” function from wordpress as a basis for creating a global array containing all topicmeta options. By default (even with cache enabled, although maybe I’ve missed a setting), there were several calls to to topicmeta, whereas only one was really required.
The next release will include the changes, but it might not be until WordPress 2.4 comes out, since there were a lot of changes to keep integration working. The bbPress version you install is highly dependent on the WordPress version, if you are looking to integrate the two.
i just had the same issue too. sounds like the nest release (971) will inlude this change?
So how did you fix this problem?
My bbPress and WordPress run on the same server.
WP RSS feeds do not have that problem.
All I get is:
XML Parsing Error: xml declaration not at start of external entity
Location: http://www.ajakirigolf.ee/foorum/rss.php
Line Number 2, Column 1:
<?xml version="1.0"?><!-- generator="bbPress" -->
^
I can not parse the forums RSS feed to other pages.
I’m new to bbPress so apologies if this is covered elsewhere and my searching didn’t turn up a previous answer…
Is there any documentation or more complete explanation of what is meant by “just embed your bbPress install around your WP theme, it will be calling the wordpress stuff for the sidebar and then have your forum on something like a WP ‘page’.”?
sub-domain? did you mean add-on domain?
You just need to move (re-install) all bbPress files up a level. If you installed them into public_html/konpaforum.com/bbpress/
, then mv public_html/konpaforum.com/bbpress/* public_html/konpaforum.com/
If you want to integrate into WordPress, then leave them and install WordPress in public_html/konpaforum.com/
, would be a good idea.
hey guys thanks, like goldfinger said everything is installed in a folder
titled bbpress. I’ve reinstalled in several places, but with no success. I
don’t know if its because im using a sub-domain not sure. Anyways I will
keep trying, I’m also going to try to install wordpress first. thanks again.
No. Unlike '/bbpressfolder/'
(I presume), 'wordpressuser'
and 'wordpresspass'
are not placeholders for your actual value: they are the literal values you will have there. Check your wordpress cookie; those are what they use. A part of the structure is:
wordpressuser_site-unique hash=your username
wordpresspass_site-unique hash=hash of your password
With his settings, bb should now be using that too.
Don’t grab trunk in an attempt to fix this problem, as that uses phpass password hashing which would break your user tables for wordpress. It may work with wordpress trunk, but, you know, with two trunk releases you may have problems. Be careful.
I have tried to use pretty permalinks and am having no luck so far.
Could someone please help me ![:) :)](smileys/smile.gif)
I tried using the
Options +MultiViews
and when I click on the links I get 404 Error.
Then I tried using the
rewrite-rules.php.
and I get:
blockquote
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webadmin@kundenserver.de and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
blockquote
If you go to http://www.328solutions.com you will see it! (That is with the rewrite-rules.php)
Does anyone know what I am doing wrong? If you need more information please let me know! I really want to use BBPRESS as I love WordPress!!! And don’t really want to use any other forum. ![:) :)](smileys/smile.gif)
oh btw, seasons greetings
Hi there,
Users can register and login in to my wordpress section of my site, and this automatically makes then a bbpress member also. The problem however affects only people whose user name contains a space in it. Though they are resisted members of both wordpress and bbpress, they cannot log into bbpress.
Any ideas?
This is stolen from WordPress Extend Ideas. I made (or I should say I duplicated or pirated?) this for getting your ideas to be my motivations. But, while writing this I found out this not just “Ideas”, this actually is an application of how to have different themes for your forums and topics. And you can also have permalinks like /ideas/
or /ideas.php
.
No modifications on core files, but need to add two files. 1 plugin file, some modifications on theme.
You can see this “Ideas” on my forums. Scroll down to the bottom, you will see it. Click on “Got an Idea?” or “Ideas for bbPress” (read the URIs, notice the differences?).
This is not ready for a release, however you can download it from repository and read this draft documentation (if you want to play with it).
And you can post your ideas for “Ideas” or others.
In WordPress, when a page title is the same as a previous one, the slug gets a number appended to it, like this-was-written-about-before-1
, so I imagine bbPress has the same protection built in. The slug needs to be unique.
Hello To All,
First of all – thank you for the best forum software available for WordPress based sites. The package was simple to install, it’s streamlined, and works perfectly. Thank you, thank you, thank you.
I am running WordPress on my site located here: http://www.smartboydesigns.com/
and then I have installed and developed the forum software here:
http://www.smartboydesigns.com/forums/
The forum and main site layouts are still being integrated, but so far it is coming along nicely. I would like to know your thoughts on what I have so far, and if anything isn’t working properly for you.
Thank you, and MERRY CHRISTMAS!
Hi, livibetter
Thanks! I have sorted it out, besides “$bb->cookiepath = ‘/’; “, I added the following in bbpress config.php
“
$bb->path = ‘/bbpressfolder/’;
$bb->usercookie = ‘wordpressuser’;
$bb->passcookie = ‘wordpresspass’;
“
It is strange that I still can not find any cookie file generated when I logged in WP but my WP works correctly, so weird… anyway, my problem is resolved, I am happy now:)
I think bbPress works normal, but WordPress may not. After you logging in WordPress, is that logging effective? Can you get into WordPress admin pages?
yes.
I think you only need
$bb->cookiepath = '/';
If this is not working, please check your browser’s cookies. See what WordPress and bbPress send to you with what host and path. If you not sure what to check, try to clean cookies, then log in WordPress and bbPress.
Seems that l10n.php
of bbPress wasn’t loaded.
Did you also do a WordPress FUNCTIONS integration?
What is your config.php
of bbPress? (you can post it to http://bbpress.pastebin.com , remember to remove dbname, dbuser, dbpassword)
Recent discussion indicates r971 could be a temporary good solution.
Go to the bottom https://trac.bbpress.org/browser/trunk?rev=971
Download the ZIP, and use it to upgrade
I am not sure if it will touch you database or not, anyway backup is a good habit.
Please tell us if this works or not.
I assume you did an overlap install of bbPress onto WordPress!
/home/readme.html
, /home/license.txt
and /home/wp-login.php
are working.
But /home/index.php
isn’t.
except index.php
, the first three files are not in bbPress; and you say you have clean up bbPress files. So, DID YOU DO AN OVERLAP INSTALL???
If so, just download WordPress package, and extract index.php
from it, then put it into /home
.
@italways, was you installing WordPress and bbPress in this directory hierarchy:
WordPress: /wordpress
bbPress: /wordpress/bbpress
Can someone actually explain what the solution was? I am getting the same error.
If you deleted everything in your root WordPress folder, you’re going to have to reinstall WordPress first, then your theme and plugins. That would be the first step, well before installing bbPress.
For the record, bbPress should be in a subdirectory of your WordPress installation if you’re going to try and integrate it.
So maybe you have your WordPress at /var/www/goldfiinger/home/, and if so, you would put bbPress at /var/www/goldfiinger/home/bbpress/.
kboan23,
Even if you manually fix the role of users registered in bbpress to “subscriber” the display name field is still blank. So unless I am missing something, you do need to fix this problem. Otherwise, bbpress registrants become subscribers login at wordpress and their username shows as Anonymous.