Lynq (@lynq)

Forum Replies Created

Viewing 25 replies - 251 through 275 (of 377 total)
  • @lynq

    Participant

    14? Nice, looking forward to seeing the list if your going to create a post about it.

    In reply to: Styled Login Pages

    @lynq

    Participant

    Nice one! Might take that bit of info and use it myself, thanks!

    @lynq

    Participant

    Hey Erlend, chuck mine in there if you like! Using bbpress 2.1: http://teamoverpowered.com/forums/

    @lynq

    Participant

    I assume that copying the contents of bbp-twentyten would allow you to create a theme from scratch using the twentyten theme as a base.

    If you are using a theme with wordpress then it looks like using the bbp-theme-compat would be the way to go.

    Good to hear you got it sorted.

    @lynq

    Participant

    I found it easier just to do it by CSS.

    All of the bbPress pages will put a class of .bbPress on the body tag.
    My sidebar is #primary.

    So what I did was this small bit of css:

    .bbPress #primary {
    display: none;
    }
    

    Then I added in some extra CSS to extend the width, easy!

    @lynq

    Participant

    Good luck!

    @lynq

    Participant

    This is how I did it:

    1) get your fresh install sorted with a new copy of bbpress.
    2) take the contents inside of /wp-content/plugins/bbpress/bbp-theme-compat and copy it to the root of your theme, for example: /wp-content/themes/RainCloud/

    This is what worked for me and then I could edit the bbpress.css file inside my RainCloud theme and it worked perfectly straight away.

    If this doesn’t work I would guess some kind of plugin or theme conflict!

    @lynq

    Participant

    Hmm,

    It looks as though most of the styles are coming from
    /blog-wp-content/themes/bbpress-2012/style.css

    It is also loading
    /blog-wp-content/plugins/bbpress/bbp-theme-compat/css/bbpress.css?ver=2.1

    But, and this is the difference I think with bbpress.org and your site:
    https://bbpress.org/blog-wp-content/themes/bbpress-2012/bbpress.css – doesn’t exist, so I am guessing it is getting all of the styles from style.css but because bbpress.css doesn’t exist it defaults back to the plugins bbpress.css

    @lynq

    Participant

    Just to make sure (and after taking a backup) I deleted my bbpress plugin folder.

    re-downloaded it and re uploaded it.

    So using my current theme and installing a fresh copy of bbpress my bbpress.css file loads from within my theme folder.

    Your theme doesn’t happen to hard code a css path or anything does it? It could be a plugin loading in the css file or something, but not too sure apart from that, sorry!

    P.s. I also used the bbpress-functions.php file from bbp-theme-compat

    @lynq

    Participant

    Oh, your looking at a different site lol, I haven’t updated that for a while.

    I was looking at the new one I am currently working on: http://teamoverpowered.com/

    Yea that one comes from the bbpress plugins folder.

    @lynq

    Participant

    I just checked on my site and in Firebugs net panel it does not show that it is loading bbpress from the plugin folder?

    It shows that it is being loaded from my theme directory.

    These steps may be incorrect but this is what I did.

    1) I copied across bbp-theme-compat to my wordpress theme folder.
    2) I deleted the bbp-theme-compat from the bbpress plugin (this was probably not the thing to do!).

    Everything is working fine for me though?

    @lynq

    Participant

    I copied across bbp-theme-compat to my wordpress theme folder and then bbpress automatically picked up my files.

    Is your bbpress-functions.php file located inside your theme directory aswell?

    @lynq

    Participant

    Are we able to see it online or is it a local copy?

    @lynq

    Participant

    Awesome, good job!

    You can make your favourite look vastly different just by using CSS now.

    Good luck!

    @lynq

    Participant

    Inside this file: http://www.geekandjock.com/wp-content/themes/parallelus-mingle/bbpress.css

    Line 104.

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

    You will need to change to:

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

    This is the one thing that keeps cropping up when I am on these forums, so once you have got yourself comfortable with this then the rest of the stuff I have done with my forum has been mostly CSS. there is some PHP because I wanted to try and make it a bit unique, but none of it touches the core.

    Good luck!

    @lynq

    Participant

    Nothing, looks correct to me.

    If you check the markup you now have markup ready for your CSS.

    Now in your css you could add something along the lines of:

    .bbp-forums .bbp-forum-info .bbp-forums-list .bbp-forum {
        display: block;
    }
    

    @lynq

    Participant

    Put it into your functions file inside your current theme, should be there already?

    @lynq

    Participant

    Oh yea, I did some copying across from my forum, my bad.

    This would be the better choice: http://pastebin.com/rxRm1HiV

    • This reply was modified 12 years, 5 months ago by Lynq.
    • This reply was modified 12 years, 5 months ago by Lynq.

    @lynq

    Participant

    Ok cool,

    Here is the function I am using on one of my bbPress sites (without the modifications).

    1) Copy this function from pastebin: http://pastebin.com/xbwfL71X
    2) Then paste it into your functions.php file.
    3) Inside loop-single-forum.php replace bbp_list_forums(); with custom_bbp_list_forums();

    Good luck!

    • This reply was modified 12 years, 5 months ago by Lynq.

    @lynq

    Participant

    @Rastarr I have a feeling that when I used the backticks it cut off some of the code and you might of copied that across so it was formatted incorrectly?

    Hmm sorry Rastarr, I can’t get the code formatting to display correctly currently.

    http://pastebin.com/qsuEvBgL

    • This reply was modified 12 years, 5 months ago by Lynq.
    • This reply was modified 12 years, 5 months ago by Lynq.
    • This reply was modified 12 years, 5 months ago by Lynq.

    @lynq

    Participant

    If you paste it and then select the text, then click the {} button just above that should format it as code for you.

    It is probably before line 43 where the error lies and is not closing something off, so PHP continues happily until it hits line 43.

    @lynq

    Participant

    What code do you have on line 43?

    @lynq

    Participant

    Hi Martin,

    You should not edit the core code.

    Inside your template files is a file called loop-single-forum.php, this file calls the bbPress function bbp_list_forums();

    You will notice that it is probably not specifying any arguments it just specifies bbp_list_forums();

    If you specify arguments for that function like the ones listed above it will then wrap the subforums inside li tags which you can then use CSS to style.

    Good luck!

    P.s if you want to find out more about how that function works it is inside /bbpress/bbp-includes/bbp-forum-template.php but you do not need to edit it.

    Seeing how this will format:

    $args = array (
            'before'            => '',
            'after'             => '',
            'link_before'       => '',
            'link_after'        => '',
            'count_before'      => '',
            'count_after'       => '',
            'count_sep'         => '',
            'separator'         => '',
            'forum_id'          => '',
            'show_topic_count'  => true,
            'show_reply_count'  => true
    );
    
    bbp_list_forums( $args );
    
    • This reply was modified 12 years, 5 months ago by Lynq. Reason: Reformatting the code

    @lynq

    Participant

    I seem to be having trouble posting code to the forum, it wants to cut off the first part of it. Anyone else having issues or is this me doing something wrong?

    @lynq

    Participant

    Hey Rastarr!

    Are you talking about the list underneath a forum which is seperated by commas?

    If so then you need to specify some arguments to bbp_list_forums like so:

    <?php bbp_list_forums( array (
    ‘before’ => ‘<ul class="bbp-forums-list">’,
    ‘after’ => ‘</ul>’,
    ‘link_before’ => ‘<li class="bbp-forum">’,
    ‘link_after’ => ‘</li>’,
    ‘count_before’ => ”,
    ‘count_after’ => ”,
    ‘count_sep’ => ”,
    ‘separator’ => ”,
    ‘forum_id’ => ”,
    ‘show_topic_count’ => true,
    ‘show_reply_count’ => true,
    )); ?>

    Give that a go, it needs to be changed inside loop-single-forum.php Good luck!

    • This reply was modified 12 years, 5 months ago by Lynq.
    • This reply was modified 12 years, 5 months ago by Lynq.
Viewing 25 replies - 251 through 275 (of 377 total)