I need more info than “didn’t work”
Try replacing $bbdb with $wpdb
and remember to use $wpdb on WordPress pages, vs $bbdb on bbPress pages
I want to query $bbdb from a wp page. In particular, I want to fetch the total amount of views from your bb Topic Views plugin. This code didn’t work;
<?php
global $bbdb;
$results=$bbdb->get_results("SELECT SUM(meta_value) FROM bb_meta WHERE object_type='bb_topic' AND meta_key='views'");
$results=$bbdb->get_results($query);
?>
WordPress is installed in /wordpress/ and bbpress in /wordpress/bbpress/ both deep integrated. What’s missing?
I’m going to try this today! I hope it works, because I love WordPress and BBpress..
Thanks Ann, so far so good…..no problems on that end.
If you undo the integration (don’t include WordPress inside the bb-config.php) does it still happen?
Also, are you using a language other than English?
What version bbPress are you using? Is it integrated with WordPress, and if so, what version? Are you using a language file other than English?
When I post code samples in my bbPress install, all quote marks show up like this:
"
This includes when I use backticks and/or buttons. Neither work.
For instance, when I post this code:
<div class="box">This is a box</div>
It becomes:
<div class="box">This is a box</div>
I am using the beta version of bbPress with WordPress integration. I have deactivate all plugins and switched themes, so I know it is a problem with my bbPress code.
Thoughts?
[code] buttons. Neither work.
For instance, when I post this code:
<div class="box">This is a box</div>
It becomes:
<div class="box">This is a box</div>
I am using the beta version of bbPress with WordPress integration. I have deactivate all plugins and switched themes, so I know it is a problem with my bbPress code.
Thoughts?
What versions did you integrate? What bbPress or WordPress plugins have you installed?
oops johnjamesjacoby: must have missed your reply a month ago. I am using the Fold Page List plugin for WordPress. I suspect those classes come from that.
http://www.webspaceworks.com/resources/wordpress/30/
Chris-
I am attempting to build a VERY similiar navigation to what you have linked to. As in, tabs along the top and a growing tree down the side, with the current tab selected for child pages. Could you expand a bit on your previous post on how you achieved this?
-Westy
Thanks Chris,
Simple mistake. I just had an extra folder in there somewhere!
Hi,
I recently setup a bbpress forum (http://dphs.com/wp-content/plugins/bbpress/) and integrated it with my wordpress site (http://dphs.com). My admin login works fine (same as my wordpress login), but my keymaster login is not recognized (login failed). I deleted my cookies to see if that helped, but may just have made it worse. Any insight?
Thanks!
You have the URI to the site wrong somewhere, I think. Your forum is here:
http://gpsobsessed.com/forum/bbpress/
But I think you want it in one of these two places:
http://gpsobsessed.com/bbpress/
http://gpsobsessed.com/forum/
So, somewhere it’s gotten mixed up. At the full URI, the path to the stylesheet is wrong as well, which is why it looks so strange there.
Btw, when you do cookie integration please keep in mind that there are some login hooks in pluggable that might not be called in either WP or bbPress depending on which side your user logged in from. This might affect the functionality of some plugins.
For example, after rerouting all my bbPress logins to WP I realized that the ‘bb_set_current_user’ action hook on a bbPress plugin I used was no longer being called, so I had to incorporate it in on the WP side using the ‘set_current_user’ hook.
Hey there:
I’ve search through the forums and found quite a few 404 issues but mine is preventing me from login right off the bat. My integration with WP 2.7.1 was successful, but when i try to login to http://gpsobsessed.com/forum using my WP login I’m returned a 404. How do I fix this?
Thx,
Justin
Got the problem…..when copying the secret from the options.php in wordpress to enter into the WP INtegration in BBpress, on submit bbpress (or something) was stripping the final character off the secret string. I checked this twice to make sure it was happening, and then edited the record by just pasting in the “).” Voilla. Ann’s cookie worked!
Do not even “try” the alpha as you can then never go back to 0.9
Many plugins will not work with the alpha and won’t for some time.
You want to downgrade the wp cookies. Use Ann’s plugin.
CK I installed the plugin with the salt keys, etc……and there is evidentally a little progess as the cookies do not conflict as before, but the integration hasn’t worked either. Not sure what the issue is but in the docs there are not a precise definition of the secret key. Is the database secret key that you refer to the key I have defined in the config, php that holds the database name, password, etc…..or is that the “secret,” randomly derived string that is listed through options.php as “secret”? Also, since I am using .9, where exactly are the bbpress integration settings in wp……there was a new-plugin, but that was for 1. alpha, right…..not for .9?
Excuse me because I am new to this, but does it make sense for me to upgrade to the alpha version, is that easier to integrate? Or do I want to go the other direction and downgrade the wp cookies.
Thanks in advance>>
Andy
WordPress
|—- BBpress
aka :-
massbase
|
/community
|
/bbpress inside here
|
/rest of wp’s files..
wordpress is on the root and bbpress isin a folder called /community
http://www.massbase.com/community
im resintalling it all now, all same versions.
No, it’s probably becuase it’s Sunday.
bbPress isn’t a WordPress plugin, so unless you have conflicting htaccess files, I can’t see why that would happen.
What folder is bbPress loaded in and what folder is WP loaded in?
andyimages, to use WP 2.7 with bbPress 0.9 you need one of the two plugin solutions now updated in the first post. Changing the cookie path is not enough, you have to change the cookie method entirely.
if (file_exists(‘../wp-blog-header.php’))
require_once(‘../wp-blog-header.php’);
^That line of code causes a lot of stress on my bluehost site. With that code active, I get “This Account Has Exceeded Its CPU Quota” all the time, deeming my site unusable.
Is there another way to have the bb-config find the wp-blog-header? Everytime the server has to search for it, it takes fooooorever, which also slows down the rest of the site, then I get suspended by bluehost and can’t access anything.
It’s weird though, because this code will slow up the rest of the site that isn’t even using the bb-config. I’ll load up mydomain.com and it’ll go soooo slowly while that code is active – this, even though my bbpress config is way over there at mydomain.com/forums. If I comment that code out, everything is fast and zippy.
WP 2.7
BB 0.9
So far I am failing on this. I am going to try the plug-in that xurizaemom has suggested…..my integration is failing and I have tried the suggested method running WP 2.7 and the latest bbpress 0.9.0.4 .
There is definitely some conflict between the cookies as if I login as admin on wp, then go to bb, clicking on the admin link fails and I am redirected to the front page instead of admin area. Logged out of WP, and logging into BBPress as admin, the link works properly and the admin panel opens…
The wordpress is in the the root directory and bbpress in its own directory in the root.
WordPress: 2.7.1
BB Press: 1.0-alpha-6
wordpress: permalinks enabled name based
bbpress: permalinks enabled name based
WP plugins:-
Akismet 2.2.3
Google Analytics for WordPress 2.7
WP-Syntax
BBP plugins:
none
PROBLEM: –
as the keymaster logins through forum, he can login to wp-admin.. but the problem is, that he can’t see the posts on the actual WP site. Instead of seeing the posts, the keymaster (guy logins through BBpress) sees this:-
Error 404 – Not Found
The page you were looking for has either been deleted or moved.
Do you want to search for it?
The installation had no errors at all, and seemed fine. And my friend who logins in from New Zealand can see the post, but im not sure if hes logged into the forum yet. So I dont know whether its a cache thing even though iv cleared my cache several times. It only happens when i login through bbPress.