Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 47,976 through 48,000 (of 64,472 total)
  • Author
    Search Results
  • #78823

    In reply to: bbpress slow?

    _ck_
    Participant

    bbPress 0.9 can still be fastest if setup correctly.

    I assure you I have more plugins running at once than virtually anyone.

    http://bbshowcase.org/forums/

    Average: 0.50s. Median: 0.41s. StdDev: 0.50s. From 10 calls.

    https://bbpress.org/forums/

    Average: 0.73s. Median: 0.43s. StdDev: 0.73s. From 10 calls.

    And that webwait site is a very poor way of benchmarking things.

    Your distance to each site also affects the load time

    (especially since you are far overseas to continental USA).

    #80414
    circuit
    Member

    brilliant, thanks! this is exactly what i needed.

    all my users currently have ‘contributor’ status in WP (the blog that would become ‘1’) – do you know if they would retain this permission if i upgraded to MU?

    i am hoping that everything would work the same way, and i’d just be adding the additional benefits that MU brings rather than changing existing permissions.

    #78822

    In reply to: bbpress slow?

    hpguru
    Member

    Average load time after 10 runs: 1.17s

    #78821

    In reply to: bbpress slow?

    hpguru
    Member

    My bbPress http://keskustelu.hpguru.net/

    0.53 sec, 18 queries.

    #32057
    #80491
    InvTrdr
    Member

    Sorry about that. I changed it to http://www.invictatrader.com/bbpress/my-templates/kakumeicopy/images/color.png thinking it was conflicting with the existing wrapper name even though I added the “1” to the new name. When I add that to the CSS it does not work and even removes the old wrapper across the top and bottom.

    Thanks.

    #32064
    damainman
    Member

    http://www.accord5.com/trellis

    I was wondering if anyone has created a successful bridge, integration, or tutorial that allow both scripts to use one user login. Even if this has been done on another helpdesk, i would like to know.

    The forums didn’t let me post the link to the helpdesk.

    Thank you in advance for answering my questions Smile.

    #57468
    KillerSneak
    Member

    For the people who can’t login. Here are the steps i have taken to make it work:

    **

    BBpress Part

    **

    all php files of bbpress

    <?php bb_get_header(); ?>

    to

    <?php get_header(); ?>

    and

    <?php bb_get_footer(); ?>

    to

    <?php get_footer(); ?>

    :: bb-config.php::

    add just before the ?> ending tag:

    define(‘WP_BB’, true);

    if ( !defined(‘DB_NAME’) ) {

    require_once( dirname(__FILE__) . ‘/../wp-config.php’);

    }

    define(‘WP_BB’, true);

    if ( !defined(‘DB_NAME’) ) {

    require_once( dirname(__FILE__) . ‘/../wp-blog-header.php’);

    }

    **

    WordPress Part

    **

    ::wp-blog-header.php::

    at the top add

    <?php global $forumpage;

    $forumpage = TRUE; ?>

    This should at least make the login part work and replace the header + footer and in some cases (depanding on your WP-Theme??) some css

    http://test2.cell-systems.net/ <- thats the testing site. It;s 01:05 here now and I need to get into my bed. I hope this at least helps a bit as it seems most people who have it working 100% don’t want to share??>>

    #80490
    chrishajer
    Participant

    http://invictatrader.com/bbpress/my-templates/kakumeicopy/images/page_header_tile1.png

    That file is not there. Where did you put the tile1.png file?

    #31681

    Topic: bbpress slow?

    in forum Troubleshooting
    Shagalaga
    Member

    Load times from http://WebWait.com:

    http://mamo-net.de/forum.php . Average: 0.81s. Median: 0.78s. StdDev: 0.81s. From 10 calls.

    http://bbpress.org/forums/ . Average: 1.61s. Median: 1.48s. StdDev: 1.61s. From 10 calls.

    http://vanillaforums.org/discussions . Average: 1.52s. Median: 1.50s. StdDev: 1.52s. From 10 calls.

    http://www.phpbb.com/community/?sid=89568ac780250f265a0bbb3bd15579af. Average: 1.75s. Median: 1.68s. StdDev: 1.75s. From 10 calls.

    what do you say?

    i’ve installed Viscacha and was pretty surprised how fast it was and all important plugins are already preinstalled.

    i remember when bbpress was the fastest. Good old times.

    ph23man
    Member

    Is there a way to fix this without switching the include to wp-load.php?

    I’m also running Buddypress and the “Buddybar for bbpress” plugin. Changing the include from wp-blog-header.php to wp-load.php seems to break the “My Account” menu in the admin bar. It seems that switching to wp-load.php makes the bbpress end unable to read $bp->bp_nav, which causes the “My Account” not to appear.

    I’m running WPMU 2.8.4a, Buddypress 1.0.3, and bbPress 1.0.2.

    #80443
    SimonDorfman
    Member

    I was able to get to the admin area by removing the “s” in https at the beginning. Then I went to settings and tried to change the bbPress address (URL) from https://www.example.com/forums/ to http://www.example.com/forums/ but it doesn’t save the change. I might have to go in with phpmyadmin…

    #80480
    thesportsfag
    Member

    perfect thanks

    #78576
    gerikg
    Member

    I’m not an expert but this is what I noticed

    WP-CONFIG

    you had..

    /** Braucht man für die Cookie-Integration von bbpres laut bbpress-integration */

    /*define( ‘COOKIEHASH’, ‘1111’ );*/

    define( ‘COOKIE_DOMAIN’, ‘.[gerikgtookout].de’ );

    define( ‘SITECOOKIEPATH’, ‘/’ );

    define( ‘COOKIEPATH’, ‘/’ );

    when you’re using WPMU you need those when you’re using WP you just need the cookiepath. It was probably my fault because of my previous posts.

    the cookiepath must be at the top for it to work, I don’t know why but it does. I added define( ‘COOKIEPATH’, ‘/’ ); to the top

    The keys I took from https://api.wordpress.org/secret-key/1.1/salt not https://api.wordpress.org/secret-key/1.1/ which they recommend. It has 8 keys. I also copied the same keys into the bb-config file but added “BB_” to the beginning.

    BB-CONFIG

    It looks like you were using an old config file (you must of upgraded?) I took the config file from the new version and just plugged in your information. I added define( ‘COOKIEPATH’, ‘/’ ); to the top just like WP. I also added if (file_exists(‘../wp/wp-load.php’))

    require_once(‘../wp/wp-load.php’); for deeper integration (for you to use WP functions in bbPress) which I think you were already, or trying to. I logged into your admin section in bbpress and notice you wrote “http://[gerikgtookout].de&#8221; as your wordpress URL but it should of been “http://[gerikgtookout].de/wp&#8221; clicked save and everything worked fine.

    #80479
    gerikg
    Member

    The plugin just gives you information, once you get the information from it you can delete it.

    #80170

    In reply to: IE Hates Permalinks

    InvTrdr
    Member

    Doesn’t turning the Permalinks on and off often in bbPress or WP mess up your sitemap settings with the search engines?

    Thanks you.

    #32061
    InvTrdr
    Member

    How do I change the font size on the left of the Header area which says login, register, lost password etc.? Click on this link http://www.invictatrader.com/bbpress to see the header. I could not find it in the CSS unless I missed something or it was set to default in the core files. I am using the default stock theme “Kakumei”.

    Thank you.

    #80478
    thesportsfag
    Member

    gerikg,

    Thanks for the reply but I don’t think I made my question clear. Let me try again. I know that bbpress is not a plugin — I have it installed and it’s working just fine. One of the last steps in the directions is to upload a plugin with a file name bbpress-integration.php to your plugins directory. Now this file is still in my plugins folder with the ability of any MU user to activate or deactivate it. That doesn’t seem right.

    tianye
    Member

    http://www.liuso.com/bbpress this is my forum address

    I try reupload a new rss.php file again but doesn’t working

    # BEGIN bbPress

    Options -MultiViews

    <IfModule mod_rewrite.c>

    RewriteEngine On

    RewriteBase /bbpress/

    .htaccess

    RewriteRule ^page/([0-9]+)/?$ /bbpress/index.php?page=$1 [L,QSA]

    RewriteRule ^forum/([^/]+)/page/([0-9]+)/?$ /bbpress/forum.php?id=$1&page=$2 [L,QSA]

    RewriteRule ^forum/([^/]+)/?$ /bbpress/forum.php?id=$1 [L,QSA]

    RewriteRule ^forum/?$ /bbpress/ [R=302,L,QSA]

    RewriteRule ^topic/([^/]+)/page/([0-9]+)/?$ /bbpress/topic.php?id=$1&page=$2 [L,QSA]

    RewriteRule ^topic/([^/]+)/?$ /bbpress/topic.php?id=$1 [L,QSA]

    RewriteRule ^topic/?$ /bbpress/ [R=302,L,QSA]

    RewriteRule ^tags/([^/]+)/page/([0-9]+)/?$ /bbpress/tags.php?tag=$1&page=$2 [L,QSA]

    RewriteRule ^tags/([^/]+)/?$ /bbpress/tags.php?tag=$1 [L,QSA]

    RewriteRule ^tags/?$ /bbpress/tags.php [L,QSA]

    RewriteRule ^profile/([^/]+)/page/([0-9]+)/?$ /bbpress/profile.php?id=$1&page=$2 [L,QSA]

    RewriteRule ^profile/([^/]+)/([^/]+)/?$ /bbpress/profile.php?id=$1&tab=$2 [L,QSA]

    RewriteRule ^profile/([^/]+)/([^/]+)/page/([0-9]+)/?$ /bbpress/profile.php?id=$1&tab=$2&page=$3 [L,QSA]

    RewriteRule ^profile/([^/]+)/?$ /bbpress/profile.php?id=$1 [L,QSA]

    RewriteRule ^profile/?$ /bbpress/profile.php [L,QSA]

    RewriteRule ^view/([^/]+)/page/([0-9]+)/?$ /bbpress/view.php?view=$1&page=$2 [L,QSA]

    RewriteRule ^view/([^/]+)/?$ /bbpress/view.php?view=$1 [L,QSA]

    RewriteRule ^rss/?$ /bbpress/rss.php [L,QSA]

    RewriteRule ^rss/topics/?$ /bbpress/rss.php?topics=1 [L,QSA]

    RewriteRule ^rss/forum/([^/]+)/?$ /bbpress/rss.php?forum=$1 [L,QSA]

    RewriteRule ^rss/forum/([^/]+)/topics/?$ /bbpress/rss.php?forum=$1&topics=1 [L,QSA]

    RewriteRule ^rss/topic/([^/]+)/?$ /bbpress/rss.php?topic=$1 [L,QSA]

    RewriteRule ^rss/tags/([^/]+)/?$ /bbpress/rss.php?tag=$1 [L,QSA]

    RewriteRule ^rss/tags/([^/]+)/topics/?$ /bbpress/rss.php?tag=$1&topics=1 [L,QSA]

    RewriteRule ^rss/profile/([^/]+)/?$ /bbpress/rss.php?profile=$1 [L,QSA]

    RewriteRule ^rss/view/([^/]+)/?$ /bbpress/rss.php?view=$1 [L,QSA]

    RewriteCond %{REQUEST_FILENAME} !-f

    RewriteCond %{REQUEST_FILENAME} !-d

    RewriteRule ^.*$ /bbpress/index.php [L]

    </IfModule>

    # END bbPress

    #80477
    gerikg
    Member

    bbPress is not a plugin. It’s a stand alone. You can integrate it. To avoid headaches later make a folder in your WP and put the files in there. Call it whatever you think you want the url to be.

    if you want domain.com/forums then call the folder forums when you put all the bbpress files in.

    #32059
    thesportsfag
    Member

    In a WPMU install with bbpress as a subdirectory where should the file bbpress-integration.php be placed and how should it be activated (sitewide or just for the main blog)? As it stands now I followed the instructions and placed it in wp-content/plugins folder and activated it but it can be seen and activated by all other users in their respective dashboards. That doesn’t seem right/safe.

    Thanks

    Ryan
    Participant

    After wrestling with integration between WP 2.8 and bbPress 1.0.2 for the last day and a half, I gave up and started thinking of ways I could do this a little more straightforwardly.

    My problem was I didn’t need any sort of database or user sharing between the sites. I simply wanted a way to display certain parts of my WordPress theme on my bbPress page. Things like a list of the WP categories, a menu being built from categories, a blogroll, etc.

    Here’s what I did:

    Instead of fully integrating WP, what is usually called “deep integration” so as to gain access to WordPress functions (wp_list_categories, etc.), I simply created a few functions in my WordPress theme’s function.php file that automatically generate the HTML for the items I wanted, and then saved it to a file that I could then call in my bbPress theme.

    Part 1: WordPress Theme

    Open up your functions.php file in your WordPress theme’s folder (/wp-content/themes/yourtheme/).

    Scroll down to the bottom and create your new function. For this example, I’ll use adding a list of categories from your WP blog to your bbPress forum:

    function make_cats () {
    $output = NULL;
    $output = wp_list_categories('echo=0&orderby=ID&hide_empty=0&title_li=<h3>categories</h3>');
    $fp = fopen($_SERVER['DOCUMENT_ROOT'] . '/wp-content/themes/your-theme/ext/cats.html', 'w');
    fwrite($fp, $output);
    fclose($fp);
    }
    add_action('edit_category_form', 'make_cats');

    To explain this a bit, basically:

    We create a variable called $output, NULL it (make sure it’s empty), and then load the category info into it. The wp_list_categories() function creates an unordered list of the categories with a heading (h3) saying “Categories”. We also use the echo=0 bit to make sure it don’t print the HTML it is generating to the screen, but rather just puts it in $output.

    Then we open a file called cats.html in a new folder called ext that we’ve previously created (via FTP or whatever) in your theme directory (/wp-content/themes/your-theme). If the file doesn’t exists, the function will create it, however, the “ext” folder needs to already exist. The file is then fill it with $output. All these files and folders are completely up to you — you can save the file anywhere on your server, I just chose to stick it somewhere easy to remember and that wouldn’t clutter anything up.

    The final step is:

    add_action(‘edit_category_form’, ‘make_cats’);

    This tells WordPress to run this function (make_cats) every time the edit_category_form action is triggered, basically any time you load your “Categories” page in the wp-admin area. There are lots of different actions for virtually anything you can think of. Find the one suitable for your customization here.

    Part 2: bbPress Theme

    The second part is to load the contents of your newly created HTML file in your bbPress theme. To do this only requires a single line of code inserted into the appropriate place in your theme. Wherever you want the list of categories (or whatever you’re wanting to display), simply add this line:

    <?php include $_SERVER['DOCUMENT_ROOT'] . '/wp-content/themes/your-theme/ext/cats.html'; ?>

    That should do it.

    Here are a couple more function examples, both use the “save_post” action, so every time you save (new or edit) a post, it fires and updates (or creates) the HTML files:

    Tag Cloud

    function make_tags () {
    $output = NULL;
    $output = wp_tag_cloud('echo=0&smallest=8&largest=22&number=30&orderby=count&order=RAND');
    $fp = fopen($_SERVER['DOCUMENT_ROOT'] . '/wp-content/themes/your-theme/ext/tags.html', 'w');
    fwrite($fp, $output);
    fclose($fp);
    }
    add_action('save_post', 'make_tags');

    Recent Blog Posts

    function make_posts () {
    $output = NULL;
    $getsomeposts = new WP_Query('numberposts=10');
    $output = '<ul>';
    while ($getsomeposts->have_posts()) : $getsomeposts->the_post();
    $output .= '<li><a href="'. get_permalink() . '" title="' . the_title('','',FALSE) . '">' . the_title('','',FALSE) . '</a></li>';
    endwhile;
    $output .= '</ul>';
    $fp = fopen($_SERVER['DOCUMENT_ROOT'] . '/wp-content/themes/your-theme/ext/posts.html', 'w');
    fwrite($fp, $output);
    fclose($fp);
    }
    add_action('save_post', 'make_posts');

    Hope that helps someone who is as frustrated with the WP<–>bbP integration as I was. If you have any questions about this, feel free to post ’em here. I’ll do my best to check back.

    #80452
    johnhiler
    Member

    Check out the “bb_topic_labels();” function on your front-page.php template:

    https://trac.bbpress.org/browser/trunk/bb-templates/kakumei/front-page.php#L24

    The word “sticky” used to be hardwired into templates, but it got moved into the bb_topic_labels function in version 0.8.x. That provides the infrastructure for things like the Topic Icons plugin. More here:

    https://bbpress.org/forums/topic/what-is-bb_topic_labels

    #32055
    #80437
    OKTeaRoom
    Member

    Ok, here’s a thread:

    https://bbpress.org/forums/topic/seemless-wordpress-integration

    Is that up to date?

    I just need some direction here.

Viewing 25 results - 47,976 through 48,000 (of 64,472 total)
Skip to toolbar