Forum Replies Created

Viewing 15 replies - 166 through 180 (of 407 total)
  • I have three users – an admin, a contributor and a subscriber(participent).

    Everyone was be able to submit a picture with a reply but now the admin is the only one that can.

    It copies the pictures to hm_bbpui_temp for both the admin and others but only moves the pictures to a sub folder in hm_bbpui for the admin.

    @clivesmith

    This would be step #2 to investigate. We’ll approach this when the time comes, but it may require creating a private forum on your site that only admins are able to see/use and create a temporary admin account for me on your site. It is HIGHLY RECOMMENDED to NEVER do this, but I think we’ve had enough interactions in the past that you may be comfortable enough with it. We’ll approach that when the time comes. Step #1 is dealing with the TinyMCE editor visibility for guests, and I’ve hit a dead end with that and decided to reach out to others for additional input. I’ll update you as I find out more.

    • This reply was modified 2 years, 11 months ago by codejp3.

    @clivesmith – I’m getting settled back in after several months of being away from home. Got a chance to look into this a little more and the issue on your site is the same issue I encountered on my local dev site.

    Guests are not shown ANY of the TinyMCE visual editor buttons (including the inline image upload button). As shown in this topic, NONE of those buttons are shown to guests, only to logged-in users.

    Step #1 is to get the TinyMCE visual editor to display for guest users. I don’t have a solution for that yet, but I’m looking into it.

    Once the visual editor and buttons are displayed to guests, THEN you can test whether the inline image upload is actually working or not. No way to know as it is right now.

    Hopefully I’ll have a working guest TinyMCE editor solution for you in the near future.

    @realityhousedev – It’s been about a week, so I’m assuming that you got this straight after trying our suggestions. Marking as resolved, but feel free to post here again if you tried all of that and still have issues with the right editor being displayed.

    @robin-w – I take the blame for this one. I’m almost positive I added that class around 5.2.5ish, and I can see how/why that may not be desired by many users.

    Since it’s my fault, I’ll take care of it, but I think it actually makes sense to add new settings to enhance the “Favorites” and “Subscribe” links for topic display. Here’s what I propose:

    1.) Add a new checkbox option for “Favorites” and “Subscribe” links to add the “.bsp_button1” CSS class (disabled by default). That way, those who do want those links to be buttons that match the rest of the buttons can do so.

    2.) Add a new text field option for “Favorites” and “Subscribe” links to allow a custom CSS class to be added (empty by default). That way, those who added a custom class to the other buttons can add the same class the these 2 links if they want them to match.

    Just to be clear: This would have NO EFFECT on the existing forum index buttons (mark as read, subscribe, favorite, new topic). It would only be an enhancement to the per-topic favorites/subscribe links.

    Let me know your input and I’ll get started on this. I’m still getting situated back home, but I’m getting there 😉

    @clivesmith – You’re welcome!

    Even though this is not a Style Pack issue, it’s still an unresolved issue, and I don’t like unresolved issues.

    If it was working, but isn’t now, then clearly SOMETHING changed. I’ll try to help you figure out what that “something” is.

    I did NOT verify that guests could upload pictures, and will do so when I can and get back to you. I recently did some traveling and my server and dev laptop are not accessible at the moment, but should be later this week.

    Upgrading bbPress itself is recommended. I think you would be fine upgrading bbPress core without any serious impact on your styling, but do a site backup first, and just revert it back to that if you do encounter issues.

    As for the first code snippet to hide the subscribe link, I’d advise to not use that, and just use the built-in bbPress settings (/wp-admin/options-general.php?page=bbpress) to disable subscriptions (if you wanted to go that route, which it sounds like you don’t).

    The second code snippet is what will hold you over until we come up with the best solution for this.

    The only other solution I can offer for now is to go back to using Style Pack version 5.2.5 until we address this and issue a new release that will take care of it for you.

    I’ll also add to everything that @robin-w just mentioned –

    Another user recently posted this issue, and it was due to his browser cache. Once he cleared his cache, the proper editor box then showed. Same could be true for any WP site caching plugins and/or any CDN cache.

    @clivesmith – I’ve had delays with email, but your file did finally show up. I reset Style Pack to all defaults, imported your settings file, and activated the Inline Image Upload plugin, and was able to successfully upload images. No issues at all.

    I tried:

    1.) various formats (png, jpg, gif)

    2.) with/without image descriptions

    3.) with/without image dimensions

    By default they are uploaded to folders within /wp-content/uploads/hm_bbpui/###/ (### is the ID of the post). The permissions for that folder and subfolders are 0744. It is working with those permissions.

    If it is a permissions issue would the reply form just reject the replies with pictures without a error message while accepting the replies without pictures

    @clivesmith

    I’d have to dig into the code for that plugin. It may be coded to display a message, or it may fail silently.

    If your folder permissions are fine, then I’d look into the WordPress permissions, and that will take some digging to see what permissions that plugin uses, and which user groups/roles are assigned those permissions. A plugin like User Role Editor may help with that.

    If the permissions are fine (both directories and WP roles), then I’d look into other limiting factors – Are there file size / total space limitations on your server? Have there been any server changes recently, and if so, what?

    If you can’t figure it out and the plugin author can’t help you figure it out, then you could ask your hosting provider to look into it, or hire a freelance server admin/troublehsooter/debugger to help you get it straight.

    @reedy – I’ve gone as far back as version 4.9.11 and can verify the “Subscribe” link showing on topics even when the subscription button is not activated at least since then. It is working as expected for actual forum subscriptions, but always displayed on topics whether activated or not.

    As for the new class “bsp_button1” being added, I can’t say for sure when that change was made (probably version 5.2.x), but that has been that way for quite a while now.

    There are CSS code snippets that can help you override the styles applied to that class, but you would have to target the specific “Subscribe” links you wanted since the “bsp_button1” class affects MANY buttons such as “Mark All Topics Read” and “Create New Topic”.

    Before going that route, I think myself and @robin-w should discuss the best option for handling this and make some code changes accordingly. I personally think the bsp_button1 class SHOULD be applied for forum subscriptions (would match the other forum-level buttons), but should NOT be applied for topics (would match the favorites link).

    Until this is resolved, here’s a few things you can do to hold you over:

    1.) If you want to disable subscriptions, you can simply hide the subscription link until we apply code to actually disable it. You can add this CSS code snippet to the “Custom CSS” tab ( /wp-admin/options-general.php?page=bbp-style-pack&tab=css) to hide the button altogether.

    a.subscription-toggle {
        display: none;
    }

    2.) To mimic the default styling of your theme, you could add this CSS code snippet to the “Custom CSS” tab. NOTE: It may require small changes to match your theme ( values may need to be “initial”, “inherit”, “revert”, or “unset” depending on the CSS hierarchy of your theme):

    a.subscription-toggle.bsp_button1 {
        font-size: revert !important;
        font-family:  revert !important;
        color:  unset !important;
        background: revert !important;
        background-image: revert !important;
        -webkit-border-radius: revert !important;
        -moz-border-radius: revert !important;
        border-radius: revert !important;
        padding:  revert !important;
        text-decoration: revert !important;
        border: revert !important;
        cursor: revert !important;
        line-height: revert !important;
    }
    
    a.subscription-toggle.bsp_button1:hover{
        background: revert !important;
        background-image: revert !important;
        text-decoration: inherit !important;
    } 

    The 2 code snippets above are TEMPORARY until we can dig into this and publish a new version to address this permanently.

    • This reply was modified 2 years, 12 months ago by codejp3. Reason: fixed minor typos

    @clivesmith

    If i get that settings export TODAY, then I can try your Style Pack settings to verify that it is indeed NOT a conflict between the 2 plugins. Otherwise, it will have to wait because I will be away from the computer for several days, maybe a week-ish.

    Both myself and @robin-w would like to see this issue resolved, but the primary focus is Style Pack (specifically whether there’s a conflict with Style Pack or not). As of now, it does not seem to be an issue with the file uploads plugin and Style Pack.

    We may be able to offer a few other suggestions to try, but you’ve already received a ton more support for that plugin here than even in its’ own support forum.

    With that said, it seems that you’ve discovered a probable permissions issue. I’d suggest digging in deep with WordPress permissions and server directory/file permissions.

    @bubumick69 – version 5.5.8 was just released which includes the Kadence theme support capability that Robin added for you.

    As Robin said, please disable the temporary testing plugin before upgrading to this official release.

    Marking as resolved, but feel free to post here if you have any issues.

    @enkoes – version 5.5.8 was just released which includes the new option to disable nested quotes.

    Sorry it took a little longer than expected. I had to make it work with ANY combination of quotes that it could possibly encounter (single quote, nested quote, multiple single quotes, multiple nested quotes, and any combination of single and nested quotes).

    Marking as resolved, but feel free to post here if you have any issues.

    codejp3

    (@codejp3)

    Yeah, I didn’t even try the plugin myself. Good call @robin-w !

    @clivesmith – Do you have WP debugging enabled and have you checked your debug log file?

    Debugging in WordPress

    Or, with debugging enabled, have you tried a plugin like DebugPress to view errors in-place as they occur?

    https://ww.wp.xz.cn/plugins/debugpress/

    Just for good measure, I’d like to try the media upload plugin on my test server with YOUR settings as you have them for Style Pack. This is purely to confirm that the issue you’re experiencing is not a conflict with Style Pack. Can you export your current settings from the “Export Plugin Settings” tab (/wp-admin/options-general.php?page=bbp-style-pack&tab=export) and email them to me at [email protected]?

    codejp3

    (@codejp3)

    @robin-w – I looked at the conflicting plugin (https://ww.wp.xz.cn/plugins/image-upload-for-bbpress/). Is this something we want to include in an upcoming release? Out of the list of features of that plugin, I could make a case for including the following within Style Pack:

    1.) Allow forum users to upload images from their computer and insert them inline into their posts.

    2.) Change the directory where uploaded images are stored.

    3.) Limit which user roles are permitted to upload images.

    4.) Limit the number of uploaded images allowed per post.

    5.) Automatically downsize images to fit specified maximum dimensions.

    6.) Set PNG and JPEG compression levels so images take up less disk space.

    7.) Allow users to view enlarged images in a lightbox by clicking on them within the post.

    8.) View total image count and file size statistics.

    Yes, it’s “infringing” upon the paid PRO version of that plugin, but like I said, I could see this being a “must have” addition to Style Pack and heavily used.

    Considering the plugin’s current conflict with Style Pack, I think we’ll wait and see what kind of response @clivesmith gets to his support topic (https://ww.wp.xz.cn/support/topic/media-upload-not-working-13/) and go from there. If no response, or no plans to re-work code for Style Pack compatibility, then we push forward with adding “inline image upload” features.

    Your thoughts?

    codejp3

    (@codejp3)

    Update: Quoted posts marked as spam/pending

    We resolved this issue through email, but I wanted to share it here in case others run across this issue.

    Cause: Too many links within post content. Blocked by the WordPress setting for comment moderation, which affects the whole site, including bbPress topics/replies. Quotes include links to the quoted user’s profile, and are counted as links within the topic/reply content.

    I’ve included 3 possible solutions below, and they are in order from least preferred/effective up to most preferred/effective.

    Solution #1: Increase the amount of allowed links in Settings > Discussion > Comment Moderation (/wp-admin/options-discussion.php). This will fix some cases where this is happening, but not all, and will affect the entire site (not just bbPress).

    Solution #2: Disable the WordPress comment moderation settings specifically for bbPress topics/comments. You can do so by adding the following code snippet to your site (child theme functions.php file or with the Code Snippets plugin):

    // disable WordPress discussion checks within bbPress content
    add_filter( 'bbp_bypass_check_for_moderation', '__return_true' );

    Credit for this code snippet goes to @ajtruckle from this topic on bbPress support forum.

    Since this disables comment checks in the forum, you may want to enable the moderation tools within the Style Pack “Moderation” tab (/wp-admin/options-general.php?page=bbp-style-pack&tab=modtools) and set them up according to your preferences (/wp-admin/options-general.php?page=bbpress%2F#bsp-moderation) for good measure.

    Solution #3 (preferred): Make sure links that are within the current website do not get counted against the number of links within posts/topics/replies. For an unknown reason, BuddyPress uses this technique, but WordPress core does not. THIS is the root cause of the issue, and this technique specifically addresses that root cause, while the previous 2 solutions are just workarounds. In order to prevent local links from being counted as part of the number of links within posts/topics/replies, add this code snippet to your site (child theme functions.php file or with the Code Snippets plugin):

    // prevent local links from being counted against comment moderation max links
    function custom_comment_max_links_url( $num_links, $user_url, $content ) {
    
            // How many links?
            $num_links = preg_match_all( '/(http|ftp|https):\/\/(.+?)([\s\'"])/i', $content, $matches );
    
            // Neutralize the current site's URL.
            if ( isset( $matches[0] ) && is_array( $matches[0] ) ) {
                    foreach ( $matches[0] as $found_url ) {
                            if ( 0 === strpos( $found_url, home_url() ) ) {
                                    $num_links -=1;
                            }
                    }
            }
    
            return $num_links;
    }
    add_filter( 'comment_max_links_url', 'custom_comment_max_links_url', 10, 3 );

    THIS is the preferred solution since it allows the WordPress comment moderation link limit to remain in effect as intended, but does not count local links against that max links limit.

    I hope this is helpful to anyone experiencing this issue.

    @enkoes – glad we got it resolved. Expect the new release with the option to disable nested quotes in the near future 😉

Viewing 15 replies - 166 through 180 (of 407 total)