Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 501 through 525 (of 11,582 total)
  • Author
    Search Results
  • #230688
    Robin W
    Moderator

    it could be a theme or plugin issue

    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

    #230575
    Robin W
    Moderator

    thanks – I can see the issue – suggest you change the keymaster pw to prevent this site being hacked

    I’ll now use my test site to see if I can work out what is happening

    #230572
    Robin W
    Moderator

    1. can’t see as I don’t have access
    2. when you say ‘blank bbpress’ did you do the full tests above?

    #230503
    chenryahts
    Participant

    Yep, using a child theme. But, the child theme isn’t listed, only twentytwentytwo itself, and selecting it didn’t change anything.

    So, maybe I misunderstood your directions, but this did not solve the issue. I still get a blank white page.

    I’m happy to test something else or troubleshoot it.

    Robin W
    Moderator

    just loaded that code to my test site, and it runs fine.

    suggest you delete and try it again

    #230409
    cathyskach
    Participant

    I tested this on our staging site. Switching out for the Twenty Twenty theme, the dates populated, so I presume the problem to be the theme. What advice do you have for a fix?

    PS: I tried taking out the short code on the member-only (parent) page to allow you access to the forum but it seems to still want a password.

    Cathy

    #230404
    Robin W
    Moderator

    ok, given that I cannot access site (in effect you are sending me a photo of your car engine, rather than letting me see the car itself) I can only suggest it could be a theme or plugin issue

    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

    #230392
    Robin W
    Moderator

    yes just tried ‘forum’ and it does not show

    it could be a theme or plugin issue

    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

    #230391
    Robin W
    Moderator

    ok, so I followed your test.

    I created a forum called ‘test hidden forum’ and a topic within it called ‘test hidden topic’

    I logged in as a participant and did a search for ‘hidden’ – no results.

    What search were you doing that I could replicate?

    EDIT – sorry just looked at what you did in trac – I’ll try that

    #230371
    rinde
    Participant

    Is bbPress no longer being updated?

    It shows Last Updated: 8 months ago Untested with your version of WordPress

    We are on WordPress 6.01.
    I want to buy a theme for bbPress but am afraid it won’t work since it hasn’t been updated in so long 🙂

    #230345
    Robin W
    Moderator

    ok, now that we have checked the permalinks and the slugs, then it could be a theme or plugin issue

    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

    maybe it’s the if function, try

    add_action ('bbp_new_topic_post_extras', 'rew_spam_update_last_active', 10 ,1 ) ;
    
    function rew_spam_update_last_active ($topic_id) {
    	//this function tests if a new topic has been marked as spam by Akismet.  If so then the last active date will be wrong
    	//So we use topic walker to recalculate it
    	bbp_update_topic_walker ($topic_id,  '', 0, 0, true) ;
    	}

    It’s not the answer, but might help get to the solution problem

    Robin W
    Moderator

    ‘It looks like if the fix was inside bbp_topic_freshness_link() it would be much easier to test, ;’

    agree but it just wouldn’t work there, that is not where or when the issue is occurring.

    Try

    add_action ('bbp_new_topic_post_extras', 'rew_spam_update_last_active', 10 ,1 ) ;
    
    function rew_spam_update_last_active ($topic_id) {
    	//this function tests if a new topic has been marked as spam by Akismet.  If so then the last active date will be wrong
    	//So we use topic walker to recalculate it
    	if (!empty (get_post_meta( $topic_id, '_bbp_akismet_user_result' ))) {
    	bbp_update_topic_walker ($topic_id,  '', 0, 0, true) ;
    	}
    }
    
    gtatar
    Participant

    Thank you, Robin. I added the snipped, and it partially worked. The anchor text “time ago” now reflects the time of the latest good post. However the URL is for the latest spam post.

    I started digging a bit through bbpress code. It looks like if the fix was inside bbp_topic_freshness_link() it would be much easier to test, as we would not need to wait for a new spam post to test the fix. And perhaps make decisions based on the wp_post status having the value “publish”. This way the solution would not be specific to Akismet. But I am really too new to WordPress coding and bbPress to be making this kind of changes myself.

    Robin W
    Moderator

    ok, give this a try – it may or may not do the trick !!

    add_action ('bbp_new_topic_post_extras', 'rew_spam_update_last_active', 10 ,1 ) ;
    
    function rew_spam_update_last_active ($topic_id) {
    	//this function tests if a new topic has been marked as spam by Akismet.  If so then the last active date will be wrong
    	//So we use topic walker to recalculate it
    	if (!empty (get_post_meta( $topic_id, '_bbp_akismet_user_result' ))) {
    	bbp_update_topic_walker ($topic_id) ;
    	}
    }

    Put this in your child theme’s function file –

    ie wp-content/themes/%your-theme-name%/functions.php

    where %your-theme-name% is the name of your theme

    or use

    Code Snippets

    gtatar
    Participant

    Hi Robin. Thank you for looking at this. Yes, I can replicate the problem and test a fix. In fact, I have the described situation on my forum right now:

    https://www.totalsync.com/forum/

    And it is likely to stay this way for the next few days. If necessary I can also recrate it manually.

    Robin W
    Moderator

    yes it does (and does so on here as well!).

    I’m just a helper here, not a bbpress author.

    I don’t run akismet on my test site. Are you able to replicate the problem so that we can check a fix if I am able to work up some code?

    gtatar
    Participant

    In the list of forums, there is a column called “Last Post”. For each forum, this column contains a link to the last topic or reply posted to that forum.

    If there was a spam post 2 hours ago (and Akismet puts it in spam), then the “Last Post” column will contain text “2 hours ago” and a link like https://www.example.com/?post_type=topic&p=1759 (where 1759 is ID of the spam post).

    Correct behavior would be to link to the latest published post. Anchor text should also reflect when the latest post was published. In my example, if a post got published 5 hours ago; and then a spam post came in 2 hours ago, the anchor text should say “5 hours ago”.

    #230251
    Robin W
    Moderator

    I fully understand – you have an issue where one forum is not showing. Given that showing these forums are settings within your theme or LMS, not within bbpress, then it most likely that it is a setting somewhere within this.

    so you can try one last thing

    dashboard>settings>permalinks and just click save – this resets the permalinks and may help

    then if you srea still convinced that it is not theme or plugin, you can prove this using

    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

    neon67
    Participant

    Oh, it works like a charm! This will save a lot of time for the admin.
    But all the roles need to be tested.
    I will observe for 2 weeks and report the results.
    Thanks Robin for the good Tips!

    Robin W
    Moderator

    This is not fully tested, but should work

    add_filter( 'bbp_get_reply_edit_url', 'rew_admin_link', 10 , 2 ) ;
    
    function rew_admin_link ($url, $reply_id ) {
    	if ( bbp_is_user_keymaster(get_current_user_id())) { 
    	$url = '/wp-admin/post.php?post='.$reply_id.'&action=edit' ;
    	}
    return $url ;
    }
    Robin W
    Moderator

    thanks, just tested with just bbpress and agree it does disappear.

    I had bbp private groups enabled, although no settings affecting, but with this it shows.

    I’ll try and take a look tomorrow (10pm in UK at the moment) to see what private groups does that is fixing that !

    Robin W
    Moderator

    it could be a theme or plugin issue

    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

    ok, I just created that test scenario, and cannot replicate

    Once I post a topic in one of the sub-forums the list disappears below the category on forum index.

    can you post a screenshot please so that I can understand exactly what is disappearing

    rinh
    Participant

    Greetings

    I set up a test forum and created a private category with two sub-forums inside. On forum index the category is shown with its two sub-forums listed below it, as intended.

    Once I post a topic in one of the sub-forums the list disappears below the category on forum index. I can still see them if I click on the category however.

    It’s similar to this bug here, but it doesn’t seem to matter if there’s a description or not
    https://bbpress.trac.wordpress.org/ticket/2085

    The bug only happen when the category is private or hidden. Should I do a bug report about it? Is there any known solutions?

    WordPress: 6.0
    Plugins: bbPress 2.6.9
    Theme: Tried various WordPress default themes.

    Thank you in advance

Viewing 25 results - 501 through 525 (of 11,582 total)
Skip to toolbar