Search Results for 'bbpress'
-
AuthorSearch Results
-
December 4, 2008 at 7:29 am #69513
In reply to: Cookies work for admins but not regular user
John James Jacoby
KeymasterHmm this is an interesting scenario, one that I never made it around to checking since I always do my work as an Admin or KeyMaster.
I did just check my install of 2.7rc1 and bbPress Alpha-2 and I do not experience this type of issue.
I am assuming that you’ve checked the obvious stuff from all of the other integration topics here? Making sure your SECRET_KEY’s match and cookie domains are copied over, etc?
December 4, 2008 at 7:26 am #69053In reply to: Integrate wp2.7 and bbp1.0a2
John James Jacoby
Keymaster@elwagar: Conversely, once they are registered you can assign them a role by going to the bbPress admin, WordPress Integration, and remapping. I feel like a plug-in could help this registration laziness along, but I also think this should just work correctly right away.
I actually had a similar issue years ago integrating phpBB 2.x and osCommerce together, trying to get one to work inside the other with cookies and what-not was a really big problem, one that I never really did get working 100% correctly.
I have no experience with bbPress Live, but it might be worth looking into. CK posted a really nice SQL example on how to grab information without a plug-in, so if you can’t get that to work, you could always put in a little manual labor.
December 4, 2008 at 6:39 am #69052In reply to: Integrate wp2.7 and bbp1.0a2
eliwagar
MemberI am still kind of fighting with it…what i found was that initially new members added to bbpress via WP don´t get a role assigned…but on publishing their first post they will be assigned the proper role…
As you mentioned bbpress live above: On install it says “not implemented” on the settings screen for the post to WP section. And I can´t get it work either. Is there any secret?
December 4, 2008 at 5:13 am #69512In reply to: Cookies work for admins but not regular user
dchase
MemberSorry,
Wordpress 2.51 installed in the root directory
bbPress 0.9.0.2 installed in /forums
I am using the same computer and logging in and out but I have been clearing all session, domain and path cookies each time.
December 4, 2008 at 1:35 am #69511In reply to: Cookies work for admins but not regular user
John James Jacoby
KeymasterWhich versions of bbPress and WordPress are you using?
Are you doing all of this logging in and out on the same computer?
Have you tried manually deleting cookies and logging in again?
What folders are WordPress and bbPress located in, relative to each other?
December 4, 2008 at 12:33 am #4364Topic: Cookies work for admins but not regular user
in forum Troubleshootingdchase
MemberI just installed WordPress and bbPress on http://www.youthforwildlife.org and they are sharing a user database, which works fine. And it seems that when I login as an administrator or keymaster I can go back and forth between the bbpress and wp but when I login as a regular user, it asks me to relogin when I switch between them.
I would greatly appreciate any help you could give me!
December 3, 2008 at 2:41 pm #68715mvds
MemberI know, but I consider that to be a small issue. I have now integration on the user account level (cookies) and I can access the admin panel on both. I can log in on one and I am automatically logged in on both but I just have to log out of both separately to be really logged off.
Full integration messes up my bbpress completely, so I left that out. I am satisfied (for now) with what I’ve got working. I hope that integration will be working better when we get official releases on both.
December 3, 2008 at 2:14 pm #69050In reply to: Integrate wp2.7 and bbp1.0a2
John James Jacoby
KeymasterHave you tried logging in and out of both your WordPress and bbPress installations and accessing both admin panels? I mean each combination each way.
- Log into WordPress; Check admin panel access and cookies; Log out of WordPress
- Log into bbPress; Check admin panel access and cookies; Log out of bbPress
- Log into WordPress; Check admin panel access and cookies; Log out of bbPress
- Log into bbPress; Check admin panel access and cookies; Log out of WordPress
That is where the problem lies, and I have been running the most updated trunks of both bbPress and WordPress the entire time.
December 3, 2008 at 1:02 pm #69049In reply to: Integrate wp2.7 and bbp1.0a2
eliwagar
MemberHi, I just upgraded WordPress to RC1 and used the newest trunk pf bbpress yesterday, and everything worked out fine…just as described during installation.
December 3, 2008 at 10:21 am #68713mvds
MemberI got it working, I will describe what I did for other users:
First I deleted the bb_meta table from my DB, and also the bb_config.php file. After this I could re-install bbpress fine, including steps 2 and 3. I followed the steps from https://bbpress.org/forums/topic/integrate-wp27-and-bbp10a2 but I left out the include part for the wp file. I also did the cookie settings for both wp and bb.
Now I can use bb and wp just fine. One minor issue, I cannot log out from bb without also logging out from wp.
December 3, 2008 at 7:26 am #69508_ck_
ParticipantDecember 3, 2008 at 7:17 am #4363Topic: Hide ‘child’ forums from being displayed on home page
in forum Installationchaslie
MemberHave just installed bbPress: 0.9.0.2
Of the list of forums I have on the front page, I have 7 main forums and each of these forums have up to 50 child/sub forums. Can these child/sub forums be hidden on the front page meaning that if you visit one of the parent forums, it is only then that the child/sub forums are listed (underneath its parent forum).
Many thanks all. Look forward to a solution.
December 3, 2008 at 7:03 am #69502In reply to: Will I be able to switch Vbulletin?
johnhiler
MemberbbPress supports full exporting of your data into XML or other formats. Does vBulletin have robust importing tools? If so, this should be pretty straightforward!
URLs of each topic/thread may change though… unless you can get the two softwares to generate similar URLs.
December 3, 2008 at 3:21 am #69491In reply to: Themes for both WP and BBP?
chrishajer
ParticipantThere is Revolution for both bbPress and WordPress:
http://www.revolutiontheme.com/magazine/bbpress/
I think if you look around you will find people who have released bbPress themes to match WordPress themes.
https://bbpress.org/forums/topic/new-bbpress-theme-peacemaker
December 3, 2008 at 3:18 am #69448In reply to: “Advanced” search options — where and what are they?
chrishajer
ParticipantAlso, _ck_ can’t you accomplish much of what you need without search in bbPress? I don’t miss it. If I am looking for something that I can’t find on a forum, even this one, I just use google site:bbpress.org/forums/ $whatever.
December 2, 2008 at 10:18 pm #69048In reply to: Integrate wp2.7 and bbp1.0a2
John James Jacoby
KeymasterShort term, I was able to make this work by modifying 1 core WordPress file. This only allows for integration of the theme, but still does not allow access to the bbPress admin panel without changing the
bb-config.phpfile back to original.It’s essentially a quick fix to get the theme working with all capabilities playing nicely.
Basically I’m hard-coding the capability check from bbPress into WordPress. There should be a filter for this, but I’m not sure how to hook into it correctly without a mod or plug-in on the WordPress side.
~My fix is in no way a permanent solution. Auto-updating your WordPress installation will overwrite this fix.~
In FILE
wp-includes/capabilities.php:In the
meta_map_capfunction:Around Line 906:
AFTER
break;BEFORE
defaultINSERT:
/*
*/
case 'write_post':
$caps[] = 'write_posts';
break;
case 'edit_post':
// edit_posts, edit_others_posts, edit_deleted, edit_closed, ignore_edit_lock
if ( !$bb_post = bb_get_post( $args[0] ) ) {
$caps[] = 'magically_provide_data_given_bad_input';
return $caps;
}
if ( $user_id == $bb_post->poster_id )
$caps[] = 'edit_posts';
else
$caps[] = 'edit_others_posts';
if ( $bb_post->post_status == '1' )
$caps[] = 'edit_deleted';
if ( !topic_is_open( $bb_post->topic_id ) )
$caps[] = 'edit_closed';
$post_time = bb_gmtstrtotime( $bb_post->post_time );
$curr_time = time() + 1;
$edit_lock = bb_get_option( 'edit_lock' );
if ( $edit_lock >= 0 && $curr_time - $post_time > $edit_lock * 60 )
$caps[] = 'ignore_edit_lock';
break;
case 'delete_post' :
// edit_deleted, delete_posts
if ( !$bb_post = bb_get_post( $args[0] ) ) {
$caps[] = 'magically_provide_data_given_bad_input';
return $caps;
}
if ( 0 != $bb_post->post_status )
$caps[] = 'edit_deleted';
// NO BREAK
case 'manage_posts' : // back compat
$caps[] = 'delete_posts';
break;
case 'write_topic':
$caps[] = 'write_topics';
break;
case 'edit_topic':
// edit_closed, edit_deleted, edit_topics, edit_others_topics
if ( !$topic = get_topic( $args[0] ) ) {
$caps[] = 'magically_provide_data_given_bad_input';
return $caps;
}
if ( !topic_is_open( $args[0]) )
$caps[] = 'edit_closed';
if ( '1' == $topic->topic_status )
$caps[] = 'edit_deleted';
if ( $user_id == $topic->topic_poster )
$caps[] = 'edit_topics';
else
$caps[] = 'edit_others_topics';
break;
case 'move_topic' :
$caps[] = 'move_topics';
break;
case 'stick_topic' :
$caps[] = 'stick_topics';
break;
case 'close_topic' :
$caps[] = 'close_topics';
break;
case 'delete_topic' :
$caps[] = 'delete_topics';
add_filter( 'get_topic_where', 'no_where', 9999 );
if ( !$topic = get_topic( $args[0] ) ) {
$caps[] = 'magically_provide_data_given_bad_input';
return $caps;
}
if ( 0 != $topic->topic_status )
$caps[] = 'edit_deleted';
remove_filter( 'get_topic_where', 'no_where', 9999 );
break;
case 'manage_topics' :
// back compat
$caps[] = 'move_topics';
$caps[] = 'stick_topics';
$caps[] = 'close_topics';
$caps[] = 'delete_topics';
break;
case 'add_tag_to':
// edit_closed, edit_deleted, edit_tags;
if ( !$topic = get_topic( $args[0] ) ) {
$caps[] = 'magically_provide_data_given_bad_input';
return $caps;
}
if ( !topic_is_open( $topic->topic_id ) )
$caps[] = 'edit_closed';
if ( '1' == $topic->topic_status )
$caps[] = 'edit_deleted';
$caps[] = 'edit_tags';
break;
case 'edit_tag_by_on':
// edit_closed, edit_deleted, edit_tags, edit_others_tags
if ( !$topic = get_topic( $args[1] ) ) {
$caps[] = 'magically_provide_data_given_bad_input';
return $caps;
}
if ( !topic_is_open( $topic->topic_id ) )
$caps[] = 'edit_closed';
if ( '1' == $topic->topic_status )
$caps[] = 'edit_deleted';
if ( $user_id == $args[0] )
$caps[] = 'edit_tags';
else
$caps[] = 'edit_others_tags';
break;
case 'edit_user':
// edit_profile, edit_users;
if ( $user_id == $args[0] )
$caps[] = 'edit_profile';
else
$caps[] = 'edit_users';
break;
case 'edit_favorites_of':
// edit_favorites, edit_others_favorites;
if ( $user_id == $args[0] )
$caps[] = 'edit_favorites';
else
$caps[] = 'edit_others_favorites';
break;
case 'delete_forum':
$caps[] = 'delete_forums';
break;
case 'change_user_password':
// change_password, edit_users
$caps[] = 'change_password';
if ( $user_id != $args[0] )
$caps[] = 'edit_users';
break;
/*
*/December 2, 2008 at 9:50 pm #69499In reply to: Will I be able to switch Vbulletin?
_ck_
ParticipantThere are bbpress sites running with hundred of thousands of posts, and at least one with over a million posts. You won’t need to switch to vbulletin unless you want to for some other reason.
December 2, 2008 at 9:21 pm #4360Topic: Will I be able to switch Vbulletin?
in forum Troubleshootingenfotoad
MemberHi there!
I am going to use bbpress for my websites forum. Before I do so I would like to know if it is possible to switch to vbulliten when my forum becomes huge.
December 2, 2008 at 9:08 pm #4358Topic: Themes for both WP and BBP?
in forum Themesamagab
MemberDoes anyone know of a designer or company that offers identical themes for both WordPress and bbPress?
I am asking this to avoid the troubles of integration.
Thanks!
December 2, 2008 at 8:25 pm #69445In reply to: “Advanced” search options — where and what are they?
_ck_
ParticipantEh don’t defend bbPress – it’s the same problem with WordPress. They’ve never had a good search because writing a good search is hard and takes time from other needed things.
I haven’t released the search because after working on it for a week it became so overly complex that debugging parts of it was taking way too much time. When that happens I get mad and then usually re-write things from scratch.
I think my biggest mistake was I tried to make the layout template-able, so you could move stuff around. That added way too much code and logic problems. And then there was the wordpress awareness, more code.
I might just make a simpler version of it. I may just copy some of the vbulletion search layout since it’s very logical. Maybe I’ll have something by the end of the coming weekend if I have enough time.
December 2, 2008 at 8:11 pm #69444In reply to: “Advanced” search options — where and what are they?
chrishajer
ParticipantIn defense of bbPress, I think they went without search for a long time intentionally. It was not even included in the stock template until recently. The intention was that you could use tags to find specific content, click a member’s name to get all the replies they made and topics they started, etc.
For topics with no replies, there is a default view for that (look at the home page of this forum, near the bottom, to see it.) For other views, you probably want the My Views plugin by _ck_.
https://bbpress.org/plugins/topic/my-views/
(look at the bottom right for all the views)
December 2, 2008 at 8:04 pm #69475chrishajer
ParticipantIf your server supports mod_rewrite and .htaccess, you can make pretty permalinks work (if they work for WordPress, they can work for bbPress). You just need to follow the instructions.
And if bbPress is in a sub-directory of WordPress (collectibles-talk), then you will have two .htaccess files, or possibly all the rules in the WordPress-level .htaccess. The .htaccess you posted is the default WordPress one. You need more rules for bbPress.
Here is something about that:
https://bbpress.org/forums/topic/pretty-permalinks-not-working?replies=24#post-7743
December 2, 2008 at 7:41 pm #69461In reply to: Messed up WP and BB integration
John James Jacoby
KeymasterFirstly, have you checked to make sure that your site paths are correct in both bbPress and WordPress? Since you shifted directories, the paths to those new directories need to be adjusted in the database.
Secondly, are there normal user tables to go along with those weird empty ones? Part of the integration process is telling bbPress which tables to find your users in. Is it possible that you added an extra “_” on accident, and bbPress created those tables while it was looking for the real ones?
December 2, 2008 at 7:36 pm #69488John James Jacoby
KeymasterWe’re all experiencing the same issue.
Integration appears to be a little broken still.
If you need to use the WP functions in your bbPress, that will break it further by not allowing you to access your bbPress admin panel at all.
The problem looks like the bb_map_meta_cap filter is ignored when the WordPress functions are loaded in place of the bbPress ones.
Some users have been able to resolve this by using a .htaccess file to redirect to the bbPress login and register page whenever an attempt to register or login is made through WordPress. That is the best fix at the moment if you do not require access to the WP functions.
If you do require that access, then you will need to wait until a fix comes out for the issue I mentioned above. That’s where I am.
December 2, 2008 at 7:17 pm #68219In reply to: bbPress 1.0-alpha-2 released
mvds
MemberNo issues so far, just wanted you to know that
Runs fine on my (live) site!
-
AuthorSearch Results