Robin W (@robin-w)

Forum Replies Created

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

    Moderator

    Unless you are using the plugin or bespoke code to load that template, I fail to see how that can be, the error quotes a file within Youzify

    plugins/youzify/includes/public/templates/bbpress/content-statistics.php on line 33

    but quite happy for you to pursue as you feel fit

    @robin-w

    Moderator

    basically you need to raise this with youzify

    @robin-w

    Moderator

    the warning is

    Warning: Undefined array key “forum_count” in /home/clients/3db470ac3c186374a924a94534df90ab/sites/test.com/wp-content/plugins/youzify

    which says the undefined array key is in the plugin youzify

    sorry I cannot help further

    @robin-w

    Moderator

    that error is for the youzify plugin, so can only appear if that plugin is active, or if you have not cleared cache.

    @robin-w

    Moderator

    not quite sure what you mean.

    so without style pack, what method are you using to enable the visual editor?

    @robin-w

    Moderator

    sorry, I run multiple plugins and it is a national holiday here in the UK – can you tell me what settings in which tabs in style pack you amended so I don’t have to spend 20 minutes finding them

    @robin-w

    Moderator

    @robin-w

    Moderator

    These errors are as you say not bbpress errors, but ones related to a different plugin.

    You will need to post in

    https://wordpress.org/support/plugin/follow-bbpress/

    although with on 10 users and no update for 4 years, I suspect it is not actively suppprted

    @robin-w

    Moderator

    bbpress just uses wordpress registration, so it is likely that no emails are working.

    Use the test in that plugin I sent to see if they are leaving your site

    @robin-w

    Moderator

    not really bbpress related, but talk to your hoster, and try installing ten ‘check and log email’ plugin

    @robin-w

    Moderator

    can you confirm that https ones work, and how are you loading these?

    @robin-w

    Moderator

    same plugin, but explore the settings, in this case the topic/reply display item 6

    @robin-w

    Moderator

    do you mean db or server?

    @robin-w

    Moderator

    Thanks for joining!

    I am not a bbpress author, just someone who helps out.

    Yes, I suspect that there are several places it could be done.

    My code above should work (and if you can test it that would be great) , but if you fancy working up a better solution, please post back.

    I will happily incorporate it into my bbp-style-pack plugin to save others needing to work out code and/or use child theme functions.

    @robin-w

    Moderator

    I suspect you are using one of the new FSE themes, so you need a fix to work with bbpress.
    install

    bbp style pack

    once activated, navigate to

    dashboard>settings>bbp style pack, and you should see the first tab called ‘Theme Support’ – if you don’t see this, come back.

    In that tab, select

    Enable Theme Support

    and save

    The forums should then display

    @robin-w

    Moderator

    I don’t have any forums on my live sites (anymore), so don’t use akismet, so I’m relying on your better knowledge 🙂

    so to save having to repeat bbpress code, the logic might be

    add_action ('bbp_new_reply_pre_extras' , 'rew_askimet_check', 100 , 1 ) ; //might need to be run at a high priority to make sure it is last - not tested
    
    function rew_askimet_check ($reply_id) {
    	//only execute is this is akismet spam
    	if ( bbp_get_spam_status_id() == get_post_status($reply_id) && !empty (get_post_meta( $reply_id, '_bbp_akismet_user_result', true ))) {
    		//unspam the reply (which takes it back to pending, and within that function runs the update_reply_walker)
    		bbp_unspam_reply( $reply_id) ;
    		//and then re-spam it
    		bbp_spam_reply( $reply_id) ;
    	}
    }

    which is actually what I do manually (I click unspam and then click spam on the front end admin) on this site when akismet does this.

    @robin-w

    Moderator

    Dashboard- settings – forums and untick the prefix forum slug

    @robin-w

    Moderator

    Dashboard- forums and edit the forum on right hand side it will show visibility amend as required

    @robin-w

    Moderator

    you might want to make your forums ‘private’ several are public, I found some by using

    https://www.saanichsommeliers.ca/forums/

    @robin-w

    Moderator

    I have lately been notified several times that obviously fake emails have evidently “subscribed” to my Forum.

    sorry, could you say how that works -who or what notified you?

    @robin-w

    Moderator

    just had a quick look (i’m working on soemthing else at the moment, but found 5 minutes)

    maybe

    if ( bbp_get_spam_status_id() == get_post_status($reply_id) && !empty (get_post_meta( $reply_id, '_bbp_akismet_user_result', true ))) {

    @robin-w

    Moderator

    in case you are working on this, basically if we hook to

    bbp_new_reply_pre_extras

    we can then do a check if it has been spammed by askimet and the if so, just do a reply walker update

    so something like (totally untested)

    add_action ('bbp_new_reply_pre_extras' , 'rew_askimet_check', 100 , 1 ) ; //might need to be run at a high priority to make sure it is last - not tested
    
    function rew_askimet_check ($reply_id) {
    	//only execute is this is akismet spam
    	if ( bbp_get_spam_status_id() == get_post_status($reply_id) && [some check that this has been marked by akismet])) {
    		//just run the reply update walker as this will do a full refresh of all ancestors to the topic if just the reply ID is sent
    			bbp_update_reply_walker($reply_id) ;
    	
    	}
    }

    The akismet check would be something like

    if (get_post_meta( $reply_id, 'some akismet metadata', true )

    @robin-w

    Moderator

    I’m in the code, and can work out where we might link to a hook, it is really if there is a metadata field I can use to do a check – the name would be useful

    @robin-w

    Moderator

    Just playing with options. I don’t know how technical you are, but for an ‘askimet’ spammed reply, are there anything additional fields set in the reply metadata to say that askimet found it? If you don’t know, not a problem, but if there is or you know nothing is set, then that would be useful

    @robin-w

    Moderator

    thanks, yes this happens in this forum too, but I have limited access to the backend here, as I just help out.

    I was asking so I can find a hook to try and fix. your post was helpful, so let me see if I can do some code later today

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