Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 25,876 through 25,900 (of 32,570 total)
  • Author
    Search Results
  • ganzua
    Member

    You can’t document something until it’s in a stable state.

    we could call it “document of the unstable” XD I have a suggestion for chapter two; a juicy thread on producing custom loops.

    I am on the verge of writing something about my experience of creating a bbPress plugin as a set of guideposts for others to make use of

    I’m pretty sure your guide will be very welcome ;-)

    #71607

    In reply to: Let ask again …

    You know, it’s responses like that, that really tend to make sour what is otherwise the sweet enthusiasm of enjoying being part of a growing project. I mean no disrespect to anyone on this forum; developers, moderators, etc… But quite honestly it’s that type of holier than thou attitude that is going to upset your core audience…

    1. I’m here because I want to be.
    2. I’m here because I can be.
    3. I’m here on my own schedule, just like Sam.
    4. If that’s really how you feel, then the reasons I’m here shouldn’t matter.
    5. This isn’t rushing, this is a valid question; “What is it you say you do here?”
    6. You shouldn’t talk to people like they are children.
    7. Thanks for the… er… warning I guess, Tom Smykowski.

    :/

    #71628

    What part isn’t working?

    If you login to bbPress, what happens on WordPress? What happens when you log out?

    Please be descriptive. “It doesn’t work” is near impossible to debug :) (I spent my day arguing that there is a difference between ‘The page gave me a 404 error’ and ‘your webserver is broken!’ and the latter was nearly useless to me)

    #71655
    ganzua
    Member

    You can either use this wp plugin;

    http://www.atsutane.net/2006/11/bbpress-latest-discussion-for-wordpress/

    or you can follow the guidelines provided here;

    Here’s how to show bbPress info inside WordPress without full integration

    sorry for the triple post! I have no idea what happened

    triple-response available upon request if needed ;-)

    #71605

    In reply to: Let ask again …

    wiseacre
    Member

    johnjamesjacoby – This is my second attempt. First time His Majesty didn’t answer me. Next time I will ask Matt.

    Or may be Wikipedia :D

    _ck_
    Participant

    You can’t document something until it’s in a stable state.

    bbPress 1.0 is twice the size of bbPress 0.9 and constantly changing, even in the alpha.

    Database functions have been mostly the same except the entire meta changed.

    But the fundamentals are identical to how WordPress works so you can use the WP codex for that.

    Oh and WordPress didn’t have decent documentation until many years after it was around, don’t expect bbPress to be any different. Unless someone volunteers for free, Matt is unlikely to waste paid employee time on documentation.

    #71604

    In reply to: Let ask again …

    You know, at the risk of sounding like a snot, I’ve actually had a similar thought. The only thing stopping me from saying the same thing is that I have no idea what else it is that Sam does. :)

    #69436

    In reply to: tag remove fail

    @ganzua: I predict that you are integrated with WordPress, and that your jQuery isn’t being loaded correctly.

    I will prove this theory by asking for you to add a topic to your favorites on your forum, and report back and let me know if it works. :)

    #71567
    Daniel Juhl
    Participant

    You main site only has PR2, which is low/very low for the main page, therefore you can’t expect much pagerank to go further down on you forum. You “earn” pagerank, it’s not just a gift from Google :)

    #71521

    In reply to: Adding Theme Pages

    slambert1971
    Member

    So am I to assume there is no way to add pages to bbPress? Oly the default pages can be used? Darn, might have to look for something else. :(

    #4748
    slambert1971
    Member

    I am working on a project where I will use bbPress in a large corporate environment and styling it very differently then a standard forum. Sorry, I can’t show it to you because it is part of our Intranet. I have the front end layed out almost exactly as I want it and presented the prototype to our CIO. He likes the front end, but did not like the back end (admin) area.

    The problem is that he manage forums page is not very intuitive to the non-technical person. Because we will have non-technical people managing the forums, I need to change how the manage forums page looks, without editing core code if possible. I will also be adding links in the front end to those people who have access to manage a given forum to edit the forum details.

    This leads to the second part. Each forum is supposed to have a short intro, long intro and an associated photo. Are there any plugins that add fields and/or photos to a forum, or will I need to write that? I have searched here but haven’t found any yet. The less code I have to right the better, just need to know where to start this process.

    Thanks.

    #4747
    wiseacre
    Member

    Are you working for Automattic, Sam? Is it your job bbpress developing? I’m asking because of

    1. http://bbpress.org/blog/2008/01/the-future-for-bbpress/
    2. There are 18 open bugs – http://trac.bbpress.org/query?status=new&status=assigned&status=reopened&milestone=!1.5&type=defect&order=priority
    3. 5 days there are NOT any code uploads – http://trac.bbpress.org

    ganzua
    Member

    a nice substitute for some weighty bbPress documentation in the meantime

    Actually some of us are looking forward the next chapter ;-) This one should go to the “documentation” section as an entry or something like this.

    #70394
    wwc
    Member

    Thanks, hoppie, everything works now! I found some code in bbPress that looks like it’s meant to warn users when the PHP MySQL libraries are missing, but I wasn’t getting the warning message. I’ll look into filing a bug report about this.

    _ck_
    Participant

    Sorry I missed the earlier questions.

    And to post code, make sure you put it between backticks `

    #49427

    In reply to: Importing from phpBB

    copperblade
    Participant

    lingmiester, I looked through the code and I didn’t see anything that sends email to anyone. I did see a “joke” about sending the emails to spammers though.

    Is there any update on this, or newer script for importing phpbb2 ?

    tomwi
    Member

    figured this out!

    but can’t get the damn code to post right. if anyone is interested let me know how to post a code snipplet without the forum eating it… it outputs like this:

    *post title*

    Posted by: *user* in *forum*.

    This is how phpBB already works. ;)

    I think its a good idea though.

    frooyo
    Member

    I believe I have a simple but highly effective fix.

    Since the vast majority of forum traffic is for non-logged in users AND, since the only time a forum page changes is if a POST is made … why not implement a very basic disk caching system that caches the content for the FrontPage and Topic page for non-logged in users.

    Here is the pseudo code:

    // Front page


    if (not logged in)

    …….. serve disk cache

    …………….if (disk cache not present)

    ……………………generate page and save to disk

    else (logged in user)

    ……..generate page (PHP)

    // Topic page


    if (not logged in)

    ……..serve disk cache

    ……..if (disk cache not present)

    …………….generate page and save to disk

    else (logged in user)

    ……..generate page (PHP)

    // post a comment function


    delete Topic cache for non-logged in users

    delete Front page cache for non-logged in users

    The benefit being, now for any non-logged in user – the Front page and individual Topic pages will be cached once some submits a new comment.

    And if you are logged in, non of this effects you.

    Thoughts?

    #71196
    fwilson789
    Member

    Come on, there has to be a way to do this!

    It worked fine for me with the current stable release, but the login was broken, so I installed the unstable. The login started working, but wp_head() stopped.

    bb-config.php:

    include('../wp-config.php');

    /**
    * The base configurations of bbPress.
    *
    * This file has the following configurations: MySQL settings, Table Prefix,
    * Secret Keys and bbPress Language. You can get the MySQL settings from your
    * web host.
    *
    * This file is used by the installer during installation.
    *
    * @package bbPress
    */

    // ** MySQL settings - You can get this info from your web host ** //
    /** The name of the database for bbPress */
    define('BBDB_NAME', 'bbpress');

    bb-templateskakumeifront-page.php:

    <?php get_header(); ?>
    ... page ...
    <?php get_footer(); ?>

    #67924
    frooyo
    Member

    @sambauers & @andersson

    I believe I have a simple but highly effective fix.

    Since the vast majority of forum traffic is for non-logged in user AND, since the only time a forum page changes is if a POST is made … why not implement a very basic disk caching system that does the following pseudo code:

    // Front page


    if (not logged in)

    …….. serve disk cache

    …………….if (disk cache not present)

    ……………………generate page and save to disk

    else

    ……..generate page (PHP)

    // Topic page


    if (not logged in)

    ……..serve disk cache

    ……..if (disk cache not present)

    …………….generate page and save to disk

    else

    ……..generate page (PHP)

    // post a comment function


    delete Topic cache for non-logged in users

    delete Front page cache for non-logged in users

    The benefit being, now for any non-logged in user – the Front page and individual Topic pages will be cached once some submits a new comment.

    And if you are logged in, non of this effects you.

    tomwi
    Member

    right now I am using:

    echo "<li><a>topic_id."'>".$result->topic_title."</a>Posted by: <a>topic_poster."'>".$result->topic_poster_name."</a> in </li>";

    #65143
    chrishajer
    Participant

    Are the functions capitalized in the same manner? Windows doesn’t seem to care about capitalization, but Linux does. I’ve had that trouble with WordPress plugins before, where it seems the plugin was developed on Windows and the function was called

    function DoThis() {, so calling dothis() stops working on Linux where it was fine on Windows.

    Could that be a possibility?

    martenk
    Member

    Started running bbpress 1.0-Alpha6 recently on a productionsite… Probably a bad idea but everything seems to work… A few plugins that don’t work but other than that it’s all good! :)

    #71532
    joshposh
    Member

    I found out that the CSS class for the definition of the pagination was missing in the CSS file of the theme. I’ve added it but can’t figure out how to change the space between the page numbers. I tried padding, margin and letter-spacing and they all worked for the text (“next” & “previous”) but not for the page numbers :/

    EDIT: OK, works now but looks still stupid *sigh*

    http://f.imagehost.org/0960/p1.png

Viewing 25 results - 25,876 through 25,900 (of 32,570 total)
Skip to toolbar