Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 1 through 25 (of 13,958 total)
  • @robin-w

    Moderator

    If you have exported press from another site, and then imported- yes series, and post parents for topics and replies can be wrong where on the imported site there are existing users, posts or pages. There are no easy solutions – I have some code that should fix replies, but I am on holiday at the moment with no access

    @robin-w

    Moderator

    Suspect that the message is from the moderation settings in style pack, I am about to go to South Africa for 2 weeks so unable to help further until I get back

    @robin-w

    Moderator

    Suspect that the message is from the moderation settings in style pack, I am about to go to South Africa for 2 weeks so unable to help further until I get back

    @robin-w

    Moderator

    1. not sure what is the ‘thankyou message’ you get?

    A reply I make just gets accepted and then goes to the reply with the url which is the ID of the reply.

    /forums/topics/testtopic/#post-33905

    so what is adding the ‘thankyou’ message

    2. If it is written to the database it will be in

    dashboard>settings>replies either in all, pending, trash or spam – if it is not there, then it is not in the database.

    3. what have you got set in
    dashboard>settings>bbp style pack>Topic/Reply Form item 16 if checked, try unchecking it or visa versa

    4. and check items 13 and 14 if ticked untick to see if that fixes

    @robin-w

    Moderator

    Too many variables to be able to help in any generic way.

    You will need to try and work out what makes some work and some not.

    So each time before you post, take a copy of the reply content , note the date and time, and keep doing this for both successful and failed replies. Note also any other people posting around the time that you did.

    When you have got say 20 failed replies, you can start to analyze whether there is any common reason, such as words, length, no. paras, subject matter, time of day etc.

    If that fails, then you could start to think that it is not code related, so maybe hosting platform, eg memory – say 3 people using the site at once.

    @robin-w

    Moderator

    apologies, ignore that !!

    @robin-w

    Moderator

    thanks for all that – I’ll take a good look when I get back

    as a by the by, they might ask you to change the title – they made me change one I inherited which started with ‘bbpress’ they said made it look like it was owned and written by bbpress whose name is owned by WordPress. There as plenty of plugins that do this already and haven’t been asked so you may get away with it, but I had to change it from ‘bbPress Topics for Posts’ to ‘Post Comments as bbPress Topics’

    @robin-w

    Moderator

    Interesting – my style pack plugin has a fix for block themes, but from very little knowledge of FSE. I’m away for the next few weeks, but will be interesting to take a look at the code you have done.

    @robin-w

    Moderator

    pretty sure that it is LearnPress – bbPress Integration

    We have submitted a change required to Learndash.

    If you are into code the fix is in learndash-bbpress\includes\class-dependency-check.php line 119 – the line needs changing from

    $plugin_header = get_plugin_data( trailingslashit( str_replace( '\\', '/', WP_PLUGIN_DIR ) ) . $plugin_key );
    to

    $plugin_header = get_plugin_data( trailingslashit( str_replace( '\\', '/', WP_PLUGIN_DIR ) ) . $plugin_key, false, false );

    This then prevents translations being loaded at that point (too early) and hopefully fixes the issue.

    @robin-w

    Moderator

    As the text says :

    Some themes or plugins also add a login page that users use to login, in this case select “bbPress Login or login using a specific page” and put the full url in below. Whether this works will depend on the theme or plugin being used, so I cannot guarantee that this will work

    and looks like yours doesn’t – sorry only so much i can do 🙂

    @robin-w

    Moderator

    no problem, I hope you get fixed soon 🙂

    @robin-w

    Moderator

    Install

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>Subscription Emails>item 2 and follow the instructions

    @robin-w

    Moderator

    use :

    Private groups

    and use topic permissions – see the help section for how to set up

    @robin-w

    Moderator

    dashboard>topics or dashboard>replies and you can bulk select in there – use ‘screen options’ at the top right to set page display to 100 and you can delete 100 at a time

    @robin-w

    Moderator

    @robin-w

    Moderator

    users can subscribe to forums and topics, both work the same way. The post ID is either a forum or topic.

    Not suer what you mean by command – if sql then I cannot help you. If php then you would use get_users and loop through that and use

    bbp_add_user_subscription( $user_id, $forum_id )

    private groups – the code simply checks matches. Users have a user_meta entry of ‘private_group’ and forums have a post_meta of ‘_private_group’ the general settings are stored in the options table

    @robin-w

    Moderator

    The following hooks are the nearest to what you want

    do_action( 'bbp_template_before_replies_loop' ); ?>
    
    do_action( 'bbp_template_before_forums_loop' ); ?>
    
    do_action( 'bbp_template_before_topics_loop' ); ?>
    

    @robin-w

    Moderator

    forum subscribed users are held in post_meta database for the forum

    so if the forum is ID 2927, then in post_meta you would have an entry for each subscribed user eg

    `

    post_id		meta_key			Meta_value
    2927		_bbp_subscription 	1371
    2927 		_bbp_subscription 	1372

    would mean that user_ID’s 1371 and 1372 are subscribed to forum 2927

    @robin-w

    Moderator

    ok, maybe you could do a coupe of images with x’s where you want it, and put on dropbox etc.

    @robin-w

    Moderator

    bbpress has hundreds of hooks.

    Would be better for you to list exactly where you want to insert

    @robin-w

    Moderator

    the code above provides a fix.

    without knowing what your code does, impossible to provide a hook

    @robin-w

    Moderator

    I am just a volunteer here, there is no paid support. If you email me the log, I will take a quick look.

    contact me via http://www.rewweb.co.uk/contact-me/

    @robin-w

    Moderator

    Thanks

    This is just a warning that WordPress 6.7 introduced.

    bbpress in itself does not issue that warning, so I’d suspect that another plugin is affecting this.

    so you need to test to see which other plugin or your theme is doing this.

    I’d start with loco translate and LearnPress – bbPress Integration as likely candidates.

    If not you’ll need to work out which

    Themes

    As a test switch to a default theme such as twentytwenty, and see if this fixes.

    Plugins

    If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users

    Health Check & Troubleshooting

    Then come back

    @robin-w

    Moderator

    so just bbpress and learnpress?

    @robin-w

    Moderator

    I’d start by deactivating all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users

    Health Check & Troubleshooting

    Then come back

Viewing 25 replies - 1 through 25 (of 13,958 total)