Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 10,226 through 10,250 (of 11,589 total)
  • Author
    Search Results
  • _ck_
    Participant

    bbPress 0.9 renamed the critical system email address that several plugins rely on (“admin_email” became “from_email”)

    Unfortunately many plugin authors aren’t aware of this and the old setting is completely deleted from the database, which makes any older plugin that looks for “admin_email” fail and get a blank address and don’t anticipate/test for a blank. So they blindly insert the blank address into emails which causes the emailer to either fail or bounce the message.

    A few of my plugins were affected, I just found another tonight, and there are several third-party ones still unpatched.

    You can work around this problem by putting this into your bb-config.php (anywhere on a new line)

    $bb->admin_email = 'email@your-forum.com';

    where email@your-forum.com is the same email address you use inside bbPress on bb-admin/options-general.php

    This won’t hurt anything, causes no extra load of any kind and simply allows older plugins to work without additional edits until the authors get a chance to upgrade them.

    (Just remember you “hard coded” this address if you ever change the main one for any reason. You can delete it after 1.0 is out and all plugins have upgraded. In fact the old email address will become unused after all the plugin upgrade anyway so this can’t hurt anything in practice.)

    citizenkeith
    Participant

    That worked! Thanks _ck_!!

    _ck_
    Participant

    My educated guess would be because fel64’s plugin is grabbing the link within the title, so the plugin that alters the page count is not getting unhooked yet.

    Try adding on a new line after global $topic; in fel64’s plugin:

    remove_action( 'bb_get_option_page_topics', 'bb_custom_topic_limit', 200);

    It’s occurred to me there might be a bug in my plugin where I don’t have that matching ,200 on the end of the same remove_action line. If I remember correctly, actions have to be unhooked with matching priority numbers to how they were added. So maybe try adding the ,200 also.

    Remember that bbPress’s “topics per page” setting must be set to the actual number of posts you want listed on a topic page.

    chrishajer
    Participant

    Trunk means the error has been fixed in the code repository but it hasn’t been packaged into a new release yet.

    You can get the latest trunk code here:

    https://trac.bbpress.org/changeset/1428/branches/0.9?old_path=%2F&format=zip

    I have no idea if there are any problems with that release though. You only need one tiny fix for this problem.

    Also, it seems like you have a lot of interesting things going on with your installation based on the number of threads posted here. I suspect there is more going on than just a couple tiny, unrelated problems. If you can afford to do it without losing any work, you might want to try a fresh installation and start from scratch.

    #3251
    anjap
    Member

    I’m trying to make a additional view in the plugin “my-views”, where I show “new post since last logout”. Inorder to do this I have added a new column to the online tabel from plugin “simpel onlinelist” inwhich I put the time when the user logoff.

    I use the time from onlinelist :

    $now = bb_current_time(‘mysql’);

    but it look as if the time is 10 min to late!

    So if I logoff and then logon again I may get some post which are to old.

    In order to compare I made a small test where I made a new post and the logged out. Time on the post say 2008-04-22 11:44:07 and on the logout 2008-04-22 11:34:49.

    Can anyone tell me how the time on the posts are made ?

    or how the bb_current_time() works ?

    #64504
    fokjulle
    Member

    I’ve just created a new dummy member, and tested this, and the above happens.

    1. When clicking “add new” from the index page, creates a new post page.

    2. It doesn’t allow a choice for which forum it should go into.

    3. After submitting, it says that the topic has been closed.

    However, creating a thread from within a forum topic doesn’t do the above.

    How can I fix this?

    #3246

    Topic: Integration?

    in forum Plugins
    lastmovement
    Member

    I have everything installed, Fixed the 404 errors.

    Now I cant get wp and bb talking. In the integration section it already is done but. My plug ins bbpress post, BBpress Latest Discussions arent working Fatal error every time I activate.

    Also the bb video installed correctly but If I click on it from the admin area it takes me to my homepage?

    citizenkeith
    Participant

    Thanks to Sam, I learned that the Freshness column links to the latest post, so fel64’s Page plugin is no longer necessary.

    However, when I activate _ck_’s Front Page Posts plugin, the freshness column links to a page without any posts.

    _ck_ (or anybody who wants to troubleshoot) can contact me for a login and password for my forum. kamera [at] gmail will do the trick.

    #3245
    refueled
    Member

    Hey.

    I would appreciate it if I could get a few of you to review my latest bbPress theme before I release it: Demo

    Let me know if you have any suggestions.

    Thanks in advance.

    Nate

    #64475

    In reply to: Hidden forums?

    fokjulle
    Member

    Just tested it, and it works. :-)

    #64414
    fokjulle
    Member

    I have the latest MySQL, or, my host company, at least, does. They’re very good that way. I’ve tried the above fixes, and nothing works. I’ve adjusted nothing in my config file.

    Also, I’m not Swedish, so I’m not sure why anything needs to be Swedish…

    #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.

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