Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 6,901 through 6,925 (of 14,230 total)
  • @robin-w

    Moderator

    I’m author of that fix.

    It may well be something that coincided with you installing that plugin – maybe a theme or another plugin update, updating wordpress, or even your host updating versions of php.

    The error you quote is a function in your THEME affecting a bbpress function. Your theme author has decided to re-write some bbpress functions by the look of it. So looks like that error (which may or may not be the issue – I suspect not) is one to take up with your theme author

    You could spend days working out what the issue is, if the fix works, then I’d tend to just use it.

    In reply to: Edit Pagination Range

    @robin-w

    Moderator

    ok, the code I gave you was topics in a forum, not replies in a topic.

    try this instead

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

    @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

    In reply to: Edit Pagination Range

    @robin-w

    Moderator

    hmmm….not sure I can help without visiting the site – is it private ?

    @robin-w

    Moderator

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>forum templates

    In reply to: Edit Pagination Range

    @robin-w

    Moderator

    Right now, It display 1,2,3…722,723,724

    so is this EXACTLY what it displayed without the code ?

    In reply to: Edit Pagination Range

    @robin-w

    Moderator

    you want ‘snippets’ that is the php code bit

    In reply to: Edit Pagination Range

    @robin-w

    Moderator

    Additional CSS panel

    ah, this is not css, this is php code, it needs to go in the functions file of your child theme or the code snippets plugin. If it is the latter, that should also give you what then error is – I need to know what that say if it doesn’t work

    In reply to: Edit Pagination Range

    @robin-w

    Moderator

    when you say it gives errors – can you say exactly what these are?

    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 ?

Viewing 25 replies - 6,901 through 6,925 (of 14,230 total)