Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 1,601 through 1,625 (of 14,240 total)
  • 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

    @robin-w

    Moderator

    sorry this is a paid product, so no idea, maybe ask them

    @robin-w

    Moderator

    ok – thanks

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>Profile

    @robin-w

    Moderator

    when you click on a user from where?

    @robin-w

    Moderator

    when you click on a user from where? – as admin you may well be able to see things that a participant cannot.

Viewing 25 replies - 1,601 through 1,625 (of 14,240 total)