Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 10,226 through 10,250 (of 11,578 total)
  • Author
    Search Results
  • #64343

    In reply to: IE: error on page.

    chrishajer
    Participant

    When I was not logged in, no errors. When logged in, I see a Javascript error:

    Error: favoritesToggle[1 === isFav ? "removeClass" : "addClass"] is not a function
    Source File: http://trashmedia.co.za/forums/bb-includes/js/topic-js.php?ver=20080401
    Line: 55

     

    I have a 0.9.0.1 installation and I checked there and I have the same exact same error.

    It looked like the error was related to favorites, so I figured I would mark something as a favorite and see if the error would go away, but it didn’t.

    There is already a ticket filed for this problem with a solution posted there as well:

    https://trac.bbpress.org/ticket/851

    #59412
    citizenkeith
    Participant

    I use this little plugin and my users love it. However, it stops working when using _ck_’s “Change Number of Front Page Topics” plugin.

    How to restrict number of Latest Discussions on front page

    Not sure which one is causing the problem, but thought it would be worth posting here, in case somebody wants to troubleshoot it.

    #3211
    fokjulle
    Member

    I’m testing my new BBPress installation; I created a second – “normal” – user account for me, and am posting things to test everything. I noticed that, in Firefox, so far so good. However, I noticed something in IE: when I am not logged in, everything loads fine. But once I’m logged in (as a “normal” member), and navigate to various threads, the page loads, but with “errors” (as seen at the bottom of IE’s status bar). The CSS seems to mess up slightly, but otherwise everything loads correctly.

    If I click on the report, it says that the “object doesn’t support this property or method”, on line 56, character 2.

    Why is this, and how do I fix it?

    #62509
    _ck_
    Participant

    Yes there used to be a limit with readfile/passthru but supposedly fixed in newer PHP and even the old limit was 2mb which is fairly high anyway. Also there is some debate that flushing output and making sure compression/output buffers are turned off avoids the limit. We’ll find out as more people test it.

    I’ll have a version up for testing in 12 hours or so.

    #64361
    glanceup
    Member

    Oh, excitement! That seems to work just fine. Thank you.

    #64360
    citizenkeith
    Participant

    However, fel64’s “Page” plugin doesn’t work after activating this one:

    https://bbpress.org/forums/topic/go-to-last-post-in-topic

    #64359
    citizenkeith
    Participant

    glanceup: Just cut and paste it into a plugin template. Here’s what I did (apologies to _ck_ if the headers aren’t quite right):

    <?php

    /*

    Plugin Name: Fix Number of Front Page Topics

    Plugin URI: https://bbpress.org/forums/topic/how-to-restrict-number-of-latest-discussions-on-front-page

    Description: Fix Number of Front Page Topics

    Author: _ck_

    Author URI: http://bbshowcase.org/

    Version: 0.1

    */

    // fix number of front page topics
    function bb_custom_topic_limit($limit) {
    switch (bb_get_location()) :
    case 'front-page': $limit=5; break;
    case 'forum-page': $limit=10; break;
    case 'tag-page': break;
    case 'topic-page': $limit=15; break;
    case 'feed-page': break;
    case 'search-page': break;
    case 'profile-page': break;
    case 'favorites-page': break;
    case 'view-page': $limit=10; break;
    case 'stats-page': break;
    case 'login-page': break;
    default: $limit=15;
    endswitch;
    return $limit;
    }
    add_action( 'bb_get_option_page_topics', 'bb_custom_topic_limit',200);

    // required to fix for custom topic limits to calculate correct page jumps
    function fix_post_link ($link,$post_id) {
    global $topic;
    remove_action( 'bb_get_option_page_topics', 'bb_custom_topic_limit' );
    if ($topic && $topic->topic_last_post_id==$post_id) {
    $topic_id=$topic->topic_id;
    $page=get_page_number( $topic->topic_posts );
    } else {
    $bb_post = bb_get_post( get_post_id( $post_id ) );
    $topic_id=$bb_post->topic_id;
    $page = get_page_number( $bb_post->post_position );
    }
    return get_topic_link( $topic_id, $page ) . "#post-$post_id";
    }
    add_filter( 'get_post_link','fix_post_link',10, 2);

    ?>

    glanceup
    Member

    ck — Into what file and where do I paste that code? Thanks. PS I am using bbPress 9.0.1

    #64378
    howtogeek
    Member

    That’s a brilliant suggestion… I’ve noticed a weird lag whenever trying to load up a topic, this could be exactly the problem.

    Just tested, seems to speed up the query quite a bit, although I’ll have to do some benchmarking to be sure.

    [edit]: I just ran this command manually to create the index, I’m not sure if specifying an index length would help or not.

    create index ix_name on bb_topics (topic_slug);

    Beer
    Member

    Would anyone be able to assist with testing a conversion script from IP.Board 2.3.4 to bbPress 0.9? I’ve started writing some code myself to handle the switch. It would be great if any other coders would be willing to assist with this too.

    The way it will work currently is to generate a ‘ipb2bb.sql’ file that you can pass to mysql to upgrade the database. It will import users, categories, topics and posts. You can ask it to limit it’s import to select categories only instead of all categories.

    #55025
    _ck_
    Participant

    If you are just trying to filter out spam bots, try my Human Test:

    https://bbpress.org/plugins/topic/human-test/

    Someone would have to explain the need for registration approval to me before I would bother making such a plugin.

    _ck_
    Participant

    Front page topics plugin isn’t working? Hmm. Should be.

    I have a modification I’ve done somewhere…

    Try this:

    // fix number of front page topics
    function bb_custom_topic_limit($limit) {
    switch (bb_get_location()) :
    case 'front-page': $limit=5; break;
    case 'forum-page': $limit=10; break;
    case 'tag-page': break;
    case 'topic-page': $limit=15; break;
    case 'feed-page': break;
    case 'search-page': break;
    case 'profile-page': break;
    case 'favorites-page': break;
    case 'view-page': $limit=10; break;
    case 'stats-page': break;
    case 'login-page': break;
    default: $limit=15;
    endswitch;
    return $limit;
    }
    add_action( 'bb_get_option_page_topics', 'bb_custom_topic_limit',200);

    // required to fix for custom topic limits to calculate correct page jumps
    function fix_post_link ($link,$post_id) {
    global $topic;
    remove_action( 'bb_get_option_page_topics', 'bb_custom_topic_limit' );
    if ($topic && $topic->topic_last_post_id==$post_id) {
    $topic_id=$topic->topic_id;
    $page=get_page_number( $topic->topic_posts );
    } else {
    $bb_post = bb_get_post( get_post_id( $post_id ) );
    $topic_id=$bb_post->topic_id;
    $page = get_page_number( $bb_post->post_position );
    }
    return get_topic_link( $topic_id, $page ) . "#post-$post_id";
    }
    add_filter( 'get_post_link','fix_post_link',10, 2);

    glanceup
    Member

    Hi. I’m using 9.0.1. I would like to restrict the number of Latest Discussions showing to 5. How do I do this? I don’t see anything in the bb-config file and the Front Page Topics plugin doesn’t seem to work with 9.0.1…

    Your help appreciated.

    #49647

    In reply to: Emoticons For bbPress?

    citizenkeith
    Participant

    Still no luck getting Comment Quicktags for bbPress to work in the latest bbPress install.

    #64294
    berfarah
    Member

    I really would like this problem to be solved – can anyone help me? x.x

    #64293
    berfarah
    Member

    I copy pasted the code it had in threads – <td class="num">"><?php topic_title(); ?> by <?php topic_last_poster(); ?></td>

    I figured it would do teh same for the front page, but apparently not.

    #53022
    thion
    Member

    Hello (my first post, yay) – so is there anyone who is planning to make this invitations/referral plug-in? I would find it very useful :). Especially when running a contest “bring as much users to my forums as possible and win an iPod”.

    #64292
    chrishajer
    Participant

    How did you make it do what it’s doing now?

    #64291
    berfarah
    Member

    Precisely. I want to have a preview of what’s inside the forum, essentially, so that people can click on links from outside them. Kind of like what PunBB has by default. But right now, they way I set it up, it seems to copy the first one for all the forums… I don’t know how I’m supposed to set it up.

    #62449
    citizenkeith
    Participant

    Just want to say THANK YOU!!

    I gave up converting my phpBB forum months ago:

    https://bbpress.org/forums/topic/a-phpbb-to-bbpress-database-converter/page/2

    But by utilizing the info here (and buy editing the SQL file by hand), I was able to get my forum into the very latest bbPress… it’s even integrated with WP.

    http://www.judyhenskefan.com/forums/

    Now I get to work on a new design for the forum and blog (as well as add lots of plugins to the new forum).

    Thanks again everybody! :-)

    #64290
    chrishajer
    Participant

    Can you describe what you are looking for exactly, I am having a hard time envisioning it. So, for example, under your “Community” forum, in addition to the description of that forum, you want to say something like “Latest post: $whatever by $whoever at $time”? For all the different forums?

    #64289
    berfarah
    Member

    Anyone? x.x

    #3195
    berfarah
    Member

    I want to be able to add the latest post made in a forum section on the front page (and everywhere it lists forums).

    If I try to do that, it will just keep repeating the value for the first throughout the list.

    It’s on this site, if it makes a difference

    Thanks in advance for any help :)

    #64260
    _ck_
    Participant

    This is the plugin to do exactly what you want:

    https://bbpress.org/plugins/topic/restrict-registration-for-bbpress/#post-173

    You might also want to add my “Human Text” plugin to help stop bot (automated) registrations:

    https://bbpress.org/plugins/topic/human-test

    #64121
    chrishajer
    Participant

    I saw something about a PHP function checkdnsrr being disabled in the latest build. That function is used in the bbPress function bb_verify_email.

    I think the problem is that checkdnsrr is not available on Windows, and I’m not sure if it’s available on XAMPP. Here is how they fixed it in the latest trunk build:

    https://trac.bbpress.org/browser/trunk/bb-includes/registration-functions.php

    Here is the original bug report:

    https://trac.bbpress.org/ticket/856

Viewing 25 results - 10,226 through 10,250 (of 11,578 total)
Skip to toolbar