Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 20,426 through 20,450 (of 32,481 total)
  • Author
    Search Results
  • #91555
    chrishajer
    Participant

    Take a look at the source of that page, around line 111. For some reason there is an additional DOCTYPE and a whole other document being loaded in there. Not sure where that’s coming from, if it’s the user’s profile or from a plugin. But that is what’s causing the layout problem.

    It’s interesting that other posts by that user look OK, so it’s probably not a profile problem.

    How about this:

    tr.im is currently unavailable ...

    #91604
    _ck_
    Participant

    The reason why many of my plugins require editing is because it’s usually a “set and forget” situation and nothing can top that for maximum performance. Some I just couldn’t be motivated to do all the work for an admin menu until I knew people were actually using it, and based on donations, virtually no-one is using my plugins or wants them improved.

    Plus until I came up with an idea for external admin code, I hated how they were often larger than the plugin itself.

    In any case admin menu frameworks can easily be changed. There were several plugins for WordPress 2.5 and earlier that reformatted all the menus, the design in WordPress today was lifted from those plugins directly.

    The idea that there will be a “perfect” standalone to plugin converter is incredibly naive. It will convert data, all your plugins and themes will be dead.

    In any case bbPress will definitely be forked, I am hoping there will be several forks.

    ps. @Greg, Display Names can be “accessed” from bbPress 0.9 since they are just in the user metadata and autoload when the user is fetched, you just have no UI elements to set or change them from 0.9 (but if you have WP integrated, just use that). It would be easy to make a plugin that displayed the Display Name in bbpress.

    #91455
    _KB_
    Participant

    Sure, i’ll do that tonight when I get home

    @kevinjohngallagher what about Toy Story3? I think that will be really interesting so that you’ve forget abt this topic :-)

    #91599
    Ben L.
    Member

    _ck_

    Moderator

    Ben L.

    Member

    If I changed my display name to _ck_, I would still be marked as “Member”. I could change my name to administrator as well, but people on this site are used to seeing Name – Rank, not Rank – Member.

    And if you’re going to bash 1.0 or 1.1, don’t do it because of added features. 1.0 added several security fixes (for example, try going to an admin page “admin-base.php?plugin=[name of destructive function here]” in both 0.9 and 1.0. Only 0.9 executes the function.

    _ck_, I could just as easily apply your arguments against display names to email, instant messaging, or IRC.

    We don’t need a fork – bbPress standalone (which isn’t going to be discontinued until there’s a perfect converter to the plugin version) can easily be replaced with a WP install with only the bbPress on it.

    #90730

    I commented on that last night, time differences must be working against us, here’s my (slightly edited) reply:

    Howdy Ben,

    Just as I was about to head to bed I saw your post (thats my excuse for the typos).

    I think matey, it’s a tad of an over simplification, and I think you’ve actually missed bits yourself (rather than missed them out).

    1) [edited as off topic]

    https://bbpress.org/forums/topic/extra-dropdown-field-in-registration-page#post-70307

    https://bbpress.org/forums/topic/block-users-by-their-names

    2) It’s not the first time that Zaerl’s mentioned trying to contact you about the updates he made to the plugin. Its not a bad comment on yourself at all bro. We know how these things go. Its more… the work he did was done months ago, he didn’t only do it last week (not sure how clear that was to you)

    3) It’s cool that you’re cool with someone updating your code. It’s awesome. Not everyone is, and I think it’s good of Z to check first. It’s also been a strange “week” since he said he’d ask, and todays post. Like… ALOT has happened.

    4) Zaerl’s statement is “wrong” in your opinion. We’re still very much at the mixed signals stage. If you look at everything posted by “those in the know”, there is no definative clear cut answer. On one hand we’re given good news, on the other bad. Basically, take 2 days off from reading the bbPress forum, and you’re on the wrong end of the swing/roundabout.

    Plus I have an email from my conversation with AndyNacin/PeteMall/JJJ which states categorically that [the plugin] “will be the only supported version of bbPress” (the email thread is very open and honest – i couldn’t apprecaite it anymore if i tried. I just don’t like to nor have permission to repost it) or this post from JJJ https://bbpress.org/forums/topic/bbpress-plugin-is-born#post-71009

    “This is the end of the line for the current implementation of bbPress?”

    Yes.

    Of course, there are other posts that suggest the opposite. It’s cool if you’re in the “everything will be OK camp”, jsut as much as it’s cool if Zaerl’s in the “no, it won’t camp”. But i don’t think anyone is categorically wrong.

    5) bbP1.1 is further away from being released now than it was 8 weeks ago. After Matt wasn’t happy about releasing 1.0.3, telling ChrisH we had to wait for 1.1 to be finished, we bumped as much as we could from 1.1 to get the bug fixes in 1.0.3 out ASAP. If we’re not getting another bbPress standalone release for sure, then alot of them will have to go back into 1.1. If they go back into 1.1, I doubt it’ll be released before the Fall.

    6) “And even if bbPress development was going to end, it’s open source, so just like b2/cafelog, a new project would spring up”

    Thats very true mate. I’m sure it will. Doesn’t mean that Zaerl (or others) want to hang around here though.

    7) You link to a post detailing _ck_’s “goodbye”. As much as _ck_ and I don’t see eye to eye on things, I can’t see one thing on her goodbye that doesn’t ring true.

    Relax. We’ve done this before.

    True Matt, but it didn’t inspire confidence then, it sure doesn’t inspire confidence now…

    #77640

    Well, bbPress as a plugin is official bbPress fork. ;)

    Ha :)

    It’s really not.

    It’s a totally new progam with the same name.

    #77639
    Milan Dinić
    Participant

    There’s an official bbPress fork?

    Well, bbPress as a plugin is official bbPress fork. ;)

    #91690

    In reply to: Delete own posts

    _ck_
    Participant

    Yes you can, easily.

    I have a mini-plugin for this somewhere around here…

    Here you go:

    <?php
    /*
    Plugin Name: Delete Own Post
    */
    function delete_own_post($retvalue,$capability,$args) {return ($capability=='delete_post') ? bb_current_user_can('edit_post',$args[1]) : $retvalue;}
    add_filter('bb_current_user_can','delete_own_post',10,3);
    ?>

    Note that they can only delete for as long as they can edit.

    Meaning after the 1 hour default, no more delete.

    But you can change the timeout in the admin settings.

    #34823

    What’s all missing in terms of features in 0.9 when we compare it to bbPress 1.0+ ?

    • XMLRPC – but do we use it right now? I haven’t heard of anything using bbPress XMLRPC
    • WordPress matching backend

    What else? I never used 0.9 much. BTW, I think most of the functionality a forum owner would need are covered by _ck_’s plugins ;)

    I would like to hear from you guys.

    mdolon
    Member

    Thanks zaerl!

    In terms of integration, I connected the databases between WP and bbPress during installation and made sure that the cookie information matched in both configuration files (bb-config and wp-config). Those two steps made it so when a user registered and logged in at my forum, they were logged in at my blog too.

    I didn’t really need any of the WordPress functions in bbPress so I skipped the deep integration part (calling wp-load). The only bit of dynamic code in my header is checking to see if a user is logged in, and on WordPress you can do that with:


    <?php if(is_user_logged_in()){?>
    Do something
    <?php } ?>

    I use caching to load the sidebar and footer. When someone visits my main site, http://devgrow.com/, it creates a cache of the sidebar and footer if there is no existing cache or if it’s older than 6 hours. The cache is just a text file that contains the output of the dynamic bits in my sidebar in HTML format, which I just include in my bbPress sidebar and footer.

    I also wrote some custom code to pull the recent and popular (most replies) topics and display them with their topic icons.

    Hope that makes sense, let me know if you have any other questions.

    #82560
    pagal
    Participant

    paste it before </head>

    <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"><br />
    <title>Unique Title Here</title><br />
    <meta name="description" content="Description of your page" /><br />
    <meta name="keywords" content="keyword1, keyword2, keyword 3" /><br />
    <meta name="robots" content="index,follow" /><br />
    <meta name="distribution" content="uk, united kingdom, london, global"><br />
    <meta name="document-classification" content="another,keywords, here"><br />
    <meta name="rating" content="General"><br />
    <meta name="MSSmartTagsPreventParsing" content="TRUE"><br />
    <meta name="Copyright" content="website titlet"><br />
    <meta name="developer" content="http://www.developer-name.com"><br />
    <meta name="Author" content="Author Name"><br />
    <meta http-equiv="pragma" content="no-cache" /><br />

    #91367

    In reply to: Registration Email

    _ck_
    Participant

    Note that filter is only available in bbPress 1.0 and 1.1, if you are trying to do it in 0.9 it will not work.

    In 0.9 unfortunately you’d have to edit the end of registration-functions.php

    #88426
    _ck_
    Participant

    Here is what (the highly respected) Mark Jaquith has to say about the very similar problem over on the WordPress side:

    Why WordPress Themes are Derivative of WordPress

    And I guess the way I stated this whole thing was wrong to begin with, what I meant instead was that if you sell premium themes to remember they also have to be GPL – IF you start with another theme that is GPL.

    You can’t make a premium theme that uses GPL code from another theme or bbPress/WordPress itself and sell it without making it GPL.

    (now I think I finally said it correctly)

    I guess the sad conclusion to all this is how bbPress standalone now has some really nice premium themes but is ending standalone development.

    mdolon
    Member

    Check it out: http://devgrow.com/discuss

    It took about a week to get everything the way I wanted. At first I wanted to do a deep integration but it was too much of a pain, so I just ended up writing some custom code to cache most of my sidebar, header and footer elements from my blog and display the cached content in bbPress.

    Plugins I’m using:

    • Allow Images
    • Auto Add to Favorites
    • BBcode Lite
    • Google Sitemap Generator
    • Post Count Plus
    • Post Count Plus for WordPress
    • Subscribe to Topic
    • Topic Icons
    • Custom Plugin for Recent/Popular Topics

    And some more custom code throughout the templates. Would love to answer questions or hear feedback!

    #34841

    Topic: something useful

    in forum Installation
    AaronIsaac
    Member

    Okay, first thing’s first… if this is the forum on the bbPress site itself, it really needs to be a bit more of a better example. As it is, when I get to the forum I’m first faced with a giant tagcloud, then I have to scroll all the way down past a huge list of posts to get to the actual individual forums such as this one. Of course, I could hit the button to start a new topic at the top of the top of the page but not only is that counterintuitive, it’s a really bad idea in general that will get people just Pcoming in and posting without looking at other posts first. I’d hoped the layout would have been changed by now at least.

    Second problem, and this is one I’ve had on the wordpress forums as well but never bothered to ask about it. At the bottom of the post box it lists allowed tags (shortly after mentioning “Enter a few words (called tags)” with a link to the tagcloud rather than a definition of tags), but what gets me is “Put code in between backticks.” I’ve been running forums since before ISPs could offer residential Internet connections and yet I have absolutely no clue what that means. Unless this software is only meant for WordPress users (which I’m one of, btw), it would be best to get a bit more accessible to ordinary people in terms of language/jargon.

    My other large beef is that the forums read like blog comments rather than forum discussions. Threading would be my number one request if I intended to use it. I guess my number two request would be integrating said threaded comments into the comments section of blog entries for those using it with a WP blog, though that’s a lot more complicated. I’d want to start off with the other way around by having the blog able to automatically display posts from certain sections such as Announcements and such. I’m not sure if that functionality exists yet, so apologies if it does. If not, I suppose a workaround could be reading the rss feed from that section into the blog section, but aggregating your own feeds is a fairly silly notion.

    That’s it for initial feedback right now. I may come take another look when the software has matured a bit… by that I mean the core, it shouldn’t have to depend on plugins and themes to have very basic funcionality on its own.

    #91589
    _ck_
    Participant

    It’s hand coded, probably into the template system.

    It’s parsing the readme.txt file.

    Far too custom that you’d ever find a plugin for it.

    It’s probably using in part some of the code from Mark Jaquith who designed the readme.txt format for Matt/Automattic and implemented by mdawaffe (Michael)

    http://wordpress-plugin-readme-parser.googlecode.com/

    hpguru
    Member

    I think bbPress standalone is dead in 2010.

    Matt Mullenweg: 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.

    bbPress 1.1 may be here.

    Greg
    Participant

    I guess one could also use the check on BBP_VERSION (or equivalent) to print an error message when the plugin refuses to activate.

    But a user would still need to install the plugin or look in the code (or read the README if the plugin author was good enough to mention the dependency).

    @_ck_

    Thanks a lot :)

    I am gonna ditch v1.0+ and start using 0.9 from now on. Will downgrade my other installations too.

    #91364

    In reply to: Registration Email

    _ck_
    Participant

    Oh sorry, I lost track, too many things going on everywhere.

    Save it into a plugin (ie. custom-registraton-email.php) put it into your my-plugins/ directory and activate.

    Gautam Gupta
    Participant

    One can easily do a check on activation if BBP_VERSION is defined and optionally a version_compare check too, and if it doesn’t satisfy the condition, then the plugin should deactivate itself.

    Greg
    Participant

    Hmmm. Seems that even the mod is hijacking threads on bbpress.org these days… :)

    Feel free to start a different thread to talk about the specific performance aspects of bbPlugin versus bbStandalone.

    One more attempt to focus this thread on the original question: I am interested in a discussion on the relative merits of evolving bbStandalone and bbPlugin independently versus in a coordinated fashion, NOT the relative merits of bbStandalone versus bbPlugin.

    Repeating the advantages of both, with one additional pro that I thought of for the coupled roadmap.

    Advantages of a coupled roadmap:

    – Higher quality for standalone (benefitting from the larger installed base of the plugin)

    – Better performance for the plugin (benefitting from the big standalone sites)

    – More tight WP integration is likely for standalone

    – Easier “cross-grades” between plugin and standalone version

    Advantages of independent evolution of the plugin and standalone versions

    – More flexibility in release roadmap for both versions

    – No compromises for either version

    #91527
    deadlyhifi
    Participant

    The plugin is Add bbPress Default Role. It’s three lines of code so you may be better just writing it into your functions.php file.

Viewing 25 results - 20,426 through 20,450 (of 32,481 total)
Skip to toolbar