I have a site with a wordpress/bbpress integration using a modified Atahualpa/Kakumei theme. My wordpress is version 2.8.1 & my bbpress is version 0.9.0.5. and it all works fine.
I want to upgrade to the latest version of bbpress( version 1.0.1 ) but when I tested it I get backslashes before any single or double quotes no matter where I’m at in bbpress. It happens in topic titles, topic contents, when putting in the name for the site etc..
Both work fine with the integrated logins and cookies. The problem only comes after I’ve put my reference to wp-blog-header.php in the bb-config.php file.
I could do the hack that was suggested earlier but the downfall to that is that you won’t be able to have backslashes at all in anything.
I’m thinking maybe the problem is that bbpress is using wordpress’s apply_filters function instead of its own, but that is a guess.
Anyone got any ideas?
Oh and besides the bbpress-integration plugin in wordpress i’m not using anything else on the test I did.
@toosalty & @navjotjsingh
WordPress 2.8 integrates easily with bbPress 1.0
I just wrote a post today : http://blog.ashfame.com/2009/07/integrate-bbpress-10-with-wordpress-28/
I will also be writing a post on how to upgrade existing integrated installations (most probably tomorrow morning). Let me know if you are facing any issue, I will try to help.
P.S. – No plugin is now needed for integration.
Fistly excuse my english ….
Hi, i have integrated bbpress inside my wordpress installing on the same database.
The problem is that i have made all the integration except the user relation, so now i can logon like admin user on bbpress but i can’t change nothing
it seems to be a normal user
Can i do manually (changing the database) to assign admin user as administrator ????
You could do that with a third plugin for sure. I haven’t automated it because rebilling through Paypal is a pain… so I have someone manage it manually.
I think WordPress MU has a plugin that does something similar. Maybe you could adapt that?
mmm, just noticed that cookies with _utma, _utmb etc. state they come from
.MYWEBSITE.com
whereas the “wordpress_logged_in_NUMBER” states it’s website as
www.MYWEBSITE.com (without the http this forum is auto adding it)
could the fact that it has www at the start be the issue?
My test site, on a subdomain, shares the same source – but then because its a subdomain it doesn’t have the www at the start.
thanks for your continued replies ck.
They definitely have a different name.
wordpress_logged_in_TWOdifferentVALUES
tried to do the clear cookies thing in a function but, even though it’s running correctly, the cookie reset is getting ignored. Can’t figure out why
I also can’t login to both installs simultaneously. I am using WordPress 2.9 rare and BBPress 1.0.1 version. Please help.
Here is what I have thus far. bbpress is integrated with WordPress, So login is synonymous on both. However, I would like users to only be able to register from WordPress. I know it is pretty easy to just change the register link on bbpress to that of the WordPress registration page, but I also want to drop bbpress’s capability to send an email on either “Registration Mail” & Approval Mail settings. It is no longer needed if the user registers on the WordPress page and both are pulling user info from the same table.
Does this matter if I change the link to the WordPress registration page,and the settings are still available? And if so how would I go about disabling this?
Hi, when i click on a username it says:
“Username not found. Go back to xxxx/forum”
I have bbPress 1.01 and wordpress 2.8
How can i solve this? Thanks in advance
Wow… that’s incredibly aggressive given that 1.0 hasn’t had time to be field tested, and also the state of 1.0 plugins.
Sam, can 0.9 be restored as an easily available option? It can be played down if you’d like – even something low key like the WordPress release archives would be great:
https://wordpress.org/download/
If the new cookie has a different name, you should not be having a problem because bbpress should not even be looking at the old cookie?
You are getting a header error because you would have to put it at the very, very top of header.php before doctype – if that doesn’t work, you’d have to add it via a mini-plugin, put it into a file called function.php in your template folder
add_action('bb_send_headers','delete_old_cookie');
function delete_old_cookie() {
setcookie('wordpress_logged_in_REPLACEDcabef','',time()-3600);
}
Thanks _ck_. I’m sure it’s easy when you know how.
The cookie now has a different name.
my old cookies are:
$bb->authcookie = ‘wordpress_REPLACEDcabef’;
$bb->secure_auth_cookie = ‘wordpress_sec_REPLACEDcabef’;
$bb->logged_in_cookie = ‘wordpress_logged_in_REPLACEDcabef’;
I was messing with
setcookie('wordpress_logged_in_REPLACEDcabef','',time()-3600)
just placing in the head of my page but I get a headers already sent message.
I guess the 1.0.1 update fixed it so far. still got two remaining issues:
– the feed still shows every topic/post double
– my key master still has (Inactive) after his name, refreshing sometimes shows him as (key master) but rarely although the integration works, wordpress realizes the user is a keymaster and logged in I can go to the admin part of wordpress and bbpress without hickups, but when viewing a key master’s psot, it still says: Inactive
Are new users created in WP left as inactive (no role) until they sign in? We saw a bunch of users marked as inactive, but plenty of users posting just fine.
When I went into WordPress Integration Settings – User Role Map everything is set as it should be. Clicking ‘Save Changes’ (without actually making any changes) automatically switched all users marked inactive to member.
We had someone report they were unable to login so I went to check the user’s account and that was when I found his inactive role along with dozens of other users.
When trying to replicate it myself with new, test registrations any user I can create that shows up inactive is immediately switched to member on the first log in.
The main reason I ask if because the number of inactive users seemed very high and simply clicking ‘Save Changes’ and having them all switch in unison seems a bit odd.
Has this been solved? I’ve been trying to figure it out as well. Everything I’ve found is for wordpress-mu and I’m not sure what needs to be changed to use it with regular wordpress.
I found this http://insecure.no/2009/01/wordpress-and-bbpress-nice-url-rewrite-for-nginx/ it sort of works. pretty permalinks work but any attached files such as the css sheet or jquery.js returns a 404 not found error. Any Ideas?
# SEO friendly URLs for bbPress
#
location /forums/ {
root /path/to/YOURDIRECTORY/public_html/forums;
index index.php;
if (!-e $request_filename) {
rewrite ^/forums/topic/(.*)$ /forums/topic.php?q=$1 last;
rewrite ^/forums/forum/(.*)$ /forums/forum.php?q=$1 last;
rewrite ^/forums/profile/(.*)$ /forums/profile.php?q=$1 last;
rewrite ^/forums/view/(.*)$ /forums/view.php?q=$1 last;
rewrite ^/forums/tags/(.*)$ /forums/tags.php?q=$1 last;
rewrite ^/forums/rss/(.*)$ /forums/rss.php?q=$1 last;
rewrite ^/forums/bb-admin/ /forums/bb-admin/index.php last;
rewrite ^/forums/ /forums/index.php last;
break;
}
}
John,
I do not have a WordPress install attached to bbpress. The upgrade went smoothly except for one error that said I already had forums. Other than that, everything seemed to work fine except for the registration. For registration, I am using the plugins “approve user registration”, “terms of service”, and “human test”, but I had deactivated all of these prior to upgrade and then again when testing the default theme.
Ah ok.
While we wait for someone to weigh in on this, quick obligatory question: are you using WordPress as well? If so, what version… and have you integrated signin?
In 1.0 you could use xmlrpc to do that and convert a plugin from WordPress if such a creature exists.
Your best bet is to use a service that is optimized for mobile, maybe like flickr and then use a plugin to post it elsewhere.
I have to say that while I may not agree with some of the politics around the 1.0 release, the amount of effort Sam has put into 1.0, especially over the past few months, is simply amazing and very impressive. Converting the entire bbPress core to use the WordPress core was not a trivial task.
is it possible link, for each registered user, the link to the relative profile on bbpress ?
thanks so much _ck_, it works!
For WordPress:
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); echo '?' . filemtime( get_stylesheet_directory() . '/style.css'); ?>" type="text/css" media="screen, projection" />
For bbPress:
<link rel="stylesheet" href="<?php bb_stylesheet_uri(); echo '?' . filemtime( bb_get_active_theme_directory() . '/style.css'); ?>" type="text/css" media="screen, projection" />
Creates a unique number (based on time) after the filename which is automatically updated if make a change to your stylesheet.
@_ck_:
See https://codex.wordpress.org/Version_2.7#WordPress_Upgrader – “All file operations are performed as the user that owns the files, not as the web server’s user. All files are set to 0644 and all directories are set to 0755, and writable by only the user and readable by everyone else, including the web server.”
Regarding the phoning home “with all your install info” – according to the docs, the only info sent is your version and locale. I haven’t checked this myself.
Most WordPress users find the “automatic” upgrade very useful, and most bbPress users would too. The sooner it’s available the better, in my opinion, though I don’t know how much work is required to port it from WordPress.
Simon, thanks! That’s perfect for me (since everyone signs up via WordPress on my sites).
Where can I find the document about bbpress with memcached?
I tried to use the object-cache.php for wordpress but it seems does not work.
Can anybody help me?
Thanks in advance.