Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 13,426 through 13,450 (of 14,219 total)
  • @robin-w

    Moderator

    Ok, on your first :

    This is to do with your theme and it’s page templates, not bbPress directly.

    what you will need to do is create a bbpress.php file and into that put the page layout

    see

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

    for creating a bbpress page to use

    Then see

    http://brookswebdesign.net/how-to-create-a-wordpress-template-with-left-sidebar/

    for creating a left hand sidebar.

    On your second, this is either

    related to your theme and how it is displaying content. Switch to a default theme such as twentytwelve for a moment and see it is it then displaying – in default all with not be indented.

    or

    maybe because you are using threading on dashboard>settings>forums>reply threading

    Let me know which, and I’ll take a lokk to see how to get all to ident

    @robin-w

    Moderator

    see

    Layout and functionality – Examples you can use

    From memory I think $args[‘sep’] = “>” would be what you are looking for

    so for instance

    function mycustom_breadcrumb_options() {
           $args['sep']    = '>>';
         
        return $args;
    }
     
    add_filter('bbp_before_get_breadcrumb_parse_args', 'mycustom_breadcrumb_options'
    

    would give a double chevron.

    If that doesn’t work, come back and I’ll look it up.

    @robin-w

    Moderator

    Great – glad you’re fixed.

    @robin-w

    Moderator

    bbPress uses your theme’s page templates to wrap the code in, so you will need to use a page from your theme that doesn’t have a sidebar, and rename this.

    see https://codex.bbpress.org/step-by-step-guide-to-setting-up-a-bbpress-forum/#8-make-sure-bbpress-uses-the-page-template-we-want

    So once you know which page template file you need, copy this and rename the copy to bbpress.php

    Place this file in the root of your theme ie wp-content/themes/%mytheme%/bbpress.php where %mytheme% is your theme’s name.

    come back if any of that is not clear, and I’ll try and help further !

    In reply to: increase font size

    @robin-w

    Moderator

    think its as simple as lacking the hash (#) at the start

    ie

    #bbpress-forums .bbp-topic-content p,
    #bbpress-forums .bbp-reply-content p {
    font-size: 12px ;
    

    Come back if that doesn’t work and I’ll look further.

    If it does, let me know and I’ll change the docs !

    In reply to: what theme/style

    @robin-w

    Moderator

    which site are you looking at?

    @robin-w

    Moderator

    are you using threaded replies

    dashboard>settings>forums>reply threading

    see https://bbpress.org/forums/topic/edit-topic-reply-changes-post-order/

    @robin-w

    Moderator

    Glad you found it.

    There are a whole set of things you can change listed here

    Layout and functionality – Examples you can use

    In reply to: increase font size

    @robin-w

    Moderator

    you’re ‘here’ didn’t work

    gave you checked

    bbPress Styling Crib

    In reply to: what theme/style

    @robin-w

    Moderator

    for themes use

    http://sitecheck2.sucuri.net/

    give it time to cook – it can take 30 seconds

    and look at ‘website details’

    In reply to: bbPress 2.5.3

    @robin-w

    Moderator

    great , glad you’re fixed

    In reply to: Freshness for Category

    @robin-w

    Moderator

    consider me tuned ! 🙂

    In reply to: Freshness for Category

    @robin-w

    Moderator

    No problems, if you’d like the last post date rather than freshness, use this plugin

    https://wordpress.org/plugins/bbp-last-post/

    In reply to: Freshness for Category

    @robin-w

    Moderator

    Put the following code in your functions file

    function change_no_topics ($anchor) {
    if ($anchor=="No Topics") {
    $anchor=" " ;
    }
    Return $anchor ;
    }
    add_filter ('bbp_get_forum_freshness_link','change_no_topics') ;

    This will blank it.

    If you want it to say the same each time, just change the $anchor=” ” to whatever you want it to say.

    If you don’t know how to do any of this, come back

    @robin-w

    Moderator

    No problem !

    @robin-w

    Moderator

    @kvr28 great looking modification. Just tried it and it fell over with a parse error :

    Parse error: syntax error, unexpected ‘=’ in….line 44

    which is

    bbp_has_forums(‘post_parent=’.bbp_get_forum_id());
    

    Any ideas?

    @robin-w

    Moderator

    When you say “The spam is removed “, if you’ve only marked it as spam, then the post still exists, and the system may recognise this – whether it should is another matter !

    Try going into Dashboard>replies and deleting the offending reply.

    @robin-w

    Moderator

    Yes (at least it was in my case) – unless the old system used the same password system, then the encrypted password is alien to WP, so unless it just believes that all users are genuine, then it has to reject users.

    Password lost works as a good mechanism as it sends email to user, so confirms identity.

    I just created a page in my menu headed “old forum users” and put a message in there that they wuld need their password reset for security reasons, and to click lost password. I then used the [bbp-login] and [bbp-lost-pass] shortcodes to display that on screen under the message.

    @robin-w

    Moderator

    if you’re happy with rough and ready, I’ll try and cut some next week ! should be a simple couple of loops (but they’re never as simple as that !)

    @robin-w

    Moderator

    No problem – I spent several weeks getting my head around importing from a flat file database, in similar circumstances !

    The real issue here is whether you can get email addresses. If you can, then if you import users as per my previous, they can use “password lost” to re-do their passwords, and then it’ll all be fine.

    The problem otherwise is that posts link to user-id’s not names, so yes when they register they’ll get a new ID, and the old posts won’t show as theirs. Additionally logon names need to be unique so they can’t register with any existing username !

    OK so what would I do?

    I’d do as previous and create a user table to import, but call each user ‘old_xxx’ – you can do this before import, effectively your placeholder.

    As each user registers, you can run some code around the posts to remap them. You’ll get a registration notice, so if you cut some code, then you can just run this each time someone registers. Basically you would just enter there old username and their new one. The code would look up the old ID, the new ID, and then run through posts to remap to the new user. If you’d like help with that, just let me know and I’ll try and cut a quick loop code that you can run straight on the website (pw protected of course)

    @robin-w

    Moderator

    ok, you need to eliminate whether it is a plugin or theme issue

    Check other plugins

    Check that no other plugins are affecting this.

    Turn off all other plugins apart from bbpress, and see if that fixes the problem. If the problem is resolved, add back one at a time to see which is causing the conflict.

    Check themes

    If plugins are not the cause, then it may be a theme issue. Switch to a default theme, such as twentytwelve, and test.

    and come back and let us know

    In reply to: Shotcodes not working

    @robin-w

    Moderator

    Check other plugins

    Check that no other plugins are affecting this.

    Turn off all other plugins apart from bbpress, and see if that fixes the problem. If the problem is resolved, add back one at a time to see which is causing the conflict.

    Check themes

    If plugins are not the cause, then it may be a theme issue. Switch to a default theme, such as twentytwelve, and test.

    @robin-w

    Moderator

    try running the forum repairs

    Dashboard>tools>forums>repair and run one at a time

    @robin-w

    Moderator

    So you’re fixed !

    In reply to: Block User

    @robin-w

    Moderator

    It could with some coding, but this message probably applies to many situations eg not logged in

    Try this in your function file

    //This function changes oldtext to newtext
    function rchange_translate_text( $translated_text ) {
    	if ( $translated_text == 'oldtext' ) {
    	$translated_text = 'newtext'];
    	}
    	return $translated_text;
    }
    add_filter( 'gettext', 'rchange_translate_text', 20 );
    

    where old text is the old text, and new text the new.

    If you have more than one of these functions (seem to think I have given you this solution for another part), then just make sure the function name is unique eg this ones called rchange… so next time maybe call it schange… and change it in first and last lines to match.

Viewing 25 replies - 13,426 through 13,450 (of 14,219 total)