ok. I’ve figured out whats causing the problem. It comes down to the Default Role Plugin. There is nothing wrong with the plugin itself other than the fact that it relies on wordpress functions. Thus you need to load wp along with bbpress. To do so I have the following added to the top of my config.php file.
require_once('../wp-blog-header.php');
define('WP_BB', true);
With the two lines in the config.php file the allow images plugin does no work. I even tried disabling the Default Roles plugin and leaving the 2 lines in config.php to make sure the plugin wasn’t the culprit. If I remove the two lines the Allow Images plugin works as expected.
I don’t know much, but I could take a stab at whats happening. Is it possible that when a reply/topic is made, bbpress is calling wordpress functions instead of bbpress functions?
I reported it Chris. Just one of those things. I think bbPress is on the same server as WordPress MU, but I can’t confirm that. It just seems they are both slow at the same time…..
Trent
I registered, and could not log in with my username and password. Also, I never received a welcome email. So, something is screwy, for sure. Can you look in the database and be sure the users were added? Are you integrated with your WordPress install?
I have it installed, now I can’t log in. I know I have the right username and password.
Here’s my forum.
http://llabrealityblog.x10hosting.com/wordpress/forums/bbpress/
bbPress is not a plugin for wordpress. You are better having it as a subdirectory, such as wordpress/forums/, but don’t have it in /wordpress/wp-content/plugins/.
Try it’s own directory with nothing to do with wordpress.
Trent
http://www.reverse-mortgage-information.org/bbpress/
My first use of bbpress for my niche site. Plugins in use (so far):
bbPress signatures 0.14
allows users to add signatures to their forum posts, including an optional per-post toggle
By _ck_.
Comment Quicktags for bbPress 1.1
Inserts a quicktag toolbar on the post topic form. js_quicktags is slightly modified version of Alex King’s newer Quicktag.js plugin modified from original found here.
By Stefano Aglietti.
bbPress Integration 0.74
Synchronizes registrations on your bbPress installation with your WordPress blog.
By Michael Adams.
Simple bbPress Adsense 0.1
An plugin that includes an adsense advert just above the content on the topic page.
By Rich Boakes.
BBPress Private Messaging 0.80
Integrates Private Messages into BBPress
By Joshua Hutchins.
bbpress tweaks 0.04
misc tweaks for bbpress behaviour
By .
And, Refresh theme with some tweaks.
Thanks
Now I’m getting this error:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/llab/public_html/wordpress/wp-content/plugins/config.php on line 14
It won’t let me move the config.php file.
If when I put my WP log in form into bb-login.php and when that redirects to wp-login.php but shows a 404 (when the file is there), should I go to WordPress MU forums to ask for help?
>>>>
OK It also happens when I put bb-login.php into the code instead of wp-login.php, but I’m sure it’s still a WP/MU thing.
Putting my WP login box on the sidebar of the main page of the forum works however, so what I really need is to be able to change the log in message at the bottom of those pages.
I think that wordpress.com should also be in there as it is a large site!
http://en.forums.wordpress.com/
Trent
hummm… now all of a sudden posting images doesn’t work again…
I’ve installed the following plugins
Use Display Names
Defualt Role
WordPress Integration
Allow Images
I haven’t modified any of the core files. I’d like to avoid another fresh install, but that may be my only option. If thats the case I’ll reinstall the plugins one by one to find out if thats the culprit.
Here is my solution!
Plugins for WordPress integration
I hadn’t read that before since the title didn’t seem to suggest it was my problem. I went through all those steps, too. I need to skip down to the good stuff. Heh heh.
Read my posts above with regards to running bbPress in a sub-directory and having WordPress mod-rewrite rules in the parent directory.
Another update:
I just wrote an add-on to my WP plugin, and it works with BBPress. It relates to the post author, just like the WP plugin related to a post or comment author. It even uses IDs which turned out to be the same in both my installs. I have two users and they did migrate.
Now why am I having the login problem?
Anyone have a workaround?
I want to hook, et whatever, into the author id of a post to make my avatars plugin work with BBPress.
The docs just say it’s the same as WordPress, but not exactly. The tags are different and my original plugin doesn’t work anyway (or perhaps it’s an integration problem with my installs. I’m running MU).
I’m looking for equivalents like these or anything related
$the_author = get_the_author_id();
Where are the docs for the plugin API, basically? I don’t require you to look into what exact hooks, etc. I need, just lead me to info. If you want to do more, that’s fine, too.
Hi,
We’re using bbPress 0.8.2.1 integrated with WordPress 2.1.3. Before upgrading to 0.8.2.1 everything was ok. But after upgrading, something has broken.
bbPress cannot count these values properly:
– Numbers of topic and the messages of a member in his profile. (For example, a member who had 6 pages of messages in his profile, has only 1 page now)
– Number of “topics with no replies, topics with no tags, unresolved topics” values are wrong. Each has less pages now.
– In admin panel, the number of members is not accurate. bbPress says there 714 members; but this value is 6109 (this is the correct one) in WordPress.
What can be the problem? I can tell the plugins we use, if necessary to solve the problem. Thanks!
An update:
I don’t think my integration in general is working too well, because my avatar from my own avatar plugin is not displaying my user’s av. Of course this could be my plugin, and perhaps I need to work on an integration for THAT, too – ha ha.
But I’m really worried about my MU integration..
Looking closer I think it is the plugin in the sense that the post doesn’t bring up WP-type post code, but BBPress and the plugin doesn’t have that written. It’d have been nice for it to be more integrated on its own. I read others use their plugins on the forum pages. Sigh.
I searched, but there were only similar problem and another (only similar) MU problem was not replied to.
I have an MU site I’m building and I installed BBPress for it. Everything’s fine except for this issue. I installed the three integration plugins, and I logged in to the forum with my WP info and it shows my display name.
But here’s the thing. (This is not a browser thing but I find it funny to note I can see both instances of the problem at the same time..) In Firefox I’m currently logged into the forum and not WordPress, in IE it’s the opposite. If I log in to WordPress, it doesn’t log me into the forum and vice versa.
I want to get rid of BBPress’s logging system altogether and especially the registration, because I don’t want to chance it that it won’t work for my MU, like I read in another thread.
Currently I know this will be very annoying to my users, and I don’t want that.
Any help? Thanks.
I currently have a phpbb board and I want to switch to wordpress/bbpress. I was wondering with the phpbb>bbpress script also move all my users over? Also when I integrate bbpress and wordpress will that also allow my users to keep their same username across all three installations?
This is definitely worth doing. bbPress needs to have template functions that allow you to get the ‘next’ or ‘previous’ forum and topic. This would allow themes to include nice navigation links like ‘Next Thread’, ‘Next Forum’ instead of always having to jump to the front. WordPress does this for posts.
I’ve looked all around and I’m just not seeing anything like this.
I’m going to mess around with some code – it looks like the BB_Walker has a stepping ability built in that SHOULD make this pretty trivial, but I’m still getting comfortable with the inner bbPress classes and such. I’ll post here if I come up with anything. If anyone else has tried this or knows of a plugin that exists already – let me know. I couldn’t find one. Again – this isn’t pagination when you have lots of posts/threads. This is when you are in a topic or post view, being able to navigate to the next post, thread, or forum – i.e. like flipping pages of a book.
I just discovered something and wanted to run it by the forum. I agree…when I registered in bbPress and then logged into WordPress as the administrator, that new registrant was not given a role.
However, after I actually logged on as the new person and then logged BACK on as the administrator to see what was what…the person’s role was actually changed to “Subscriber” – my default role in WordPress.
So, if this is true, and I’m not missing something that could catch me up…it seems that this whole issue might be mute. Once the user actually logs in, their role is set as the default role so their rights are restricted by that role.
Has anyone else experienced this? Am I perhaps missing something that I’m really going to regret if I don’t fix this?
Thanks,
K
No I don’t mean a folder within a folder, that’s just fine and not a problem. I mean executing one within the other where they are both running at the same time on one page. That’s a huge amount of code and memory for any server, shared or dedicated.
The nice thing about the registration and login process is you can route back to any page you want as the wordpress system is much more developed. I have the code around here somewhere and posted it before…
see #5 on the list in this post:
https://bbpress.org/forums/topic/user-intregation-between-wordpress-038-bbpress-not-work?replies=7#post-10428
Two things:
I DO have my bbPress folder running inside my WordPress folder. You’re thinking this is a bad idea??? Any suggestions as to why? I thought I read on here that it wasn’t a bad idea to this. I probably read wrong though……
Second — if my bbPress IS actually inside my WordPress folder, any other ideas why I’m getting the error message?
I guess one more (sorry)…if you’re forcing all registration links to go to WordPress, where does this process take your users after they register? Back to bbPress? To WordPress? That might work…but for my site, I’d need it to go back to bbPress; I’m dealing with a lot non-techies and any weirdness will throw them for sure. I need to try and make it as easy as possible for them.
Thanks again for any help,
K
Ah apparently Detective’s method is for sites running WP at the same time as bbPress (not just integrated, running within each other – which I do not recommend). So this won’t work for most people.
I solved the problem by forcing all registration links to go through WordPress but obviously that’s not a perfect answer (and needs core hacks).
So this problem needs to be revisted again
I’m trying to create this plugin. When I try to register using bbPress, I get this error message…
Fatal error: Class ‘WP_User’ not found in /home/sbisdedt/public_html/web20/forum/my-plugins/default-role.php on line 11
The registration actually takes place; the person receives the email with the password; their registration shows up in both WordPress and bbPress.
But how do I stop that error message from appearing. What could I have possibly done wrong.
Thanks for your help.
K
Thank you for your response. I had actually already read that page and followed the steps. As it turns out, the issue was that when viewing the site on a MAC in Firefox, the login/site admin link always reverted back to login in WordPress; and even though I was logged in, in bbpress it always asked me to log in again. It did this when I jumped back and forth between the two sites.
As it turns out, I was actually always logged in…the links just didn’t toggle to the correct position. When i looked at the site on IE using a PC, the links did as expected. I guess the first time IE out performed Firefox…or it may have been the difference between viewing on a MAC versus PC. I don’t know.
I’m not going to worry about it. 99% of the people viewing the site will be viewing it in IE (work related forum).
Thanks again,
K