Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 28,976 through 29,000 (of 64,734 total)
  • Author
    Search Results
  • #120398

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

    #120397

    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/.

    #120396
    kraigg
    Participant

    Thank you JJJ!

    #120395

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

    #120394
    c3eu5012
    Participant

    Hello,

    I am a first time WordPress user and have been designing my site for a recreational group and have stumbled upon a problem.

    My bbPress is displaying all Categories and most forums, but for some reason after I created a topic in one of the forums under a category all the forums under that category dissapeared. Now the topic I posted is displaying to the right of the category as the most recent topic, but yet there is no forums showing under the category.

    WordPress version: 3.4.2
    bbPress version: 2.1.3
    My site: http://www.c3eu.com

    #120393

    In reply to: bbPress 2.2.1

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

    #120392

    bbPress 2.2.1 is incoming, to fix this bug.

    #120391
    fuzzybee
    Participant

    Hi John,

    Thanks for your advices, really appreciate them.

    I’m trying to use bbPress core functions.
    Hope the documentation can be updated and improved soon.

    I was not moving between installation here.
    The old forums that our company had was based on P2 (or some kind of P2 based) WordPress theme and it’s kinda different from.
    Therefore, using WordPress export, import function is not sufficient here.
    For example, in the past, there is a topic under “Relationship” forum.
    It’s actually a pure post in WordPress term and “Relationship” is a category of posts here.

    Again, where is a good place for me to look at the bbPress’ insert functions?

    Best regards,

    fuzzybee
    Participant

    Someone mentioned using loop the bbPress’ way bbp_has_forums()

    Would you like to give it a try?

    #120389
    fuzzybee
    Participant

    Hi Lynq, thanks for pointing that out.

    Do you know anywhere this is documented in great details?

    I’m trying to loop through the forums and sort them by the forums’ names.
    It mentions here that bbp_has_forums() takes the same argument as wp_query.

    However, the following do not work for me at all, no errors thrown either, nothing compared to having no arguments passed to bbp_has_forums()

    $args = array(
    ‘post_type’ => ‘forum’,
    ‘post_status’ => ‘publish’,
    //’meta_key’ => ‘age’,
    ‘orderby’ => ‘title’,
    ‘order’ => ‘ASC’,
    );

    #120386
    spiritbear
    Participant

    Hi – I had a pretty rough time the last time I tried to install and configure bbPress. I have since upgraded to PageLines (they have a compatibility plugin, which I’ve installed but not yet activated.) and I’d like to try again. My site is generating lots of gab but only on a couple of posts – I’d like a nice playroom for them all.

    Last time I tried this I saw a decent install/configure video, but can’t find it now – maybe it was for BuddyPress?). Any decent step-by-step configure how-to’s for a miserable, slightly gun-shy newbie?

    • This topic was modified 13 years, 11 months ago by spiritbear.
    • This topic was modified 13 years, 11 months ago by spiritbear.
    #120385
    kraigg
    Participant

    Is there a similar fix or plugin for people using User Role Editor?

    I had a look at http://www.s2member.com/forums/topic/dont-upgrade-to-bbpress-2-2/ and made sure to select Spectate and ticked the same role capabilities as http://hands-4-life.de/s2member_level1.jpg but none of the users, except Administrators, can post a new topic or reply.

    I can only get it working for individual users if I manually go into the user’s profile (Admin Dashboard > Users > All Users > Edit ) and set their Forum Role as ‘Participant’.

    #120384

    In reply to: bbPress 2.2.1

    imjscn
    Participant

    I’m sure this is a bug– disregarding group forum enabled or not, the forum tab is still there. If a group forum was enabled before, it can’t be really disabled.

    #120383

    see the comments posted in the ticket jjj, the problem is that a role created by a plugin isn’t in the default map, and thus it won’t get handled (b/c any roles not in the default wp_roles don’t get handled). I added a patch to the ticket.

    [edit: my brain is mush and translating to really bad grammar]

    #120382

    In reply to: bbPress 2.2.1

    imjscn
    Participant

    Is this a bug — buddypress non-group members can post new topic or reply in any Group Forum?

    #120381

    ticket created -> https://bbpress.trac.wordpress.org/ticket/2042 – I’ll do some more investigation and will post comments/suggestions in the ticket.

    #120380
    Stephen Edgar
    Keymaster

    Create a new WordPress page and pick and choose some shortcodes from the following URL and add them to that page… https://codex.bbpress.org/shortcodes/

    #120379

    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.

    #120377

    In reply to: Can't Post New Topic

    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?

    #120376

    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.

    #120375

    s2member does do that. But for whatever reason, those roles aren’t being picked up by bbp_set_current_user_default_role() (via $bbp->current_user->roles)

    #120374
    NickMackz
    Participant

    Thank you for taking the time to fully explain what the system was like before and what has changed. Now I have a reasonable understanding of how the old and new systems work, I should be able to progress with fixing the problems I’ve got due to using completely custom roles.

    Thanks for all the time and effort you put into bbPress and BuddyPress. They are great plugins and you do a great job. 🙂

    #120373

    @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() ?

    #120371

    bbPress 2.2 implements a new way to think about user roles in both WordPress and bbPress. A few users have posted up having issues after upgrading, so I’m going to take some time to explain what changed and why.

    The problem bbPress 2.2 addresses, is the situation where a users ability to take certain actions in the forums was dictated by their role on the entire site, or their “blog role” as I’ll refer to it in some places going forward.

    This means that in the past, a user could not be both a blog Editor and a forum Moderator at the same time; you’d need to be one or the other, and it was clear this wasn’t what anybody wanted.

    In bbPress 2.0 and 2.1, every time you activated bbPress on a site, it went in and added a bunch of capabilities to the database. You never knew this, but it needed these roles so that users could perform certain tasks. bbPress would go in and modify the core WordPress roles, to add these capabilities to them. This made multisite installations a challenge, and network activation was very difficult too, because these roles needed to be added to every single site.

    For existing users of sites, bbPress performed a bunch of calculations and educated guesses to automatically grant users with certain roles and capabilities. To do this, it would eventually need to add capabilities to the user, or switch them to a role that had those capabilities already; Forum Participant.

    Subsequent updates to bbPress required database migration scripts for every change to user roles and capabilities. This is a lot of work for very little gain, since we’re not solving any problems with users needing multiple roles, and at the same time we’re polluting the database with a bunch of data that doesn’t change 99% of the time.

    —

    Under the hood, WordPress comes with support for users having multiple roles, and this is a perfect use-case for needing that functionality. Roles are just groups of capabilities. If a user has a role, it’s safe to assume they also have certain capabilities, right?

    Wrong. Kind of. Sometimes.

    Capabilities are saved in the database, per user, per site, and they bubble based on the role they are granted. If you use any plugin that modifies editable roles or capabilities in the database, what you’re doing is changing the individual capabilities for every user that gets that role going forward, but not necessarily every user that had that role in the past.

    Remember, individual users have individual capabilities. When a user gets a new role that is modified in some way, they also get assigned the changed capabilities, either positive or negative. Negative capabilities are explicitly negative, and neither WordPress nor bbPress use these in core. They’re tricky, and make it easy to break things.

    Once you’ve gone this far in, you’re playing with fire and will likely get burned. You now have altered core user roles, extra forum user roles, and a mish-mash of registered users with a random assortment of capabilities, based on when they signed up, what role they were granted, and what you happened to have changed that blog role’s capabilities to be at that moment.

    To top this all off, there is no “repair” for your users, they’re basically stuck.

    For bbPress users that never modified user roles or capabilities, their update process would be smooth sailing. It’s the modifications to database permissions that cause issues with bbPress 2.2. Why?

    bbPress 2.2 introduces the concept of “dynamic roles” VS WordPress’s “editable roles.” What’s the difference? Editable roles are saved in the database, and allow you to completely shoot yourself in the foot (as above) once you start changing them around. Dynamic roles do not touch the database in any way, other than to assign the 1 role to the user, side-by-side with any other role they might have on your site.

    bbPress comes with filters to allow you to modify the roles, and it’s still possible to add or subtract specific forum capabilities to a user if you needed to, and without all the fuss and danger of bbPress interfering with existing user roles and capabilities.

    For users that are stuck with users that can’t access the forums, try using the forums role repair tool, located in: Admin > Tools > Forums

    That tool loops through your users, and grants them a forum role based on their blog role based on the following map:

    Admin = Keymaster
    Editor = Participant
    Author = Participant
    Contributor = Participant
    Subscriber = Participant

    The map can be filtered, as can the default role of Participant. The problem will come in with existing users that have modified Participant roles that you may have tinkered with. They’ll end up with capabilities that are totally out of whack, no matter what you do. You’ll need to use an additional tool on top of this, if you want to clean up those old roles introduced by plugins like S2member.

    Going forward, I’d like to get a better idea on what these plugins are doing, and make sure that bbPress plays as nicely as it can with them. Dynamic roles in WordPress core are probably a few releases away, but it’s important to bbPress’s future to have them in and working as soon as possible, to get everything dialed in for everyone.

    #120370
    Stephen Edgar
    Keymaster

    If I get a change today i’ll try to update https://codex.bbpress.org/bbpress-user-roles-and-capabilities/

    That said though if anyone else wants to update it before I get a chance feel free to do so, if you have a bbpress.org username and pass you can edit the codex docs yourself. There are quite a few updates needed for 2.2 in the codex docs and any help would be greatly appreciated.

    Just click ‘login’ at the top right of the page using the same bbPress username & password you use here at bbpress.org and edit away.

Viewing 25 results - 28,976 through 29,000 (of 64,734 total)
Skip to toolbar