Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 19,326 through 19,350 (of 32,518 total)
  • Author
    Search Results
  • #103889

    In reply to: bb-query help!

    Gautam Gupta
    Participant

    You can only have one tag_id arg, that too should be an integer ( also = check is made, you can’t have != check ). Try this:

    function my_custom_views_init() {
    $args = array(
    'tag_id' => 35
    );
    bb_register_view(
    'fruits',
    'Fruit',
    $args,
    false
    );
    }

    You may try to short-circuit the query though, as shown in this plugin – https://plugins-dev.bbpress.org/browser/my-views/trunk/my-views-statistics.php

    #98789

    In reply to: bb-query help!

    Gautam Gupta
    Participant

    You can only have one tag_id arg, that too should be an integer ( also = check is made, you can’t have != check ). Try this:

    function my_custom_views_init() {
    $args = array(
    'tag_id' => 35
    );
    bb_register_view(
    'fruits',
    'Fruit',
    $args,
    false
    );
    }

    You may try to short-circuit the query though, as shown in this plugin – https://plugins-dev.bbpress.org/browser/my-views/trunk/my-views-statistics.php

    #103855
    Gautam Gupta
    Participant

    Thank you :-)

    #98755
    Gautam Gupta
    Participant

    Thank you :-)

    #103833

    In reply to: Forum Moderation

    John James Jacoby: It’s active, but it’s a lot harder to calculate spam on a registered and activated user account.

    What some people go through just to SPAM a forum! =/

    #98733

    In reply to: Forum Moderation

    John James Jacoby: It’s active, but it’s a lot harder to calculate spam on a registered and activated user account.

    What some people go through just to SPAM a forum! =/

    #103847

    make sure its & instead of &amp ;

    and regarding login sync, you messed up somewhere, try finding the mistake.

    #98747

    make sure its & instead of &amp ;

    and regarding login sync, you messed up somewhere, try finding the mistake.

    #94837

    @gswaim – I can assure you bbPress as a WordPress plugin is no ground-hog day (although that is one of my favorite Bill Murray movies.) There’s more activity in the bbPress trac over the past 2 months than there has been in the previous 18.

    Evidenced by: https://trac.bbpress.org/log/

    Matt and I have shared a similar interest in having forum integration inside WordPress since 2008 when I first started using WordPress and bbPress regularly. The bbPress stand-alone can be deeply integrated with great success into WordPress. bbPress.org is a great example of how they can play nice together, as are WordPress.org and WordPress.com. All of the support forums use bbPress with shared user tables and dedicated themes to make them look the part.

    But, I’m with you in that it just isn’t as turn-key simple as it could and should be.

    Regarding Tadlock’s plugin, he volunteered an early iteration of his code to me which helped confirm I was on the right track and give some ideas on how to do a few things I hadn’t finished yet. So his forums haven’t fizzled, they’ve been merged into bbPress so he doesn’t need to bare the burden of supporting another large library of code, and instead he can contribute back to it when he has time or needs something specific.

    Regarding my job with Automattic, progress slowed because every new employee does a 3 week training session with the Happiness Engineer team. It just so happened that my 3 weeks ended as the holiday season began. Not due to lack of importance, just not-so-good timing for writing code. :)

    #94836

    gswaim: Then Justin Tadlock was going to knock one out and that also fizzled. He had a pretty decent looking forum in a matter of weeks, but it was never finished. Or at least it was never released.

    If you want to read a particular thread that talked about it (maybe in a little more detail) but more importantly a reply from Justin Tadlock, then that might give you a little more insight as to why he never released it! Hope that helps a little? :)

    #94835
    gswaim
    Participant

    At the Raleigh 2009 WordCamp, when given the chance to present a question to Matt, I asked:

    “What is the status of bbPress?”

    His response was that bbPress was alive and well and he wanted to develop it as a plug-in so the masses could easily implement it.

    I asked this question then because I really needed a forum and I wanted to stick with a WP solution. Two years have passed and adding a forum to my site has become my “Ground Hog Day.” I work hard at it, but somehow every morning when I wake up my site still doesn’t have a forum.

    Over the last two years I have installed about every forum solution on the market (I think I installed SimplePress at least 3 times). They all looked like an add-on, so they got pulled.

    Then Justin Tadlock was going to knock one out and that also fizzled. He had a pretty decent looking forum in a matter of weeks, but it was never finished. Or at least it was never released.

    I have to admit when I saw this reply from JJJ,

    With the holidays coming up and starting my new job at Automattic, progress on the plugin is going to slow down for a week or two.”

    it seemed like another Ground Hog Day to me. I would have thought that having the lead developer of the bbPress plug-in working for Matt (who adamantly supports the bbPress plug-in),the project would have gone faster, not slower.

    I am not trying to be critical. I just wanted to put some historical perspective on this project. In my humble opinion, for WP to be considered a CMS, it needs to have a forum core plug-in. I am sure I am not alone in wanting to see this major missing piece fall into place.

    I am not a coder and I can only sit back and keep my fingers crossed that one morning I wake up and my WP-powered site is truly a CMS with a WP supported forum.

    Thanks for the hard work. Let’s push on. I can smell the end zone!

    #94834

    John James Jacoby: With WordPress 3.1 almost in its third release candidate, we can expect it to ship really, really soon. That said, it makes sense to drop 3.0 support and focus on 3.1.

    I agree, it brings in new features we can take advantage of, which cuts out half the hassle that’d be needed to get them working in the first place! — Why try and rebuild something we can already use? :)

    #98818

    Oh that (all of the above) sounds like me from the other day! :)

    John James Jacoby: […] we’re up to 32 individual template files […]

    Man alive I didn’t think we had that many?!?!?!?!?

    John James Jacoby: […] to be as simple to understand as possible without tons of proprietary functions or complex logic to figure out. To do that, we’ve split some of the files into ‘parts’ that focus on specific functionalities. Some of this doesn’t make a whole lot of sense right now because of lack of documentation […]

    I agree with (and like) the idea to split some of the files into ‘parts’ as you put it JJJ which has already been done, and yes the documentation might not be there right now, but I don’t think that’s the main ‘problem’ here if we can call it that?

    While I don’t has access to a demo, either locally or online that’s fully up-to-date it makes it hard to comment on some of the newer stuff committed, after my PC decided it didn’t want to be a PC anymore!

    John James Jacoby: We also have an empty folder for a theme named ‘bbp-default’ which will more than likely be a full-featured theme that flexes a bit more bbPress muscle.

    In my eyes, it’ll be interesting to see how this will differ from ‘bbp-twentyten’ but I’m sure I’ll be proven wrong and all that! — But while Twenty Ten is still the default theme for WordPress, I think it’s fair to say ‘bbp-twentyten’ still has to flex the bbPress muscle too? ;)

    John James Jacoby: I think when bbPress has more eyes on the code and more developers start integrating forum files into their themes, we’ll see some really neat things start to happen.

    Yes more eyes would go down a treat, and I do believe developers will become more interested one all the basic core is complete, and they can see the best way of theming a particular area for example?

    Until then though, if we could get the Developer Chats up and running again I think it’d help a lot of people voice an opinion on certain areas, setup the equivalent of WPDEVEL but for bbPress on bbPress.org right from the start. Plus as another thought, maybe some blog posts / forum posts similar to whats done on WordPress.org for people to leave feedback and/or requests! :D

    JJJ, you know my thoughts, I’ve probably left them all over the place but who cares … you’ve got them one way or another! Another ‘key player’ who I’d say was very interested in the bbPress Plugin is Justin Tadlock, and as a Theme Man himself, (I might be wrong) but his thoughts into the whole templates for ‘bbp-twentyten’ or indeed any theme, would be very much appreciated by all?

    #overandout

    #103918

    Oh that (all of the above) sounds like me from the other day! :)

    John James Jacoby: […] we’re up to 32 individual template files […]

    Man alive I didn’t think we had that many?!?!?!?!?

    John James Jacoby: […] to be as simple to understand as possible without tons of proprietary functions or complex logic to figure out. To do that, we’ve split some of the files into ‘parts’ that focus on specific functionalities. Some of this doesn’t make a whole lot of sense right now because of lack of documentation […]

    I agree with (and like) the idea to split some of the files into ‘parts’ as you put it JJJ which has already been done, and yes the documentation might not be there right now, but I don’t think that’s the main ‘problem’ here if we can call it that?

    While I don’t has access to a demo, either locally or online that’s fully up-to-date it makes it hard to comment on some of the newer stuff committed, after my PC decided it didn’t want to be a PC anymore!

    John James Jacoby: We also have an empty folder for a theme named ‘bbp-default’ which will more than likely be a full-featured theme that flexes a bit more bbPress muscle.

    In my eyes, it’ll be interesting to see how this will differ from ‘bbp-twentyten’ but I’m sure I’ll be proven wrong and all that! — But while Twenty Ten is still the default theme for WordPress, I think it’s fair to say ‘bbp-twentyten’ still has to flex the bbPress muscle too? ;)

    John James Jacoby: I think when bbPress has more eyes on the code and more developers start integrating forum files into their themes, we’ll see some really neat things start to happen.

    Yes more eyes would go down a treat, and I do believe developers will become more interested one all the basic core is complete, and they can see the best way of theming a particular area for example?

    Until then though, if we could get the Developer Chats up and running again I think it’d help a lot of people voice an opinion on certain areas, setup the equivalent of WPDEVEL but for bbPress on bbPress.org right from the start. Plus as another thought, maybe some blog posts / forum posts similar to whats done on WordPress.org for people to leave feedback and/or requests! :D

    JJJ, you know my thoughts, I’ve probably left them all over the place but who cares … you’ve got them one way or another! Another ‘key player’ who I’d say was very interested in the bbPress Plugin is Justin Tadlock, and as a Theme Man himself, (I might be wrong) but his thoughts into the whole templates for ‘bbp-twentyten’ or indeed any theme, would be very much appreciated by all?

    #overandout

    #94831
    Anonymous User 5853594
    Inactive

    Great to hear that it’s almost ready for an official status update! Will it then be possible to use the auto updater, instead of having to download the zip and uploading it via FTP?

    I’ve been running it on my site and I really like how it’s turning out. Keep up the good work. =)

    #37010

    A few people have expressed concerns about the growing number of template files included with the bbp-twentyten theme. Not counting CSS/JS/Images, we’re up to 32 individual template files to handle forums, topics, replies, loops, forms, users, and pagination. These concerns are totally valid, but mostly unavoidable.

    The goal for bbp-twentyten is for it to be as simple to understand as possible without tons of proprietary functions or complex logic to figure out. To do that, we’ve split some of the files into ‘parts’ that focus on specific functionalities. Some of this doesn’t make a whole lot of sense right now because of lack of documentation, and it uses functions that are new to WordPress as of 3.0, but I’m confident it’s the best way to go.

    When I think back to my beginning days of learning WordPress, a lot of what I did was butcher Kubrick and make my own frankentheme. I’m trying to keep that in mind here. Since the first place people naturally make changes is on the front end of their site, this theme should make that really easy to do.

    We also have an empty folder for a theme named ‘bbp-default’ which will more than likely be a full-featured theme that flexes a bit more bbPress muscle.

    I think when bbPress has more eyes on the code and more developers start integrating forum files into their themes, we’ll see some really neat things start to happen.

    #103845
    KayBeSee
    Member

    I have completed the first tutorial, but when I log in on wordpress, I am still not logged in on the forums.

    I tried the Deep Integration on the Theme Matching tutorial, but when I do so I get an error on line 15 of the bb-config file.

    My bb-press and wordpress are in the same database and the locks are on the salts, auth codes, etc.

    Any help?

    #98745
    KayBeSee
    Member

    I have completed the first tutorial, but when I log in on wordpress, I am still not logged in on the forums.

    I tried the Deep Integration on the Theme Matching tutorial, but when I do so I get an error on line 15 of the bb-config file.

    My bb-press and wordpress are in the same database and the locks are on the salts, auth codes, etc.

    Any help?

    #94829

    @John James Jacoby: WOW! Thanks :)

    #94826
    Rich Pedley
    Member

    echoes my thoughts ;)

    #94825

    My rule regarding trac vs forums, is that the forums are traditionally for support and confirmation of an issue occuring, and the trac is for when bugs appear that can be duplicated and/or you have a suggested code change. You can even drop enhancement requests in the trac if you have a really neat idea, even better if you have a patch to match it.

    Core developers live and breathe by the trac. If it isn’t in there, it doesn’t exist. It’s our diary of development, and without it our lives would be much more difficult. The trac is less social, and more developer speak. The forums tend to be a little more relaxed.

    With WordPress 3.1 almost in its third release candidate, we can expect it to ship really, really soon. That said, it makes sense to drop 3.0 support and focus on 3.1. I’ve made sure we’ve stayed compatible with 3.0 this entire time, but it’s time to focus on the version of WP that the bbPress plugin will see the most use on.

    Thanks to everyone that’s been testing on 3.0 installations. If you *really* want this to be 3.0 compatible, definitely open trac tickets and contribute patches to keep that support alive.

    #103902

    Ah looks like, syntax highlighting is messing up the code.

    Can you try adding this instead of your line?

    /* Deep integration */
    if ( !defined('ABSPATH') & !defined('XMLRPC_REQUEST')) {
    define('WP_USE_THEMES', false);
    include_once(dirname(__FILE__) . '/../wp-blog-header.php' );
    header("HTTP/1.1 200 OK");
    header("Status: 200 All rosy");
    }

    Not sure about your errors though.

    #98802

    Ah looks like, syntax highlighting is messing up the code.

    Can you try adding this instead of your line?

    /* Deep integration */
    if ( !defined('ABSPATH') & !defined('XMLRPC_REQUEST')) {
    define('WP_USE_THEMES', false);
    include_once(dirname(__FILE__) . '/../wp-blog-header.php' );
    header("HTTP/1.1 200 OK");
    header("Status: 200 All rosy");
    }

    Not sure about your errors though.

    #94819
    Rich Pedley
    Member

    I usually do, though sometimes if I’m unsure I prefer to get a bit of feedback first ;)

    #37001

    I’m trying to open up search on my bbPress install, I can search, it works properly. What I decided, for now, was to not show the Recent Results, but only the Relevant Results, the problem is that some of the Relevant Results are not displaying a proper link to the post.

    This line in /bbpress/search.php is the issue, I think, but I can’t figure out how to correct it.

    Line 12:

    Code:
    $bb_query_form->BB_Query_Form( ‘post’, array(), array( ‘per_page’ => 5, ‘post_status’ => 0, ‘topic_status’ => 0, ‘post_text’ => $q, ‘forum_id’, ‘tag’, ‘topic_author’, ‘post_author’ ), ‘bb_recent_search’ );

    Whatever I set the ‘per_page’ array to, that is the number of Relevant Results that do not work properly at the top. So since it’s set to 5, the first 5 results under Relevant Results do not work, but 6-end do.

    What can I do to correct this? Thanks,

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