Forum Replies Created
Also, when I register a new user through WordPress as per normal, that user is still not assigned a role in bbPress. Not when they login, not when they hit the forum for the first time. Not ever.
- I used a Chrome browser window to register a new user through WordPress
- Logged in via WordPress
- Hit the forum
- User could not post, looks like has no role
- Logged out via WordPress
- Used FireFox to login as admin to check new user role
- No Role Assigned
- Used Chrome to login through bbPress
- Hit the forum
- User could not post, looks like has no role
- Used Firefox admin to edit Test user
- Received typical error message (noted below)
Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /forums/bb-includes/functions.bb-template.php on line 2009
Basically it looks like the exact same error message as before, with the same circumstances.
Round two using alpha 5 trunk from the SVN went exactly the same way, only this time when I logged in via bbPress, the above
Warningwent away, but that user is still marked as Inactive by default when they should be a Member according to the role map.
When registering through bbPress, the new user still is not assigned a Role on the WordPress side either.
Sam, can you explain to me what was supposed to be different in alpha5? Maybe I misunderstood…
When I renamed my old config file, I actually received the same error.
Fatal error: Call to undefined function backpress_get_option() in /forum/bb-includes/backpress/functions.core.php on line 412
So I renamed my config file back, visited the forum, and then it prompted me for upgrade.
Is there a specific upgrade page to visit now rather than just hitting the root of the forum?
Sam, it seems this only happens when I upgrade from alpha4 to alpha5. I was running a trunk version, and received no errors and wasn’t even prompted to upgrade from trunk to 5.
This weeknd I plan on loading bbPress into some kind of IDE (probably eclipse) so I’m able to check this type of thing out a little further. I’ll update here if I can get them.
Looking forward to this Sam. Thanks again for the fast updates. Will check it out tonight and report back asap.
That is exactly right. When using the permalink structure, bbPress will provide you the contents of what to put inside that file. Eventually I’m sure bbPress will make that file for you, but for now it’s a solid solution.
Seems maybe the core should be updated to work around this eh?
It’s live with quite a few plug-ins installed. Fully integrated with WordPress. Still some kinks to work out, but otherwise live and functional.
I think that site naviation really depends on how much traffic your forum has, how much you want it to have, and in what route you want your traffic to reach its destination.
The typical forum layout comes from catering to new visitors that want descriptions of each category, and from repeat visitors wanting to check if there are updates to that category without having to click into that category.
Tags don’t offer either of these options inherently.
If tags could visually signify if there are new posts for the visitor inside of them, maybe with emphasis or italics or reordering them to the front of the cloud, that would be a neat idea.
bbPress tends to take a different approach on forum/topic importance, by emphasising on the most recently replied to topics right on the front page. I consider this more of a feature of a slow moving bulletin board more than for a large one. I know some large technical forums that would show 20 different posts on every page refresh with this type of last reply based concept.
Tags are interesting because they are user editable and provide a wiki-esque style of topic organization. 99% of users will obey this, but it still requires a bit of moderation and attention. Using categories that users cannot edit allows for you to legitimately categorize your data, rather than have it free flowing any and everywhere. Also, how do you compensate for the “New Topic” screen where there is a category drop-down? If your authors aren’t familiar with the concept and meaning of your forums categories, yet they are forced to choose one, this will result in topics being put into the database almost at random, making it difficult for you to moderate them.
I see how this idea can be appealing, and I see how it could work in some instances, but I think this type of idea is more suitable for a WordPress type blog/CMS than for a forum.
Exactly. Theres no real way to merge the two user tables together automatically or to have them both exist simultaniously and still allow a unified login.
I would think this would be best acheived with the post meta plugin. Sure its possible but I bet theres better software out there that might be more suitable for this type of task.
How nicely does this play with WP integration in regards to the users and existing WP accounts? I’m assuming that it would take another dump and update to merge the bb_ table this makes with the wp_ table necessary for user integration.
Honestly, at this stage I would recommend deleting the bbPress files and database tables, and starting over. It’s so much easier to install correctly the first time than it is to track down installation errors and try to patch them. This is of course if there isn’t a whole lot of data to lose.
It appears to me like you didn’t integrate your user registrations or user accounts. I can login to the forums, but cannot login to WordPress. Can you check out your database and make sure you only have wp_user and wp_usermeta user tables, and do not have any that start with bb_?
Delete ALL tables in the database that start with your bb_ prefix, and try again.
I can assure you that following Sam’s video PERFECTLY yields perfect results. I’ve done it at least 10 times. Can you rewatch the video and take notes on what in your particular case may be different? Like directory location, server settings, unique WordPress plugins or setup, anything like that?
I joined your forum, but then realized that your WordPress login page isn’t the traditional wp-login.php. I get redirected when I try to access it. Also, same goes for your admin area. It looks like you’ve got WP logins pretty well hidden from view. Care to let me in?
This has always been the case as a feature, or ability for users to add tags to any post they would like to.
Okay, so I deleted the entries for the members in “bb_capabilities” aside from the keymasters, and when I try to run the user role map, it doesn’t actually work. I haven’t tried to track this function down yet but as a suggestion I almost wonder if that role map might actually work better as a role alignment tool, overwriting the values with the new ones for all users.
I may just make that a plug-in actually because my trouble shooting attempt may have been a bad idea haha!
bbPress .9 won’t integrate with WP 2.7.
Use the alpha version and things should be okay.
A quick note… A new user registered and not only do I get the error message when trying to edit their profile, the role map tool also doesn’t seem to want to line his profile up.
I think I’m going to dive into phpMyAdmin and delete the role maps all together, then see if the tool works.
I’m guessing that because the Role Map Alignment tool doesn’t overwrite existing values, that the partial values the integration are setting up aren’t enough, so even though the admin tool thinks they have a role, their profile doesn’t…
I’ll have more time to look into this after the weekend.
No, I can assure you it was that way since beta2, since that’s when I first started trying to research this whole integrating thing and noticed this issue myself. I assumed then that it was bad integration on my part, or that one of the several plug-ins or modifications I’ve made was causing it. Because I personally plan on avoiding that profile page all together, I skipped the error and prioritized my efforts more towards integrating logins and themes.
Using deep integration, if you load the WordPress search box into the header of bbPress, you can still search WordPress alone if you use something like
<form id="searchform" method="get" action="<?php echo get_settings('home'); ?>">
This way the search form is using the WordPress root directory as it’s destination rather than trying to redirect to a bbPress file.
As far as a unified search solution, the problem there really then becomes which engine do you use to display the results, WP or BBP? Either way it requires a plug-in on that relative side of the equation. It’s certainly possible, but you’re only making 50% of your audience happy at that point, because the other 50% will want it the other way.
The issue with roles has actually been since I remember integration starting with 2.7/1.0 series. It’s basically because there is no role set and no role map set for the bbPress side of it.
This issue should only occur if the user registers via WordPress. If they register via bbPress, it shouldn’t happen…
I can’t seem to find the link to the WordPress integration plug in anymore. Sam, where did it go lol!
Well, the best little part about installing bbPress in a sub directory, is that in WordPress if you’re using the pretty permalinks and make a “Forums” page, the slug will be “forums” and when clicked it will just route the users right to the forums instead of to the WP page.