Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 34,626 through 34,650 (of 64,516 total)
  • Author
    Search Results
  • #40455

    I figured since I was asking for help on something here:

    http://bbpress.org/forums/topic/function-calls

    I would at least give a little something that I believe some people may find useful. I may not explain this well so please feel free to ask questions and I’ll do my best to help you.

    I needed to create a whole new sidebar for my forum page and after some research and using the old noggin I came up with the following. Please note that this should be a good common usage for most themes but your situation may be unique. Adjust as needed.

    First, open your functions.php file and copy the following in there:

    // Forum Sidebar Widget Area. Empty by default.
    register_sidebar( array(
    'name' => __( 'Forum Widget Area', 'twentyten' ),
    'id' => 'forum-widget-area',
    'description' => __( 'The Forum Widget Area', 'twentyten' ),
    'before_widget' => '<li id="%1$s" class="widget-container %2$s">',
    'after_widget' => '',
    'before_title' => '<h3 class="widget-title">',
    'after_title' => '</h3>',
    ) );

    Again, each case may be different but generally this will work. What this will do is create a new Widgetized sidebar area (located under Appearances >> Widgets)

    Alternatively, You can copy your existing widget code in functions.php for widgets but be sure to rename the areas, especially id, as I have above (forum-widget-area was originally sidebar-widget-area).

    Take note, as well of the class= and id= I have. Those are useful for my blog but you may be using different tags for yours. Adjust as needed.


    Then Create a new file and name it anything you want, for our testing purposes we’re going to use forum-sidebar.php

    Copy and paste your code from sidebar.php into your new forum-sidebar.php file.

    My original looks like this:

    // A Sidebar for widgets
    if ( is_active_sidebar( 'sidebar-widget-area' ) ) : ?>

    <div id="sidebar" class="widget-area" role="complementary">
    <ul class="xoxo">
    <?php dynamic_sidebar( 'sidebar-widget-area' ); ?>

    </div>

    As you can see, I have two spaces calling the sidebar-widget-area that was previously declared in functions.php. Yours should be very similar to this or at least easy enough to figure out.

    What you need to do is rename the two fields within the () areas to what you declared when setting up your code in functions.php, mine is

    // A Sidebar for widgets
    if ( is_active_sidebar( 'forum-widget-area' ) ) : ?>

    <div id="sidebar" class="widget-area" role="complementary">
    <ul class="xoxo">
    <?php dynamic_sidebar( 'forum-widget-area' ); ?>

    </div>

    Notice how I changed sidebar-widget-area to forum-widget-area ?

    We do this so that when your forum page is called, it shows the widgets you’ll setup later.


    Now, Open your Page Template and find:

    <?php get_sidebar(); ?>

    Or something similar. generally this is at the bottom of the code.

    Replace that with:

    <?php
    $uri = $_SERVER['REQUEST_URI'];
    if ( strpos($uri,'YOUR-FORUM-BASE') !== false ) {

    include(TEMPLATEPATH . '/forum-sidebar.php');

    } else {

    get_sidebar();

    }
    ?>

    “forum-sidebar.php” is the file you created earlier and YOUR-FORUM-BASE is the “Forums base” you have defined for your forums settings (in Settings >> Forums). Also please note the / before the file name. With this code you’ll need it.

    What this does is calls your primary URL http://yoursite.com and then attempts to detect if it’s on THIS URL or ANOTHER.

    So if yoursite.com/YOUR-FORUM-BASE then SHOW THIS else SHOW THAT.

    Using this code you can have an entirely seperate widget area for your forum page so you can make better use of the bbPress widgets without overdoing it with your current sidebar setup.

    Someone may have a better or more elegant way of achieving this but this has worked for me and it works well. I hope anyone finds it useful.

    #108106
    woodwardmatt
    Member

    @ebharding – I spotted the same issue also. The site I have been working on is currently using an offset of +9.5hrs so the “Freshness” column is always incorrect. The diff function for “Freshness” must not be taking the GMT offset into account.

    #40450
    rwhite1986
    Member

    I have buddypress and bbpress activated. All I’d like to do is have replies to forum topics automatically show up under the notifications tab in the admin bar. thanks for your help.

    #40449

    Not sure if the title is the correct term I am looking for.

    I was wondering where I could find some notes, documentary, or whatever you guys call it regarding the use of things like:

    ‘separator’ => ‘ ‘

    ‘show_reply_count’ => false

    And other such functions?

    I currently have something like:

    <?php bbp_list_forums(array(‘separator’ => ‘
    ‘,’show_topic_count’ => false, ‘show_reply_count’ => false)); ?>

    and I was wondering what else I could do with the various bbpress arrays?

    I’m using bbPress 2.x and what I’m really trying for is to make the front page look more like the category page.

    Right now the front page is:

    Category 0 0

    forum (0,0), forum (0,0), forum (0,0), forum (0,0)

    and I’m trying to achieve

    Category

    – Forum 0 0

    – Forum 0 0

    – Forum 0 0

    – Forum 0 0

    Or something VERY similar.

    Any help anyone could lend me would be GREATLY GREATLY GREATLY appreciated!!!

    #100702

    In reply to: bbPress 2.0 – FAQ

    Brullworfel
    Member

    Hi!

    I want to start russian translation of bbPress 2, but there is no Russian language in list (https://translate.wordpress.org/projects/bbpress/plugin/), please help me.

    #105802

    In reply to: bbPress 2.0 – FAQ

    Brullworfel
    Member

    Hi!

    I want to start russian translation of bbPress 2, but there is no Russian language in list (https://translate.wordpress.org/projects/bbpress/plugin/), please help me.

    #40447
    highexistence
    Participant

    I’m trying to show a logged-in user’s favorite topics on a single page like the page-front-topics.php template that’s included in the bbpress default theme. I used the exact same syntax as in that file but instead called in another template I created, content-archive-favorites.php, which contains the exact code (minus the containing div) from the user-favorites.php file.

    It just shows that the user has no favorites.

    Any help would be greatly appreciated!

    #110065
    Andre
    Participant

    What version of bbPress are you using. If’s it’s 2.x it uses WordPress plugins so you don’t need to create a my-plugins folder.

    #40446
    Kimb Jones
    Member

    Hey guys, been using:

    http://wordpress.org/extend/plugins/bbpress-new-topic-notifications/

    Which is great for me as the site owner but I’d like my sub-forums to have their own notifications to specific users.

    Possible at all?

    #109951

    Google XML Sitemaps plugins works best with the new bbpress 2 as the new bbpress 2 uses custom post types the plugin recognizes the bbpress forum and add its constant to the xml sitemap and it is also the best wp sitemap plugin there is so just go for it and don’t waste your time with any other.

    you can get it at

    https://wordpress.org/extend/plugins/google-sitemap-generator/

    djoep
    Member

    Any news here? Is the SMF table translation issue I outlined above impossible with this plugin?

    Thanks,

    joe

    #40444
    clickgnosis
    Member

    Hi!

    We’ve just published the translation of bbPress 2.0 into catalan (Català/Valencià).

    Hope it will be useful…

    http://clickgnosis.es/?p=3441

    #98968
    clickgnosis
    Member

    Hello,

    you can find a catalan translation in our blog:

    http://clickgnosis.es/?p=3441

    #104068
    clickgnosis
    Member

    Hello,

    you can find a catalan translation in our blog:

    http://clickgnosis.es/?p=3441

    xsn0w
    Member

    I cannot get the bbPress installation to generate activity feed items. I have tried every configuration that has been mentioned. I would like to understand what milohuang is saying tho…

    BP 1.5’s implementation of forums is very wacky. To get to the “Forums” settings page, where you can “install” group forums or sitewide forums you have to have the “group forums” button checked in the components page (this makes no sense). I don’t want group forums, just sitewide so why would I have to check the other button???!!!

    I tried unistalling group forums, unchecking the button and delting the “Forums” wp page and have a BP forum at /forums/ but new topics/replies still do not show in Activity. (yes show all is selected and site tracking is also enabled.)

    #108865
    xsn0w
    Member

    This makes no sense. When you moved to the webserver, it should not be communicating with your local install. How could the activity stream be affected by a simple robots.txt file?

    svedman
    Member

    In bbpress.pot, the original strings are:

    This forum contains %1$s and %2$s.

    This category contains %1$s and %2$s.

    With bbPress 2.0-rc-2 fully translated, these phrases seem to use hard-coded English for the words topic/topics and reply/replies.

    Translated to Norwegian, the finished phrases will thus be:

    Dette forumet inneholder 0 topics og 0 replies.

    Denne kategorien inneholder 0 topics og 0 replies.

    When they should be:

    Dette forumet inneholder 0 tråder og 0 svar.

    Denne kategorien inneholder 0 tråder og 0 svar.

    #40442
    ryanmurray
    Member

    Hi,

    I’ve installed bbPress on my WordPress site and to get the functionality I want I need to add a couple of plugins to bbPress. I created the ‘my-plugins’ folder and put them in there but now what do I do? I’ve had a look through the documentation and it doesn’t mention where in the admin I can activate them?

    Any help is much appreciated.

    Ryan

    #110052

    Better to post this as a trac ticket. Plus we’ve talked about this on Skype.

    #95767
    zinbads
    Member

    thank…so much

    #110018
    jez101
    Member

    @Gautam Fair point.

    @anointed I hope so, perhaps the new version might have better out of the box support

    @letheos I think I will have another go with bbcodes, this does now seem like the best option. I’ll post back if I have any luck.

    Thanks for the replies.

    #109950
    sharonlevi80
    Member

    i would love to get answer to that too.

    really love the new version by the way…

    cheers !!

    sharon


    ‫‪‫superenalotto

    #110016
    letheos
    Member

    You can use shortcodes and just add some custom css styling.

    #110030
    letheos
    Member

    Dario,

    1. Create a page.

    2. Make it a homepage.

    3. Add the right shortcodes.

    4. Add proper styling.

    #110056
    amirsaam
    Member

    An advice, see this plugin for stanalone vr then you can see how can you done it for bbPlugin: Unread Topics

Viewing 25 results - 34,626 through 34,650 (of 64,516 total)
Skip to toolbar