Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 11,801 through 11,825 (of 14,270 total)
  • In reply to: SMF Import to bbPress

    @robin-w

    Moderator

    @deanpnet No problem ! Happens to me all the time !

    In reply to: Delay in posts showing

    @robin-w

    Moderator

    are you running any caching software?

    @robin-w

    Moderator

    I think you mean breadcrumbs the following shows breadcrumbs

    Layout and functionality – Examples you can use

    They are still there, so you should see them, might be another plugin or your theme is hiding them

    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, as a test switch to a default theme such as twentytwelve, and see if this fixes.

    @robin-w

    Moderator

    To change it in the database, you need to

    find out the id of the user – you can look that up in the ‘users’ table – probably called ‘wp_users’, just look for a line with the username in, and the user_id will be in the ID column.

    Then in the usermeta table sort by user_id, and look for your user, then the entry called

    wp_capabilities

    For a keymaster and admin it needs to say

    a:2:{s:13:"administrator";s:1:"1";s:13:"bbp_keymaster";b:1;}

    so FIRST copy what is already in there and save it to notepad or somewhere safe – you’ll want to be able to change it back if it doesn’t work and locks you out !!

    Then edit and put the above in.

    In reply to: Hidden private forum

    @robin-w

    Moderator

    So given forums 1, 2, 3 & 4

    a. Not logged in user – should they see any forums or existenece of forums?
    b. Logged in users – majority would have access to forums 1, 2 & 3 , but not know 4 esists
    c. Chosen users – access to forums 1, 2, 3, & 4.

    Your answer to a. is needed first

    @robin-w

    Moderator

    Sorry missd your follow up mail

    Can you not set keymaster by

    Dasboard>users>all usres and edit the one and put in te keymaster role

    Come back if not

    In reply to: Remove Separator

    @robin-w

    Moderator

    No problem !

    @robin-w

    Moderator
    In reply to: Remove Separator

    @robin-w

    Moderator

    never write code whilst your other half is waiting to go out !

    ok, this works

    function remove_sep ($args) {
    $args['before'] = '' ;
    return $args ;
    }
    
    add_filter ('bbp_before_get_forum_subscribe_link_parse_args', 'remove_sep') ;
    

    On your larger point, there are a lot of resources, but it takes a lot of practice to get good at PHP, and to understand how any plugin works which is the size that bbpress is.

    Generally it is quicker to ask a question on here, than spend hours delving into bbpress. But if you start wanting to really tailor it, then the step by step guides and other documentation will try and get you into how to go about finding code within bbpress.

    I know nothing of php 18months ago (I’m just a humble bbpress user – I didn’t write any of it!), and now have several plugins for bbpress to add functionality, so it is quire do-able.

    I’ve tried to get much of my learning into the documentation, so have a look round

    Codex

    @robin-w

    Moderator

    no problem !

    In reply to: Remove Separator

    @robin-w

    Moderator

    Previous response edited to correct

    In reply to: Remove Separator

    @robin-w

    Moderator

    quick reply as I’m on my way out, so untested, but put the following in your functions file

    function remove_sep ($args) {
    $args['before' ] = '' ;
    Return $args ;
    }
    
    add_filter ('bbp_before_get_topic_subscription_link_parse_args', 'remove_sep') ;
    

    If it doesn’t work, come back and I’ll do it properly and test it for you !

    In reply to: CSS issue

    @robin-w

    Moderator

    The link comes up with page not found

    @robin-w

    Moderator
    In reply to: Custom files

    @robin-w

    Moderator

    I have added a note in the step by step guide part 3 which should help, but if you think it’s not clear or find anywhere else that’s confusing, then please let me know.

    I always welcome suggested text – someone who has just worked it out always writes better explanations that someone who is already familiar ! so if you want to post suggested text or alterations here, please do and suggest where they should go.

    Thanks again, we can only improve the documentation if we get good feedback like this:-)

    Robin

    @robin-w

    Moderator

    @robin-w

    Moderator

    @robin-w

    Moderator

    This is a known error that occurs in some circumstances.

    https://bbpress.trac.wordpress.org/ticket/2412

    The fix is to deactivate WP_DEBUG in wp-config

    This is just information and should not affect its working

    @robin-w

    Moderator

    No problem, the spam catcher sometimes get too enthusiastic !

    I will presume you’re now fixed, unless you come back

    In reply to: Custom files

    @robin-w

    Moderator

    When you read the bbpress information when it comes to customizing templates php ect it says to create a bbpress folder

    I’ll take another look to see if we can improve the wording.

    ‘bbpress’ templates do need to go into a bbpress folder, but creating a ‘theme’ template for bbpress needs to go in the theme root.

    I think that what it says, but clearly it’s not that clear 🙂

    Thanks for posting

    @robin-w

    Moderator

    see my earlier post

    @robin-w

    Moderator

    ok, so it sounds like a theme issue, so I googled ‘wordpress theme pinboard bbpress’ and got this

    https://wordpress.org/support/topic/bbpress-forum-homepage-displaying-oddly?replies=8

    the advice is closed to perfect as this looks very strongly like your problem. The only issue might be that the page.php file has been changed in a later version and the lines might be slightly different.

    Read this first for background

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

    so try the following

    1. copy page.php and rename it bbpress.php
    2, edit the bbpress.php file
    line 12:
    <?php post_class(); ?>
    to
    <?php $classes=get_post_class(); echo str_replace(“twocol”, “onecol”, $classes); ?>
    4. modify LOCAL forums.php line 18:
    <?php the_content(); ?>
    to
    $content = get_the_content(); echo str_replace(“twocol”, “onecol”, $content); ?>
    Save this file and reload it to your theme

    As the link says, you should really put it into a child theme

    Functions files and child themes – explained !

    but either way keep a copy of it.

    Come back if this isn’t clear

    @robin-w

    Moderator

    after trying some different settings

    is not really very helpful.

    what did you try ?

    @robin-w

    Moderator

    great – glad you’re fixed

    @robin-w

    Moderator

    Hey great, glad that you are fixed, an sort of see what he has changed (essentially the code was executing for a page which bbpress is and he’s essentially limited it to categories). Chances are that it won’t affect anything else.

    I presume he will release this as a permanent fix at some stage, but in the meantime, keep a note of this change, in case it gets overwritten by a plugin update.

Viewing 25 replies - 11,801 through 11,825 (of 14,270 total)