I worked through the screencast to integrate bbPress with wordpress and all seems to be working well.
The thing is I can not figure out how to get bbPress to work within my theme, I want the wordpress theme to be a kind of ‘wrapper’ for the forum, putting just a link in the header to the forum, then for bbPress to come up on the page.
Is there a simple code tag I can put on a page to make this happen or else how do I do it?
Disable all plugins! upgrade the bbpress RC-1,
try again. if persist it sounds like your user tables are mangled probably due to something similar to dragunoff
https://bbpress.org/forums/topic/not-able-to-make-new-posts-database-error
you try to clean up using – http://lesterchan.net/portfolio/programming/php/#wp-dbmanager
.. are you sharing tables with your wordpress installation?
Thank you very much johnhiler, I should have searched better.
I will try these plugins.
i think its got to do with the host using VHOSTs
I’m interested in anti-spam measures that the moment, with just setting up two forums. I use Akismet and the Human Test plugin. I guess this berk was human (almost), but Akismet hasn’t flagged it as spam and removed it. I get the impression from their site that it should. If it doesn’t flag it, does an admin have to mark it as spam and delete it..?
Ok so I started the install of bbPress and ran into this same issue so I stopped at step 2. Now I know I need to install the 1.0 version, but since I’ve already configured the database( Part 1 of install ), does that mean I’ll have to erase/change/do something to the database besides just deleting the bbPress files and uploading the new version?
Also, I never put the secret keys in when I installed wordpress. Does that mean I’ll have to resintall to put the secret keys in, or can I simply change the config file and over-write the old one and everything will work that way?
This plugin should send all moderators/admins an email whenever a post is made by any non-moderator/admin:
https://bbpress.org/plugins/topic/moderator-new-post-notification/
Or alternatively, this one should hold all posts in moderation until a moderator/admin has approved it:
https://bbpress.org/plugins/topic/bb-moderation-hold/
Hope one of those does the trick for you!
Thanks for your response.
In fact, I’m just interested in sent a mail to one moderator (or mail list of moderators) when every comment or topic is post. Other option could be to impose previous moderator revision to all comments before they are post. However, I have not found any plugin to do so. I tested Moderation-suite but it doesn’t fit our necessities. Any idea?
So what cookies do you see when you login through bbPress?
What cookies do you see when you login through WordPress?
What are the differences? Either you’re missing a hash, or your host is wrong, or the path is off. Something is missing.
I’ve tried this as well: if( !wp_validate_auth_cookie() )
but haven’t had any luck.
Sweet. I’ll definitely look into this.
Thanks!
I’m not expert enough to give advice on what hooks to use… but it might be worth checking out this related plugin (and ck’s recent comment about its general approach):
https://bbpress.org/plugins/topic/force-login/
Good luck!
In case it helps, when I connect to my server with an FTP program, there are a stack of folders on there. The one I have to put my forum (and other website pages) in is named ‘public_html’. Of course, I can create a folder within that, and transfer bbPress into it, as cldnails says.
I think the public folder on a server I used a couple of years ago was ‘_html’, not ‘public_html’. You just need to be sure you’re uploading to the right place, or you may not be able to run the installer from your browser.
Hi guys,
This is my first post here, but I’ve been building an wp/bb integrated site for a few weeks now, and I’ve come to the point where I think it’s time to write my first plugin. I want this plugin to redirect users to my WordPress login page if they are not logged in. It is important that the forums remain private and also that there is only one point of entry to the site for users, so as to avoid any confusion.
I have _ck_’s Hidden Forums plugin set up to control access to forums, and that’s working fine, but I need some advice on how to handle an issue or two in the code I’ve written so far. Now, I don’t do a ton of programming, and this is my first attempt at anything like this, so bear with me if I’ve committed any cardinal sins.
<?
add_action('bb_init','login_redirect_init',300);
function login_redirect_init()
{
global $bb_current_user;
$id = (!empty($bb_current_user)) ? intval($bb_current_user->ID) : 0;
if( $id < 1 )
{
$redirection = 'http://'.$_SERVER['SERVER_NAME'].'/caa/wp-login.php?redirect_to='.$_SERVER['REQUEST_URI'];
if (function_exists('status_header'))
status_header( 302 );
header("HTTP/1.1 302 Temporary Redirect");
header("Location:".$redirection);
exit();
}
}
?>
As it is now, accessing bbPress redirects to wp-login with the proper redirection URL (I’m using the WP Members Only plugin), but then logging in from there kicks me back to the wp-login page again. I’m thinking that perhaps bb_init
is not the hook for me, as it appears that the login process is not getting a chance to do its thing, and thus I’m getting booted out. As a test, I tried bb_head, but of course the headers have been sent by then, and the redirect does not work.
So, if this is in fact the issue, what hook should be using? Or am I going about this all wrong? I’d really appreciate any and all input into this. Thanks, guys.
Don’t you have a backup? Things are definately possible to resolve here but it would be simpler if you can restore backup and then integrate them. I havn’t tried integrating WP 2.7.1 with bbPRess rc 1 as it makes no sense to me doing that on a live site. WP 2.8 and bbPress 1 will have integration features that will work out of the box.
Consider integrating the stable releases of both WP & bbPress only. I have written a tutorial on this on my blog : http://blog.ashfame.com/2009/05/integrate-bbpress-forum-wordpress-setup/. Let me know if you need more help.
Don’t you have a backup? Things are definately possible to resolve here but it would be simpler if you can restore backup and then integrate them. I havn’t tried integrating WP 2.7.1 with bbPRess rc 1 as it makes no sense to me doing that on a live site. WP 2.8 and bbPress 1 will have integration features that will work out of the box.
Consider integrating the stable releases of both WP & bbPress only. I have written a tutorial on this on my blog : http://blog.ashfame.com/2009/05/integrate-bbpress-forum-wordpress-setup/. Let me know if you need more help.
If you are using the stable release of bbPress (0.9.0.4), then my guide should be enough : http://blog.ashfame.com/2009/05/integrate-bbpress-forum-with-your-wordpress-setup/
Let me know if you need more help.
I do have got my cookie salts set up properly;
auth_key
secure_auth_key
logged_in_key
nonce_key
auth_salt
logged_in_salt
secure_auth_salt
all set in WP
and their BB variaties in bbPress
and ive got the bbpress integration plugin up and running (and active …)
There is an excellent WordPress plugin that I use for one of my blogs that might be a good starting point for making your own plugin for bbPress if you can’t just outright convert it for bbPress.
http://www.papersealfury.com/blog/witt/
Just noticed this with the current trunk myself.
For my particular installation, it looks like the forum didn’t get put in the DB. No forum in bb_forums forces bbPress into install mode.
Can you open up phpMyAdmin and verify if you have any forum in your bb_forums table?
Hi, I successfully complete the whole installation process of the bbpress but even after a successful installation it always divert me to the installation everytime I visit my forums
http://www.mydomain.com/forums. wordpress mu is install on the root.
plz help me.
thanks
Sounds like you need to sync up all of your salts and keys, and check out the cookies that get dropped from both sides when logging in.
Remember you will still need the bbPress Integration plugin on the WordPress side to drop the bbPress cookies.
The way I do this, is to use Firefox, login through WordPress, and look at the cookies. Then delete them. Login through bbPress, look at the cookies. Which ones are missing from either side? Which information doesn’t match? That will be your clue to getting them synced up.
Once you know what you’re looking at, this process shouldn’t take more than 20 minutes.
_ck_ mentioned something about a higher-level htaccess file that sounded promising:
https://bbpress.org/forums/topic/add-new-goes-to-404-for-logged-out-users#post-31541
Htaccess files vary from server to server, which may explain why you’re seeing this but other users aren’t consistently hitting the same issue… could that be a potential source of the issue?
bbpress 0.9.04
wordpress latest post 0.20
Reputatioin 0.0.6
BBpress Latest Discussion 1.3