Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 3,826 through 3,850 (of 14,247 total)
  • @robin-w

    Moderator

    Thank you so much for your kind donation – it is really appreciated !!

    I am glad to have helped πŸ™‚

    @robin-w

    Moderator

    I Can’t see the images, but from the sound you might need

    bbp style pack

    @robin-w

    Moderator
    add_action ('bbp_theme_before_topic_title' ,'rew_display_forum' ) ;
    
    function rew_display_forum () {
    	$topic_forum_id = bbp_get_topic_forum_id();
    	$forum_title = bbp_get_forum_title( $topic_forum_id);
    	$forum_url = bbp_get_forum_permalink( $topic_forum_id );
    	echo '<a class="rew-forum-name" href="'.$forum_url.'">'.$forum_title.': </a>' ;
    }

    @robin-w

    Moderator

    hmm… that’s not easy as you rightly say the hierarchy is

    content-archive-topic
    loop-topics
    loop-single-topic

    This last one is also used by forums, so you can’t just change that.

    In this last you could hook an action to ‘bbp_theme_before_topic_title’ eg put this in your child theme functions file

    add_action ('bbp_theme_before_topic_title' ,'rew_display_forum' ) ;
    
    function rew_display_forum () {
    	$topic_forum_id = bbp_get_topic_forum_id();
    	$forum_title = bbp_get_forum_title( $topic_forum_id);
    	echo '<div class="rew-forum-name">'.$forum_title.'</div>' ;
    }

    and then as the shortcode displays in a ‘page’ class and the forums in a ‘forum’ class, we can add css to hide the forum title unless we are in a page

    so in your custom css area put

    .rew-forum-name {
    display :none ;
    }
    .page .rew-forum-name {
    display : inline-block ;
    }	

    that should work

    @robin-w

    Moderator

    This is probably because in the bbpress plugin there is a template called content-search.php. Many themes also now have a template file called content-search.php. Since the bbPress templates don’t necessarily need to be in a bbPress folder, the bbPress plugin is choosing the template from your theme before the template that is actually in bbPress.

    To fix copy content-search.php from the bbPress plugin templates and place it in a child theme in a folder called bbpress.

    Functions files and child themes – explained !

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

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

    find
    wp-content/plugins/bbpress/templates/default/bbpress/content-search.php
    Make a copy of this file, 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-search.php
    bbPress will now use this template instead of the original

    @robin-w

    Moderator

    bbpress sends from the address to this address with BCC to each subscriber.

    This works for some sites, not for others.

    This plugin whilst old, still works well

    AsynCRONous bbPress Subscriptions

    @robin-w

    Moderator

    πŸ™‚

    @robin-w

    Moderator
    $topic_url = bbp_get_topic_permalink( bbp_get_reply_topic_id( $reply_id ) );
    
    $forum_permalink = bbp_get_forum_permalink( $forum_id );

    two examples of what you might be after

    @robin-w

    Moderator

    sorry – don’t understand the question.

    if you mean go to a topic then this is simply the url, which will depend on your permalink settings

    @robin-w

    Moderator

    I’m working on a pre-defined list option at the moment – probably about a week and I’ll release some code

    In reply to: Settings for my forum

    @robin-w

    Moderator

    Great – glad you are fixed

    @robin-w

    Moderator

    Quickest way to chec is just to deactivate style pack (you’ll not lose any settings) and see if it comes back ! If so then check the settings

    @robin-w

    Moderator

    Backend = anything where you are in the dashboard
    Frontend – everything else !

    So what you describe is not normal behaviour.

    I’d suggest 2 things.

    1. You have another plugin that is affecting how bbpress does topic edits
    2. The topic in question has content that violates your moderation rules – most commonly a number of links, but might be words.

    so in

    dashboard>settings>discussion you will have rules on how many links and what wrods are blacklisted on your site. If on a topic edit these rules get broken, then the topic will go into moderation.

    If this is not obvious from the topic that you are editing that is going into pending, then you could try posting a simple topic with just a few words, and then edit this to see if it suffers from the issue.

    if it does, then item 1 above might apply.

    @robin-w

    Moderator

    you don’t say whether this is front or back end.

    If you can repeat this issue, can you give us a series of steps to see it

    @robin-w

    Moderator

    πŸ™‚

    In reply to: Settings for my forum

    @robin-w

    Moderator

    it will either be subscriptions or the notify plugin (or another bbpress related plugin!)

    @robin-w

    Moderator

    yes that should be fine

    In reply to: Settings for my forum

    @robin-w

    Moderator

    ok, install this plugin

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>bug fixes

    and you’ll be able to add yourself back as keymaster

    you can deactivate and delete this style pack plugin afterwards, but you might want to make use of it’s features πŸ™‚

    In reply to: Settings for my forum

    @robin-w

    Moderator

    so have you got a keymaster or do you now have none?

    @robin-w

    Moderator

    yes these are the 3 bbpress post types, and they are the only post types.

    In reply to: Settings for my forum

    @robin-w

    Moderator

    ok, so you should have ‘administrator’ AND ‘keymaster’ roles showing against your username, I’d suspect that Keymaster is not set. Only a Keymaster can set another Keymaster, but if you have none on your site, come back.

    @robin-w

    Moderator

    if the reply is 1500 and the topic it belongs to 1000 then

    $reply_topic_id = bbp_get_reply_topic_id(1500)
    if( $reply_topic_id == 1000 ){  
            echo 'Baseball rule';     
            return;
    In reply to: Forum Not showing

    @robin-w

    Moderator

    @izzyeast bbpress 2.6.6 works with WordPress 5.7 -I have it running on several sites, and with 300,000 installation, it would be well know if it didn’t.

    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

    On the sites where I have forums, I’ve never used single forums, just a main forum with forums listed in it, so not really had to deal with this issue -I should add that I am just a bbpress user who helps out here, not a bbpress author.

    @robin-w

    Moderator

    Personally I’d just disable breadcrumbs – if you are only showing one forum at a time, then they are not really adding much.

Viewing 25 replies - 3,826 through 3,850 (of 14,247 total)