Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 6,926 through 6,950 (of 14,246 total)
  • In reply to: Edit Pagination Range

    @robin-w

    Moderator

    I can’t remember it ever being asked ๐Ÿ™‚

    However after a bit of digging, this will change it

    add_filter( 'bbp_topic_pagination', 'rew_change_shown' ) ;
    
    function rew_change_shown ($args) {
    	$args['mid_size'] = 8 ;
    return $args ;
    }

    8 shows ‘8 +previous and next’ – so 10 – amend the number to whatever you want

    Put this in your child theme’s function file – or use

    Code Snippets

    @robin-w

    Moderator

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

    written by me for free, and having no idea quite how your site is set up, or what settings within each plugin you are using, I cannot possibly say whether it will conflict. There are thousands of themes and tens of thousands of plugins – you will need to test. That’s kinda the deal with OSF software – sorry ๐Ÿ™‚

    @robin-w

    Moderator

    your choice

    @robin-w

    Moderator

    thanks for posting your solution

    @robin-w

    Moderator

    hmmm…not sure what is happening – suspect it is theme related. But it would require extensive investigation to work out what is happening

    @robin-w

    Moderator

    wordpress themes can do funny things with bbpress.

    It’s all to do with load order.

    If it is working in the custom css, I’d leave it there

    @robin-w

    Moderator

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>login

    @robin-w

    Moderator

    This is because your theme or a plugin is adding the bootstrap library, and also adding the ‘.card’ css class to the forum display, and this has a bad effect.

    It could be a theme or plugin issue

    Themes

    As a test switch to a default theme such as twentyfifteen, 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.

    Then come back

    @robin-w

    Moderator

    forums belong to categories

    if you just want one list, then just have forums and no categories

    @robin-w

    Moderator

    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

    find
    wp-content/plugins/bbpress/templates/default/bbpress/form-anonymous.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/form-anonymous.php
    bbPress will now use this template instead of the original
    and you can amend this

    in that template you will see

    <p>
    			<label for="bbp_anonymous_email"><?php _e( 'Mail (will not be published) (required):', 'bbpress' ); ?></label><br />
    			<input type="text" id="bbp_anonymous_email"   value="<?php bbp_author_email(); ?>" tabindex="<?php bbp_tab_index(); ?>" size="40" name="bbp_anonymous_email" />
    		</p>

    just remove that – I think that should work

    @robin-w

    Moderator

    I think this plugin has that

    bbPress Toolkit

    It works with current versions of wordpress and bbpress

    @robin-w

    Moderator

    @danishsard

    some great people wrote bbpress software for free, spent many many hours writing code, getting feedback, improving and supporting it – all for free and they did this for many years.

    In the background they do work on bbpress form time to time.

    That they now are mainly doing other things is sad for us, but they have a perfect right to do as they wish, and should feel under no obligation to spend time supporting the code.

    Similarly I have written a number of plugins that do stuff in bbpress, and I support these as I am able to and when I have free time. I also do some support on here. But this is all voluntary, and there will come a time when I no longer wish to do so.

    There are a number of things that bbpress could do differently – what you call ‘should be repaired’ – but that is just your view on how it should work, and no-one is under any obligation to do anything – that is how OSF software works.

    I can replicate your issue of a non existent page, and when I get some time I may (or may not) look at how to fix this.

    But please be thankful that free code is out there and make the most of what it does, not resentful of what it does not do.

    @robin-w

    Moderator

    use

    Code Snippets

    and paste it in there

    @robin-w

    Moderator

    is the word in moderation or blacklist ?

    @robin-w

    Moderator

    Error โ€“ when wordpress can be used for the wordpress discussion. Someone will send a new topic with these words โ€“ it is automatically redirected to a non-existent page โ€“ this is a forum bug.

    can you describe an exact series of stepsto get this error – I do not understand

    The entire wordpress discussion settings should also work bbpress โ€“ and not just selected elements โ€“ that would increase the functionality of the forum at zero cost.

    zero cost ?? – just a massive recode of bbpress taking many many hours!!! What bit is missing ?

    @robin-w

    Moderator

    best I can suggest is

    bbPress – Moderation Tools

    @robin-w

    Moderator

    I can see, the theme renders before the forums.

    you basically need to get your theme to render that page not using the .ast-col-md-6 css.

    I can only suggest you refer to your theme support on how to do this

    @robin-w

    Moderator

    well you’ll need to work it out yourself then

    @robin-w

    Moderator

    try

    #bbpress-forums .ast-col-md-6 {
    	width: auto;
    }

    @robin-w

    Moderator

    it is because your theme has this set in a box

    .ast-col-md-6 {
    	width: 50%;
    }

    add this to your custom css

    .ast-col-md-6 {
    	width: auto;
    }

    @robin-w

    Moderator

    glad you’re fixed

    @robin-w

    Moderator

    ‘Even though bbPressโ€™ documentation says that users with the Participant role can read private forums and topics, the current version of bbPress (2.5.14) allows participants to read private forum names, but not private topics names or content. ‘

    sorry, can you explain further – what is not showing on what page ?

    @robin-w

    Moderator

    It could be a theme or plugin issue

    Themes

    As a test switch to a default theme such as twentyfifteen, 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.

    Then come back

    @robin-w

    Moderator

    you will need to amend

    li.bbp-topic-voice-count {
        display: none !important;
    }
    
    li.bbp-topic-title {
    	width: 65% !important;
    }

    and play with the 65% number

Viewing 25 replies - 6,926 through 6,950 (of 14,246 total)