Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 54,576 through 54,600 (of 64,515 total)
  • Author
    Search Results
  • #69920
    _ck_
    Participant

    Another performance tweak that will help with the end user’s page loading times (but won’t reduce that queries - time report for the page generation) is to remove the shedload of external javascripts that bbPress tries to load on many pages. Note that doing this will remove the ajax features but bbPress falls back to the conventional page-reload method instead so that’s okay.

    Only admin can use most of the ajax features anyway so this is crazy that bbPress adds half a dozen scripts for everyone, including the bloated 100k jquery library.

    This technique requires a mini-plugin unfortunately:

    <?php
    /*
    Plugin Name: bb-tweaks
    */
    // get rid of default forum scripts
    remove_action('bb_head', 'bb_print_scripts');
    ?>

    (I’ve never tried it but it might be possible to just put the single line

    remove_action('bb_head', 'bb_print_scripts');

    inside functions.php in the theme folder.

    #69919
    _ck_
    Participant

    1.298 - 35 queries is absolutely horrible actually.

    However I only get 0.489 - 35 queries on that site which is barely acceptable.

    It’s probably due to an overloaded shared hosting box.

    Let’s review some basics.

    First of all, let’s make sure you are using 0.9 and not 1.0

    (If you are using 1.0 I can’t really help you much because it’s slower than 0.9 for now and I keep explaining to everyone not to use it but they do anyway)

    Performance 101: (for everyone)

    1. go into bb-config.php and add this line:

    $bb->load_options = true;

    2. after you add the above line, queries should be under 20 per page, usually less than 15 – if they are not, then you have a misbehaving plugin (or are running 1.0)

    3. if you run your own server or VPS, turn on the mysql cache

    4. if you run your own server or VPS, install a PHP opcode cache

    (eaccelerator, APC or xcache)

    5. if you are on shared hosting ask your host why they don’t use 3 and 4 and if they don’t give you a good answer, get a better host

    GoDaddy is up there in like the top 10 for people who dislike their hosts.

    Just google the number of people that have trouble with them on wordpress.

    But unlike WordPress, bbPress doesn’t have any page cache plugins yet so if your host sucks in the first place, any large php program is not going to perform well.

    #69905
    _ck_
    Participant

    This is also straightforward to do, but I sure would like to know why someone would do such a thing.

    You can’t mimic the post_position trick because no positioning is tracked by bbPress for topics. bbPress shouldn’t even use post_position anyway but it does it to accelerate the alternative looking up the position by date.

    You’d have to do a mysql query that simulates the get_latest_topics but returns only topic_id’s and then find the position of the desired topic_id in the resulting array. Then you divide by number of topics per page and there’s your page number.

    #69680
    _ck_
    Participant

    It’s extremely easy to get forum <-> topic <-> post relationships in bbPress.

    Depending on where you are, you may just be able to do a

    global $topic,$bb_post;

    Then $topic or $bb_post will have the following objects inside:

    $bb_post

    post_id

    forum_id

    topic_id

    poster_id

    post_text

    post_time

    poster_ip

    post_status

    post_position

    $topic

    topic_id

    topic_title

    topic_slug

    topic_poster

    topic_poster_name

    topic_last_poster

    topic_last_poster_name

    topic_start_time

    topic_time

    forum_id

    topic_status

    topic_open

    topic_last_post_id

    topic_sticky

    topic_posts

    tag_count

    You use it like this:

    global $topic; echo "$topic->topic_title";

    or to answer your original question:

    global $bb_post; echo "$bb_post->forum_id";

    Of course doing it this way bypasses any filters that may be in place from plugins but that may not matter if you are just trying to do something simple.

    #69903

    Yes functions.php works for bbPress.

    #69917

    Hi vannak,

    If the forum you’re reffering to is the one linked to in your profile, then it seems to be running nicely.

    If you like showing off the fact that your server rocks,

    1.298 – 35 queries

    That said, if you think it’s running slowly the best bet is to do a few things:

    1) delete any plugins that you are not using (i know they shouldnt have any effect but always better to be safe than sorry, wordpress 2.6.1 had a similar bug)

    2) deactivate plugins one at a time, and see if you notice any difference.

    3) use Yslow to see what is taking the time to load from the front-end.

    4) try disabling the adverts on the website. they shouldn’t have an effect, but sometimes Flash banners can do that (though they should only slow it down after the page has loaded)

    5) Ask godaddy for the server logs and error logs, or ask them exactly what page/script is slow.

    BBpress isn’t perfect, but the code is well written and generally very very fast.

    #69916
    chrishajer
    Participant

    bbPress could be slow depending on what plugins you have installed. You can use something like bb-benchmark to see where the delays are:

    https://bbpress.org/plugins/topic/bb-benchmark/

    A stock installation of bbPress has never been slow for me. It’s almost always shared hosting.

    What *exactly* is slow on your forum? Can you post a link to the forum?

    #69901

    Hmm… This is a tough one, because it involves reverse engineering the query… To the best of what I can tell there isn’t anything in the core of bbPress that delivers this functionality…

    Because topics are sorted by date, it would involve a custom query which is then divided by the number of threads you choose to display per page…

    @the developers: Do bbPress themes accommodate for a functions.php file, similar to WordPress? This is the type of situation that a plug-in is a little bit much for, but would be perfect for an add on function.

    #69975

    In reply to: when bbp 1.0 release?

    Dear Santa,

    For Christmas this year I would like bbPress 1.0 with working WordPress integration, and for daddy to find a job.

    Love,

    Little Johnny



    @vannak
    : How many licks does it take to get to the center of a Tootsie Pop?

    The world, will never know.

    #4406
    vannak
    Member

    currently i have bbpress hosted on godaddy but users complaint that the site is slow and when i go to godadday they say it is because of the coding of the site and so on. so is that true?

    #69894
    ganzua
    Member

    Perhaps there is a way.

    This guy;

    http://www.adityanaik.com/bbpress-and-wordpress-integration/

    integrated wp 2.6.3 with bbpress;

    meta name="generator" content="WordPress 2.6.3"

    We are missing something.

    #4405
    watson
    Member

    I need an overview of the different user roles in bbPress. E.g. what is the “Key Manager” and what is the difference between him an the “Administrator”?

    I can’t seem to find anything in the documentation. Can anybody help with this?

    #69218
    _ck_
    Participant

    Yes when you rebuild PHP to a new version you must rebuild the eaccelerator module, that’s a good tip.

    Also sometimes after a rebuild you need to clear the eaccelator disk cache which is usually stored in tmp or you might have specified somewhere else in the php.ini settings.

    techypenguin, mysql speed is not related to eaccelerator but mysql’s own cache.

    If you are going by the time showed inside bbpress pages, that’s misleading as it shows the number of queries but the entire page generation time, not mysql query time. If you want to see the breakdown, install my bb-benchmark plugin.

    #69217
    chrishajer
    Participant

    I recently ran into a problem with eaccelerator installed from source:

    When you update PHP, Apache will not restart since eaccelerator was compiled with an earlier version of PHP, and Apache can’t load the eaccelerator.so binary. If Apache won’t start, maybe this is why. Apache didn’t give any good messages at all, but php -m on the command line showed a problem with the eaccelerator binary being compiled for an earlier version of PHP. So, just recompile, reinstall and restart Apache.

    Hope that helps someone.

    #69900

    Re embedding … There’s this: https://bbpress.org/plugins/topic/admin-can-post-anything/

    Also I found https://bbpress.org/plugins/topic/bbvideo/

    I don’t use either of them, mind.

    #69652

    In reply to: bbPress Facebook page

    I’m a big fan (and now a Facebook fan) of bbPress and don’t want to come off as ungrateful. But I’m definitely concerned about how long it’s taking to get WordPress integration going. Am I wrong in assuming it would be one of the highest priorities?

    Sambauers agrees with you. How do I know? #1007

    #69899
    johnhiler
    Member

    I’ll take a crack at this!

    1) I’m not sure about this, but if it doesn’t exist then I’m pretty sure it can be added through a plugin.

    2) The “bb-attachments” plugin allows users to upload images and other files: https://bbpress.org/plugins/topic/bb-attachments/

    3) I was able to match the look of my WordPress blog to my bbPress forums pretty easily

    4) There’s a five star rating plugin here: https://bbpress.org/plugins/topic/bb-ratings/

    I’m a big fan of bbPress, and have been using it for over a year. There are some people who have mixed feelings on bbPress though – you can read about that here:

    https://bbpress.org/forums/topic/bbpress-facebook-page

    I haven’t had problems integrating signin or matching my theme. However, I have a site with one WordPress install and three bbPress installs, all using a shared users table… and each system has its own profile link. I hear that BackPress should solve this eventually (a single profile system that will integrate across multiple installs like this), so I’m sticking with the *Press platform for now. But it’s been my biggest issue so far, so thought I’d share in case it’s something you need right away.

    Good luck!

    #4403
    kgosser
    Member

    Hey all,

    So I’ve been checking out various forums to use for my business’ site, and I’ve got it paired down to bbPress and Vanilla. I’m leaning towards bbPress, but I have a few questions that I’m seeking answers to first. If anyone can help me out, it would be greatly appreciated!

    (1) Is it available either by default or a plug-in to allow users to post <embed> or <object> snippets to show Flash files?

    (2) Is there a plug-in available to allow image uploading to our server, or are all the ways to get an image to display within a thread by bb [img]code or the “Allow Images” plug-in?

    (3) Would you consider bbPress’ theme customization to be about as equal (or easier) than WordPress’?

    (4) Are there plug-ins to allow for either digg-style voting or normal 5-star voting? Being able to host community-driven contests is important for this project.

    Thanks a lot in advance. One of the reasons I always use WordPress for my projects is because the community is one of the best on the Web, so I hope it rubs off a little bit for bbPress! Thanks again!

    #69216
    techypenguin
    Member

    tht tutorial sure helped me.thanks _ck_. last time i check the speed for mysql is 0.005sec before installing eaccelerator. how about win server?any good?

    #67975
    lyrics
    Member

    If the user is not logged in on to bbpress 9.0.2, “add new” option should not be available for him.I hope this feature would be taken care in higher versions.

    #69687
    lyrics
    Member

    Its great idea to have sub forums. I agree that bbpress does not have an option for hidden forums, but the discussions can be locked and pinned up for limited conversations.

    #69890

    In reply to: BBpress/WP integration

    The admin page on your WordPress side (www.mysite.com/blog/wp-admin/options.php) should be the same userid / password you use to administer wordpress.

    #4402
    eufc_forum
    Member

    Hi,

    I thought I would post this to just show off and see it their are any bugs people can spot (particularly design tweaks on various browsers and OS).

    http://www.eufcforum.com

    It utilises the standard BBpress header and footer with the rest being hacked about a bit with numerous plugins installed.

    #4399
    Hermiony
    Member

    Hi,

    I am trying to add a bbpress forum to my WP blog.

    In the settings -> wordpress integration section of my bb dashboard it requires a WP database secret. There is already some data in that box, but below it says;

    ‘This must match the value of the WordPress setting named “secret” in your WordPress installation. Look for the option labeled “secret” in this WordPress admin page.’

    And when I follow the link to the admin page I am asked for a username and password, but it doesn’t seem to recognise any that I put in, so I don’t know how I am able to check that the values match.

    Also, how can I create a link to the forum in the sidebar of my blog?

    Any help much appreciated!

    #69651

    In reply to: bbPress Facebook page

    bradsucks
    Participant

    I don’t think the Facebook page setup stole any time away from bbPress development.

    I’m a big fan (and now a Facebook fan) of bbPress and don’t want to come off as ungrateful. But I’m definitely concerned about how long it’s taking to get WordPress integration going. Am I wrong in assuming it would be one of the highest priorities?

    I recognize WordPress has been in a state of flux regarding logins and I likely don’t know all the deep developer details, but it’s getting difficult to maintain confidence in the project. Will the 2.7 release make things any easier?

Viewing 25 results - 54,576 through 54,600 (of 64,515 total)
Skip to toolbar