Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 11,251 through 11,275 (of 14,292 total)
  • In reply to: profile page links??

    @robin-w

    Moderator

    no, sorry but the site uses a database and php to call the code

    if you know html, then getting into php is not so bad, but maybe do some training first, this is a good intro

    http://www.w3schools.com/php/

    In reply to: change forum sidebar

    @robin-w

    Moderator

    great – glad you’re fixed !

    @robin-w

    Moderator

    someone else reported that (or may have been you) on the plugin page or by email.

    I’ll take another look at it when I get a chance

    @robin-w

    Moderator

    bbpress stores its role in the same array as wordpress roles

    ie in

    usermeta[‘wp_capabilities’]

    and an entry looks like

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

    with admin being the wordpress role and bbp_keymaster being the bbpress role.

    A pure wordpress user would look like

    a:1:{s:13:”administrator”;s:1}

    Now, and this is probably key, when a users registers they just get the wordpress role. When they then log on bbpress sees that it has no role set, so assigns the default role.

    Now if emember is writing info to wp_capabilities, it could be overwriting part or the entire array (so by mistake deleting the bbpress role) or appending to it so that bbpress no longer sees it’s role. Then when the user next logs on, bbpress will see no role set, and set it back to the default.

    This could explain why users would be going back to default

    In reply to: change forum sidebar

    @robin-w

    Moderator

    the try widget logic

    Download “widget logic”

    https://wordpress.org/plugins/widget-logic/

    This plugin lets you specify conditions for when widget items are displayed.

    You would then put all the widgets for both the blog page and the forum page in one sidebar

    Against each of these you then specify whether you want it to appear on the forum page, on any page with a sidebar that is not the forum (eg your blog), or on both forum and other sidebar pages.

    you do this by putting the following code in the widget logic box that you will see appears against each widget

    For a forum sidebar you put : is_bbpress() ie is this page a forum page
    For any other sidebar you put : !is_bbpress() ie is this page NOT a forum page
    For any item to appear on both, simply leave the logic blank.

    Give that a try and come back and let us know how it works

    @robin-w

    Moderator

    yes I’ve thought before that that would be good, I’ll take a look

    In reply to: profile page links??

    @robin-w

    Moderator

    yes but you’ll need to do some coding

    see

    http://generatewp.com/shortcodes/

    the code would go in your functions file

    Functions files and child themes – explained !

    and the code you’ll be seeking to shortcode is in

    wp-content/plugins/bbpress/templates/default/bbpress/

    in particular

    wp-content/plugins/bbpress/templates/default/bbpress/user-details.php

    @robin-w

    Moderator

    thanks for the update – you are way ahead of me in terms of breadcrumb knowledge !

    But please post back on how you get on, I’m interested !

    @robin-w

    Moderator

    Long string in here on how to do it

    Full page width with left sidebar twentyfourteen

    with a link to another thread

    If you fix, come back and confirm what you changed

    @robin-w

    Moderator

    hmmm, not heard of this in bbpress, I’d suspect emember is having issues with bbpress

    @robin-w

    Moderator

    Sorry I am far from clear as to which parts are happening that are wrong, and which parts you would like to happen.

    Please restate your question along the lines of

    This is currently happening

    I would like this to happen

    @robin-w

    Moderator

    suggest you raise a trac ticket

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

    @robin-w

    Moderator

    sorry, have now just looked at this again

    Isn’t this just the ‘latest replies’ widget that you need to use, or how does your request differ?

    @robin-w

    Moderator

    something like

    function rew_max_shown ($args) {
    $args['max_num_pages'] = 2 ;
    return $args ;
    }
    
    add_filter ('bbp_before_has_topics_parse_args', 'rew_max_shown') ; 

    in your functions file

    Functions files and child themes – explained !

    @robin-w

    Moderator

    no problem – glad you’re fixed !

    @robin-w

    Moderator

    ok, just had a look

    You have made that topic ‘super sticky’ – which is why it is appearing at the top of every forum

    Change to sticky to get at the top of just the forum it belongs to

    or normal to be just a topic

    @robin-w

    Moderator

    But the other problem is still there:
    For example, I have A and B forums and I created a topic in A, then when I open B forum, the A topic will show up in B, too.
    But I don’t want A’s topic showing up in B. How do I do that?

    Is the issue there with all plugins disabled AND a default theme?

    In reply to: Sidebar Issue

    @robin-w

    Moderator

    Great – glad you’re fixed !

    @robin-w

    Moderator

    sorry no definition of ‘bbPress ready themes’ it simply means that the author has written ‘bbPress ready themes’ on his blurb.

    Usually means that the theme has been tested with bbpress and recognises it in the theme page files.

    Many themes work well with bbpress, some are too ‘clever’ and don’t play well.

    In reply to: Sidebar Issue

    @robin-w

    Moderator

    try

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

    come back if you need further help

    @robin-w

    Moderator

    you should have breadcrumbs and searchbar by default

    for searchbar look in

    dashboard<settings>forums>forum features and make sure that ‘search’ is ticked.

    Your theme can prevent breadcrumbs from showing, as can other plugins

    Themes

    As a test switch to a default theme such as twentytwelve, and see if this fixes.

    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.

    @robin-w

    Moderator

    I’ve retitled you post as well to remind me 🙂

    @robin-w

    Moderator

    hmm not sure if that’s buddypress or bbpress.

    can you post a link/url to the page that has the forums link

    @robin-w

    Moderator

    I understood up until

    after which point the oldest posts get replaced by the newest?

    I expect you can limit a forum to only show the latest 50 topics, come back if that is what you want

    @robin-w

    Moderator

    This is the ‘(bbpress) recent topics’ widget?

    and you have it set with topics with recent relies – yes?

    That widget doesn’t allow for the reply author.

    It could be copied to a functions file, renamed and then edited to do so. If you are reasonable with coding, I will explain further.

Viewing 25 replies - 11,251 through 11,275 (of 14,292 total)