Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 10,501 through 10,525 (of 11,584 total)
  • Author
    Search Results
  • #55394
    livibetter
    Member

    (edit: How did you know it was working? I didn’t notice your 404 doesn’t give the url information. Please use the following code for testing

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteRule redir youcantfindme [R=301,L]
    </IfModule>

    This time please check the browser’s address, and make sure you read http://make2for1.com/youcantfindme. If you do read that, please continue to the following testing.)

    Please place $bb->debug = 1; to your config.php

    Add exit; right after bb_repermalink(); in forum.php like

    <?php

    require_once('./bb-load.php');

    $forum_id = 0;

    bb_repermalink();
    exit;

    Then navigate to http://make2for1.com/forum.php?id=1 and http://www.make2for1.com/forum/general, once you done, post the result and DO NOT REMOVE this modification (allow us to check it).

    #55393
    djuggler
    Member

    Performed livibetter’s test. mod_rewrite undeniable works.

    #62136
    goldfiinger
    Member

    Yes i’ve changed it back now and its all working fine just completed the install. :)

    Only thing now is that i can’t seem to post or read the test posts that are already there.

    It’s saying :

    The requested URL /home/bbpress/topic/1 was not found on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    When i click on: your first topic

    Or when i try to post a new topic

    Any ideas ?

    Correction I can post topics I just can’t view any. But it does show the new topics I’ve made. But doesn’t let me view them ?

    http://the3rdplace.co.uk/home/bbpress/

    #55392
    livibetter
    Member

    Could you test your mod_rewrite is really working on http://make2for1.com/

    Please add the following to the top of .htaccess

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule redir youcantfindme
    </IfModule>

    Use browser and navigate to http://make2for1.com/redir

    If you read /youcantfindme was not found, then mod_rewrite does work.

    #60868
    amiraziz
    Member

    testing

    #62116
    chrishajer
    Participant

    This is a common problem with the latest release, especially on GoDaddy (and Dreamhost too, I think.) Anyway, the problem you’re describing has been fixed in the trunk releases but not in the public release. The best thing to do would be to download a later revision like r971 or r980. See these posts from sambauers:

    https://bbpress.org/forums/topic/intergration-will-not-let-me-logon-using-my-wordpress-login?replies=30#post-12803

    https://bbpress.org/forums/topic/broken-profiles-for-users-with-spaces-in-the-names?replies=5#post-12769

    Here is the page where you can download r971 (probably your best bet):

    https://trac.bbpress.org/browser/trunk?rev=971

    #60862

    As I’ve written elsewhere, I’ve gotten everything up and running with trunk. As it might not be compatible with the release of WordPress I’m using (2.3.1), I’m wondering when a release of bbPress that fixes these problems and is compatible with WP 2.3.1 (or with the then latest available release of WP) will be available?

    #60861
    Sam Bauers
    Participant

    @chrishajer

    I’m not sure that’s the right advice. The latest development versions will definitely break integration as they are geared towards integration with the current WordPress trunk. There are lots of differences in password hashing and cookie storage.

    Revision [971] might be OK to use for this specific problem, but I can’t guarantee it. And it won’t fix socket connection under MySQLi.

    #60860
    chrishajer
    Participant

    It is fixed in the latest development version, I believe. There just hasn’t been a release that includes that functionality.

    https://bbpress.org/forums/topic/db-access-problem-in-the-first-installation-step?replies=26#post-12711

    #62093
    livibetter
    Member

    I remember there is a post about this. Anyway, I made one.

    Put this in plugin folder: http://bbpress.pastebin.com/f271761bf , use any filename you like

    And this to register-success.php of template:

    <?php
    global $STP_password;
    if ($STP_password)
    echo "<p>Your password is: $STP_password</p>";
    ?>

    Activate plugin and test.

    #61888
    livibetter
    Member

    I have no problems on my test forum.

    When you see that error, right click, view source, then paste that source here.

    #60855
    chrishajer
    Participant

    When using a socket, you need something like this:

    https://bbpress.org/forums/topic/cannot-select-db-error?replies=11#post-12434

    It’s OK to start a new topic as well. All these recent topics dredging up old problems that are sort of close make it hard to solve the latest problem, your problem. A lot of the earlier advice in this thread doesn’t apply to your specific problem.

    #61881
    Doobus
    Member

    I was testing your temp fix Livibetter, and I was running into this error:

    XML Parsing Error: no element found

    Location: http://localhost/wrdp2/bbp1/rss.php?forum=1

    Line Number 12, Column 1:

    Line 12 of rss.php reads: <link><?php bb_option( ‘uri’ ); ?></link>

    #60926
    Sam Bauers
    Participant

    The very latest trunk [988] is a little unstable.

    You are better off with [980] the zip download of [980] can be found at the bottom of the following page:

    https://trac.bbpress.org/browser/trunk?rev=980

    #60925
    chrishajer
    Participant

    I hope there’s a new release soon as well, but it doesn’t look like a date has been set yet?

    https://trac.bbpress.org/milestone/0.8.4%20%26%20Pings

    raygene: you can always download the latest development release which generally has all the discussed patches applied:

    https://trac.bbpress.org/changeset/988/trunk?old_path=%2F&format=zip

    There is always a link to the zip archive at the bottom of the trac browser.

    https://trac.bbpress.org/browser/trunk

    #61877
    Doobus
    Member

    Exactly what I wanted. I was under the impression that this was already doable, I first got the idea that it could already be done from 9rules.com. I was viewing the notes section, where it pulls all the latest topics from all the forums, the feed only shows the topics and not the comments within. Oddly enough, the individual forums themselves show the topic as well as comments within the topics.

    Granted that what I’m looking for is in the trac you provided, but I’m still wondering how 9rules managed to get the front part working to only show the topic and not the replies within, and could this not be applied within forum feeds?

    I did some digging around and found that the 9rule feed is just basically the latest discussion feed, unfortunately mine is still pulling replies within topics. I’m not interested in only being able to do that as it basically gimps what I’m trying to do, but I was curious why mine pulls replies into the feed. Thanks again.

    #61932

    In reply to: Excerpts

    Doobus
    Member

    Amazing work, however I haven’t tested this on a live server yet, so probable use based on speed is still up in the air. Thanks a lot for putting this together Livibetter.

    #52695
    citizenkeith
    Participant

    Running the latest version of bbPress and the latest version of ck’s plugin.

    Signatures won’t update when you try to change them in Edit Profile. No error messages to be found.

    #62040
    livibetter
    Member

    Then, you should trace in bbPress’ code to find out where causes an exit.

    BTW, you can also test error_log(get_option('blogname')); to make sure WordPress loaded database correctly.

    PS. debugging with no debugger is a crazy thing. You have to guess by experiences for best shot.

    #61931

    In reply to: Excerpts

    livibetter
    Member

    fel64 is right. So I made a change.

    <?php
    // from wp_trim_excerpt() in WordPress 2.3.1 formatting.php, just removed few lines
    function make_excerpt($text) { // Fakes an excerpt if needed
    $text = str_replace(']]>', ']]>', $text);
    $text = strip_tags($text);
    $excerpt_length = 55;
    $words = explode(' ', $text, $excerpt_length + 1);
    if (count($words) > $excerpt_length) {
    array_pop($words);
    array_push($words, '[...]');
    $text = implode(' ', $words);
    }
    return $text;
    }

    if ( $topics ) :
    $last_post_ids = array();
    foreach ( $topics as $topic )
    $last_post_ids[] = $topic->topic_last_post_id;
    global $bbdb;
    $post_ids = $bbdb->get_col( "SELECT post_id, post_text FROM $bbdb->posts WHERE post_id IN (" . implode(',', $last_post_ids) . ")");
    $post_texts = $bbdb->get_col( null, 1 );
    $post_excerpts = array();
    foreach($post_ids as $idx => $post_id)
    $post_excerpts[$post_id] = make_excerpt( $post_texts[$idx] );
    endif;
    ?>
    <?php if ( $topics ) : foreach ( $topics as $topic ) : ?>
    <tr<?php topic_class(); ?>>
    <td><?php bb_topic_labels(); ?> <a href="<?php topic_link(); ?>"><?php topic_title(); ?></a>
    <?php echo $post_excerpts[$topic->topic_last_post_id]; ?>
    </td>
    <td class="num"><?php topic_posts(); ?></td>
    <td class="num"><?php topic_last_poster(); ?></td>
    <td class="num"><small><?php topic_time(); ?></small></td>
    </tr>
    <?php endforeach; endif; // $topics ?>

    On my test forum, 15 posts, without excerpts takes .119 sec, with excerpts takes .127 sec. Previous code takes .140 sec.

    #61929

    In reply to: Excerpts

    livibetter
    Member

    Replace the similar part with it in front-page.php (Kakumei):

    <?php if ( $topics ) : foreach ( $topics as $topic ) : ?>
    <tr<?php topic_class(); ?>>
    <td><?php bb_topic_labels(); ?> <a href="<?php topic_link(); ?>"><?php topic_title(); ?></a>
    <?php
    // from wp_trim_excerpt() in WordPress 2.3.1 formatting.php, just removed few lines
    function make_excerpt($text) { // Fakes an excerpt if needed
    $text = str_replace(']]>', ']]>', $text);
    $text = strip_tags($text);
    $excerpt_length = 55;
    $words = explode(' ', $text, $excerpt_length + 1);
    if (count($words) > $excerpt_length) {
    array_pop($words);
    array_push($words, '[...]');
    $text = implode(' ', $words);
    }
    return $text;
    }

    echo make_excerpt( get_post_text( $topic->topic_last_post_id ) );
    ?>
    </td>
    <td class="num"><?php topic_posts(); ?></td>
    <td class="num"><?php topic_last_poster(); ?></td>
    <td class="num"><small><?php topic_time(); ?></small></td>
    </tr>
    <?php endforeach; endif; // $topics ?>

    It generates an excerpt of latest reply of topic.

    #61928

    In reply to: Excerpts

    fel64
    Member

    You may want to think quite carefully about doing this, as it’s not the simplest of tasks. The key issue is that bbpress does not have the data you want at the time you want it.

    Basically bb only looks into the bb_topics table to see what the latest topics are. That tells it what the last post id was, what the last poster’s name was and all that, but it doesn’t tell it what the content of the last post was. To do that, you need to grab the ids of every last post being displayed, then write a database query to get the data from bb_posts. That can (*can*) be done in a single query though I think, much as bb grabs all the topics at once, so it’s not too bad. Then you have the data and can play with it however you want.

    So it takes some neat hooking and querying.

    #61977
    Trent Adams
    Member

    I don’t think so as the plugin adds them direct to the database (you can quickly test that). Without register.php there are no registrations going to happen for sure!

    Trent

    #2705
    assalychris
    Member

    hello (again)

    I have noticed the same ‘problem’ with wp: whenever you create a user for testing purposes (his user ID is suppose X) and delete him you obiviously notice by creating another one (again) his NEW user ID is X+1 and so on. I don’t know if I made myself clear BUT how can you fix this issue? Even if there is no automatic solution what do I have to modify in the database by using phpmyadmin so only ACTUAL users have user IDs.

    thanks

    #61966
    Sam Bauers
    Participant

    This is addressed in the latest revisions and should be part of the next release.

Viewing 25 results - 10,501 through 10,525 (of 11,584 total)
Skip to toolbar