John James Jacoby (@johnjamesjacoby)

Forum Replies Created

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

  • John James Jacoby
    Keymaster

    @johnjamesjacoby

    bbPress 2.2.1 is incoming, to fix this bug.


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    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

    John James Jacoby
    Keymaster

    @johnjamesjacoby

    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?


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    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.


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    @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

    John James Jacoby
    Keymaster

    @johnjamesjacoby

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

    John James Jacoby
    Keymaster

    @johnjamesjacoby

    Sweet. Thanks. Happy to help.


    John James Jacoby
    Keymaster

    @johnjamesjacoby

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

    In reply to: Author MCE broken

    John James Jacoby
    Keymaster

    @johnjamesjacoby

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


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    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

    John James Jacoby
    Keymaster

    @johnjamesjacoby

    Makes sense. Best of luck!

    In reply to: Can't Post New Topic

    John James Jacoby
    Keymaster

    @johnjamesjacoby

    Are you using group forums, or do you want site wide forums?

    In reply to: bbPress 2.2.1

    John James Jacoby
    Keymaster

    @johnjamesjacoby

    @rossagrant – it already tries to do that, via: Settings > Forums — Auto role —

    “Automatically assign default role to new, registered users upon visiting the site.”

    Basically, that bit looks for users with no bbPress role, and automatically gives it to them (without interfering with existing WordPress roles.)

    I think the problem comes from having modified the bbp_participant role previously in the database, and bbPress not using those modified caps any longer. (Just a guess.)

    bbPress moved away from “editable roles” in 2.2, since plugins like s2member and Members allow for manipulating bbPress’s roles in such a way that safe updates to bbPress are pretty much impossible; the moment we change our capability mapping, this all blows up.

    Going forward, bbPress uses dynamic, secondary roles, that won’t interfere with any other capability or role on the site. I.E. a user can be a forum moderator and a blog editor, or a blog admin and and a forum participant, or no role on the blog, and a key master in the forums.

    This type of setup is best for 95% of installations, but anyone that’s relying on roles in the DB are currently stuck (like we see here.)

    One possible solution is to just let your database roles override bbPress’s dynamic roles. You can unhook most of those functions, but I don’t think that’s advisable for the long term, because you’ll lose any capability updates going forward, leaving some users in limbo when new features are introduced.

    In reply to: Can't Post New Topic

    John James Jacoby
    Keymaster

    @johnjamesjacoby

    The UI on BuddyPress’s end hasn’t been updated yet. If you have bbPress installed, and are using it to power your group forums, the BuddyPress forums component should be completely turned off.

    It’s possible there’s an issue with BuddyPress 1.6 in this regard, but there wasn’t in my testing. I’ll take another look around.

    In reply to: Author MCE broken

    John James Jacoby
    Keymaster

    @johnjamesjacoby

    Maybe related to Jetpack 2.0. I’m not able to duplicate this issue with just WordPress and bbPress installed.


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    Will there be a core solution for this with bbpress?

    If its a bbPress bug, then yes. It’s likely an issue with bbPress using multiple user roles, and it being a foreign concept to most other plugins.

    In reply to: php option value

    John James Jacoby
    Keymaster

    @johnjamesjacoby

    Can’t tell if this is spam or not. It doesn’t sound like it has anything to do with bbPress.


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    There’s a plugin already; something to the effect of Advanced TinyMCE.


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    Easily enabled with a small plugin or filter. I’m sure someone can chime in with a solution here.


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    Sounds like the problem is s2Member using set_role() which wipes out all roles a user might have.

    Basically, s2member is not compatible with users having multiple roles.

    Tried emailing you a few times, got bounced back.

    In reply to: bbPress 2.2.1

    John James Jacoby
    Keymaster

    @johnjamesjacoby

    @rossagrant – Not yet, need to write something up soon though.


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    There’s a topic in the S2Member forums that explains how to fix this. This is related to having customized roles and capabilities setup that bbPress isn’t looking in the database for any longer.

    It probably sounds and feels counter-intuitive now, but the new roles and capabilities in bbPress 2.2 are actually intended to prevent these exact problems in the future. The forums roles and caps in bbPress 2.0 and 2.1 weren’t very cooperative, so everyone rolled their own.

    Now that we’ve dialed it in, everything you’ve customized isn’t playing nicely anymore.

    Unclear exactly what the *best* solution is for everyone, since every installation is different. Anyone want to volunteer to give me a peek into their installation and let me toy around?


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    No. Will need much more information about your installation to help.

    In reply to: New Topic button?

    John James Jacoby
    Keymaster

    @johnjamesjacoby

    1. Make a new WordPress page.
    2. Use the bbp-topic-form shortcode.
    3. Done.

    John James Jacoby
    Keymaster

    @johnjamesjacoby

    Who said you weren’t being helpful?

    Much of it is the same. You’ll want to focus on:

    • turning the BuddyPress forums component Off
    • the bbPress 1.1 import tool
    • the BuddyPress settings in: Settings > Forums
Viewing 25 replies - 576 through 600 (of 2,347 total)