Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 1,576 through 1,600 (of 14,219 total)
  • @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

    In reply to: Customizing lead topic

    @robin-w

    Moderator

    in that tab there is the option ‘Where to show roles’ – it is the first item in that tab.

    In reply to: Customizing lead topic

    @robin-w

    Moderator

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>forum roles and you can set the topic author

    @robin-w

    Moderator

    you do seem to be massively over-thinking this 🙂

    Install private groups plugin

    create a group called’teachers’
    create a group called ‘students’
    tick the tab that sets up topic permissions
    create (or edit an existing) forum
    set the forum that teachers can create topics and replies
    set the forum that students can only create replies
    set each user to be either a teacher or student
    job done.

    In reply to: Customizing lead topic

    @robin-w

    Moderator

    you can leave the template for time unchanged.

    add_filter ('bbp_get_topic_post_date' , 'rew_change_to_freshness', 10 , 6) ;
    add_filter ('bbp_get_reply_post_date' , 'rew_change_to_freshness', 10 , 6) ;
    
    function rew_change_to_freshness ($result, $topic_id, $humanize, $gmt, $date, $time) {
    	$result = bbp_get_time_since( bbp_convert_date( $time ) ) ;
    	
    return $result ;
    }

    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

    In reply to: Customizing lead topic

    @robin-w

    Moderator

    find
    wp-content/plugins/bbpress/templates/default/bbpress/content-single-topic-lead.php

    transfer this to your pc and edit
    that will let you remove the header and footer, and change the date function

    and save

    create a directory on your theme called ‘bbpress’
    ie wp-content/themes/%your-theme-name%/bbpress

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

    Then transfer the file you saved above and put in in the directory called bbpress that you created above, so you end up with
    wp-content/themes/%your-theme-name%/bbpress/content-single-topic-lead.php

    bbPress will now use this template instead of the original

    @robin-w

    Moderator

    easy to uninstall
    very different to the one in your link

    @robin-w

    Moderator

    private groups will do what you want.

    Basically you have a choice.

    1. develop code yourself
    2. use code someone else has written
    3. pay someone to write code for you
    4. use a plugin and set this up yourself
    5. use a plugin and pay someone to set it up for you.

    My private groups plugin does what you need – I do not write separate plugins for every circumstance, everyone wants something slightly different 🙂

    Anyway I’ll let you consider. Quite happy to do option 5 if you want some help

    @robin-w

    Moderator

    I don’t have access to that part, but I’ve messaged an plugin author to ask them

    @robin-w

    Moderator

    Install this additional plugin

    Private groups

    once activated go to

    dashboard>settings>help to see how the plugin works, but then look at ‘topic permissions’ tab, which has the exact example you are after.

    In reply to: Messy style – A

    @robin-w

    Moderator

    just wondering if this is the issue

    Search not working

    In reply to: Messy style – A

    @robin-w

    Moderator

    ok, not watched the video, but seems a relevant thread

    Divi Builder Header not loading on search pages

    In reply to: Related topics!

    @robin-w

    Moderator

    maybe look through these, bbpress simply uses custom post types of ‘forum’, ‘topic’ and ‘reply’, so any that will let you add custom posts types should be fine

    https://blog.hubspot.com/website/best-wordpress-related-post-plugins

    In reply to: Messy style – A

    @robin-w

    Moderator

    and what theme are you using?

    In reply to: Messy style – A

    @robin-w

    Moderator

    I would need a link to a live example on your site

    In reply to: Related topics!

    @robin-w

    Moderator

    Not that I know!

    In reply to: Related topics!

    @robin-w

    Moderator

    I just added yarpp, it looks like it recognizes these as ‘buddypress topics’ – buddypress uses bbpress forum

    In reply to: Related topics!

    @robin-w

    Moderator

    you’d need to ask yarpp what you need to do

    @robin-w

    Moderator

    This is 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

    @robin-w

    Moderator

    I suspect this is a theme issue.

    But in essence you are asking what is wrong with your car without letting us examine it 🙂

    In reply to: Related topics!

    @robin-w

    Moderator

    The issue is defining what a ‘related topic’ is !

    In reply to: SEO friendly theme

    @robin-w

    Moderator

    try adding this to your theme’s custom css

    @media only screen and (max-width: 480px) {
    
    #bbpress-forums .bbp-body div.bbp-reply-author, #bbpress-forums .bbp-body div.bbp-topic-author {
    	float: none;
    	margin: 0px; 
    	min-height: 2px;
    }
    
    }
    In reply to: Dashboard users

    @robin-w

    Moderator

    sorry, I’m sure it can be done, but not something I’ve tried.

    So do you want to bbpress profile to show some woocommerce things or visa versa?

    @robin-w

    Moderator

    You would need to amend

    bbpress\templates\default\bbpress\loop-topics.php
    bbpress\templates\default\bbpress\loop-single-topic.php

    so for loop topics find
    wp-content/plugins/bbpress/templates/default/bbpress/loop-topics.php

    transfer this to your pc and edit as required

    and save

    create a directory on your theme called ‘bbpress’
    ie wp-content/themes/%your-theme-name%/bbpress

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

    Then transfer the file you saved above and put in in the directory called bbpress that you created above, so you end up with
    wp-content/themes/%your-theme-name%/bbpress/loop-topics.php
    bbPress will now use this template instead of the original

    repeat for loop-single-topic.php

    you would then need to change the style css to amend width.

    Sorry beyond free help to actually do the answer, if you’d like me to do this as a paid job, then contact me via

    Contact me

    In reply to: SEO friendly theme

    @robin-w

    Moderator

    This code will truncate the title

    add_filter ('bbp_new_topic_pre_title' , 'rew_limit_topic_length' ) ;
    add_filter ('bbp_edit_topic_pre_title' , 'rew_limit_topic_length' ) ;
    
    function rew_limit_topic_length  ($topic_title) {
    	$length = 40 ;
    	if (strlen($topic_title) > $length) {
    		$topic_title = substr($topic_title, 0, $length);
    	}
    return $topic_title ;
    }

    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

    for your second issue, it is site/theme specific, I’d need to see the site and a real example

Viewing 25 replies - 1,576 through 1,600 (of 14,219 total)