_ck_ (@_ck_)

Forum Replies Created

Viewing 25 replies - 1,376 through 1,400 (of 2,186 total)
  • In reply to: Language Instalation

    _ck_
    Participant

    @_ck_

    I’ve never done it myself but I believe you first have to put the translation es_ES.mo file into bb-includes/languages directory.

    Then you go into bb-config.php` and change the BBLANG setting:

    define('BBLANG', 'es_ES');

    Here is more info:

    http://www.degabriel.es/2008/04/24/traduccion-de-bbpress-09-al-castellano/

    and the file:

    http://www.degabriel.es/wp-content/uploads/2008/04/es_es.mo


    _ck_
    Participant

    @_ck_

    .htaccess is definitely a suspect

    if you gave it write access, WordPress may have even updated it for you after you made some kind of configuration change

    Turning off pretty permalinks may give you a temporary fix.

    In reply to: Search???

    _ck_
    Participant

    @_ck_

    Unfortunately by some oversight, there is no directly link to the search feature on the default bbPress 0.9 templates (this is fixed in the next version – perhaps too prominently given how weak the built-in search is in bbPress).

    You can make a link to search.php yourself in the header.php or footer.php to have it on all pages.

    <a href="<?php bb_option('uri'); ?>search.php">Search</a>

    Or you can make a mini-form that passes the field “search”

    <form action="<?php bb_option('uri'); ?>search.php" method="get">
    <input name="search" id="search"></form>

    In reply to: Change Username Name?

    _ck_
    Participant

    @_ck_

    Version 1.0 of bbPress will have built in support for display names like WordPress. By some weird design bbPress has no mechanism to delete users so you just set it inactive and make a new user for now.


    _ck_
    Participant

    @_ck_

    Okay I will investigate and get an admin to delete.


    _ck_
    Participant

    @_ck_

    That’s what I call reverse integration and it definitely can be done but you are going to have to decide which user table you want to use – you cannot merge them. You’ll either have to use WordPress’s or bbPress. Then you can either rename the usertable or make very specific settings inside bb-config.php and wp-config.php to point to the new table.


    _ck_
    Participant

    @_ck_

    Unfortunately that software is so new I don’t think anyone has done a conversion yet.

    If you can get it into phpBB format it might be possible to convert from there.

    If you are comfortable with phpmyadmin and some php code you can always attempt to do it yourself too.


    _ck_
    Participant

    @_ck_

    Unless someone deleted the messages before me I don’t see any spam from them.

    If you ever find a topic with spam or other problem that a mod needs to see, tag it with “modlook”


    _ck_
    Participant

    @_ck_

    You’re seeing it wrong.

    The core files of bbPress should never be touched so they can be easily upgraded whenever a new version or security fix comes around.

    my-plugins and my-templates keeps all your stuff seperate from bbPress’s stuff on purpose for very good reason.

    Don’t get crazy about one extra folder.


    _ck_
    Participant

    @_ck_

    If you look at the instructions, you can get a list of names by using <?php mini_track(2); ?> instead of (1)

    I’ve updated the code to link to profiles.

    That’s all I’m doing on that plugin, if you want more, you need to learn PHP.

    In reply to: Pilates Digest Forums

    _ck_
    Participant

    @_ck_

    There is a plugin to email favorites.

    I suppose I will have to make a plugin to do the track topics via email since so many people ask and no one has done it.


    _ck_
    Participant

    @_ck_

    That wpmu tag is going to be your best friend:

    https://bbpress.org/forums/tags/wpmu

    Not many people with wpmu experience here.

    I know Trent Adams uses it though (he’s also on IRC)

    Also, wpmu 2.6 is a no-go with bbPress 0.9 because of cookies.

    In reply to: Pilates Digest Forums

    _ck_
    Participant

    @_ck_

    Very nice! For a moment I was almost going to accuse you of advertising a non-bbpress forum here, LOL. It fooled me :-)


    _ck_
    Participant

    @_ck_

    bb-plugins is for plugins that come with bbpress

    It was created starting with 0.9 at my request to make akismet and bozo into plugins instead of automatically loaded with bbPress.

    my-plugins is for your own plugins

    Same concept with themes.


    _ck_
    Participant

    @_ck_

    Save it again and re-upload, I just radically improved it.

    Now will give a list of names with mini_track(2) and has a status page with the complete list for admin site-url.com/?mini_track_display

    The status page will auto-refresh every 30 seconds.

    This plugin uses a very bad approach for busy websites but should be okay for sites that have no more than a couple dozen people online at once.


    _ck_
    Participant

    @_ck_

    Okay it was too easy so I gave in and did it for you.

    https://bbpress.org/plugins/topic/mini-track/


    _ck_
    Participant

    @_ck_

    Well I started to write some code but I then remembered why I did it completely on my own. There are many problems you encounter with trying to do this efficiently with as few DB queries as possible. Using the built in bbpress functions when there’s only a couple people online are fine, but when it gets to many times that, it’s too inefficient.

    There’s also the issue of tracking NON members. Much more tricky than authenticated users.

    I recommend you modify simple online list to track position. Much easier.

    If you know PHP, here’s the process:

    1. take the IP of the current user, change it into ip2long and make that the index of an array or object

    2. store the request_url for that index

    3. store the time() for that index

    4. if they have a user id# (a member) store that

    5. save the array via bb_update_option (not usermeta)

    6. on every bbpress load, do a bb_get_option for the usertracking, which is the array of all the above

    7. comb through the time() for timestamps older than 30 minutes and discard them

    8. count the remaining items to see how many online in past 30 minutes

    9. comb the request_url to see if it == your bbpress front page and count


    _ck_
    Participant

    @_ck_

    If you know some basic PHP this is a very easy thing to store/track but you’ll need some more extensive code to print it out.

    Essentially what you’d want to do is store in the usermeta the bb_location and timestamp on every load of bbpress via a simple plugin.

    Then to count the number of users in the front page you’d do a mysql query to limit by time and count the number of “front-page” that appear.

    I’ll give you some rough code in a minute, it’s fairly straightforward.

    In reply to: Private Forums Plugin

    _ck_
    Participant

    @_ck_

    Plugin section isn’t dead, it’s just that some authors don’t monitor it or abandoned their work.

    Try the Hidden Forums plugin instead of Private Forums.

    Uses newer techniques available in bbPress 0.9 so it’s faster and more complete/reliable.


    _ck_
    Participant

    @_ck_

    bb_location is not called by default but still is typically used on every page. It’s easier to track the request_uri and store it with the title (formal name) of the page since bb_location does not track all pages (ie. edit and topic pages are the same, all views are the same, etc). My User Track plugin does this but it’s not available to the public yet.

    bbPress does not use sessions by default (because they slow the system). But there is no need to use them, you can assume after 30 minutes since the last page load the user has left the site. Most tracking plugins work like that.

    update: here you go:

    https://bbpress.org/plugins/topic/mini-track/


    _ck_
    Participant

    @_ck_

    It may have been a one-time PHP internal error dealing with uploads – in the newest 0.1.9 rebuild I put in some more advanced PHP error reporting to list the eight possible errors reported by the OS.

    In reply to: Install error

    _ck_
    Participant

    @_ck_

    There is a slight second possibility.

    Their PHP may actually have that function, but it’s disabled.

    Since the bbPress fallback function only checks if it exists (and it does) it never gets defined. But it’s disabled.

    However your questions need answering too, what version, properly uploaded, etc.


    _ck_
    Participant

    @_ck_

    Oh shoot, you are correct, I allowed them in the end by default. I might remove that.

    update: oh wait, BMP is only allowed for admin, no one else has that allowance – so it’s not an issue, I forgot I did that. The reason you got “denied mime” is because it’s a bug where I didn’t add “image/bmp” to the allowed mime types for admin. I’ve reposted 0.1.9 with that fixed.

    But that’s a strange error I need to explore on the png. Apparently “Error Occurred While Processing Request” is a mysql error? Interesting.

    Did the filename have any strange characters? Quotes? Apostrophies? Unicode?

    In reply to: Code backtick bug

    _ck_
    Participant

    @_ck_

    It’s archived here:

    http://code.google.com/p/llbbsc/wiki/HTMLTagAttributesValidatorPlugin

    http://web.archive.org/web/20071227175025/http://www.livibetter.com/it/topic/plugin-html-tag-attributes-validator

    http://llbbsc.googlecode.com/svn/trunk/bbPress/HTMLTagAttributesValidator/HTMLTagAttributesValidator.php

    That’s actually a fairly decent plugin, too bad it’s not in the extend section.


    _ck_
    Participant

    @_ck_

    BMP is not an allowed mime by default because they tend to be huge and uncompressed. You can force it to be allowed though by adding it to the mime (and extension types).

    This bug bothers me though, if you can give me steps to reproduce it that would be very helpful:

    [png] Error_Occurred_While_Processing_Request.png (17.7 KB, 0 downloads) [x]

    Did it happen when you uploaded a PNG and a BMP at the same time?

Viewing 25 replies - 1,376 through 1,400 (of 2,186 total)