Forum Replies Created
-
In reply to: BBP – WPMU Integration (almost) perfect! But…
I’m I the only one experiencing this?
So… I’m thinking the secret lies somewhere here:
bb-includes/functions.bb-users.php Lines 171+:
if ( count( $wordpress_roles_new ) ) {
bb_update_usermeta( $user, $wordpress_table_prefix . 'capabilities', $wordpress_roles_new );
bb_update_usermeta( $user, $wordpress_table_prefix . 'user_level', max( $wordpress_userlevels_new ) );Can I just change the 3rd argument to keep it null?
Of course, there is also the next few lines dealing with:
function bb_apply_wp_role_map_to_orphans()
In short — how can I prevent bbpress from messing with my WPMU settings ever!? And I mean – never ever! If I want to change the MU settings, I’ll do it in MU.
Bad bbpress! No! Bad program. Go to your room.
Even when a new user registers in BBpress – let em be orphaned in MU… whats the harm?
(Stop… think… how will the affect cookies… if a user goes to MU, and there is no setting for them, but they have a shared cookie saying they are logged in, MU will FREAK OUT!… So, something needs to change on MU’s end to say: if this happens, (cookie says logged in, but no role for you!) no biggie, stay cool, just pretend the user is not logged in…. Oooooh…. am I on to something?)
Sorry – good point:
Wpmu 2.8.1
bbpress 1.0.1
More information:
Actually, all a user has to do is log in to bbpress, and it changes their role at WPMU from “–no role for this blog–” to “subscriber.”
Grr.
In reply to: How to delete BBPRESS logo — need helpModify the theme files: header.php and footer.php — I think the logo is actually called in the CSS (style.css)
In reply to: Secret key! Where is it? Help me fast!Hi – there are several threads relating to this. Short answer:
The multiple keys are used in both — notably in bb-config.php:
define( ‘BB_AUTH_KEY’, ‘xxxxxxxxxxxxxxxxxx’ );
define( ‘BB_SECURE_AUTH_KEY’, ‘xxxxxxxxxxxxxxx’ );
define( ‘BB_LOGGED_IN_KEY’xxxxxxxxxxxxxxxxxxx’);
Should match the similar keys (of the five or so) listed in your wp-config.php file.
https://bbpress.org/forums/topic/login-in-problems-with-wordpressbbpress
https://bbpress.org/forums/topic/basic-integration-screencast/page/3
In reply to: One-Way WordPress(MU) IntegrationInteresting idea … I might try to work on that.
I understand the physics behind the why, but the reason I want it that way is the forum is a whole-world feature, the blog(s) is an in-house… and I don’t want the world mucking around in the backend of the blogs. Paranoia?
@Ashfame – You keep insisting that no plugin is needed – however, I could not make the integration work until I installed the plugin –
https://wordpress.org/extend/plugins/bbpress-integration/
I have WP installed in a subdirectory, and BBPress installed in a sub-domain. The plugin helped me to discover how to a) make the cookies register in the same root domain, and b) define the cookie hash that was missing.
In short, although it may not be needed – it is useful. In my humble opinion.