Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 7,226 through 7,250 (of 7,389 total)

  • Robin W
    Moderator

    @robin-w

    I just took a look at my forum

    On a single topic display, my css is from line 575

    #content .entry-title {
        color: #000000;
        font-size: 21px;
        font-weight: bold;
        line-height: 1.3em;
        margin-bottom: 0;
    }

    and when I view a topic title in a list of forums it is from line 475

    #content, #content input, #content textarea {
        color: #333333;
        font-size: 16px;
        line-height: 24px;
    }

    Have you tried either of those?

    It is frustrating that I can’t directly see what you’re looking at 🙂


    Robin W
    Moderator

    @robin-w

    Precisely what are you doing to get this message

    example

    Dashboard>settings>forums

    and at what point do you get it?


    Robin W
    Moderator

    @robin-w

    ok, would be worth a double check with firebug as to which css is being used.

    is it definitely bbpress.css? and on what directory are you using it (ie is it the default directory or a copy you have made, and if the latter which directory have you put it in?


    Robin W
    Moderator

    @robin-w

    great – glad you’re sorted!


    Robin W
    Moderator

    @robin-w

    great, glad you’re sorted !


    Robin W
    Moderator

    @robin-w

    Yes, and I totally agree, the documentation is woeful, unfortunately those that know the answers won’t update, and the rest of us work out bits that function, but are never sure whether these are the best ways.

    Anyway onto your question.

    bbPress is a plugin, and out of the box it works well with twentyten, and I understand twentyeleven.

    Beyond that you’ll need to style it.

    This consist of two elements :

    Functionality
    Styling

    Functionality

    I create a page called “forums”, and then put whatever forum text at the top followed by the forum shortcut [bbp-forum-index]

    See http://www.gospbc.co.uk/forums/ for an example

    Then loading a plugin called bbPress WP tweaks adds a forum sidebar to your widgets area.

    I have loaded this with a login widget, forum list, recent topics and recent replies, as well as some other stuff from my website. See link about for what is in there.

    This then gives you a basic forum area.

    Then onto

    styling
    bbPress using the default bbpress.css as it style doc unless you tell it otherwise

    You can customise look and feel – fonts, colours, background quite easily by using one of two methods, knowing what to change is the hard part !

    If you have an existing child theme, you can override the bbpress default for elements by adding them to your own child theme style.css BUT you need to put !important into them to prevent the bbpress plugin from loading later and overwriting them with the default

    As an example if you wanted to change the font-size of the forums list you’d put the following into your css

    #bbpress-forums .bbp-forums-list li {
    	font-size: 11px !important;
    	}

    The alternate method, and perhaps better if you want to make lots of changes, is to copy the default bbpress.css from /wp-content/plugins/bbpress/templates/default/css
    to /wp-content/themes/%your-theme%/css/

    you can then edit it there to your hearts content, and you don’t need the !important bit.

    OK so how do I know what to edit?

    You’ll need to get familiar with using something like firebug with firefox. This lets you examine sections of your website and see precisely what css element is styling it.

    http://www.youtube.com/watch?v=tdIk2PztcL0 gives the start of a tutorial on this

    When I get a moment, I’ll start to add this to the bbpress documentation.

    I only started with WordPress and bbPress in March, and am still learning the basics !

    In reply to: HTLM editor?

    Robin W
    Moderator

    @robin-w

    Not quite sure what you’re after?

    Do you want more html or less?

    are you not getting the same editor as you’ll be using to reply to this thread?


    Robin W
    Moderator

    @robin-w

    Haven’t looked at them, but these two might help start you in the right direction

    https://bbpress.org/plugins/topic/support-forum/

    https://bbpress.org/plugins/topic/best-answer/


    Robin W
    Moderator

    @robin-w

    and that class is the one you tried to change, it is on line 166 of bbpress.css

    #bbpress-forums div.bbp-forum-title h3,
    #bbpress-forums div.bbp-topic-title h3,
    #bbpress-forums div.bbp-reply-title h3 {
    	background: none;
    	border: none;
    	font-size: 16px;
     	line-height: 1em;
     	margin: 8px 0;
    	padding: 0;
    	text-transform: none;
    }

    Robin W
    Moderator

    @robin-w

    Ok, you can add the following to it

    #bbpress-forums div.bbp-forum-title h3,
    #bbpress-forums div.bbp-topic-title h3,
    #bbpress-forums div.bbp-reply-title h3 {
    	font-size: 16px !important;
     	}

    16px is what it is currently set to, just alter the 16px to whatever size you want

    h3 by the way is “heading 3” there are a number of different heading sizes that bbpress sets and uses, that are separate from your main themes h3


    Robin W
    Moderator

    @robin-w

    Great, glad you’re fixed


    Robin W
    Moderator

    @robin-w

    ok, all you’ve got is some bad code in your functions.php file

    were you customising this file or another? or via the dashboard?

    If you can, post line 344 of the functions.php in your reply, it can be as easy as a comma or semicolon missed.


    Robin W
    Moderator

    @robin-w

    ok, so apart from suggesting you re-install bbpress – I’m out of ideas !

    In reply to: change forum sidebar

    Robin W
    Moderator

    @robin-w

    Great, really glad you’re fixed !


    Robin W
    Moderator

    @robin-w

    ok, lets try doing a repair on the forums to see if they’ve lost the relationship somewhere
    Dashboard>tools>forums

    I’d work my way down the first 6 – maybe one at a time to ensure you don’t get hours of spinning discs.

    The code you provided to protect does have a section where it is working out whether to show a post, topic or reply, and the code for each is slightly different (starts at around line 40). I’m not good enough ton validate this code, but if you’re still stuck, always worth contacting the codes owner to see if they can help

    In reply to: post count ?

    Robin W
    Moderator

    @robin-w

    OK, all I can suggest is that you try

    A re-install bbpress – it is possible it didn’t all download correctly and/or
    Changing to a default theme (such as twentytwelve) to see if that fixes, if so, then contact your theme provider

    After that I’m out of ideas I’m afraid !

    In reply to: change forum sidebar

    Robin W
    Moderator

    @robin-w

    ok, plan B !

    Try this for me

    Bbpress sidebar fix
    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 them 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

    If that doesn’t work, come back I have a plan C !


    Robin W
    Moderator

    @robin-w

    ok, do you have a child theme with css in it you can alter?


    Robin W
    Moderator

    @robin-w

    There were some instructions here

    https://codex.bbpress.org/step-by-step-guide-to-creating-a-custom-bbpress-theme/

    But they are out of date

    Your forum link didn’t work, but if you post again, I’ll take a quick look to see if teher are any quick and easy changes you could make


    Robin W
    Moderator

    @robin-w

    Can you post a link to your site and I’ll take a look for you


    Robin W
    Moderator

    @robin-w

    All first posts on an area are “topics” and the subsequent ones are replies, so it is correctly doing that.

    These are called custom post types

    User levels (eg admin) would/should not affect this

    I suspect the issue is in your memberships plugin – even though you’ve tried. Do you anywhere define what is shown to users? if you can find the word “replies” anywhere then look for adding “topics” as well.

    I’d suggest that you add a new user (yourself but under another name) and then play with the settings for both wordpress and bbpress. I presume you are aware that when you have created a user, if you go back into edit then you’ll see a bbpress role for each user. So play with both of those and see what displays topics and replies and then come back.

    In reply to: change forum sidebar

    Robin W
    Moderator

    @robin-w

    ok, I’d try installing WP-tweaks again.

    You should see a bbpress sidebar in the dashboard

    dashboard>appearance>widgets

    and it will be on the bottom right.
    Populate that with some widgets and it should appear.

    If not come back and I’ll give you another solution

    In reply to: post count ?

    Robin W
    Moderator

    @robin-w

    Hmmm…not sure where to go next.

    The counting function is in

    includes/users/options.php

    that it is an option makes me think that it is switchable, but no idea where it would be turned off and on, or indeed why !

    If you’ve not got your main site on buddypress, might be worth deactivating it to see if that fixes it.

    Otherwise you could post on the buddypress support site

    Please come back if you get any further !

    In reply to: BBPress – Post Count

    Robin W
    Moderator

    @robin-w

    The issue is that in loop-single-reply the variable $user_id is not set. I’ve just written a plugin for this, which should work – it does on my site, but I am trying to work out why it doesn’t on another who also has buddypress.

    You installing it would help me determine if it is me !

    Download to your pc, and then upload to the plugins

    bbp topic count plugin

    or crack it open to see what code I used

    In reply to: post count ?

    Robin W
    Moderator

    @robin-w

    ok, you would easily see it in usermeta table if it was there.

    would suggest that is why it is coming up a 0

    can you try

    Dashboard>tolls>forums
    and then the tab ‘repair forums’

    and then click “count topics for each user” and “count replies for each user”

    and see if that fixes it

    what versions of wordpress and bbpress are you on
    do you have buddypress also installed?

Viewing 25 replies - 7,226 through 7,250 (of 7,389 total)