Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 12,701 through 12,725 (of 14,141 total)
  • @robin-w

    Moderator

    Getting bbpress to work with the many very clever (too clever!) themes is not always easy

    Ok, we could spend a lot of time getting a forum specific sidebar for your theme, but maybe easiest to get your sidebar working to display in bbpress

    so install widget logic

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

    Then set up whatever sidebar is being displayed on the bbpress page for all the widgets that you want it to display, both for the homepage and bbpress

    Then you’ll see each widget now has a widget logic condition.

    For items you want to display only on bbpress add the logic

    is_bbpress()
    

    For items say only on a home page add

    is_home()
    

    for items you want on all pages apart from bbpress use

    !is_bbpress()
    

    Come back if anything is not clear

    @robin-w

    Moderator

    It may well be that you’re search form is just including the forum posts.

    bbpress uses custom post types of ‘topic’, ‘forum’ and ‘reply’. You site wide search may well need to exclude these types so that forums results do not get filtered into the search.

    see https://codex.wordpress.org/Function_Reference/get_search_form

    In particular

    <input type=”hidden” value=”post” name=”post_type” id=”post_type” />
    Here we submit the value post. The default value is any, meaning, posts, pages and custom post types.

    ie the default is any would include forum entries.

    @robin-w

    Moderator

    ok, you say this is in your profile, can you send me a screenshot of what ‘looks wrong’ so I can see.

    @robin-w

    Moderator

    ok, sounds like you need a test site

    https://codex.bbpress.org/creating-a-test-site/

    so that you can test things like installing bbpress prior to going live !

    Anyway, back to your immediate issue, it will be very theme dependant, and sounds like your theme is doing something with search after you’ve disabled it

    you say ‘our site continues to use the search functions that we setup. ‘ have you some special search function, or how is your search working?

    @robin-w

    Moderator

    ok, thanks for the info, V useful, as at least it’s only a display, rather than changing what is subscribed, although obviously I appreciate that if you think you are subscribed to a forum when you’re not, you may be equally annoyed !

    I really have no experience of buddypress, so let me have a think and I’ll come back shortly !

    @robin-w

    Moderator

    @lumartist – Good to have someone who is an expert on css on the forum – my css is rubbish !

    @robin-w

    Moderator

    It could be a bbpress + buddypress + private groups issue

    Buddypress filters some bbpress code, so my plugin may be overwriting a filter that buddypress is using to control either subscriptions or the info it is displaying about bbpres subs.

    Did you check if subscribing to one forums ACTUALLY subscribes to them all, or whether buddypress is just saying that they are?

    You could check this by unsubscribing from forum b, then subscribing to forum a, checking that buddypress says you’re subscribed to forums a & b, and then posting in forum b to see if you get an email.

    @robin-w

    Moderator

    my plugin private groups should do what you want

    https://wordpress.org/support/plugin/bbp-private-groups

    @robin-w

    Moderator

    ok I looked and it would require a filter to re-write

    bbp_get_reply_author_link

    held in

    bbpress/includes/replies/template.php

    This is beyond the time I currently have available – sorry !

    @robin-w

    Moderator

    Presume this doesn’t happen when you switch to a default theme?

    Also test whether it is actually subscribing to all forums, or just saying that it is.

    @robin-w

    Moderator

    Ok so sorry it looks like a theme issue.

    I don’t thin k it will help, but just might, so try

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

    @robin-w

    Moderator

    ok, with the code in, try the following

    Deactivate bbpress tweaks
    Dashboard>plugins>bbpress tweaks>deactivate

    Go into widgets
    Dashboard>appearance>widgets

    And look at the bottom of the left hand side. You’ll see an “inactive sidebar”, with your entries on
    Below this is an “inactive widgets”
    Drag all the entries from the inactive sidebar to the inactive widgets area.
    This then allows wordpress to delete the sidebar
    I normally log out and in again at this stage – probably not needed, but I’ve never bothered to check
    Then basically reverse the above
    Re-enable bbpress tweaks
    You see the bbpress sidebar returns
    Drag the entries back from the inactive widgets area to the sidebar

    @robin-w

    Moderator

    ok, sounds like you have a conflict

    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.

    @robin-w

    Moderator

    Tom,

    am struggling to keep up with your testing 🙂

    Ok, so can you let me have your ‘private group’ settings for

    forum visibility
    general settings

    so that I can replicate what you are seeing

    @robin-w

    Moderator

    ok, ignore the code (it is confusing me)

    So you have a topic started and this displays in the ‘post author’ part an avatar, the topic author name, but no role

    Next someone replies and this displays in the ‘post author’ part an avatar, and the reply author name, but nothing else

    Next is a reply by the original author, and in the ‘post author’ part this display an avatar, and their name in say a green block (and nothing else)

    Is that what you want?

    @robin-w

    Moderator

    Though dashboard access is restricted and allows only to edit the profile page, I don’t want that to happen. How to prevent that from happening?

    add the following to your functions file

    //disable toolbar for non-admins
    if (!current_user_can('manage_options')) {
    show_admin_bar(false);
    }
    
    

    @robin-w

    Moderator

    Ok, I’ve spent some time this morning looking around, and a solution is well beyond my current knowledge – sorry 🙁

    @robin-w

    Moderator

    Ok, the ‘page template’ you are using probably doesn’t have a sidebar.

    Your theme has a sidebar template from the demo I just looked at.

    So have a look at you page templates to find one which has ‘sidebar’ mentioned

    If that’s not working, then you may need to take out the current sidebar line and replace it with

    <?php get_sidebar(); ?>

    come back if you need further help !

    @robin-w

    Moderator

    If a user who has capability “participate” subscribes to a forum and then is demoted to capability “spectate”, will the user continue to receive notifications?

    Yes, spectators can subscribe to forums, and this is against the user, not their access level.

    It is certainly possible to code to prevent this, you be looking at filtering the functions

    bbp_get_topic_subscribe_link
    bbp_get_forum_subscribe_link

    But whilst I’d love to, I have too much on at the moment to code it – sorry 🙁

    @robin-w

    Moderator

    @robkk – do you still want help or are you now ok?

    @robin-w

    Moderator

    Ok I had a quick look.

    I’d suggest your two topics are both sticky or supersticky.

    Sticky will put a topic at the top of the forum it belongs to
    Super sticky will put a topic at the top of every forum.

    @robin-w

    Moderator

    forum access, then for how you want it to work, then they would need to be users

    Website access – you said that the rest of the website would have free access to everyone, so they won’t need usernames etc.

    @robin-w

    Moderator

    Ok, suspect that since bbPress authors have change how this works, then that is how the authors want it to work.

    But I’ll take a look when I get a moment !

    @robin-w

    Moderator

    Example of my set up: On forum topic is open for all member’s to see and comment on
    the other topic is set for Officers only.

    You’ll need my plugin :

    https://wordpress.org/plugins/bbp-private-groups/

    @robin-w

    Moderator

    great – glad you’re fixed !

Viewing 25 replies - 12,701 through 12,725 (of 14,141 total)