Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 19,326 through 19,350 (of 32,499 total)
  • Author
    Search Results
  • #94826
    Rich Pedley
    Member

    echoes my thoughts ;)

    #94825

    My rule regarding trac vs forums, is that the forums are traditionally for support and confirmation of an issue occuring, and the trac is for when bugs appear that can be duplicated and/or you have a suggested code change. You can even drop enhancement requests in the trac if you have a really neat idea, even better if you have a patch to match it.

    Core developers live and breathe by the trac. If it isn’t in there, it doesn’t exist. It’s our diary of development, and without it our lives would be much more difficult. The trac is less social, and more developer speak. The forums tend to be a little more relaxed.

    With WordPress 3.1 almost in its third release candidate, we can expect it to ship really, really soon. That said, it makes sense to drop 3.0 support and focus on 3.1. I’ve made sure we’ve stayed compatible with 3.0 this entire time, but it’s time to focus on the version of WP that the bbPress plugin will see the most use on.

    Thanks to everyone that’s been testing on 3.0 installations. If you *really* want this to be 3.0 compatible, definitely open trac tickets and contribute patches to keep that support alive.

    #98802

    Ah looks like, syntax highlighting is messing up the code.

    Can you try adding this instead of your line?

    /* Deep integration */
    if ( !defined('ABSPATH') & !defined('XMLRPC_REQUEST')) {
    define('WP_USE_THEMES', false);
    include_once(dirname(__FILE__) . '/../wp-blog-header.php' );
    header("HTTP/1.1 200 OK");
    header("Status: 200 All rosy");
    }

    Not sure about your errors though.

    #103902

    Ah looks like, syntax highlighting is messing up the code.

    Can you try adding this instead of your line?

    /* Deep integration */
    if ( !defined('ABSPATH') & !defined('XMLRPC_REQUEST')) {
    define('WP_USE_THEMES', false);
    include_once(dirname(__FILE__) . '/../wp-blog-header.php' );
    header("HTTP/1.1 200 OK");
    header("Status: 200 All rosy");
    }

    Not sure about your errors though.

    #94819
    Rich Pedley
    Member

    I usually do, though sometimes if I’m unsure I prefer to get a bit of feedback first ;)

    #37001

    I’m trying to open up search on my bbPress install, I can search, it works properly. What I decided, for now, was to not show the Recent Results, but only the Relevant Results, the problem is that some of the Relevant Results are not displaying a proper link to the post.

    This line in /bbpress/search.php is the issue, I think, but I can’t figure out how to correct it.

    Line 12:

    Code:
    $bb_query_form->BB_Query_Form( ‘post’, array(), array( ‘per_page’ => 5, ‘post_status’ => 0, ‘topic_status’ => 0, ‘post_text’ => $q, ‘forum_id’, ‘tag’, ‘topic_author’, ‘post_author’ ), ‘bb_recent_search’ );

    Whatever I set the ‘per_page’ array to, that is the number of Relevant Results that do not work properly at the top. So since it’s set to 5, the first 5 results under Relevant Results do not work, but 6-end do.

    What can I do to correct this? Thanks,

    :)

    #94816
    Gautam Gupta
    Participant

    @Willabee

    bbp_is_forum(), bbp_is_topic(), bbp_is_reply().

    #94815
    Willabee
    Member

    Does the plugin already have some function like the is_single() function in WordPress? Would be handy for the project I’m working on atm. :)

    #74440
    scribu
    Member

    I have WP running at / and bbPress at /forum/.

    This is the configuration I’m using:

    http://gist.github.com/770180

    Note that there was an error in one of the rules Sam posted:

    rewrite ^/topic/([^/]+)/?$ /bbpress/topic.php?id=$1 last;

    should have been

    rewrite ^/topic/([^/]+)/?$ /topic.php?id=$1 last;

    #36998
    3sixty
    Member

    I’m trying to display a list of posts that are tagged with one tag but NOT another. For example, I want to display all posts tagged “FRUIT” but exclude posts tagged “Apples”.

    I tried creating a custom View, but this code does not work:

    function my_custom_views_init() {
    $args = array(
    'tag_id' => '35',
    'tag_id' => '!=72'
    );
    bb_register_view(
    'fruit-without-apples',
    'Fruit (excluding apples)',
    $args,
    false
    );
    }

    Neither does this code using bb-query directly:

    $topic_query = new BB_Query( 'topic',
    array(
    'tag_id' => '35',
    'tag_id' => '!=72'
    )
    );
    $results = $topic_query->results;

    foreach($results as $result) {
    echo $result->topic_title . '';
    }

    Any ideas?

    #94813
    Rich Pedley
    Member

    bleh, the one time I didn’t.

    brain bug then ;)

    #94812
    Gautam Gupta
    Participant

    @Rich Pedley

    Try reactivating the plugin.

    @Ryan Gannon

    Ok, figured that out. bbp_has_topics() doesn’t return the query. You’d have to use bbPress functions like bbp_topics(), bbp_get_topic_title() etc.

    escort
    Member

    Nice work ashfame, thanks :-)

    #91307

    bbPress ones were posted on the blog once. Easy way of reference would do :)

    #98740

    no you are doing it wrong. recheck with caution.

    dbname, user, pass – same

    but in bbPress they are defined like BB_ i.e. with a prefix

    check again and you should be fine

    #103840

    no you are doing it wrong. recheck with caution.

    dbname, user, pass – same

    but in bbPress they are defined like BB_ i.e. with a prefix

    check again and you should be fine

    #91305

    Also please note of posting chatlogs somewhere, in a readable formatting ofcourse ;)

    #98764

    By code – yes

    any easy way – no

    #103864

    By code – yes

    any easy way – no

    #98710
    milleiro
    Member

    Yes yes, I know :/ Would you like to paste some thing of my database?

    #103810
    milleiro
    Member

    Yes yes, I know :/ Would you like to paste some thing of my database?

    Thanks JJJ! :)

    #98708
    milleiro
    Member

    Yep, I’m sure. I’ve touched something because I’m now trying to enter WP-Admin and it says “you don’t have enough privileges” in my WordPress :/

    #103808
    milleiro
    Member

    Yep, I’m sure. I’ve touched something because I’m now trying to enter WP-Admin and it says “you don’t have enough privileges” in my WordPress :/

Viewing 25 results - 19,326 through 19,350 (of 32,499 total)
Skip to toolbar