Cheers Nightgunner, it seems obvious now but that was indeed the problem. With your help AdSense for bbPress is now available at https://bbpress.org/plugins/topic/adsense-for-bbpress/
Newly started Swedish cycling webzine and forum… WP and BBPress integration and I have also integrated phpwebgallery though that one is still under development as I have to figure out how to make it fit into the design of the site… (Uhm, yeah, the private blogs on the site are extra installations… can’t run wpmu on the current host and the subdomain hack didn’t work – should change host but can’t afford it atm…)
http://www.chainlife.se/forum
Keeping it minimalistic… Though quite feature-packed.
@Fender:
You would need to have the link put into the post at the time of display, not at the time of posting. I already emailed you the plugin you asked for.
integration works perfectly for me now, with this new version.
i can log in and out of bbpress or wordpress, and it automatically logs in and out of the other one. i could never get that to work with the last version.
one tiny little thing though…. i’m not even sure that this is a mistake… but when you go to the log-in screen you always get the “Enter a username” message appear next to the username box.
I am guessing that that is actually supposed to be an error message, and should only appear if they try amd submit without filling in the box — like it does for the password field
getting the same errors as criketos
I’m guessing that one of the php function used in the new release of bbPress only supports PHP5 
http://bugs.php.net/bug.php?id=25670
I would like to install bbpress 0.9.0.4. but at the second step (http://vinblog.com/forums/bb-admin/install.php?step=1).
I have error “Warning: can not yet handle MBCS in html_entity_decode ()! in / home / vinblog / www / forums / bb-includes / wp-functions.php on line 113. “
someone would have the solution?
THANKS
christian
paste the code into the SQL field in phpmyadmin
export the result to a CSV
import the CSV to your bbpress forum tables.
I was able to achieve most of what I wanted to do with almost no core hacks.
I editted my template front-page.php to basically be topic.php but without the re_permalink() ; call and statically setting $topic_id = 2.
The core hack I made was to change functions.bb_templates.php to modify all location query functions to trick it into thinking ‘front-page’ is topic-page instead (these are mostly case statements inside functions like is_front() and is_topic()) , meaning that post.php, post-form.php and /bb-post.php all fuinctioned on my new front page in the same way they would on topic.php. I would prefer to develop a plugin that did this modification, but I don’t have time to make one.
So it essentially does what I wanted it to do, albeit with a core hack that will have to be manually maintained in future releases unless a plugin is developed.
In the last few days, I’ve basically discovered that neither WordPress or bbPress can do more than 60% of what I want, and it’s a different 60% in each case. bbPress has one major advantage for me over WordPress right now, and that is bbPress Moderation Suite. WordPress has nothing remotely resembling it and I doubt I’ll be able to find someone willing to build it, even for cash. But even bbPress Moderation Suite is missing one key thing for me, and that’s email notification to the users, but Nightgunner is working on that one already.
In places where something is entered into the users_meta table, it might be a good idea to prefix ‘bb_’ in front of your added values.
Honestly I’m surprised there isn’t a strict standard about something like this. WordPress modifications are the same way, often times emitting the ‘wp_’ which in my mind feels like it could cause some complications in the future.
Also, I noticed that there’s even places where both WordPress and bbPress don’t follow this in the core as well. I realize that it was never the intent to allow plugin access to those areas, but now that the proper hooks are in place and things are sharing that same space, it seems like the logical thing to do.
Has anyone got search results to work ok with this plugin?
The post_link() on my search results are missing the base directory and forum slug (ie: they look like http://domain.tld//topic-slug#id)
Also, the My Views plugins don’t seem to work properly, has anyone else noticed this?
Yes, you should use absolute pathing. Try this:
Redirect 301 /bbpress/register.php http://www.scopedin.com/wordpress/wp-login.php?action=register
You want bbpress/register.php and NOT your theme because the main register.php is actually what gets called.
Well, I tried…it validated, but it doesn’t seem to be doing anything. The file in question is:
http://www.scopedin.com/.htaccess
the contents are:
# Use PHP5CGI as default
AddHandler fcgid-script .php
Redirect 301 /bbpress/my-templates/my-kakumei/register.php /wordpress/wp-login.php?action=register
Do I need an absolute pathname for the last parameter? Both of these are relative off of my public_html directory.
Update:
(Nevermind this stuff below. WP does this even without bbpress, it may be the template.)
Removed the cookie code from wp-config above.
Checked “must be logged in to post comment” option in WP Discussion options.
Logged in with a Subscriber account. Posted comment. Tried to click “Logout” on comments page. Continue to get error:
“You are attempting to log out of The Site
Please try again.”
Difference between the URLs in admin vs comments page.
Admin “logout” url: ****/wp-login.php?action=logout&_wpnonce=stringofcharacters
Comments “logout” url: ****/wp-login.php?action=logout
Hello.
Installed wp2.7 in root dir, and bbpress alpha 6 in sub-dir. Enabled permalinks, added code to htaccess in sub-dir.
Test 1. Logging in to wordpress admin.
Navigate to comments: shows logged in as admin user
Navigate to forum: not logged in
Navigate to forum admin: not logged in
Test 2. Logging in to bbpress admin.
Navigate to comments: does not show as logged in as admin user
Navigate to wp admin: logged in as admin
Is this how it’s supposed to work?
More info:
After adding the following lines of code to the wp-config file:
define(‘COOKIE_DOMAIN’, ”);
define(‘COOKIEPATH’, ‘/’);
This does not change anything except, if I am logged in to the WP Admin, I can not log out. Clicking Log Out presents:
“You are attempting to log out of The Site
Please try again.”
Am I missing something with the code above? Should I be adding the domain name somewhere?
I appreciate your help.
A day later and I managed to somewhat temperamentally find a work around. I now have a new problem and figured it wasn’t worth creating a new topic for this.
I requested, and had approved, a request to have my plugin hosted with plugins-svn.bbpress.org. Other than an initial import call I’m locked out of the svn for my plugin: https://plugins-svn.bbpress.org/adsense-for-bbpress/
Whenever I try to delete or upload a file I get:
Server sent unexpected return value (403 Forbidden) in response to CHECKOUT
request for ‘/!svn/ver/1629/adsense-for-bbpress’
A quick Google tells me that “my profile wasn’t in the repository’s list of allowed users. Talk to the admin of the repository to see if you have rights (check the repo’s .conf file)” (from https://wordpress.org/support/topic/206466?replies=4).
If someone with svn access could confirm or clarify where I go from here I’d appreciate it.
Cheers!
I’m also looking to switch from Vanilla to bbpress. Using the above SQL statements, how does the data get copied from the vanilla tables into the appropriate bbpress tables?
I am unable to install bbPress. I upload the files to my Web server (into a directory named /bbpress/) then browse to that directory. The page comes up as expected, telling me that I have no bb-config.php. When I click the “let’s get started” link, the following address appears in my address bar:
http://<host name>/bbpress/bb-admin/install.php?step=1
But instead of the database configuration form, the page appears not to change. That is, I just see the “missing bb-config.php, click here to get started” page again.
Nothing of obvious interest appears in my Apache error log. Here’s all I get:
[Mon Jan 12 15:22:19 2009] [error] [client <IP redacted>] PHP Notice: Undefined index: language in <web root redacted>/bbpress/bb-admin/class-install.php on line 337, referer: http://<host name>/bbpress/bb-admin/install.php?step=1
[Mon Jan 12 15:22:19 2009] [error] [client <IP redacted>] PHP Notice: Undefined variable: l10n in <web root redacted>/bbpress/bb-admin/install.php on line 29, referer: http://<host name>/bbpress/bb-admin/install.php?step=1
[Mon Jan 12 15:22:19 2009] [error] [client <IP redacted>] Symbolic link not allowed or link target not accessible: <web root redacted>/www/favicon.ico, referer: <host name>/bbpress/bb-admin/install.php?step=1
I thought it was a problem with 0.9.0.4, so I tried using 0.9.0.3 instead. No luck.
I tried on a second Web server and the installation worked there. Both servers are running Apache 2.x, PHP 5.x, and MySQL 5.x on FreeBSD. Here are the differences in the version numbers:
Server where it doesn’t work:
FreeBSD 6.3-STABLE
Apache 2.2.8
PHP 5.2.8
MySQL server 5.0.51a
Server where it does work:
FreeBSD 6.0-RELEASE
Apache 2.1.9
PHP 5.2.8
MySQL 5.0.27
The two servers’ Apache configurations are very similar, if not identical. Before I start comparing my httpd.conf files line by line, perhaps someone can point me in the right direction. Any suggestions or clues?
oh, this is with bbpress 1.0 and wordpress 2.7
i had the same issue, but it turned out that bbpress had not written any of the key info to bb-config.php, despite me specifying this on installation. i added this manually and it worked:
define(‘BB_AUTH_KEY’, ‘wp-auth-key’);
define(‘BB_SECURE_AUTH_KEY’, ‘wp-secure-auth-key’);
define(‘BB_LOGGED_IN_KEY’, ‘wp-logged-in-key’);
define(‘BB_NONCE_KEY’, ‘wp-nonce-key’);
define(‘BB_SECRET_KEY’, ‘wp-secret-key’);
define(‘BB_AUTH_SALT’, ‘(wp-auth-salt’);
define(‘BB_LOGGED_IN_SALT’, ‘wp-logged-in-salt’);
the first four are in wp-config.php and the second two are in the options page of the wordpress admin menus.
bbPress is NOT a plugin, it’s a separate application that can be integrated with WordPress.
Follow these directions to install bbPress.
If you want to integrate bbPress and WordPress, note that if you are using WP 2.6+, you must use the ALPHA build of bbPress. During your install process, you will be asked about server settings. Tell bbPress to point to the same DB you used for WordPress (don’t worry, it won’t overwrite anything, but do make a backup anyway to be safe).
The Basic Integration Screencast should help you some.
Woah! Total newbie. Have wordpress installed on my host at http://englishforuniversity.com I have installed various plugins. But it looks like bbPress is NOT a plugin. I cannot understand any of the install instructions. I need to upload it to my host, but where do I put it? All the other things I have put into my wp/plugins. I have been looking but the instructions are way over my head. Any tips?
Pat
Oh, I’m sure it works just fine. The “yuk” was elicited by this:
5. search your bbpress templates and force all registrations/logins through wordpress from the several places they are buried on the forum (the WP login interfaces are far more developed) – unfortunately at least one bbPress login location is hard coded in the core which will require a direct hack everytime you upgrade.
I was hoping for something more one-time, but…I think I can live with this.
Specifically regarding the Approve User Rrgistration plugin.
Fatal error: Class ‘BB_User’ not found in …/bb-plugins/approve-user-registration/approve-user-registration.php on line 58
I’ve seen in some other plugins compatible with 1.0 the use of ‘WP_User’ and ‘BP_User’. I’ve tried using these and there is no error, but the plugin doesn’t work…
Anyone know how to fix this? I really need the features of this plugin – it would be really good if it was a standard option in bbPress.
In my WordPress functions.php file, I am queuing up jQuery for some interface objects I’m using.
wp_enqueue_script('jquery');
It seems this messes with bbPress’s javascript inclusion, causing none of the JS from bbPress ever to get loaded.
Because I am using jQuery also in bbPress, is there a way around this that anyone can think of?