Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 12,101 through 12,125 (of 13,566 total)
  • In reply to: Cannot import forums!

    Robin W
    Moderator

    @robin-w

    ok, funnily enough there is no ‘importer’ for bbpress 2.x – it is in plan, but not yet written

    You can use
    on the old site
    tools>export and select forums topics and replies
    on the new site
    tools>import (and select wordpress if needed)

    But this is not perfect – if you don’t have the users matching between sites, then this will/can/may (not sure which) fail.

    How have you set users up on the new site?


    Robin W
    Moderator

    @robin-w

    Ok, you are certainly not stupid, and we’ll work you through to a resolution 🙂

    ok we have 4 elements in bbpress
    1. A forum that is a type called category – this contains other forums
    2. A forum that is a type called forum – this will contains topics and replies

    These forum types are set in dashboard>forums and on the top right hand side

    3. a topic – this will belong to a forum
    4. a reply – this will belong to a topic

    Can you confirm that you’ve set up a topic in any of the forums.

    If not go into Dashboard>topics>new topic and create a test topic.

    If your forums are all just forums, then without topics, they have nothing to list.

    If you think you have created a topic go into dashboard>topics and see if you can see topics in there, and which forums they belong to


    Robin W
    Moderator

    @robin-w

    As @pinkishhue suggests, try

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, switch to a default theme such as twentytwelve, and see if this fixes.

    this should get you to a working platform from which you can work out where the issue lies.


    Robin W
    Moderator

    @robin-w

    Ok, thanks and yes we can fix that.

    1. the code is missing ‘);’ by mistake, it should read

    function mycustom_breadcrumb_options() {
        // Home - default = true
        $args['include_home']    = false;
        // Forum root - default = true
        $args['include_root']    = false;
        // Current - default = true
        $args['include_current'] = true;
     
        return $args;
    }
     
    add_filter('bbp_before_get_breadcrumb_parse_args', 'mycustom_breadcrumb_options');
    

    The extra ‘);’ is right at the end

    I’ve fixed the documentation

    2. as stated in https://codex.bbpress.org/functions-files-and-child-themes-explained/

    you should not be adding code to the end of a main theme’s functions, but should be creating child theme. By all means leave it there and test that it works, but then create a child theme and move it there or you risk losing the change on an update. I’ll try and make this even clearer in the documentation – it is a first version !

    Hope that helps you, and please come back with any further issues ! 🙂


    Robin W
    Moderator

    @robin-w

    suggest you try their support forum

    https://wordpress.org/support/theme/montezuma


    Robin W
    Moderator

    @robin-w

    you’ve paid for this theme, and it says it bbpress compatible, so take this up with the support forum. you should get what you paid for.


    Robin W
    Moderator

    @robin-w

    Ok, good questions, and I’ve been meaning to write something on this for a while, as I’m always saying ‘drop this in your functions file’

    so new page in the codex

    Functions files and child themes – explained !

    Feedback welcome on what is clear/not clear !!


    Robin W
    Moderator

    @robin-w

    on registration, you will need to have auto-registration completed in

    dashboard>settings>general and under membership check the anyone can register tab

    you’ll then find register is added to the login boxes, and you can add ‘/wp-login.php?action=register’ to the login widget

    on your breadcrumb issue see

    Layout and functionality – Examples you can use


    Robin W
    Moderator

    @robin-w

    Thanks for that, it lets me know that there are two of you with the issue (so far – there will be more!)

    When does the error occur – as soon as you enter the website, when you enter the forums or some other action?

    Can you also tell me

    What versions of
    Bbpress
    Wordpress

    You are using

    And what theme

    And what plugins.


    Robin W
    Moderator

    @robin-w

    great – glad you’re fixed


    Robin W
    Moderator

    @robin-w

    Thanks, can you revert to version 1.8.1 for the moment

    download 1.8.1 to your PC from

    bbp Private Groups

    then deactivate the current private groups plugin version, then delete it – don’t worry you won’t lose any data ! – and then upload the version from your PC and activate.

    If you haven’t also emailed me, then so far I have two people affected by this, and I’m looking into it.


    Robin W
    Moderator

    @robin-w

    you may also need to re-align your expectations of support – this site is manned by volunteers, and a less than 1 hr response is unlikely – please leave a little more time (like 1 day) before bumping a topic 🙂


    Robin W
    Moderator

    @robin-w

    WHat can i do?

    you could post a link to a page that works 🙂 I just get ‘this page cannot be displayed’

    But also have you read

    Step by step guide to setting up a bbPress forum – Part 1


    Robin W
    Moderator

    @robin-w

    Try adding this to your functions file, it may/should work – have never tried it in a different language !

    //This function changes the text wherever it is quoted
    function change_translate_text( $translated_text ) {
    	if ( $translated_text == 'super administrador' ) {
    	$translated_text = 'administrador';
    	}
    	return $translated_text;
    }
    add_filter( 'gettext', 'change_translate_text', 20 );

    Robin W
    Moderator

    @robin-w

    Not quire sure what you are after – can you give a specific example?


    Robin W
    Moderator

    @robin-w


    Robin W
    Moderator

    @robin-w

    Great, thanks I’ll take that version to live shortly


    Robin W
    Moderator

    @robin-w

    These are exactly the questions I was asking 6 months ago, so I sense your frustration !!

    I was expecting to write some stuff on filtering, but having had a quick look at ‘bbp_new_topic_handler’ this doesn’t have any real filtering capability, although it does have some url filters.

    Fuller than probably needed answer for the benefit of others !
    Ok so you can usually
    either filter a function either using bbp_parse_args where you want to change some paramters that are being passed to wp-query

    or filter the whole function – if it ends with ‘return apply_filters(..)’ then you can easily copy the whole function and alter it within your child theme, just rename it slightly and then add a filter
    so a fictional function called ‘add_name’ in bbpress ends with
    Return apply_filters (‘add_name’, $name) ;

    you simply copy the whole function and change ‘add_name’ to say ‘my_add_name’ then add a line
    add_filter (‘add_name’, ‘my_add_name’)

    and wordpress will use your function to replace the original.

    But for your function, there is a url filter near the edn but otherwise this is a function that does, so no neat parameters that are replaceable at the end !

    I searched bbpress for where this function is used, and in includes/core/actions.php it is added as an action to wherever bbp_post_request is used

    Searching for that gets me a bit confused, as I’m not familiar with what this does, and have limited time to chase it down.

    Now, having written all that as I was going along, if I were you I’d do one of two things

    1. Go further back and find what is calling the function, and then change that. If it is a template, you can alter that in a bbpress folder within your theme to call your function instead, and neither will get overwritten by upgrades.

    2. There is no problem in changing core bbpress files as long as a) you are happy you know what you’re doing and b) you make a note of the changed function.

    Then on each upgrade, you’ll need to look at whether any code in the function has changed, and if not just overwrite it again. If it has changed, then you’ll need to redo your amendment taking into account the new code. But you sometimes need to do that anyway for a child theme function where bbpress is dealing differently with it.

    Yes changing core is ‘frowned’ upon, but only because people do it and then get upset when it is overwritten and they can’t remember what they changed !! Do it with knowledge and you’ll be fine !

    After all it just some code that someone’s written, and any ‘rules’ are just made up and have no authority !


    Robin W
    Moderator

    @robin-w

    @lumartist

    Ok I have fixed this issue – can you download version 1.9 from

    bbp Private Groups

    and test it to ensure it also works for you.

    if so, I’ll load it to wordpress plugins for general release


    Robin W
    Moderator

    @robin-w

    Ok I am making progress, and have tracked down the function concerned. Now I just need to work out how ‘profile’ calls this and I should be able to fix !

    In reply to: Latest 5 Topics?

    Robin W
    Moderator

    @robin-w

    Thanks !


    Robin W
    Moderator

    @robin-w

    Great – glad you’re fixed !


    Robin W
    Moderator

    @robin-w

    Ok, think that since you’ve paid a large amount of money for a membership product that it should work, and you should pursue them for a fix !


    Robin W
    Moderator

    @robin-w

    ok, I’ve just installed bbpress, buddypress and private groups on a new test site, added a couple of forums, and set one to subscribe.

    Without private groups it is fine, with private groups both forums show as subscribed, so I can replicate your problem 🙂

    I’ll take a look tomorrow as to whether I can work a fix for it.


    Robin W
    Moderator

    @robin-w

    Great – really glad that is fixed, and yes I’ve also now learned a bit more, which is why I like coming on this forum.

    And you’ve saved yourself a fortune in support fees, so worth treating yourself this evening !

Viewing 25 replies - 12,101 through 12,125 (of 13,566 total)