_ck_ (@_ck_)

Forum Replies Created

Viewing 25 replies - 651 through 675 (of 2,186 total)
  • In reply to: Domain transfer fails

    _ck_
    Participant

    @_ck_

    Go into your bb-config.php and make sure you have set

    $bb->uri = ‘http://your-new-forum-domain-and-path.com/’;

    Delete your cookies and re-login.


    _ck_
    Participant

    @_ck_

    bycbyc there are only a handful of active WPMU users here,

    did you try asking on the WPMU forum or did they send you here…?


    _ck_
    Participant

    @_ck_

    The plugin must autoload. If you are activating it manually something is very wrong.

    Leading underscore must be in the plugin directory’s root.

    bbPress has that limitation, underscores cannot be in sub-directories.


    _ck_
    Participant

    @_ck_

    yeah they are either ignorant or lazy

    – you either have a bad neighbor on the box or they oversold capacity

    it’s not your fault the connections are exhausted, it exhausted for the entire server from all the accounts combined…

    they need to fix their mysql settings or move the overly active accounts to a new box

    it might be time for you to shop for a better host, it all depends how they handle this


    _ck_
    Participant

    @_ck_

    Finding well managed shared hosting that’s affordable is difficult.

    Any host can slip up and end up with bad neighbors on a shared box.

    Loads as high as you are reporting though should be automatically firing off alerts to the host though, so they either

    1. aren’t getting alerts

    2. getting them but ignoring them because they know it’s the overloading backup routine each morning

    bbPress doesn’t have a page cache yet like WordPress’s wp-cache but in theory doesn’t actually need one unless you have a very active forum (or a bad host).

    As far as finding a “better” host, it’s not easy but here’s some ideas:

    http://ckon.wordpress.com/2008/12/18/some-tech-tips-to-find-a-better-wordpress-or-bbpress-host/


    _ck_
    Participant

    @_ck_

    Early in the morning on a shared box may mean your provider doesn’t know what they are doing and is not running the daily backup in “nice” mode, therefore overloading the server.

    Either that or you might have a misbehaving neighbor.

    bbPress doesn’t naturally cause that kind of problem, unless you are running an older alpha which uses more queries – and some of my plugins like hidden forums had a bug in a previous version that caused extra queries – you only used 10 queries so I think you are running 0.9

    If you know what you are doing, even on a shared host you can run a simple PHP program with cron checking the load every minute – the moment it starts to spike, say over 3.0, you can have it email you “ps aux” which will show you which neighbor is misbehaving, even on a shared host.

    See this:

    bb_init = 0.178 <<<


    bbpress’s core is completely loaded at this point,

    plugins, everything the amount of time is okay and acceptable – 50 to 100 files have been loaded

    bb_index.php_pre_db = 4.966 <<<—- this is kind of a lie, it’s not pre-db, there have been some queries…

    so in 4.5 seconds or so, here’s what’s been done:

    $forums = get_forums();
    $topics = get_latest_topics();
    $super_stickies = get_sticky_topics();

    it’s actually loaded all the forums and gotten the latest topics

    It’s using about 8-9 queries so 4.5 seconds is absolutely terrible, almost impossible if the server is working correctly.

    If your page time is normally under 1 second for that part, here’s what I think is happening.

    I think your host is running a backup at that hour OR one of your neighbors on the same box is doing a remote backup to/from the server, including mysql.

    That ties up the cpu and ties up mysql because the disk is thrashing and mysql is not caching at all.

    To prove my theory, see if it happen every day at the exact hour.

    Even more suspect would be if it happens on the hour or half hour.

    By the way, why do you assume it’s “your” mysql connections that have been exhausted – it’s actually the entire server’s pool on a shared host. I suspect you have a misbehaving neighbor who is accidentally making you think it’s you that’s the problem.


    _ck_
    Participant

    @_ck_

    Install bb-benchmark but that won’t show why the sheer connection number has increased.

    bbPress only uses one connection per page load, but the number of queries can vary.


    _ck_
    Participant

    @_ck_

    Please ask such questions on the page for the plugin itself, don’t start a new topic.

    I monitor the plugin RSS daily, the main forum section not as much.

    there are two places in the plugin where it says

    bb_current_user_can('administrate')

    change administrate to moderate

    bb_current_user_can('moderate')


    _ck_
    Participant

    @_ck_

    no but it’s a good idea

    the problem is kakumei doesn’t have a sidebar by default

    In reply to: target _blank

    _ck_
    Participant

    @_ck_

    function bb_target_blank( $text ) {
    $text = preg_replace('|<a (.+?)>|i', '<a $1 target="_blank">', $text);
    return $text;
    }
    add_filter('post_text', 'bb_target_blank',255);


    _ck_
    Participant

    @_ck_

    The svn looks badly out of date for Italian

    http://svn.automattic.com/bbpress-i18n/it_IT/tags/

    so you if you want to link your results here and state which version it is for we’ll see if Sam or Michael can update the SVN…


    _ck_
    Participant

    @_ck_


    _ck_
    Participant

    @_ck_

    sa05admin, all the numbers were gathered in the first two weeks of April


    _ck_
    Participant

    @_ck_

    Make this into a mini-plugin and it will add the tags as meta on topic pages:

    function bb_tweaks_tags_as_meta_keywords() {
    global $tags;
    if (!empty($tags)) {
    $keywords=""; foreach ($tags as $t) {$keywords.=$t->raw_tag.', ';}
    echo "n".'<meta NAME="keywords" CONTENT="'.trim($keywords,", ").'">'."n";
    }
    }
    add_action('bb_head', 'bb_tweaks_tags_as_meta_keywords',8);


    _ck_
    Participant

    @_ck_

    make it into a mini-plugin, ie.

    <?php
    /*
    Plugin Name: No Profit Edit
    */
    function bb_tweaks_no_profile_edit($retvalue, $capability, $args) {
    if ($capability=="edit_user") {return bb_current_user_can( 'administrate');}
    return $retvalue;
    }
    add_filter('bb_current_user_can', 'bb_tweaks_no_profile_edit',10,3);
    ?>

    Save it as no-profile-edit.php put into my-plugins and activate.

    Make sure you don’t put any spaces at the beginning or end of the file.


    _ck_
    Participant

    @_ck_

    To edit a .mo file you first need to have the .po version of it.

    Then you can edit it with POEDIT

    If you don’t have any of those things, first get POEDIT

    http://www.poedit.net/download.php

    If you only have a .mo file and not the .po but wish to add/edit the translations, you can “decompile” or reverse the .mo file into a .po file from the command line with poedit , ie.

    START -> RUN

    /program files/poedit/bin/msgunfmt ab_AB.mo > ab_AB.po


    _ck_
    Participant

    @_ck_

    untested, in theory:

    function bb_tweaks_no_profile_edit($retvalue, $capability, $args) {
    if ($capability=="edit_user") {return bb_current_user_can( 'administrate');}
    return $retvalue;
    }
    add_filter('bb_current_user_can', 'bb_tweaks_no_profile_edit',10,3);


    _ck_
    Participant

    @_ck_

    Go into your wp-config.php and put the line

    @define(COOKIE_DOMAIN,'.diskinserted.com');

    then go into your bb-config.php and put the line

    $bb->cookiedomain = '.diskinserted.com';

    Make you you remove any existing versions of the lines first.

    Make sure you clear all cookies for your website.

    Then try logging in and testing again.


    _ck_
    Participant

    @_ck_

    Only admin can change profiles in the first place, except for the profile owner.

    Are you saying you don’t want the member themselves to be able to change their own profile?


    _ck_
    Participant

    @_ck_

    first, never post your login info, mysql or otherwise on the web, now you have to change it

    second this is the bbpress support forum, not the wordpress support forum

    (but your problem does seem weird, there should be no error with that)


    _ck_
    Participant

    @_ck_

    go back and read the integration 101 instructions about $bb->cookiedomain


    _ck_
    Participant

    @_ck_

    Either the user table really isn’t being shared or your cookie has the wrong part or has been locked to a particular subdomain when it should use the leading dot instead.

    In reply to: MySQL version 4.0

    _ck_
    Participant

    @_ck_

    bbPress has the same requirements as wordpress, so yes 4.0 is the minimum

    https://wordpress.org/about/requirements/


    _ck_
    Participant

    @_ck_

    I see a bunch of people voted for their own site and nothing else?

    Come on, there are some nice designs out there to vote for…


    _ck_
    Participant

    @_ck_

    The instructions are right under the wordpress integration menu in bbpress

Viewing 25 replies - 651 through 675 (of 2,186 total)