_ck_ (@_ck_)

Forum Replies Created

Viewing 25 replies - 176 through 200 (of 2,186 total)

  • _ck_
    Participant

    @_ck_

    Marius your previous bad experience with mass delete may have been caused by failing to do a full recount in admin after deleting many posts.


    _ck_
    Participant

    @_ck_

    There are two ways to do this.

    One is to use bbPress itself and make a plugin that hooks new post, and then just quickly writes the info you want into plain html file somewhere that you just use file_get_contents to insert elsewhere.

    The other way is to use my bbdb tool which allows you to query any of the bbpress/wordpress databases outside of bbpress by just including one file.

    I think the first way is probably much easier.

    In reply to: Kakumei Black

    _ck_
    Participant

    @_ck_

    Very nice work! Thanks for sharing it.

    I love how you used the ability to only change certain files and let it fall back to the originals as the default. I don’t think many people realize you can do that.


    _ck_
    Participant

    @_ck_

    I wouldn’t be in a rush for the 1.1 final release because it really will likely be quite final unless there is a security issue.

    Since the trunk isn’t polluted yet with commits from the plugin version, you can just download the trunk instead:

    https://trac.bbpress.org/changeset/2518/trunk?old_path=%2F&format=zip

    actually I don’t think that will include backpress updates, so it’s all unnecessarily overly complicated unfortunately

    best way to do it is to install SVN as a client on the server which I have instructions somewhere around here…

    In reply to: zaerl brigata.it forum

    _ck_
    Participant

    @_ck_

    Yeah I’ve seen other sites auto-embed videos.

    I hope to offer something like free hosting someday for plugin authors.


    _ck_
    Participant

    @_ck_

    Unfortunately mods can’t modify user accounts at all, only admin and we are “admin-less” as far as I know. Akismet simply isn’t learning when users are marked for spam, so on it goes.

    In reply to: zaerl brigata.it forum

    _ck_
    Participant

    @_ck_

    Very nice!

    Could use some topic-icons but that’s just me ;-)

    There is some kind of weird delay (I don’t mean just the overseas hop) from the USA to that server though, adds over a second. Probably not a problem if it’s just for locals. I think it has to do with the cogentco.com ISP.

    Also there is no compression on the pages.

    Maybe try my bb-gzip plugin, might make it faster.


    _ck_
    Participant

    @_ck_

    I think part of the problem here is the spoken language barrier.

    But beyond that is the problem of understanding what a huge security risk it is to run PHP dynamically inside posts.

    It requires the use of EVAL which can be VERY dangerous and should be avoided when possible.


    _ck_
    Participant

    @_ck_


    _ck_
    Participant

    @_ck_

    User-Name-less systems like facebook need to be designed from scratch like that. The WordPress/bbPress system unfortunately is user_login/user_id based.

    You could force user_id for the profile stub if that makes you like it better, bbPress will accept either.

    BTW in a forum based system, how would you deal with two dozen users that insisted on using “Greg” as their display name and similar avatars?


    _ck_
    Participant

    @_ck_

    That is guatam’s creation, you might ask on the plugin page or maybe here:

    http://gaut.am/2009/12/bb-cumulus-beta-for-bbpress-released/

    Or maybe he’ll see this topic and can help.


    _ck_
    Participant

    @_ck_

    Don’t completely follow the question but the admin structure as far as actions and filters is very similar for 1.0 compared to 0.9 but the CSS is a little different.


    _ck_
    Participant

    @_ck_

    lol Ben, that works for 1.x but not 0.9

    in 0.9 you need this https://bbpress.org/plugins/topic/email-login/

    @Greg part of the workaround is to only perform the display name change on functions that do direct output themselves (the functions with echo) the internal functions that return strings should not be changed.

    In reality the best way to approach it might be to only apply it on the portions of the topic page and profile page that show the names.

    It’s not super simple but it can be done.


    _ck_
    Participant

    @_ck_

    I just noticed that the wiki page was deleted for a SECOND time in February 2010 (originally deleted in July 2008)

    This time I can’t even find an archive of the 2009 version.

    As Nightgunner pointed out, Blanket Fort? No problem. bbPress? problem.

    February 8, 2010

    Removed

    * BbPress (talk) removed. Quality rating was Stub-Class (rev · t). Importance rating was Low-Class (rev · t).


    _ck_
    Participant

    @_ck_

    By the way, I don’t think I released it yet but should by the end of the month, just have to write a “readme.txt” – I have a “rename user” plugin for bbPress to change user_login across the system.

    It even supports multiple bbpress and wordpress systems attached to the same user db table and will fix all topics and wp comments.

    So, not meant for constant username changes, but good for occasional fixes. Also detects existing username collisions.


    _ck_
    Participant

    @_ck_

    @Dennis, good idea – though note bbPress 0.9 requires a plugin for login-by-email-address support (I think I wrote one, can’t remember).


    _ck_
    Participant

    @_ck_

    Even 0.9 caches all user data, it’s not an issue.

    0.9 is far more efficient than 1.x

    If you don’t see 0.9 doing that, I must be using a mini-plugin to do it.

    The Display Name will be “sucked in” along with all the userdata.

    You can write a little plugin that when the user name is requested, it first checks to see if the display name is set and return that.

    In fact I think there was an early plugin that did this for admin with 0.9, it had some issues but I remember I figured out some workaround. Vague memory now, it would have to be searched for.

    https://bbpress.org/plugins/topic/display-name/

    Be sure to read all the comments to find the last working version.

    There are a lot of new tricks I’ve figured out over the years which would make such a plugin much better now, like not activating the filter until you are already inside the bbPress templates (ie. ‘bb_head’) so that the plugin does not step on internals like replacing user_login with the display name for urls, etc.


    _ck_
    Participant

    @_ck_

    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.


    _ck_
    Participant

    @_ck_

    While the WP backend is “pretty”, in WP it has to be because users are exposed to it for some crazy reason, and of course it breaks with the entire default theme of the site.

    How much time do you spend in the admin section, does pretty really matter?

    bbPress (standalone) solved the admin menu problem with users by making advanced profiles. Unfortunately bbPress (plugin) will revert right back to the WP problem.

    That said, the admin section could be much more disconnected from the main program anyway, so it can be developed by different people at a different rate with different theme possibilities.

    It might even be possible to “theme” the admin section like the regular site theme.


    _ck_
    Participant

    @_ck_

    So do 1.x/WP users allow members to change their display name to “administrator” ?

    Or to mimic the names of moderators?

    But seriously – do people want display names because of lack of UTF8 support in user_login?

    Because that’s easily fixable.

    I’ve never liked display names, they are a really bad idea on an active forum where you cannot control the mental age or lack of social skills of some of the members.

    In reply to: Delete own posts

    _ck_
    Participant

    @_ck_

    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.

    In reply to: Registration Email

    _ck_
    Participant

    @_ck_

    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


    _ck_
    Participant

    @_ck_

    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.


    _ck_
    Participant

    @_ck_

    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/


    _ck_
    Participant

    @_ck_

    Someone fixed the tags! Thank you, that was a biggie!

    Another little bug is when you search for something in the plugin section, the links that come up are invalid and not fully formed.

    Newbies might find that really confusing.

    (but we won’t mention how bad the search is in the first place)

Viewing 25 replies - 176 through 200 (of 2,186 total)