Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 54,201 through 54,225 (of 64,364 total)
  • Author
    Search Results
  • #69947
    _ck_
    Participant

    vannak, if you activated load options, something is still wrong because it’s using 36 queries on the front page. Are you using bbPress 1.0 or bbPress 0.9 ?

    Make sure your bb-topic-views plugin is the latest version (1.6.3)

    The old version before I took over used excessive queries.

    If you are using an earlier 1.0 alpha version, it also had excessive queries (still does on the newest version in some places).

    Before you run to hostmonster or other provider, make sure you do your homework and check those suggestions I gave you.

    Oh one more tip for choosing a hosting provider – if they use the word “unlimited” in any of their advertising, find another provider.

    #70140
    jonkristian
    Member

    @sambauer

    Think I have that prefix issue aswell, is this fixed?

    #4455
    JesperA
    Member

    Hi!

    I´ve tried a WordPress and BBpress integration and it works just fine, i´ve have added all the cookie information in both config files of WP and BB press but it still doesnt work on login, only on logout.

    My WP:

    define(‘AUTH_KEY’, ‘halmstad’);

    define(‘SECURE_AUTH_KEY’, ‘halmstad’);

    define(‘LOGGED_IN_KEY’, ‘halmstad’);

    define(‘NONCE_KEY’, ‘halmstad’);

    define(‘SECRET_KEY’, ‘halmstad’); // Change this to a unique phrase.

    define(‘COOKIE_DOMAIN’, ”);

    define(‘COOKIEPATH’, ‘/’);`

    BB:

    define(‘BB_SECRET_KEY’, ‘halmstad’); // Change this to a unique phrase.

    $bb->wp_siteurl = ‘http://www.domain.se/’;

    $bb->wp_home = ‘http://www.domain.se/’;

    $bb->wp_table_prefix = ‘wp_’;

    $bb->custom_user_table = ”;

    $bb->custom_user_meta_table = ”;

    $bb->authcookie = ‘wordpress_456c71223b3bb9958349ec3d65b850f6’;

    $bb->cookiedomain = ”;

    $bb->cookiepath = ‘/’;

    $bb->sitecookiepath = ‘/’;

    Can anyone spot the problem?

    #69219
    techypenguin
    Member

    nice. i’ll installed it later on. might show some good results.

    #70139

    hi chrishajer

    I do use the ltest stable WP -2.7- in a sandbox modified theme and the 1.0.4 (the one from the .tar)of BBpress

    thanks.

    #70138
    Sam Bauers
    Participant

    @lstelie

    There was a problem with the 1.0-alpha-4 version of the bbPress integration plugin. Please try the slightly newer plugin version 1.0-alpha-4.1

    #70071

    @lolos:

    Firstly, while there’s two ways to skin a cat, david’s method kills the kitty in the process. My advice is not to do it that way. If you need to get the absolute path of a directory I made a quick file to do it…

    Put this code in a php file, I named mine “abs.php”

    <?php
    $p = getcwd();
    echo $p;
    ?>

    Then upload that file to the directory you want to find the path to, and visit it in a web browser. It will echo the absolute path for you. Copy the output. Delete the file. Done!

    Duplicating the themes is really the best way to do this, and I promise that once you’ve included WordPress into bbPress properly, it’s a really straightforward and rewarding process.

    Firstly, download Notepad++. It’s free, and it rules.

    Firstly.5, make copies of your WordPress header.php/footer.php files, and save them someplace safe. We will be modifying these files and don’t want to ruin the actual working WordPress ones.

    Secondly, open the header.php/footer.php files for both the stock bbPress theme, and the copied ones I just mentioned. In Notepad++ you should now have 4 files open.

    We’re basically working from the outside in.

    Thirdly, take all of the relevant bbPress PHP code from it’s header.php/footer.php files, and start copy and pasting them to the equivalent places in the WP copy header.php/footer.php files. Like in mine, I actually have:

    <?php
    bb_feed_head();
    wp_get_archives('type=monthly&format=link');
    wp_head();
    bb_head();
    ?>

    Which loads all of the WP and BBP head related functions inside my BBP forums. Because I want links to my feeds and what-not…

    Fourthly, once you’re done with this, then you start poking around the other BBP theme files, and modify all of those files to work within the same construct as your WP theme does, with the same DIV classes and names and what-not.

    Because we’ve included the WordPress functions inside bbPress, and because we’re using the same original WP theme header.php file, all of the same style-sheets and JS from that theme are already coded and loaded, even though you’re looking at bbPress. The rest is just tweaking all of the files to look how you want them to.

    This is the process I used at http://www.delsolownersclub.com, and I think it’s worked really super well. :)

    #70137

    @lstelie:

    If you wanted to, it is possible to write a “clear all cookies” plug-in/function that would just be a link that would delete the cookies for a user entirely. I can verify that as long as you’re using WP2.7 and BBP1.0a4, that integration works and works really well. I’ve fully tested it on two different platforms now and both times it’s worked without a hitch.

    #70136
    gogoplata
    Member

    Sam – If you could explain setting the cookie names/COOKIEHASH for WPMU in more detail that’d be greatly appreciated. I’m working on integrating with WPMU and BuddyPress and can’t get cookies to sync so any details you can offer would be greatly appreciated.

    #70135
    lstelie
    Member

    Hello,

    I’m sorry to screw the happy mood but my experience is not good at all.

    I’m a very happy WP (nearly from the very first 0.x release) and bbpress user.

    I use the last versions of both WP and bbpress (I use svn for this)

    Until now (WP-RCx) and bbpress 1.0 alpha <4 things were far from perfect.

    When I was loged both on the weblog and the forum I couldn’t access anymore bbpress admin part.

    But from a user perspective it worked (they were logged in the blog and in the forum)

    Since bbpress 1.0 alpha 4 nothing works any more. When I log to one… I’m logged out of the other (as an admin) and some of my users can’t any more access their loging in the forum (logging in WP is no problem).

    I suspect it could be solved by deleting cookies but I can’t ask my user to do this (most of them would even don’t know what I’m talking about).

    I ended deactivating WP integration plug in and commenting COOKIEPATH in wp config, hopping this integration problem will be solved one for once in 1.0 final.

    Luc

    #70134
    Sam Bauers
    Participant

    @bebopcool

    There are a couple more things you have to do to integrate WPMU. It’s a different thing to the standard WordPress in a few ways, so requires some extra setup.

    You need to set the SALTs as well as the KEYs in your wp-config.php for a start. You also need to set the cookie names individually or just set the COOKIEHASH as well.

    One day I’ll document it all, but right now we are just trying to sort out standard installs first.

    #70133
    Sam Bauers
    Participant

    Topic renaming fixed in trunk.

    We also now have a nightly builds system courtesy of Barry at Automattic. If there is a change during the day, then a new nightly will be created and made available here:

    https://bbpress.org/nightly-builds/bbpress-latest.zip

    #69946
    vannak
    Member

    my site is getting slower and having more error after raising this topic. ok i need to stop posting now and do a backup fast in case i’ll lose everything :D

    #70132
    Sam Bauers
    Participant

    @tomwi

    You could use the bbPress Live plugin which uses the new XML-RPC functions to grab that data and put it in a widget. Probably the cleanest way to do it.

    #70070
    lolos
    Member

    Sam,

    When I tried the “deep integration,” I kept getting several errors that I would rather keep them apart for now until the operation of integrating them together is more seamless and free of bugs.

    As you can tell, I am a total newbie and there are ton of information to grasp! Can you point me to the right direction on how to make bbPress theme look like wordpress theme?

    Here is the one I am using:

    http://www.der-prinz.com/2008/01/25/wordpress-theme-im-magazin-stil-branfordmagazine-wordpress-magazine-style-theme-branfordmagazine/

    Thanks again!

    #70069
    lolos
    Member

    First of all, thank you so much, especially David and Sam. I really appreciate your help and input.

    David, I followed your steps and I think your explanation is very straight forward and detailed. However, it gives me this error:

    “Warning: main(/wp-load.php) [function.main]: failed to open stream: No such file or directory in /…/…/…/…/…/www/root folder/forum/bb-config.php on line 4.

    Warning: main(/wp-blog-header.php) [function.main]: failed to open stream: No such file or directory in /…/…/…/…/…/www/root folder/forum/bb-config.php on line 7.”

    It gave me the error above no matter how I write down the “full path:”

    if ( !defined( 'ABSPATH' ) ) {
    include_once( '/Full/Path/To/wp-load.php' );
    }

    require_once('/Full/Path/To/wp-blog-header.php');

    I translated the /Full/Path/To/wp-load.php –> /wp-load.php and /www/root folder/wp-load.php

    #70259
    Sam Bauers
    Participant

    The only forum solution that will actually reside in your WordPress installation is Simple:Press.

    bbPress (the 1.0-alpha at least) uses different methods for sharing data with WordPress.

    #70068
    Sam Bauers
    Participant

    OK, so davidbaldwin opens a can of worms with his advice here.

    I don’t recommend doing it this way, my advice is to create two separate themes for WordPress and bbPress that look alike and if you enable “deep” integration, then carefully pick the functions you want to use from WordPress and insert them into the bbPress template.

    Throwing in the whole WordPress header is potentially problematic. It’s possible to do it cleanly with a lot of work, but most people won’t have the knowledge or the time to do that.

    #69945
    Sam Bauers
    Participant

    Just a note, the load options trick only applies to 0.9 it is default behaviour in 1.0

    #70271
    Trent Adams
    Member

    I am not sure if this version works on latest release, but give it a try.

    https://bbpress.org/plugins/topic/limit-latest-discussions/

    Trent

    #4452
    kashbah
    Member

    I have been looking everywhere, but couldn’t find anything related.

    BBpress has a standart number of 30 “Latest Discussions” topics shown in the front page. There’s also a plugin that allow admins to set this number to whatever they wish.

    But I would rather have a dynamic list only with new topics or topics with new replies since a user’s last login, listed in “latest discussions”. Currently I have the “new topics” plugin, but I feel its not quite what users want.

    Any ideas how this could be done or where to start coding it?

    #4449
    onewake
    Member

    I have a site that I would like bbpress integrated into the current page layout, and I’m interested in

    paying someone well for their time to do it. If you’re interested and have a really good working knowledge

    of the program, would you email me: onewake @ gmail.com

    Thanks so much!

    #70067
    davidbaldwin
    Member

    lolos,

    first of all, if you are doing this with WordPress 2.6 or newer, you have to run 1.0-alpha. If you are running an older version of wordpress you can use the stable version. I attempted to roll back to an older version of wordpress, but i was unsuccessful, so this method is for 1.0-alpha users.

    I found the intigration information at:

    https://bbpress.org/documentation/integration-with-wordpress/

    https://bbpress.org/forums/topic/first-pass-at-a-fix-for-deep-integration-in-trunk#post-21572

    you need to add the following to the bb-config.php file, after <?php

    if ( !defined( 'ABSPATH' ) ) {
    include_once( '/Full/Path/To/wp-load.php' );
    }

    require_once('/Full/Path/To/wp-blog-header.php');

    the full paths have to be absolute paths on the servers, not the domain paths.

    this will load wordpress when bbpress is loaded.

    and then you need to add this line to the very top of every page that has this line: <?php bb_get_header(); ?>

    <?php get_header(); ?>

    please note that the line above has to be line #1 in every page that already calls the bb header, if it does not call the bb header, do not add this, the final result should look like this:

    <?php get_header(); ?>
    <?php bb_get_header(); ?>

    this will load the wordpress header when the bbpress header is called. you can edit the bbpress header to remove all the unnecessary code. (like the title, etc.)

    and then you need to add this line to the very bottom of every page that has this line: <?php bb_get_footer(); ?>

    <?php get_footer(); ?>

    please note that the line above has to be the last line in every page that already calls the bb footer, if it does not call the bb footer, do not add this, the final result should look like this:

    <?php bb_get_footer(); ?>
    <?php get_footer(); ?>

    this will load the wordpress footer when the bbpress footer is called. you can edit the bbpress footer to remove all the unnecessary code. (like the title, etc.)

    I hope this helps. if you have any questions, please feel free to ask!

    david

    #70131

    tomwi – Two easy options.

    1) Use the build in RSS sidebar widget in wordpress.

    2) Add the PHP Widget plugin and then toss in something like this:

    <?php require_once (ABSPATH . WPINC . '/rss-functions.php');
    $today = current_time('mysql', 1);
    // insert the feed URL here
    $rss = @fetch_rss('http://domain.net/forums/rss');
    if ( isset($rss->items) && 0 != count($rss->items) ) {
    echo '<ul>';
    // set the number of items from the feed to display (5)
    $rss->items = array_slice($rss->items, 0, 5);
    foreach ($rss->items as $item ) {
    echo '<li><a href="';
    echo wp_filter_kses($item['link']);
    echo '">';
    echo wp_specialchars($item['title']);
    echo '</a></li>';
    }
    echo '</ul>';
    }; ?>

    #70130
    tomwi
    Member

    this is great! i had downgraded to 2.5.1 for integration.

    i am using bb latest discussions to show latest bbpress posts in wordpress which I could not get to work with alpha 2. i want to move back to 2.7 and alpha 4…… does anyone know of a plugin that works in bbpress alpha wp 2.7 to pull latest bbpress posts to wordpress/wordpress sidebar?

Viewing 25 results - 54,201 through 54,225 (of 64,364 total)
Skip to toolbar