kraigg (@kraigg)

Forum Replies Created

Viewing 24 replies - 1 through 24 (of 24 total)

  • kraigg
    Participant

    @kraigg

    I think you’re right about the dynamic capabilities in bbPress, but I’ve had weird situations where I’ve changed a capability in WordPress and it affects bbPress functionality (eg https://bbpress.org/forums/topic/topics-are-invisible-for-all-users-except-for-admin/#post-124896)

    Good to hear you’ve found the culprit. It is quite an old plugin (over 3 years old), so it would’ve been compatible with an older version of WordPress, and most likely some of its functions have been deprecated since. Are you able to find an alternate but similar plugin?


    kraigg
    Participant

    @kraigg

    @ovizii

    It could be one of your plugins that is blocking regular users from posting. I had a similar problem last month and I thought it was a bbPress problem, but it turned out to be another plugin.

    If you have a production version of your website, try to deactivate all of our plugins except bbPress and User Role Editor. Also try to switch back to the default theme, just to confirm that it’s not something in your functions.php that is causing problems. What version of bbPress and WordPress are you using?

    The other thing to try is to use User Role Editor to add capabilities to your Participant role, and keep adding until it fixes the posting issue. Then at least you’ll be able to pinpoint the capability that is causing the problem. But first make sure to create a backup of the Participant role so you can revert back to it.


    kraigg
    Participant

    @kraigg

    @ianhaycox

    Thanks Ian, we really appreciate the help!


    kraigg
    Participant

    @kraigg

    @ovizii

    How I got it working was to set the Forum Role for all existing users (non-admin) to ‘Participant’. I did this in Dashboard > Users > All Users, then found the users that had no forum roles. Once I changed these users to ‘Participant’ they were then able to post again.

    To automate this process, I set ‘Participant’ as the default forum role for users. I did this in Settings > Forums
    “Default user role”: Participant
    “Auto role”: (tick) Automatically assign default role to new, registered users upon visiting the site.

    However I think this problem may have been fixed in the latest bbPress


    kraigg
    Participant

    @kraigg

    I wasn’t sure how to permanently fix the issue with the bbPressModeration plugin, but I was able to keep the plugin partially working by commenting out the if statement the function query($bbp) on line 153.

    ` function query($bbp) {
    // if (!bbp_is_query_name( ‘bbp_widget’ )) {
    // $bbp[‘post_status’] .= ‘,pending’;
    // }
    return $bbp;
    }
    `

    The only issue here is that when a users posts a topic or reply, there is no placeholder for that post (eg “This post is awaiting moderation”). The unmoderated post just doesn’t appear at all. But at least all my previous posts still appear.


    kraigg
    Participant

    @kraigg

    You could install the BuddyPress plugin, which has forums listed under groups. If you decide to go with this option, make sure to do a backup of your database first, just in case.

    Or you could customise your forum list page using bbPress shortcodes (https://codex.bbpress.org/shortcodes/). You would just need to get the IDs of the forums. Such as:

    Forums page
    ———–

    Main forums
    [bbp-single-forum id=32]
    [bbp-single-forum id=1]
    [bbp-single-forum id=5]

    Other forums
    [bbp-single-forum id=23]
    [bbp-single-forum id=12]
    [bbp-single-forum id=54]
    [bbp-single-forum id=3]
    [bbp-single-forum id=7]
    [bbp-single-forum id=8]

    In reply to: bbPress 2.2.4 Released

    kraigg
    Participant

    @kraigg

    I, for one, am very much looking forward to image embedding in topics/replies using WYSIWYG!

    In reply to: Messages with Images

    kraigg
    Participant

    @kraigg

    I’m also using GD bbPress Attachments, but instead of embedded the images in the post or reply, it attaches them at the bottom of the topic or reply. This is not always ideal, as the images are separate from the topic/reply. Also it gets tricky when there are multiple images.

    Fortunately bbPress 2.3 will have true image embedding, and should be released very soon

    bbPress 2.2.4 Released


    kraigg
    Participant

    @kraigg

    I think I found a solution to my problem.

    If I go into User Role Editor and give the normal user the capability “delete users” (delete_users), the topics are now visible to them again.

    But I just don’t know how or why this works.

    In reply to: bbPress 2.2.3 Released

    kraigg
    Participant

    @kraigg

    That’s so strange, but I think I found what the problem was.

    For some reason, after updating bbPress and BuddyPress, all groups had reverted back to having no forums. For this reason when I clicked into a group forum page, such as http://www.mywebsite.com/groups/my-group/forum, it returned a 404 error because there was no forum associated with that group.

    I went into PHPMyAdmin and opened up the “bp_groups” table, inside the “enable_forum” field I had to change them all from 0 to 1. I could’ve also gone to Groups > Admin > Enable Forum tick. I’m just not sure why the groups all reverted back to having no forums though. Luckily all the posts are still there and intact.

    In reply to: bbPress 2.2.3 Released

    kraigg
    Participant

    @kraigg

    I’ve also tried re-saving the permalinks (it’s currently on the to “Post name” option), but the problem persists.

    Is there something I should be doing after updating bbPress and BuddyPress?

    In reply to: bbPress 2.2.3 Released

    kraigg
    Participant

    @kraigg

    I’m also getting ‘404 Not Found’ errors for all my forum pages

    http://www.citymoose.com/showcase/websites/ridbcandme/ (newadmin | newadmin)

    Strangely enough, it also breaks some of the login verification plugins I have, such as Unconfirmed and Buddypress Pending Activations (“Warning: Missing argument 2 for wpdb::prepare(), called in /home/citymoos/public_html/showcase/websites/ridbcandme/wp-content/plugins/buddypress-pending-activations/bp-pending-activations.php on line 18 and defined in /home/citymoos/public_html/showcase/websites/ridbcandme/wp-includes/wp-db.php on line 990”).

    I don’t know if these errors are coming from the new BuddyPress 1.6.2, bbPress 2.2.3, or the new WordPress 3.5, which I had to update all at the same time today.

    In reply to: bbPress 2.2.2 released

    kraigg
    Participant

    @kraigg

    @johnjamesjacoby Thanks for all the time and effort you’ve put in to quickly release fixes and updates. It’s much appreciated.


    kraigg
    Participant

    @kraigg

    Thank you JJJ!


    kraigg
    Participant

    @kraigg

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


    kraigg
    Participant

    @kraigg

    Thanks so much @jmdodd!

    I had some redirect code in /wp-content/plugins/bp-custom.php, which redirected user straight to the forum page when they clicked on a group, instead of the group’s homepage which a lot of our users found confusing.

    I just had to change the last line from “forums” to “forum” and that seems to have done the trick.


    function redirect_group_home() {
    global $bp;
    $path = clean_url( $_SERVER['REQUEST_URI'] );
    $path = apply_filters( 'bp_uri', $path );
    if (bp_is_group_home() && strpos( $path, $bp->bp_options_nav[$bp->groups->current_group->slug]['home']['slug'] ) === false ) {
    $bp->groups->current_group->status == 'private' || $bp->groups->current_group->status == 'hidden') {
    if ($bp->groups->current_group->status == 'public' || ($bp->groups->current_group->is_user_member && $bp->groups->current_group->status == 'private') || ($bp->groups->current_group->is_user_member && $bp->groups->current_group->status == 'hidden')) {
    // bp_core_redirect( $path . 'forums/' );
    bp_core_redirect( $path . 'forum/' );
    }
    }
    }


    @johnjamesjacoby
    feel free to toy around with website and test the installation. The link is in my previous post. I’m not using S2members though, but User Role Editor. I still need to do some more thorough testing before I move all this onto my production website.


    kraigg
    Participant

    @kraigg

    Hi Jennifer,

    Thanks for looking into it for me. Here’s a live sample URL of my website http://www.citymoose.com/showcase/websites/ridbcandme (newadmin | newadmin)

    To answer your questions:
    Have you refreshed permalinks by visiting Settings > Permalinks?
    Yes, I’ve gone into Settings > Permalinks and re-saved the permalink (/%postname%/)

    Are only your BuddyPress group forums not displaying correctly? If you have sitewide forums, are those working?
    I don’t have any sitewide forums, only BuddyPress group forums, but I’m using the standalone bbPress plugin, rather than the bbPress plugin that comes with BuddyPress. Unfortunately no forums are working

    Does BuddyPress have a Forums tab in Settings > BuddyPress?
    No, I haven’t enabled the forum setting in BuddyPress. I’m using the standalone bbPress plugin for the forums

    If yes, BuddyPress is trying to handle your group forums using its internal (older) version of bbPress.

    Is “Allow BuddyPress Groups to have their own forums” checked in Settings > Forums?
    Yes, this is still checked

    If yes, then bbPress is trying to handle the Group Forums. Have you imported your Group Forums using Tools > Forums > Import?
    Yes to the first question. I haven’t tried importing the Group Forums using Tools > Forums > Import. The forums were all working prior to upgrading to bbPress 2.2


    kraigg
    Participant

    @kraigg

    Hi Kevinvaughn, can you please let us know how you fixed this? I’m having the same problem with email notifications not being sent


    kraigg
    Participant

    @kraigg

    There is a moderation plugin called bbPressModeration (https://wordpress.org/extend/plugins/bbpressmoderation/).

    It allows administrators to manually approve each post before it gets published to the website. But it doesn’t send an email notification to the poster.


    kraigg
    Participant

    @kraigg

    I’m also looking for a solution to this, without hacking the core bbPress files.

    The forward and back arrows (‘←’ and ‘→’) are not very accessible to people who use screenreaders.

    In reply to: bbPress 2.2

    kraigg
    Participant

    @kraigg

    Thank you so much for looking at fixing my bugs (#1906 and #1915)! Looking forward to playing around with the leaner and meaner bbPress 2.2


    kraigg
    Participant

    @kraigg

    I’m having the same problem as outlined here:

    bbPress 2.1 -Can't do anything except for posting a topic & reply in group forum

    Editing group form posts in Buddypress 1.6.1 works well, same with editing sitewide forums in bbPress 2.1. But once you combine them, you can’t edit group forum posts.

    It’s a known issues now:
    https://bbpress.trac.wordpress.org/ticket/1906

    Hope they’re able to come up with a solution very soon


    kraigg
    Participant

    @kraigg

    Thanks John 🙂 I just created a new trac ticket #1906 for this bug


    kraigg
    Participant

    @kraigg

    I’m having the exact same problem, although the links for ‘trash’ and ‘spam’ work. Not being able to edit is a major problem.

    I removed all plugins, except for bbPress 2.1 and Buddypress 1.5.6, and editing a topic/reply still doesn’t work.

    Editing with just bbPress 2.1 installed works, but once paired up with Buddypress doesn’t work.

Viewing 24 replies - 1 through 24 (of 24 total)