Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 20,076 through 20,100 (of 32,170 total)
  • Author
    Search Results
  • #91627

    @_ck_

    How much the 0.9 version has actually gone through testing and how much we can be confident it being secured.

    I know it may contain bugs, any code can but my curiosity lies in the testing & use it has gone through already.

    If considered a fork, I think we need a few people on whom the people can count on for security updates.

    What do you think?

    #91267
    Greg
    Participant

    Matt, we’re at cross purposes. Your previous definition of “core plugin” aside, I still don’t quite understand why it wouldn’t be useful to have a place in the taxonomy for something that…

    1. is a plugin

    2. is released with core (same release criteria etc.)

    Like akismet today. I think there are a ton of advantages, but I’ve mentioned them above and I won’t belabor them. I didn’t suggest that it was necessarily 80% functionality, so maybe it does fit your definition of core plugin to some extent.

    I guess “bloat” is a bit pejorative and wasn’t my intention to poke at WordPress. But any large piece of software needs to have a strategy to deal with the inevitable growth of the code base as it evolves.

    #91730

    In reply to: Facebook Connect Help

    You do deep integration by adding a line in bb-config.php to load wp-load.php or wp-blog-header.php. You can check your config file to see and if you are the one who setup everything, then most probably you don’t have deep integrated setups.

    That said, deep integration just makes the work easier. FB connect without it is also possible but it will require someone to code that up.

    #91520

    In reply to: Better Profiles….

    nickaster
    Member

    Interesting… so assuming my templates were default… where would I look for the code to add this? I can get in there and add it if I knew what it looked like.

    #82566
    Ben L.
    Member

    Search engines generally ignore meta description and keywords because they get abused frequently. However, if you really want them, you can use add_action( 'bb_head', 'my_function_that_outputs_stuff' );.

    #82565
    pagal
    Participant

    @Ben L., You are always great :-).

    what about page meta description and keywords?

    #82564
    Ben L.
    Member

    $bb->static_title = 'My Awesome Page'; right before the bb_load_template call.

    #91467

    In reply to: Front-end editing

    Erlend
    Participant

    The challenge comes from the security model: WP hides a lot of things unless you’re on the backend.

    Right on the money. That’s the root of my curiosity exactly.

    So I see three possible options:

    – With code-wizardry, you achieve what no other plugin author seems to have accomplished until now (bypassing the security model, without compromising WP security of course).

    – Altering the way WP ‘guards’ its rich text editor

    – Making a separate editor for the forumplugin

    Or am I missing something?

    It’s not like I really expect a finite answer while bbPress plugin is still in the early design stages, but it looks like this feature presents a proper challenge for the developers, hence my curiosity is peaked.

    Maybe a good topic for a weekly meeting a bit further down the road?

    #34863

    Installin BBpress and I get this error after entering my database details in the bbpress install screen:

    Warning: fopen(D:Hosting2990196htmlhappybod_webforum/bb-config.php) [function.fopen]: failed to open stream: Permission denied in D:Hosting2990196htmlhappybod_webforumbb-adminincludesclass.bb-install.php on line 1044

    Warning: fwrite(): supplied argument is not a valid stream resource in D:Hosting2990196htmlhappybod_webforumbb-adminincludesclass.bb-install.php on line 1051

    Warning: fwrite(): supplied argument is not a valid stream resource in D:Hosting2990196htmlhappybod_webforumbb-adminincludesclass.bb-install.php on line 1051

    Warning: fwrite(): supplied argument is not a valid stream resource in D:Hosting2990196htmlhappybod_webforumbb-adminincludesclass.bb-install.php on line 1051

    Warning: fwrite(): supplied argument is not a valid stream resource in D:Hosting2990196htmlhappybod_webforumbb-adminincludesclass.bb-install.php on line 1051

    Warning: fwrite(): supplied argument is not a valid stream resource in D:Hosting2990196htmlhappybod_webforumbb-adminincludesclass.bb-install.php on line 1051

    Warning: fwrite(): supplied argument is not a valid stream resource in D:Hosting2990196htmlhappybod_webforumbb-adminincludesclass.bb-install.php on line 1051

    Warning: fwrite(): supplied argument is not a valid stream resource in D:Hosting2990196htmlhappybod_webforumbb-adminincludesclass.bb-install.php on line 1051

    Warning: fwrite(): supplied argument is not a valid stream resource in D:Hosting2990196htmlhappybod_webforumbb-adminincludesclass.bb-install.php on line 1051

    Warning: fwrite(): supplied argument is not a valid stream resource in D:Hosting2990196htmlhappybod_webforumbb-adminincludesclass.bb-install.php on line 1051

    Warning: fwrite(): supplied argument is not a valid stream resource in D:Hosting2990196htmlhappybod_webforumbb-adminincludesclass.bb-install.php on line 1051

    Warning: fwrite(): supplied argument is not a valid stream resource in D:Hosting2990196htmlhappybod_webforumbb-adminincludesclass.bb-install.php on line 1051

    Warning: fwrite(): supplied argument is not a valid stream resource in D:Hosting2990196htmlhappybod_webforumbb-adminincludesclass.bb-install.php on line 1051

    Warning: fwrite(): supplied argument is not a valid stream resource in D:Hosting2990196htmlhappybod_webforumbb-adminincludesclass.bb-install.php on line 1051

    Warning: fwrite(): supplied argument is not a valid stream resource in D:Hosting2990196htmlhappybod_webforumbb-adminincludesclass.bb-install.php on line 1051

    Warning: fwrite(): supplied argument is not a valid stream resource in D:Hosting2990196htmlhappybod_webforumbb-adminincludesclass.bb-install.php on line 1051

    Warning: fwrite(): supplied argument is not a valid stream resource in D:Hosting2990196htmlhappybod_webforumbb-adminincludesclass.bb-install.php on line 1051

    Warning: fwrite(): supplied argument is not a valid stream resource in D:Hosting2990196htmlhappybod_webforumbb-adminincludesclass.bb-install.php on line 1051

    Warning: fwrite(): supplied argument is not a valid stream resource in D:Hosting2990196htmlhappybod_webforumbb-adminincludesclass.bb-install.php on line 1051

    Warning: fwrite(): supplied argument is not a valid stream resource in D:Hosting2990196htmlhappybod_webforumbb-adminincludesclass.bb-install.php on line 1051

    Warning: fwrite(): supplied argument is not a valid stream resource in D:Hosting2990196htmlhappybod_webforumbb-adminincludesclass.bb-install.php on line 1051

    Warning: fwrite(): supplied argument is not a valid stream resource in D:Hosting2990196htmlhappybod_webforumbb-adminincludesclass.bb-install.php on line 1051

    Warning: fwrite(): supplied argument is not a valid stream resource in D:Hosting2990196htmlhappybod_webforumbb-adminincludesclass.bb-install.php on line 1051

    Warning: fwrite(): supplied argument is not a valid stream resource in D:Hosting2990196htmlhappybod_webforumbb-adminincludesclass.bb-install.php on line 1051

    Warning: fwrite(): supplied argument is not a valid stream resource in D:Hosting2990196htmlhappybod_webforumbb-adminincludesclass.bb-install.php on line 1051

    Warning: fwrite(): supplied argument is not a valid stream resource in D:Hosting2990196htmlhappybod_webforumbb-adminincludesclass.bb-install.php on line 1051

    Warning: fwrite(): supplied argument is not a valid stream resource in D:Hosting2990196htmlhappybod_webforumbb-adminincludesclass.bb-install.php on line 1051

    Warning: fwrite(): supplied argument is not a valid stream resource in D:Hosting2990196htmlhappybod_webforumbb-adminincludesclass.bb-install.php on line 1051

    Warning: fwrite(): supplied argument is not a valid stream resource in D:Hosting2990196htmlhappybod_webforumbb-adminincludesclass.bb-install.php on line 1051

    Warning: fwrite(): supplied argument is not a valid stream resource in D:Hosting2990196htmlhappybod_webforumbb-adminincludesclass.bb-install.php on line 1051

    Warning: fwrite(): supplied argument is not a valid stream resource in D:Hosting2990196htmlhappybod_webforumbb-adminincludesclass.bb-install.php on line 1051

    Warning: fwrite(): supplied argument is not a valid stream resource in D:Hosting2990196htmlhappybod_webforumbb-adminincludesclass.bb-install.php on line 1051

    Warning: fwrite(): supplied argument is not a valid stream resource in D:Hosting2990196htmlhappybod_webforumbb-adminincludesclass.bb-install.php on line 1051

    Warning: fwrite(): supplied argument is not a valid stream resource in D:Hosting2990196htmlhappybod_webforumbb-adminincludesclass.bb-install.php on line 1051

    Warning: fwrite(): supplied argument is not a valid stream resource in D:Hosting2990196htmlhappybod_webforumbb-adminincludesclass.bb-install.php on line 1051

    Warning: fwrite(): supplied argument is not a valid stream resource in D:Hosting2990196htmlhappybod_webforumbb-adminincludesclass.bb-install.php on line 1051

    Warning: fwrite(): supplied argument is not a valid stream resource in D:Hosting2990196htmlhappybod_webforumbb-adminincludesclass.bb-install.php on line 1051

    Warning: fwrite(): supplied argument is not a valid stream resource in D:Hosting2990196htmlhappybod_webforumbb-adminincludesclass.bb-install.php on line 1051

    Warning: fwrite(): supplied argument is not a valid stream resource in D:Hosting2990196htmlhappybod_webforumbb-adminincludesclass.bb-install.php on line 1051

    Warning: fwrite(): supplied argument is not a valid stream resource in D:Hosting2990196htmlhappybod_webforumbb-adminincludesclass.bb-install.php on line 1051

    Warning: fwrite(): supplied argument is not a valid stream resource in D:Hosting2990196htmlhappybod_webforumbb-adminincludesclass.bb-install.php on line 1051

    Warning: fwrite(): supplied argument is not a valid stream resource in D:Hosting2990196htmlhappybod_webforumbb-adminincludesclass.bb-install.php on line 1051

    Warning: fwrite(): supplied argument is not a valid stream resource in D:Hosting2990196htmlhappybod_webforumbb-adminincludesclass.bb-install.php on line 1051

    Warning: fwrite(): supplied argument is not a valid stream resource in D:Hosting2990196htmlhappybod_webforumbb-adminincludesclass.bb-install.php on line 1051

    Warning: fwrite(): supplied argument is not a valid stream resource in D:Hosting2990196htmlhappybod_webforumbb-adminincludesclass.bb-install.php on line 1051

    Warning: fwrite(): supplied argument is not a valid stream resource in D:Hosting2990196htmlhappybod_webforumbb-adminincludesclass.bb-install.php on line 1051

    Warning: fwrite(): supplied argument is not a valid stream resource in D:Hosting2990196htmlhappybod_webforumbb-adminincludesclass.bb-install.php on line 1051

    Warning: fwrite(): supplied argument is not a valid stream resource in D:Hosting2990196htmlhappybod_webforumbb-adminincludesclass.bb-install.php on line 1051

    Warning: fwrite(): supplied argument is not a valid stream resource in D:Hosting2990196htmlhappybod_webforumbb-adminincludesclass.bb-install.php on line 1051

    Warning: fwrite(): supplied argument is not a valid stream resource in D:Hosting2990196htmlhappybod_webforumbb-adminincludesclass.bb-install.php on line 1051

    Warning: fwrite(): supplied argument is not a valid stream resource in D:Hosting2990196htmlhappybod_webforumbb-adminincludesclass.bb-install.php on line 1051

    Warning: fwrite(): supplied argument is not a valid stream resource in D:Hosting2990196htmlhappybod_webforumbb-adminincludesclass.bb-install.php on line 1051

    Warning: fwrite(): supplied argument is not a valid stream resource in D:Hosting2990196htmlhappybod_webforumbb-adminincludesclass.bb-install.php on line 1051

    Warning: fwrite(): supplied argument is not a valid stream resource in D:Hosting2990196htmlhappybod_webforumbb-adminincludesclass.bb-install.php on line 1051

    Warning: fwrite(): supplied argument is not a valid stream resource in D:Hosting2990196htmlhappybod_webforumbb-adminincludesclass.bb-install.php on line 1051

    Warning: fwrite(): supplied argument is not a valid stream resource in D:Hosting2990196htmlhappybod_webforumbb-adminincludesclass.bb-install.php on line 1051

    Warning: fwrite(): supplied argument is not a valid stream resource in D:Hosting2990196htmlhappybod_webforumbb-adminincludesclass.bb-install.php on line 1051

    Warning: fwrite(): supplied argument is not a valid stream resource in D:Hosting2990196htmlhappybod_webforumbb-adminincludesclass.bb-install.php on line 1051

    Warning: fwrite(): supplied argument is not a valid stream resource in D:Hosting2990196htmlhappybod_webforumbb-adminincludesclass.bb-install.php on line 1051

    Warning: fwrite(): supplied argument is not a valid stream resource in D:Hosting2990196htmlhappybod_webforumbb-adminincludesclass.bb-install.php on line 1051

    Warning: fwrite(): supplied argument is not a valid stream resource in D:Hosting2990196htmlhappybod_webforumbb-adminincludesclass.bb-install.php on line 1051

    Warning: fwrite(): supplied argument is not a valid stream resource in D:Hosting2990196htmlhappybod_webforumbb-adminincludesclass.bb-install.php on line 1051

    Warning: fwrite(): supplied argument is not a valid stream resource in D:Hosting2990196htmlhappybod_webforumbb-adminincludesclass.bb-install.php on line 1051

    Warning: fwrite(): supplied argument is not a valid stream resource in D:Hosting2990196htmlhappybod_webforumbb-adminincludesclass.bb-install.php on line 1051

    Warning: fwrite(): supplied argument is not a valid stream resource in D:Hosting2990196htmlhappybod_webforumbb-adminincludesclass.bb-install.php on line 1051

    Warning: fclose(): supplied argument is not a valid stream resource in D:Hosting2990196htmlhappybod_webforumbb-adminincludesclass.bb-install.php on line 1058

    Warning: Cannot modify header information – headers already sent by (output started at D:Hosting2990196htmlhappybod_webforumbb-adminincludesclass.bb-install.php:1051) in D:Hosting2990196htmlhappybod_webforumbb-includesfunctions.bb-core.php on line 1101

    Welcome to the bbPress installer

    Step 1 – Database configuration

    Your settings have been saved to the file bb-config.php

    You can now continue to the next step.

    It says I can proceed to Step 2 but when I click the Step 2 button it brings me back to Step 1.

    Can you tell me what permission I am supposed to have on my site. I read in places I need 777 and them some say 666, so I am not sure. I have set all to 777 and still does not work.

    In the error it also states that is cannot access class.bb-install.php on line 1051. I go inot my files on FTP and I cannot even find class.bb-install.php in the includes folder.

    Here is what i did from start to finish:

    1. downloaded 1.0.2 bbpress install

    2. unzipped and copied to my happybod.com/forum directory

    3. Create a new database

    4. Went to the install of bbpress http://www.happybod.com/happybod_web/forum/bb-admin/install.php

    5. entered in the details of my database including hostname

    6. then I get the error.

    I even tried manaully uploading the bbpress-config.pho file and then running install. It says “ooppps looks like you have already insatlled bbpress” but when I go to http://www.happybod.com/forum it gives error: 500 – Internal server error.

    There is a problem with the resource you are looking for, and it cannot be displayed.

    Any ideas? Thanks so much

    Kathryn

    #55899

    _ck_ I’d love to use that fix but it seems to interfere with “freshly baked cookies” plugin. It spawns several PHP warnings when trying to logout. Something along the lines of:

    Warning: Cannot modify header information - headers already sent by (output started at /home/public_html/forum/my-plugins/page-links-for-bbpress/page-links.php:74) in /home/public_html/forum/bb-includes/pluggable.php on line 242

    Milan Dinić
    Participant

    Milan, BBXF is a nice idea but, like BackPress, it’s a bit of a boil-the-ocean approach. From our point of view rather than getting every system in the world to adopt this new format, it’s better to just target importers for specific platforms as the market demands it, which has worked well on the WP side.

    Every system in the world doesn’t have to adopt BBXF. Since importers will already exist, why not make importers which will create BBXF if we already have some code and “standard”?

    #34862

    Hi,

    I did this project a while ago and I thought I would share it with everyone once I am really ready so that it can gain momentum but since now bbPress plugin has started development and we are at the stage of choosing a standalone version (I would prefer 0.9 anyday), I am sharing this site – http://bbninja.com

    It hosts 38 themes which I edited manually to remove spam content and were aggregated from various sources. 3-4 more themes were released after I was done with this much of theme work.

    Themes Showcase – http://bbninja.com/bbpress-themes/

    And a friend of mine made some efforts to document functions of functions.bb-template.php file – http://bbninja.com/documentation/

    Now I am looking forward to a bbPress 0.9 fork

    #91753

    _ck_,

    More truly excellent work.

    I offered a different solution though, it’s a geneology plugin thats currently with a few folks for testing. It is far from as elegant as this (though it’s scope is wider).

    One of the things that I’ve “diskiked” about bbPress is lack of support for heirarchies. I know you’ve written some excellent code for finding the last poster for forums with sub forums before, but like the code above, they’re all workarounds.

    It also makes it difficult for theme developers to get on board when wanting to call basic API functions for “last poster” for a forum or topic etc. At some stage, I’d love a discussion on small things like this where we could improve bbP0.9

    #90173
    Marius-
    Member

    Oh :(

    I wish all us other users could have it like this.

    I view this support forum as sort of the default showcase for what bbpress is.

    #34860
    _ck_
    Participant

    I’ve noticed that depending on the site configuration, many times plugins or template designs will require information about the first poster in a topic or the last poster.

    The problem is that bbPress unfortunately (even in 1.1) only caches the post authors that are on the physical page you are on. So it causes two “out of flow” queries (one for user, one for usermeta) for each of those authors (first, last).

    This means up to four needless queries are added depending on the topic page number (not first or last is the worst hit).

    Even worse there is no direct filter/action on that process so it cannot be affected directly.

    However I’ve come up with a workaround using a trick,

    by catching the actions before and after the process.

    I’ve only tested this on 0.9, but in theory should work in 1.1

    if (is_topic && !is_bb_feed()) {
    add_action('bb_topic.php_pre_db','usercachefix_load');
    add_action('bb_topic.php','usercachefix_unload');
    function usercachefix_load() {add_action('get_forum_where','usercachefix');}
    function usercachefix_unload() {remove_action('get_forum_where','usercachefix'); global $posts; unset($posts['first'],$posts['last']);}
    function usercachefix($x) {global $topic,$posts; $posts['first']->poster_id=$topic->topic_poster; $posts['last']->poster_id=$topic->topic_last_poster; return $x;}
    }

    Make it into a mini-plugin and give it a try.

    You really only need it if you are showing info about the first and/or last poster on every page of the topic.

    You should see the query count go down by two to four queries on the page.

    Or use bb-benchmark to more closely examine the queries and look for multiple calls to the user-table and usermeta-table.

    #34859
    nickaster
    Member

    Howdy. I’m hearing that people have managed to get Facebook Connect to work as an option for users on bbpress… so, I followed these instrucions:

    Solution for facebook connect

    And it’s the last part that’s confusing me.

    “Integrade a fb-connect button on your bbpress site”

    What does that mean? What does the code look like and where should it go?

    Thanks!

    #34857
    pagal
    Participant

    Some days old post but really optimistic for bbPress.

    I don’t need to personally write code much these days because we have so many talented folks involved but I am jumping back in on bbPress and will be hacking around in there.

    calilarincon
    Member

    Thank you very much for this script, I’ve been trying to used it, but I get the following error:

    SQL ERROR [ mysql4 ]

    Data too long for column 'topic_poster_name' at row 1 [1406]

    Any ideas?

    I’m not an expert, but I’m doing my best. Thanks!

    #90168
    mr_pelle
    Participant

    No tickets left!! Woo hoo!! =D

    Greg
    Participant

    I’m trying to understand the bozo plugin and how it interacts with akismet. Looking through the code I can get a pretty good idea, but I’m worried I’ll miss some subtlety. Is there a decent English (as opposed to PHP) description of the goals/operation of either or both of these plugins anywhere?

    One specific question: the bozo plugin’s “bb_bozon” function that flips the bozo bit for a user also takes a topic_id argument. It looks like the intention here is to have per-topic bozos. Akismet doesn’t seem to use this feature though. Am I reading this right, or is it for something else?

    The context for this is that I want to allow a certain class of moderator-like users on our forum to mark posts as spam. When they do so the following will happen:

    – the poster will be marked as bozo (using bb_bozon)

    – all topics by that poster will get topic_status=2 (using bb_topic_delete)

    – all remaining posts by that poster will get post_status=2 (using bb_post_delete)

    – admin will get a notification

    Admin will then have an option to reverse all of this. Sound reasonable?

    Finally, if there is a plugin that already does something very similar, I’d love to hear about it. I have looked, but while there are some cool plugins out there they either do more than I need, or don’t have exactly the right functionality.

    #91707
    zaerl
    Participant

    Actually BuddyPress is doing the wrong thing. In bbPress:

    forum/topic/topic-name/ redirects to forum/topic/topic-name

    so there are no duplicated content, in BuddyPress:

    forum/topic/topic-name/ and forum/topic/topic-name point to the same content which is a very bad thing.

    Ben L.
    Member

    Don’t override the core files with a theme’s files. Try putting the theme in a separate folder under my-templates.

    #91613
    Ben L.
    Member

    $bb->email_login = true;

    There you go, instant feature!

    Milan Dinić
    Participant

    Non-plugin bbPress development is going to continue until we have a perfect importer so people will be able to bring their content out of the legacy codebase.

    So, will BBXF finally have some use?

    #91456
    _KB_
    Participant

    I’ve tried another integration with no “www”, it works 50%.

    Now I just can’t access my bb-admin and not able to logout from wp admin :D,

    I’ve installed _ck_ plugin fixed admin access, but its not working in this situation. I’ve find other ways from bbPress Search but still not solved. any idea?

Viewing 25 results - 20,076 through 20,100 (of 32,170 total)
Skip to toolbar