Adam Harley (Kawauso) (@kawauso)

Forum Replies Created

Viewing 25 replies - 201 through 225 (of 285 total)
  • @kawauso

    Member

    @Olaf: it’s a set of PHP scripts in zip archives, don’t freak. Just badly formatted is all. And yes, I just checked that under Windows with an up-to-date anti-virus running. Haven’t got the time to check the PHP code itself mind you ;)

    @gerikg: it’s a plugin, which I think is intended to be a relatively universal data exporter between forums. How you import is a good question though.

    @kawauso

    Member

    I’m afraid options-wordpress.php is just the bbPress/WordPress options page and a bit of code. bbPress functions are under the includes directories.

    @kawauso

    Member

    Lucky :P I have the same problem across two different installs that I access from two different machines using two different browsers (two of each, seriously), so I don’t think caching is the underlying cause.

    @kawauso

    Member

    That plugin shouldn’t even be necessary. I’m not sure to be honest then, integration isn’t my strong point.

    @kawauso

    Member

    It is to some extent. It’s called “deep integration” and it seems to work for some people, but not for others.

    @kawauso

    Member

    Okay, this is more of a WordPress/BuddyPress issue really, but get a login theming plugin. You could redirect /wp-login.php to /bb-login.php, but that would most likely screw things up.

    @kawauso

    Member

    I’m guessing that’s probably interfering with bbPress creating new roles properly then in the user’s meta data. Try deactivating it and seeing registering works or not.

    @kawauso

    Member

    Are you running any WordPress plugins that affect your registration process?

    @kawauso

    Member

    It’s IE, I’m not suprised. Try setting the width using CSS rather than the size attribute.

    form.login input { width: 100px; } in the stylesheet

    @kawauso

    Member

    Where have you installed WordPress and bbPress relative to each other, and what actually are your .htaccess settings for WordPress?

    Mine is just:

    # BEGIN WordPress
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    # END WordPress

    which seems to hand over nicely to the forums that are under /forums/ with their own .htaccess file

    @kawauso

    Member

    https://trac.bbpress.org/changeset/2349

    That would explain why my trunk build fixed itself :)

    @kawauso

    Member

    I have the same problem with a WP/bbP integration… I just log in at bbPress every time, but yes, it would be nice to know what’s up.

    @kawauso

    Member

    In post.php, change <?php printf( __('Posted %s ago'), bb_get_post_time() ); ?> to <?php printf( __('Posted %s'), bb_get_post_time(array('format'=>'datetime')) ); ?>. You need to change the option datetime_format to change how the date/time is formatted, not sure where that’s set, so the All Options plugin might help.

    In reply to: Installing bbPress

    @kawauso

    Member

    Oh right, that’s fine. The URL will be <your website>/bbpress if it’s uploaded into a directory called bbpress, or you can move all the files into the html directory if you want the URL to be <your website>.

    @kawauso

    Member

    Could you explain in more detail what you’re trying to do?

    @kawauso

    Member

    @kirpi.it Try .post img { max-width: 100%; overflow: hidden; }, probably the missing overflow: hidden bit

    Yay for finding this thread though, so much cleaner than the JS solution I was using :)

    @kawauso

    Member

    The edit equivalent hook is edit_form

    @kawauso

    Member

    All but the top three post links of the Relevant Posts section seem fine for me. That makes absolutely no sense, since they’re all using the same link function though. It implies that somehow, $bb_post = bb_get_post( get_post_id( $post_id ) ); (line 1638, functions.bb-template.php) isn’t being set properly for those… so yes, I’m guessing it’s either a bug or something’s wrong with some posts in your database. Could you confirm whether that’s consistently happening on other posts in searches too?

    @kawauso

    Member

    What are you using to mark posts as spam? I’ve never seen any problems with deleted posts showing in any install of mine either, so is it possible the spam plugin is handling that too?

    In reply to: comments_popup_link

    @kawauso

    Member

    Something like:

    function posts_number( $id = 0, $zero = false, $one = false, $more = false ) { // Port of WP's comments_number
    $topic = get_topic( get_topic_id( $id ) );
    $number = $topic->topic_posts;

    if ( $number > 1 )
    $output = str_replace('%', bb_number_format_i18n($number), ( false === $more ) ? __('% Posts') : $more);
    elseif ( $number == 0 )
    $output = ( false === $zero ) ? __('No Posts') : $zero;
    else // must be one
    $output = ( false === $one ) ? __('1 Post') : $one;

    echo apply_filters('posts_number', $output, $number);
    }

    should work I think. Misread the original question slightly.

    @kawauso

    Member

    There are translation function calls in the installer script, so it should just be a case of just translating the appropriate strings, unless it’s not actually loading those at all?

    @kawauso

    Member

    Ah the white page of death… check the permissions on your files are set correctly?

    @kawauso

    Member

    @Olaf: Some of us aren’t lucky enough to have static IPs ;P

    In reply to: Installing bbPress

    @kawauso

    Member

    You don’t need any integration plugins if you’re using WP 2.8.4 with bbP 1.0.2.

    I’m afraid I don’t quite understand what you mean by it not uploading as a folder though? As long as you keep the basic structure (so you still have bb-admin, bb-includes, bb-plugins and bb-templates folders), you’ll be fine.

    To access bbPress as an admin, you need to log into bbPress using the admin account and then a link will be displayed to the Admin panel.

    In reply to: comments_popup_link

    @kawauso

    Member

    http://phpxref.ftwr.co.uk/wordpress/nav.html?wp-includes/comment-template.php.source.html

    In WordPress, comments_popup_link() takes three arguments that tell it how to format the output based on how many comments are present and runs a sprintf() with the appropriate output after retrieving the comment count.

    The equivalent to get_comments_number in bbPress would be get_topic_posts, the rest of the function is either WordPress-specific or would need slight tweaking (like what the posts page would actually be).

Viewing 25 replies - 201 through 225 (of 285 total)