Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 3,176 through 3,200 (of 14,246 total)
  • @robin-w

    Moderator

    I’d be tempted to use the conditional widgets plugin to achieve this, but bear in mind that wordpress’s move to block widgets may limit the lifespan.

    It would also be worth asking the theme author since this is a paid theme.

    Beyond that, it would be custom development work I suspect

    @robin-w

    Moderator

    ok, so

    I understand from this threat that the layout of search results or topic-tag pages can be customized based on the template files stored in the bbpress/templates/default/bbpress folder.

    In order to retain the customization during updates of the bbpress plugin, I have created the same folder structure inside the directory of my child theme (see screenshot).

    yes that is correct and should work, BUT you would do better to only copy those templates you are changing/altering – bbpress will then use those you have changed from your child theme directory and use the unchanged from the plugin directory..

    so what are users clicking to get the topic tags page ?

    In reply to: Embedded images

    @robin-w

    Moderator

    so you’re fixed – ish ???

    In reply to: Embedded images

    @robin-w

    Moderator

    But now they show a warning and it has to be viewed by clicking a link.

    Given that bbpress hasn’t changed, then something else is presumably now adding that warning ?

    @robin-w

    Moderator

    🙂

    @robin-w

    Moderator

    ok, without knowing what is determining the order, it is hard to give you code to correct.

    I’d suggest you play with publish dates of the stickies and ant replies to them to see if you can work out the issue, then come back and I’ll see if I can help further

    @robin-w

    Moderator

    line 322 of \includes\topics\template.php has the function I think

    you’d use a filter to add an ‘order by’ probably using the parse args on line 330

    so

    add_filter ('bbp_before_add_sticky_topics_parse_args' , 'your_function') ;
    
    function your_function ($r) {
    //add the order you want to sort
    $r['order_by'] = etc......
    
    }
    

    Sorry don’t have time to look at this evening, but come back if you need further help

    @robin-w

    Moderator

    🙂

    @robin-w

    Moderator

    part of the new topic check is for duplicates , not sure why your site isn’t.

    you get an error message of

    ‘Duplicate topic detected; it looks as though you’ve already said that.’

    @robin-w

    Moderator

    so do the stickies have any replies to them ?

    that might alter the order, eg most recent reply determines order

    @robin-w

    Moderator

    sorry, forget that, in wrong place

    @robin-w

    Moderator

    stickies should appear in date order early to late.

    ok so in dashboard>topics>edit topics and find the sticky topics and edit, do they have a ‘menu order’ set ?

    @robin-w

    Moderator

    o how are you changing the order, which is not sticking

    @robin-w

    Moderator

    if not then come back, but let me know how you are changing the order

    @robin-w

    Moderator

    order is determined usually by date – might be worth using the backend to change the date of one to be before or after the other.

    @robin-w

    Moderator

    pretty much – if you want to not show user profiles, then use

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>Profile

    where you can set profiles not to display

    @robin-w

    Moderator

    untested, but this should work

    add_filter( 'bbp_get_reply_author_display_name' , 'rew_reply_change_to_first_name', 10 , 2 ) ;
    
    function rew_reply_change_to_first_name ($author_name, $reply_id) {
    	// Get the author ID
    	$author_id = bbp_get_reply_author_id( $reply_id );
    	$user = get_userdata($author_id); 
    	$first_name = $user->user_firstname;
    return $first_name ;
    }
    
    add_filter( 'bbp_get_topic_author_display_name' , 'rew_topic_change_to_first_name', 10 , 2 ) ;
    
    function rew_topic_change_to_first_name ($author_name, $topic_id) {
    	// Get the author ID
    	$author_id = bbp_get_topic_author_id( $topic_id );
    	$user = get_userdata($author_id); 
    	$first_name = $user->user_firstname;
    return $first_name ;
    }

    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

    @robin-w

    Moderator

    link to an example on your site please

    @robin-w

    Moderator

    bbpress just uses wordpress registration.

    I suspect that emails from your site may be being seen as spam.

    try the ideas in here

    BBpress: Registration mails fail

    In reply to: search input box

    @robin-w

    Moderator

    If you have allowed the serach, then it should appear in your main forum list.

    If it is not, 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

    you need to be a keymaster to see forums in the dashboard – check your settings

    dashboard>users

    If you are not, then you need to get a keymaster to set you up.

    If you are a keymaster 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

    bbpress doesn’t

    @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

    are you using reply threading?

    @robin-w

    Moderator

    thanks – much appreciated

Viewing 25 replies - 3,176 through 3,200 (of 14,246 total)