John James Jacoby (@johnjamesjacoby)

Forum Replies Created

Viewing 25 replies - 576 through 600 (of 2,361 total)
  • In reply to: bbPress 2.2.1

    @johnjamesjacoby

    Keymaster

    @rossagrant – You are correct. The downside to only being a “Member” and not having a role on the site, is bbPress suppresses profile pages for those users. This is mostly because of WordPress Multisite, to prevent guessing user profile slugs and pulling up profiles of users that don’t actually exist on the site, and also to not link off to spam/deleted user accounts.

    Lots of moving parts.

    Naturally, if you *need* to override any of these weird nuances, there are filters everywhere for developers to make modifications to these behaviors. Ideally, bbPress comes with the solutions that are best for everyone, and the other answers come when specific questions like this are asked.

    If this turns out to not be the best configuration, we can always change it, but I suspect it’s the best compromise that’s currently possible.

    @johnjamesjacoby

    Keymaster

    @tzeldin88 – There’s a tool to batch the user forum role process, in Tools > Forums

    It’s likely the custom roles you’re making won’t work, at least I haven’t tried it yet myself. While it’s not impossible to make work, I don’t think it’s a great setup for the future of your site.

    WordPress purposely excludes a UI for roles and capabilities because they’re easy to muck up, and difficult to reset back to stock.

    @johnjamesjacoby

    Keymaster

    In Tools > Forums are some uninstall tools, but if you don’t have forum content, there’s nothing to uninstall. Reinstalling bbPress is just uploading the files and activating the plugin.

    Unclear how bbPress works with WPML, haven’t tried the two together.

    @johnjamesjacoby

    Keymaster

    This is a rare long-shot, but it’s possible your host has output buffering turned off. Can you check with your host and see if that’s the case?

    @johnjamesjacoby

    Keymaster

    This.

    This is dope. Thanks for sharing!

    @johnjamesjacoby

    Keymaster

    Likely something in your theme. What happens if you switch back to a default theme?

    In reply to: bbPress 2.2.1

    @johnjamesjacoby

    Keymaster

    @rossagrant – The display role is actually a bit different than taking the literal role from the user. It uses capabilities rather than the role, to adjust the output based on the user’s ability.

    See the bbp_get_user_display_role function for more.

    It does this because it needs to handle Inactive users (spam/deleted) as well as anonymous/logged-out users, neither of which have a literal role, but also have different “roles” in the forum, for lack of a better way to put it.

    “Member” is the ambiguous word I used for “user is registered, but does not actually have a literal role on this site in the database.”

    Open to suggestions here, if it’s too confusing.

    @johnjamesjacoby

    Keymaster

    bbPress 2.2.1 takes another step towards automating this for installations with custom roles. If you have custom roles, bbPress will now fallback to the default role for those users.

    @johnjamesjacoby

    Keymaster

    Could it be that since the deleted posts in bbpress 1.1 are still in the database as there is no way to empty the deleted creating problems during integration?

    Correct. The migration doesn’t *fix* anything, it migrates exactly what you already have.

    In reply to: bbPress 2.2.1

    @johnjamesjacoby

    Keymaster

    Up to you and your needs. Personally, I’d tick the box, and I suspect you’ll want to too. The reason it’s there is more for installations like WordPress.com, where the process of adding a user to a blog actually means something completely different than it does under normal circumstances.

    Also, if the box isn’t ticket, bbPress doesn’t create a profile for that user, because they won’t have a *real* role on the site. They’ll be registered, but have to assigned role; bbPress will just dynamically assign the default to them on the fly when they’re using the site.

    @johnjamesjacoby

    Keymaster

    Try bbPress 2.2.1; let me know if it fixes this.

    @johnjamesjacoby

    Keymaster

    You’ll want to look at the _insert_ functions in:

    • includes/topics/functions.php
    • includes/forums/functions.php
    • includes/replies/functions.php

    You’re going to need to build a custom migration tool, since bbPress Forums are not conventional taxonomies and terms. You’ll most likely want to write a new converter tool; there are several located in includes/admin/converters/.

    @johnjamesjacoby

    Keymaster

    I don’t see any forums on your site at: http://c3eu.com/?post_type=forum

    In reply to: bbPress 2.2.1

    @johnjamesjacoby

    Keymaster

    bbPress 2.2.1 is out to address some of the major user-role issues.

    @johnjamesjacoby

    Keymaster

    bbPress 2.2.1 is incoming, to fix this bug.

    @johnjamesjacoby

    Keymaster

    This is not a feature of bbPress. You’re likely using a Local Avatars plugin, and will need to style it to fit your needs.

    In reply to: Can't Post New Topic

    @johnjamesjacoby

    Keymaster

    I was hoping to get the “New Topic” button to work on the main forums page (this may not be bbPress as it appears (non-functional) without bbPress being installed.)

    I’m confused about what you’re trying to do now; or what the actual problem is you’re having.

    Thanks for your help, though, John! I really appreciate you taking some time to look into this.

    No problem. Does this mean you fixed it, or it’s still not working correctly?

    To clarify, you want something similar to the way bbPress.org works, where there is a “Create New Topic” button/link, that takes you to a dedicated page where users can create new topics?

    @johnjamesjacoby

    Keymaster

    My first guess is s2member hooks in too late, or some other plugin is loading the current user way too early in the stack. bbPress doesn’t perform any of those actions until it expects WordPress to make them happen naturally.

    If the current_user is loaded before the ‘after_setup_theme’ action is called (because of an is_super_admin() check, a call to current_user_can(), etc…) bbPress fails gracefully, and waits until it’s time. If S2member waits until init to add its roles, or if the WP_Roles array doesn’t include the s2Member roles by the time ‘after_setup_theme’ has fired, $wp->init(); will get called, loading the current user, and bbPress will map the roles accordingly.

    Another possible problem is bbp_get_user_role_map() not mapping custom roles; it only maps to WordPress core roles. A possible fix to bbp_set_current_user_default_role() would be to array_diff() editable_roles() vs bbp_get_dynamic_roles(), loop through them, use the map where it matters, and use the default role otherwise.

    @johnjamesjacoby

    Keymaster

    @nerrad – yes please, a trac ticket would be great.

    To clarify, you’re saying that s2member does not add itself to WordPress’s editable roles array, using WP_Roles->add_role() ?

    In reply to: Can't Post New Topic

    @johnjamesjacoby

    Keymaster
    • Delete your “Forums” page
    • Delete it permanently from your trash
    • Turn off BuddyPress’s forums component
    • Visit /forums/

    @johnjamesjacoby

    Keymaster

    Sweet. Thanks. Happy to help.

    @johnjamesjacoby

    Keymaster

    Any idea why bbPress’s bbp_set_current_user_default_role() function isn’t working?

    In reply to: Author MCE broken

    @johnjamesjacoby

    Keymaster

    They are already aware of the issue; I have this fixed in the next version of Jetpack already. 🙂

    @johnjamesjacoby

    Keymaster

    bbPress purposely forces the editor into ‘teeny’ mode. You’ll need a plugin to change that, which is possible to filter out.

    In reply to: php option value

    @johnjamesjacoby

    Keymaster

    Makes sense. Best of luck!

Viewing 25 replies - 576 through 600 (of 2,361 total)