Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 27,801 through 27,825 (of 32,495 total)
  • Author
    Search Results
  • #64515
    _ck_
    Participant

    I’ve never seen it done but the rules are fairly straightforward (just a bunch of them).

    There must be a lighttpd support area where you can submit the existing rules and ask for help converting?

    (then be sure to share the results back here ;-)

    The rules on this page for something called “serendipity” look very similar to bbPress’s rules:

    http://edin.dk/archives/34-Serendipity-on-Lighty.html

    so you might be able to use them to get an idea?

    #3268
    anjap
    Member

    I have used this tutorial to create a mo file for a plugin:

    http://weblogtoolscollection.com/archives/2007/08/27/localizing-a-wordpress-plugin-using-poedit/

    But I cann’t activate it :-(

    I have found a old topic on this issue:

    http://bbpress.org/forums/topic/how-can-i-define-a-mo-file-for-a-plugin

    But I cann’t see how to “name the mo files into our main mo file”

    So can anyone tell me how to do this

    (I’m using vers. 9.0.1)

    #64529
    djp
    Member

    Hey sambauers

    Thanks for the response :)

    I just found out that the standard php mail() function does not support SMTP authentication, and that the only way for me to rectify this problem is to either get my hosting provider to change their server settings, or some sort of workaround using the PEAR Mail package which apparently provides supporting functions useful to multiple mailer backends. It currently suppors: PHP’s native mail() function, sendmail, and SMTP.

    I will keep you posted because if my hosting provider isn’t prepared to change his server authentication requirements, this PEAR-shaped workaround may turn out to be a good one for other bbpress users with the same problem.

    Thanks :)

    #51702
    _ck_
    Participant

    Anything that used admin_email with bbPress 0.8.x has to be changed to from_email under 0.9 (I am not sure why it was necessary to break all the plugins like that but what is done is done).

    It should take a simple edit. I still get notification emails under 0.9. I believe I posted the fix on the plugin page.

    #64535
    Sam Bauers
    Participant

    If admin’s user_id is not 1, then adjust that value. Also your table may be called “wp_usermeta”:

    INSERT INTO bb_usermeta VALUES (meta_value = 'a:1:{s:9:"keymaster";b:1;}', meta_key = 'bb_capabilities', user_id = 1);

    #64422
    Sam Bauers
    Participant

    Try editing this line in your bb-config.php file.

    define('BBDB_COLLATE', '');

    .

    To this:

    define('BBDB_COLLATE', 'utf8_general_ci');

    #3266
    farkel
    Member

    If anyone is familiar with the Vanilla system, there’s a popular plugin there that basically puts in a neat little fade effect after you make a post or reply

    It’s a small detail, but it looks cool :P

    #51701

    I’ll get to it :)

    I just don’t have the time at the moment. sorry guys…

    #3260
    djp
    Member

    Hi all

    Plz help me, I’ve read everything there is to read about problem emails & have also tried installing sambauer’s bb_mail fix plugin with no luck.

    I had bbpress 0.9 installed on a previous hosting provider & the system would send out emails to new registrants without any problem.

    However, I have moved to a new hosting provider that requires authentication for the mail to be sent, and will not allow “localhost” as the outgoing mail server. Where do I find the php file that allows me to change it from localhost to a specific “outgoing mail server” domain?

    Is it even possible?

    Thanks :)

    #59414
    _ck_
    Participant

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

    Try adding on a new line after global $topic;

    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.

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

    #64408
    jenz
    Member

    I figured it out and wanted to share. This code goes at the top of my forums.php file (template).

    <?php
    $forum_id = 1;
    $limit = bb_get_option('page_topics');
    $offset = ($page-1)*$limit;
    $forum_one_topics = $bbdb->get_results("SELECT * FROM $bbdb->topics WHERE forum_id = $forum_id AND topic_status = 0 ORDER BY topic_id DESC LIMIT $limit OFFSET $offset")
    ?>

    My posts loop:

    <?php

    foreach($forum_one_topics as $topic) : $forum_one_topic_posts = get_thread( $topic->topic_id); ?>

    Works like a charm

    #64464

    In reply to: IE 6 breaking tables.

    chrishajer
    Participant

    So, when you float the discussions div over to the right, the white background is missing in FF? That’s fine, then there is a SEPARATE fix for the white background. There are two things to change in the stylesheet. This is what it should look like to have a white background and be floated properly in IE:

    #front-page #discussions {
    float: right;
    background: #FFFFFF;
    width: 590px;
    }

    And the theme author, refueled, suggested also overflow: hidden; but I didn’t try or verify that. I just did what is posted in this reply, floating it to the right for IE, then applying a background color of white to the whole div.

    #64281
    thierryyyyyyy
    Participant

    For me, mod_rewrite is the standard… I just never heard about MultiViews :(

    I begun programming php things since 5 years, even if I don’t do it professionaly

    #63048
    _ck_
    Participant

    TARGET is deprecated?!

    Throw off your shackles of validation, seriously.

    I promise you that browsers 10+ years from now will still support TARGET. I’ll take html over likely-blocked javascript code anyday. At least firefox can intercept the TARGET and open it as a tab which is the user-prefered behavior.

    fokjulle
    Member

    I’ve overwritten all my current files on the server, with the ones in that trunk code, and still nothing is fixed. My forum is here. Please have a look and tell me what is going on…

    #64391
    bobbyh
    Member

    Sweet! :-)

    Thanks, Sam!

    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.

    #64371
    djp
    Member

    Hi all

    Plz help me, I’ve read everything there is to read about problem emails & have also tried installing sambauer’s bb_mail fix plugin with no luck.

    I had bbpress 0.9 installed on a previous hosting provider & the system would send out emails to new registrants without any problem.

    However, I have moved to a new hosting provider that requires authentication for the mail to be sent, and will not allow “localhost” as the outgoing mail server. Where do I find the php file that allows me to change it from localhost to a specific “outgoing mail server” domain?

    Is it even possible?

    Thanks :)

    #63047
    chrishajer
    Participant

    jaydedman

    I think my dislike of it started when tabbed browsers came around. There is no target="_newtab", and I want to control where the windows open. If I want it in a new tab or new window, I do that with my browser. Let me control it rather than specifying where it happens.

    I dislike it more on some days than others, not as much as I dislike <marquee> and <blink>, but I still tend to dislike it. It’s just a personal preference though. Here’s something related with a couple discussions linked to it:

    http://www.456bereastreet.com/archive/200603/the_target_attribute_and_opening_new_windows/

    #64389
    bobbyh
    Member

    Our bbpress forum does roughly 20-25k pageviews per weekday. We also have a WordPress blog (with caching) that does around 75k pageviews per weekday. The boards and blog are integrated, and share the same database.

    The database is the only thing that runs on a (mt) dedicated server with 1GB of RAM (the Extreme package), and its my.cnf is a slightly tweaked version of a my-huge.cnf.

    The database was really running ragged a week ago, with a load average between 2.5 and 4.0. The first change I made was described in the first post (indexing topic_slug in bb_topics, tag in bb_tags and forum_slug in bb_forums). That really helped a lot, because on a popular forum, there are apparently enough new topics that the query cache gets invalidated frequently. By making this query a lot more efficient with an index, the load average fell to between 0.4 and 0.7.

    Then, after adding the 4-column index, the load average plunged to between 0.03 and 0.20. It’s pretty amazing.

    Indices are AWESOME! :-)

    #63046
    Sam Bauers
    Participant

    @chrishajer

    Luckily the sort of people who turn off javascript also happen to be the sort of people who hate having new windows forced on them. :)

    @jaydedman

    I agree with chrishajer that forcing new windows is bad. If I want a new window or tab then I can make that happen myself. But when a new window is forced on me I can’t make it not do it.

    #3248
    jaydedman
    Member

    I just realized that when a new user registers, they are sent an email with Gravatar information. http://showinabox.tv/forum/topic.php?id=8#post-286

    I see nothing in the bbPress admin panel under the Gravatar plugin that lets me customize this email. Unfortunately, the wording of this email seems to confuse people.

    “New Gravatar Email is blahblah@NewMexicast.com.

    New Verification Code is *******

    It is an 8-letter string. Note that before you successfully verify your new Gravatar Email, your Gravatar will not work. “

    Anyone know how to customize this email…or send out an automatic welcome email so I can be more clear?

    Jay

    #64458

    In reply to: IE 6 breaking tables.

    refueled
    Member

    @fokjulle:

    I am the developer of this theme, and I also saw your post in my forums (will answer shortly.)

    First: This was my first theme and an old one, it needs to be updated. Which is probably why you are having issues. I plan to update all of my bbPress themes this week.

    Second: As a temporary fix, try:

    #front-page #discussions {
    width: 590px;
    overflow: hidden;
    float: right;
    }

    Let me know what happens.

    #64456

    In reply to: IE 6 breaking tables.

    chrishajer
    Participant

    How about just adding background: #FFFFFF; to your css for #front-page #discussions?

Viewing 25 results - 27,801 through 27,825 (of 32,495 total)
Skip to toolbar