Shmoo (@macpresss)

Forum Replies Created

Viewing 25 replies - 26 through 50 (of 70 total)

  • Shmoo
    Participant

    @macpresss

    Ow ‘ include_home ‘ will hide the very first and ‘ include_root ‘ will hide the Forums root.

    So hide both and make two custom links before the Breacrumbs, one Homepage link + one Custom


    Shmoo
    Participant

    @macpresss

    If the link will always be the same you can remove the Root and manually add a custom one.

    This is default.
    <?php bbp_breadcrumbs(); ?>

    Remove the Root.
    <?php bbp_breadcrumbs( array( 'include_home' => false ) ); ?>

    Than add your custom link before the Breadcrumbs tag.
    <a href="google.com">Google</a> <?php bbp_breadcrumbs( array( 'include_home' => false ) ); ?>

    Something like that ?


    Shmoo
    Participant

    @macpresss

    Sorry, I need to close a few Tabs in my editor because I was looking inside the wrong template.

    This gets the login form.
    <?php bbp_get_template_part( 'form', 'user-login' ); ?>

    And of course that file is located where it should be:

    wp-content / plugins / bbpress / templates / default / bbpress / form-user-login.php

    Duh, stupid me!


    Shmoo
    Participant

    @macpresss

    First of all you should go to this location:

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

    Copy-/Paste the bbpress.css file into your Theme’s folder.

    Like so:

    wp-content / themes / [ your-theme-name ] / css / bbpress.css

    When there is none css folder inside you theme folder just create one.
    What you’ve done right now is created you’re own custom stylesheet for bbPress that can’t be overwritten by software updates.

    What styles you have to change I can’t tell from looking at your picture, but it’s pretty easy to find them.
    Make sure you have a Webkit browser installed on your computer ( Google Chrome is reallt the best for this ). View your website and right-mouse-click on the element you would like to change and pick the option ” Inspect Element ” ( I think it’s called )

    Now you have at the bottom all the style , there’s also a location + line number where to find the elements inside your bbpress.css file.

    Look at this video for some instructions.

    It’s not that difficult.


    Shmoo
    Participant

    @macpresss

    Go to the next path.

    wp-content / plugins / bbpress / templates / default / bbpress / content-archive-forum.php

    Copy the BOLD file into your Theme folder inside a new folder called [ bbpress ]

    Like this:

    wp-content / themes / [ your-theme-name ] / bbpress / content-archive-forum.php

    Open the new ‘ content-archive-forum.php ‘ file and remove the following lines of code and save the changes.

    
    <div class="bbp-search-form">
    
    	<?php bbp_get_template_part( 'form', 'search' ); ?>
    
    </div>
    
    

    Shmoo
    Participant

    @macpresss

    You can find the Widgets of bbPress right here.

    wp-content / plugins / bbpress / includes / common / widgets.php

    Thats the file you need to have. By default I don’t think you can drag your Widget-code out of there and start using it inside any other WP project. You probably have to add and redesign it to make it work.


    Shmoo
    Participant

    @macpresss

    The first block goes inside your functions.php i guess,

    And all others you have to add where to show – inside your template files. example loop-single-forum.php

    That fie can be found in your bbpress plugins directory.
    wp-content / bbpress / templates / defaults / bbpress / ** here **

    Don’t edit files from the bbpress folder inside your plugins folder because those will be overwritten when bbPress updates.
    Just copy files that you need to edit towards your theme folder just like this:

    wp-content / themes / [ your theme name ] / bbpress / ** here **


    Shmoo
    Participant

    @macpresss

    Nice website, looks pretty.. only ‘problem’ it took about 12 seconds to load the pages.


    Shmoo
    Participant

    @macpresss

    Tried this but it doesn’t work..

    
    <?php
    if ( is_singular( bbp_get_forum_post_type() ) || bbp_is_query_name( 'mac' ) ) {
    	include(TEMPLATEPATH.'/page-one.php');
    }
    else {
    	include(TEMPLATEPATH.'/page-two.php');
    }
    ?>
    

    Shmoo
    Participant

    @macpresss

    Just test this..

    Copy the following file into your Twenty Ten Theme folder.

    wp-content/plugins/bbpress/extras/archive-forum.php

    And inside that file delete this line <?php get_sidebar(); ?>
    Hope that gives you an idea.


    Shmoo
    Participant

    @macpresss

    I believe..

    Above the checkbox you just unchecked is something called Archive Slugs Change the forums name and save.


    Shmoo
    Participant

    @macpresss

    Go into your WordPress back-end and in the left-side menu go to: Settings > Forums >

    When you’re on the Forums page you should disable the ‘ Single Slugs ‘ checkbox.

    the one that says… ” Prefix your forum area with the Forum Base slug (Recommended) ”


    Shmoo
    Participant

    @macpresss

    Have you tried to include a Soundcloud link inside a blog post?

    If you use WordPress 3.5+ it should embed automatically, if it works on blog posts it should also work on topics.

    If not try this Plugin.

    http://wordpress.org/plugins/oembed-in-comments/

    Comments + replies are almost the same.


    Shmoo
    Participant

    @macpresss

    It’s difficult to judge from an outside of view but I visit one of the larger bbPress driven websites on a daily base and have my doubts on some parts.

    http://www.onemorething.nl/over ( almost 3 million posts )

    Those guys have upgraded bbPress V1 -> bbPress V2 about 4/5 months ago and still are fighting troubles + losing people-/visits because of it.
    I can’t tell if it’s ‘sloppy’ bbPress Core or less quality developers who have messed things up.

    The website + community runs pretty fast on a good server and most of the trouble their facing are custom build features…


    Shmoo
    Participant

    @macpresss

    I think it’s this one.

    http://bbpress.trac.wordpress.org/ticket/1993

    solved


    Shmoo
    Participant

    @macpresss

    Please stop bumping this topic.

    Nobody can help you.. Go to the WordPress support forums there is much more traffic.
    Maybe somebody over there can help , else it’s just not possible and you have to pay somebody to do so.


    Shmoo
    Participant

    @macpresss

    +1

    Good question i would like to know also.

    I doubt somebody has figured it out because i see this happening al the time at bbPress and WordPress forums.

    http://i50.tinypic.com/2jdgbiu.png

    For now:
    Add the tagged words that clearly have nothing to do with your support-forum like Abercrombie, NBA, Air Jordan and stuff like that to the WordPress settings blacklist.


    Shmoo
    Participant

    @macpresss

    Look at the Widgets maybe you can drop a Login-/register Widget in the sidebar..


    Shmoo
    Participant

    @macpresss

    Create a new page and use the [ shortcodes ]

    http://codex.bbpress.org/shortcodes/

    (bottom)


    Shmoo
    Participant

    @macpresss

    Step 4:

    The code is a bit messy.
    Here is the code in Pastebin.

    http://pastebin.com/0iA4ReV9

    Change the default to the NEW and you’re done.


    Shmoo
    Participant

    @macpresss

    Alright guys i’ve got a solution,

    Please note, i have ZERO PHP skills so this probably isn’t the best solution on earth but i think it’s a good work-around to get the job done ‘easy’..

    If some PHP developer reads this topic and thinks, damn this guy is going crazy with all his copy-/pasting stuff please feel free to modify this code..

    What did i do:
    First i opened up the Core template file of bbPress where the Breadcrumbs function is made.
    I have copied the code and pasted inside a new PHP document, made some simple HTML changes before and after the urls and called this new template file inside my Theme’s functions.php

    Last i called my custom Breadcrumb PHP code just to make sure my code is loaded and not the default bbPress code..

    Here you go.
    When your done it should look like this structure..

    http://i46.tinypic.com/33z93lg.png

    Nothing too fancy but the only difference, it’s made by a HTML List , like it should be in 2012 because a Breadcrumbs is a navigation and not just 5 URLs behind each other.

    http://twitter.github.com/bootstrap/components.html#breadcrumbs

    Step 1:
    Paste all this code into a new empty PHP document and call it breadcrumbs.php
    When your done drop this file into your Themes include folder.
    wp-content / themes / [ your-theme-name ] / inc / * here *

    http://pastebin.com/bWdPEXa5

    Step 2:
    Open your theme functions.php file and add this code to it.

    http://pastebin.com/nJ9pZinq

    Step 3:
    Open the bbPress or WordPress stylesheet and add those few lines of CSS to it.

    http://pastebin.com/KyPuknTw

    Step 4:
    Inside the bbPress template files you often find this line of PHP code, it calls the default Breadcrumb function:

    Change that line to this one and your done..

    __( '', 'bbpress' ), ) ); ?.>

    • without the dots before and after the -> .?.

    Hope this helps..


    Shmoo
    Participant

    @macpresss

    Active the option inside WordPress > settings

    There is somewhere a checkbox that says ” allow people to register on your site ” * something like that.

    If you activate that checkbox people can register to your WP site and reply and create topics.


    Shmoo
    Participant

    @macpresss

    @JJJ

    Please do the people on bbPress.org a huge favor and delete all the fancy stuff in this comment-form, just load the default wordpress.ORG comment-form it’s huge and only support a few needed options. This is getting ridicules. People have to be an acrobat to post some code on this forums.

    I can’t copy-/paste @mattsimo code because of this forum-software.

    Safari + Firefox it doesn’t copy the the selected code i needed.


    Shmoo
    Participant

    @macpresss

    Oops,

    *Topic Authors -> should be Topic Creators or Starters.


    Shmoo
    Participant

    @macpresss

    Maybe a little bit late..

    The Lead Topic ( content-single-topic-lead.php ) is a very powerful but super simple function that can be used to style the Topic Authors different from the Repliers..

    It’s also very useful if you want to add some ads or a simple note to your readers after the first message ( from the topic author)

    Bummer this is nowhere to be found in the Codex.
    But you can activate this option by adding this line of code to your WordPress theme functions.php template file.
    Note i say functions.php and not bbpress-functions.php because you if you would add it to the bbpress-functions.php this code will be overwritten when the bbPress plugin updates in the future.

    add_filter( 'bbp_show_lead_topic', '__return_true' );
    

    Hope that helps..

Viewing 25 replies - 26 through 50 (of 70 total)