Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 26,326 through 26,350 (of 32,507 total)
  • Author
    Search Results
  • #69654

    In reply to: bbPress Facebook page

    I’m really disappointed in this response actually. _CK_ is without a doubt the person who carries the most weight around here these days given her exceptional and continued support and development.

    Whenever we, as a community or an individual, say something that is negative about BBpress it is because we want to make it better. You said yourself in October that Sam wasn’t on the forums much, and as time goes on, mostly because of wordpress moving forward, BBpress has looked more and more stale/abandoned. I appreciate it’s a perception rather than reality, but surely you can see by the response that Sam’s first post in months was met with this reaction, is down to that feeling that’s been growing in the community for months now.

    Its not an attack on Sam, as a person, in anyway. It not an attack on BBpress or its code, its people who read one thing (or multiple things) and then find them out to be not true. its people who read new posts daily about “wordpress integration”

    “I’m not sure how many more times I can repeat that bbPress is pre-release software.”

    We know this, we don’t expect everything to work, we expect bugs, and we’re trying to report them back and be helpful. But we’ve been reporting 1 particular ind crucial bug back for over half a year now, with no info being forthcoming.

    “Every part of bbPress is subject to completely change and break overnight”

    We get this too. But, um, it broke over half a year ago!

    If it broke last night, last week, or last month then yeah i’d get it.

    But it broke a long long time ago.

    “there are no feature or bug priorities”

    Sam said there is (read up).

    You said there was last month (about XMLRPC – will find link to post).

    “If that bothers anyone, or they feel the need to rant about it, please stop using it asap”

    TO Be Honest, that sounds childish in my opinion.

    And not what i’d expect _CK_.

    “Integration is tricky because it was not a priority for bbPress”

    It wasn’t? wow.

    Ok, it wasn’t. Can we ask why?

    Again, it seems like the most asked about thing on the forum. Not just in terms of how often people ask, or that fact that there is a sticky on it, or that it’s the biggest word on the tag cloud by miles or… (i could go on, but i think we all know the point i’m getting at).

    “there is no such thing as a “standard” wordpress install”

    Yes there is. Download wordpress. input your database and password. hit install.

    Famous 5 min install remember.

    There is a standard wordpress install!

    “The radical changes to WordPress security in the past year have not helped at all with integration ease”

    We get that _CK_, we do, and we totally understand.

    But the change happened in WP2.6, then we had 2.6.1, 2.6.2 , 2.6.3 . 2.6.5, and now 2.7.

    BBpress / Automattic have had 7 month (minimum) to realise and fix this issue.

    I mean, and correct me if i’m massively wrong, but did security change in 2.6, or did it change drastically in every release? If it changed drastically in 2.6, 2.6.1, 2.6.2 , 2.6.3 . 2.6.5, and now 2.7; then yes i can see how that would be a huge issue and a moving target. but if it has stayed the same for 6 months (in all the WP2.6 releases) then frankly, it seems crazy to me that NO-ONE at automatic can be asked how security has changed.

    “So weigh your options and either stick with it or move on but please don’t rant against the very people trying to help the project”

    We’re not ranting against the people _CK_, there is nothing personal here.

    We want to help.

    We want to use BBpress, spread the word, fix bugs, make it better.

    But with this HUGE issue over our heads, we can’t, and thats what we’re trying to put across.

    #4408

    Topic: forum exporter plugin

    in forum Plugins
    johnnydoe
    Member

    hello,

    im looking for a plugin to get the ability to export all topics from a particular forum (ID) to a html page , so just the topic name plus the excerpt like:

    1. </h1>lorem1 ipsum sit amet dolor </h1>

    <p> bla bla bla bla bla … (read more)<p>


    2. </h1>lorem2 ipsum sit amet dolor </h1>

    <p> bla bla bla bla bla … (read more)<p>


    3. </h1>lorem3 ipsum sit amet dolor </h1>

    <p> bla bla bla bla bla … (read more)<p>

    …etcetera.

    is there such a plugin around?

    thanks a bunch.

    #67711
    _ck_
    Participant

    Facebook just needs to offer OpenID like everyone else, not yet another proprietary standard.

    The OpenID plugin for bbPress is nearly finished, I have an early working version, just need to finish the new account code.

    Someone wrote a Facebook OpenID gateway somewhere, can’t find it at the moment.

    #69921
    chrishajer
    Participant

    _ck_ – I doubt a visitor is complaining about either 1.298 - 35 queries or 0.489 - 35 queries – that’s not enough for people to complain. I could be wrong, and the performance tips are good, but I doubt this falls into the range of horrible for a forum visitor. Loading Adsense and Analytics takes more time than that.

    #69871
    _ck_
    Participant

    testing:

    bbPress is the #1 forum software for do-it-yourselfers

    ;-)

    + should maybe be {3,8} instead

    backticks:

    bbPress is the #1 forum software for do-it-yourselfers

    nope, still broken in backticks.

    testing some more:

    Joe User

    100 Main Street Suite #17

    Anywhere, USA

    nope ;-) In fact it removed the space between Suite and #17

    [trac=123]see this ticket[/trac] or [trac]123[/trac] would be better.

    Or just copy the entire url out of trac once you’ve looked up the number anyway.

    #69977

    In reply to: when bbp 1.0 release?

    _ck_
    Participant

    Please see the other dozen “when will 1.0 be ready” topics.

    bbPress 1.0 will absolutely, most certainly, not be done this year.

    1.0 has many internal changes from 0.9 and several complete code rewrites on some functions and has many bugs.

    Do not use the alpha on live sites.

    #69920
    _ck_
    Participant

    Another performance tweak that will help with the end user’s page loading times (but won’t reduce that queries - time report for the page generation) is to remove the shedload of external javascripts that bbPress tries to load on many pages. Note that doing this will remove the ajax features but bbPress falls back to the conventional page-reload method instead so that’s okay.

    Only admin can use most of the ajax features anyway so this is crazy that bbPress adds half a dozen scripts for everyone, including the bloated 100k jquery library.

    This technique requires a mini-plugin unfortunately:

    <?php
    /*
    Plugin Name: bb-tweaks
    */
    // get rid of default forum scripts
    remove_action('bb_head', 'bb_print_scripts');
    ?>

    (I’ve never tried it but it might be possible to just put the single line

    remove_action('bb_head', 'bb_print_scripts');

    inside functions.php in the theme folder.

    #69919
    _ck_
    Participant

    1.298 - 35 queries is absolutely horrible actually.

    However I only get 0.489 - 35 queries on that site which is barely acceptable.

    It’s probably due to an overloaded shared hosting box.

    Let’s review some basics.

    First of all, let’s make sure you are using 0.9 and not 1.0

    (If you are using 1.0 I can’t really help you much because it’s slower than 0.9 for now and I keep explaining to everyone not to use it but they do anyway)

    Performance 101: (for everyone)

    1. go into bb-config.php and add this line:

    $bb->load_options = true;

    2. after you add the above line, queries should be under 20 per page, usually less than 15 – if they are not, then you have a misbehaving plugin (or are running 1.0)

    3. if you run your own server or VPS, turn on the mysql cache

    4. if you run your own server or VPS, install a PHP opcode cache

    (eaccelerator, APC or xcache)

    5. if you are on shared hosting ask your host why they don’t use 3 and 4 and if they don’t give you a good answer, get a better host

    GoDaddy is up there in like the top 10 for people who dislike their hosts.

    Just google the number of people that have trouble with them on wordpress.

    But unlike WordPress, bbPress doesn’t have any page cache plugins yet so if your host sucks in the first place, any large php program is not going to perform well.

    #69680
    _ck_
    Participant

    It’s extremely easy to get forum <-> topic <-> post relationships in bbPress.

    Depending on where you are, you may just be able to do a

    global $topic,$bb_post;

    Then $topic or $bb_post will have the following objects inside:

    $bb_post

    post_id

    forum_id

    topic_id

    poster_id

    post_text

    post_time

    poster_ip

    post_status

    post_position

    $topic

    topic_id

    topic_title

    topic_slug

    topic_poster

    topic_poster_name

    topic_last_poster

    topic_last_poster_name

    topic_start_time

    topic_time

    forum_id

    topic_status

    topic_open

    topic_last_post_id

    topic_sticky

    topic_posts

    tag_count

    You use it like this:

    global $topic; echo "$topic->topic_title";

    or to answer your original question:

    global $bb_post; echo "$bb_post->forum_id";

    Of course doing it this way bypasses any filters that may be in place from plugins but that may not matter if you are just trying to do something simple.

    #69904

    Well, I found this function that’s used by the rss.php file:

    function get_post_link( $post_id = 0 ) {
    $bb_post = bb_get_post( get_post_id( $post_id ) );
    $page = get_page_number( $bb_post->post_position );

    return apply_filters( 'get_post_link', get_topic_link( $bb_post->topic_id, $page ) . "#post-$bb_post->post_id", $bb_post->post_id );
    }

    Is there a forum version fo the italicized portion of this function?

    #69917

    Hi vannak,

    If the forum you’re reffering to is the one linked to in your profile, then it seems to be running nicely.

    If you like showing off the fact that your server rocks,

    1.298 – 35 queries

    That said, if you think it’s running slowly the best bet is to do a few things:

    1) delete any plugins that you are not using (i know they shouldnt have any effect but always better to be safe than sorry, wordpress 2.6.1 had a similar bug)

    2) deactivate plugins one at a time, and see if you notice any difference.

    3) use Yslow to see what is taking the time to load from the front-end.

    4) try disabling the adverts on the website. they shouldn’t have an effect, but sometimes Flash banners can do that (though they should only slow it down after the page has loaded)

    5) Ask godaddy for the server logs and error logs, or ask them exactly what page/script is slow.

    BBpress isn’t perfect, but the code is well written and generally very very fast.

    #69902

    Hey JJJ,

    its my understanding that all functions, including those that have the template hardcoded into it, require a plug-in to overwrite.

    This sadly cant be kept in the template folder, nor turned on as default.

    #69975

    In reply to: when bbp 1.0 release?

    Dear Santa,

    For Christmas this year I would like bbPress 1.0 with working WordPress integration, and for daddy to find a job.

    Love,

    Little Johnny



    @vannak
    : How many licks does it take to get to the center of a Tootsie Pop?

    The world, will never know.

    #69914

    The Key Manager is basically designed to always be able to do everything, without any loss of functionality. Where as Admin’s can be changed to be whatever you would like them to be.

    If you want the side by side comparison:

    $roles->add_role( 'keymaster', __('Key Master'), array(
    'use_keys' => true, // Verb forms of roles - keymaster
    'administrate' => true, // administrator
    'moderate' => true, // moderator
    'participate' => true, // member

    'keep_gate' => true, // Make new Key Masters //+
    'import_export' => true, // Import and export data //+
    'recount' => true, // bb-do-counts.php //+
    'manage_options' => true, // backend //+
    'manage_themes' => true, // Themes //+
    'manage_plugins' => true, // Plugins //+
    'manage_options' => true, // Options //+
    'edit_users' => true,
    'manage_tags' => true, // Rename, Merge, Destroy
    'edit_others_favorites' => true,
    'manage_forums' => true, // Add/Rename forum
    'delete_forums' => true, // Delete forum
    'delete_topics' => true,
    'close_topics' => true,
    'stick_topics' => true,
    'move_topics' => true,
    'view_by_ip' => true, // view-ip.php
    'edit_closed' => true, // Edit closed topics
    'edit_deleted' => true, // Edit deleted topics/posts
    'browse_deleted' => true, // Use 'deleted' view
    'edit_others_tags' => true,
    'edit_others_topics' => true,
    'delete_posts' => true,
    'throttle' => true, // Post back to back arbitrarily quickly
    'ignore_edit_lock' => true,
    'edit_others_posts' => true,
    'edit_favorites' => true,
    'edit_tags' => true,
    'edit_topics' => true, // Edit title, resolution status
    'edit_posts' => true,
    'edit_profile' => true,
    'write_topics' => true,
    'write_posts' => true,
    'change_password' => true,
    'read' => true
    ) );

    $roles->add_role( 'administrator', __('Administrator'), array(
    'administrate' => true,
    'moderate' => true,
    'participate' => true,

    'edit_users' => true, //+
    'edit_others_favorites' => true, //+
    'manage_forums' => true, //+
    'delete_forums' => true, //+
    'manage_tags' => true,
    'delete_topics' => true,
    'close_topics' => true,
    'stick_topics' => true,
    'move_topics' => true,
    'view_by_ip' => true,
    'edit_closed' => true,
    'edit_deleted' => true,
    'browse_deleted' => true,
    'edit_others_tags' => true,
    'edit_others_topics' => true,
    'delete_posts' => true,
    'throttle' => true,
    'ignore_edit_lock' => true,
    'edit_others_posts' => true,
    'edit_favorites' => true,
    'edit_tags' => true,
    'edit_topics' => true,
    'edit_posts' => true,
    'edit_profile' => true,
    'write_topics' => true,
    'write_posts' => true,
    'change_password' => true,
    'read' => true
    ) );

    #69894
    ganzua
    Member

    Perhaps there is a way.

    This guy;

    http://www.adityanaik.com/bbpress-and-wordpress-integration/

    integrated wp 2.6.3 with bbpress;

    meta name="generator" content="WordPress 2.6.3"

    We are missing something.

    #69217
    chrishajer
    Participant

    I recently ran into a problem with eaccelerator installed from source:

    When you update PHP, Apache will not restart since eaccelerator was compiled with an earlier version of PHP, and Apache can’t load the eaccelerator.so binary. If Apache won’t start, maybe this is why. Apache didn’t give any good messages at all, but php -m on the command line showed a problem with the eaccelerator binary being compiled for an earlier version of PHP. So, just recompile, reinstall and restart Apache.

    Hope that helps someone.

    #4403
    kgosser
    Member

    Hey all,

    So I’ve been checking out various forums to use for my business’ site, and I’ve got it paired down to bbPress and Vanilla. I’m leaning towards bbPress, but I have a few questions that I’m seeking answers to first. If anyone can help me out, it would be greatly appreciated!

    (1) Is it available either by default or a plug-in to allow users to post <embed> or <object> snippets to show Flash files?

    (2) Is there a plug-in available to allow image uploading to our server, or are all the ways to get an image to display within a thread by bb [img]code or the “Allow Images” plug-in?

    (3) Would you consider bbPress’ theme customization to be about as equal (or easier) than WordPress’?

    (4) Are there plug-ins to allow for either digg-style voting or normal 5-star voting? Being able to host community-driven contests is important for this project.

    Thanks a lot in advance. One of the reasons I always use WordPress for my projects is because the community is one of the best on the Web, so I hope it rubs off a little bit for bbPress! Thanks again!

    #69866

    Hey we can put the bug in trac and link to it now though ;-)

    #69865

    Tracklinking has had the bizarre effect of breaking apostrophes when in code blocks.

    ‘ is just fine.

    ' is not so much.

    #69678
    _ck_
    Participant

    You can do it with a custom query.

    Something like

    $forum_id=$bbdb->get_var("SELECT forum_id FROM $bbdb->posts WHERE post_id=$post_id LIMIT 1");

    where $post_id is your post id.

    This will generate an extra query per page but for just editing that would be fine.

    #69629

    In reply to: New forum layout

    I’m partial to without the break, if there’s no color change.

    Back to this theme, there’s something wonky with how the code markup shows apostrophes …

    ' is not the same as ‘

    #69627

    In reply to: New forum layout

    The bb image was really small on mine, I like that third one, but yeah, when you’re shooting for 80×15, it’s hard to get something CLEAR :)

    #69893
    ganzua
    Member

    Thanks for your answer John :) Then there is no way to go further :(

    #69214
    _ck_
    Participant

    Apache, both 1 and 2 are based on old slow code. You can spend hours fiddling with performance settings and barely fix the problem. They don’t do well for very active sites and apache can be easily ddos’ed. You can either throw more hardware at the problem or replace apache when the loads get too high.

    LiteSpeed is literally twice as fast/half the load as apache (it’s also a bit expensive for the commercial version but there is a 5 account version available for free). Additionally it can plow through many kinds of ddos attacks. It’s a piece of cake to install and configure (GUI based).

    The free Nginx is also twice as fast as Apache but LiteSpeed can use Apache’s httpd.conf and .htaccess files so it’s very easy to install (10 minutes tops) and you can even switch back to Apache if so desired. Nginx requires a complete rewrite of any mod_rewrite rules, etc. and requires technical skill to install/operate.

    Matt is slowly converting some of Automattic’s server from LiteSpeed to Nginx to keep the ideals of open source but LiteSpeed is still too good and has no serious competition as far as compatibility so I bet he will probably continue to run it on some servers for years.

    As far as opcode caches I am surprised you had trouble with eaccelerator which tends to be the most compatible/easiest to install. APC does have some quirks but it’s being adopted by PHP and may become “built in” in some future version.

    #4401
    ganzua
    Member

    Hi!

    I tried to integrate wp27final and bbpress 1.02a. I installed bbpress, followed the integration steps during installation, then changed bb-config.php with this code;

    define('WP_BB', true);
    if ( !defined('DB_NAME') ) {
    require_once( dirname(__FILE__) . '/../wp-config.php');
    }

    $bb->wp_table_prefix = 'wp_'; // your wordpress db prefix is
    $bb->wp_home = 'http://myhost.com';
    $bb->wp_siteurl = 'http://myhost.com';

    …and I’ve found several issues, the first one the no admin panel issue already discussed in this forum, but the fact is that I have no “Add new” link when logged in as user different to admin. Besides, I have no post form when logged in as admin and click “Add new”.

    I can’t go further with my integration but I like how bbpress is being developed, it is pretty fast and simple, just what I needed. Is there any way I can solve these issues?

Viewing 25 results - 26,326 through 26,350 (of 32,507 total)
Skip to toolbar