_ck_ (@_ck_)

Forum Replies Created

Viewing 25 replies - 426 through 450 (of 2,186 total)

  • _ck_
    Participant

    @_ck_

    It’s less common but it’s not invalid at all. There are many installs that do it.

    To just move forward so you can work on other things I would simply try putting the copy of kakumei under bb-templates and see if even that works. Name it maybe mykakumei for example.


    _ck_
    Participant

    @_ck_

    You can rename the sub-folder anything you want and yes you can even put it into bb-templates though that’s not how it’s supposed to be done.

    It’s just a bad sign that my-templates doesn’t work and very mysterious.

    There might be something else going on like multiviews interfering.


    _ck_
    Participant

    @_ck_

    I’m sorry to keep asking but are you 1000% sure you don’t have a typo in the directory name?

    Because this one works:

    http://roadtoanimation.com/forums/bb-templates/kakumei/style.css

    and I don’t see why this wouldn’t, unless it’s a typo on your ftp:

    http://roadtoanimation.com/forums/my-templates/kakumei/style.css

    Is style.css spelled correctly in the filename in the ftp?

    Then again the embedded url is generated from the directory it’s in, so in theory, even with a typo it would still work. So we are back to looking at htaccess since I am out of other ideas.


    _ck_
    Participant

    @_ck_

    I believe wordpress is trying to process the request because you have bbPress nested underneath WordPress which is a less common method of integration.

    Try changing that .htaccess to this

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !^forums/
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    Not quite sure I have that right but give it a go and let’s see.

    If it doesn’t work try replacing the forums/ line with this one:

    RewriteCond %{REQUEST_URI} !^forums/


    _ck_
    Participant

    @_ck_

    That file is not there like you think it is:

    http://roadtoanimation.com/forums/my-templates/kakumei/style.css

    It’s a 404.

    But it might be wordpress interfering with the forums directory since WP is in your webroot.

    Strange that it would happen with a static file though.

    Triple check that you have

    /forums/my-templates/kakumei/style.css

    via FTP, make absolutely sure it’s there.

    If it is indeed there, download your .htaccess file in your top directory (where WP is) and post it here.


    _ck_
    Participant

    @_ck_

    Trying switching to the built in kakumei and then back to your theme.

    Make sure each of your themes is in it’s own directory under my-templates

    ie. my-templates/kakumei/

    Make sure ALL the files are in that kakumei directory.

    If all that fails, do a “view source” on your page and look for the line like:

    <link rel="stylesheet" href=" blah

    and see where it is trying to load the stylesheet from.


    _ck_
    Participant

    @_ck_

    Now that’s something to be proud of and look forward to – fantastic!

    Great work Sam!

    ps. avatars look a tad huge?

    In reply to: Topic paging issue

    _ck_
    Participant

    @_ck_

    24mb is fine. Remember that’s per PHP instance, it’s not shared.

    My method does it all inside mysql anyway so the problem will be eliminated. If mysql has to, it will make a temporary table on disk to solve the query and it all happens in high speed compiled C which will always be faster than PHP (even with an opcode cache).

    In reply to: Custom user password

    _ck_
    Participant

    @_ck_

    Wait, I take that back, it’s in the theme, so you can definitely edit it.

    It’s in register.php and assuming you are using the default theme, it’s under bb-templateskakumei

    What you should first do is copy that directory to a new directory and make a directory called my-templates at the same level as bb-templates, so it would be my-templateskakumei

    Then edit the new copy of the files instead of the original and have bbpress switch to your new theme. That way when you upgrade you won’t lose your changes.

    In reply to: Custom user password

    _ck_
    Participant

    @_ck_

    It’s a good warning to the user to remind them to use a real email address.

    Things like password resets are still done to their email.


    _ck_
    Participant

    @_ck_

    In reply to: Custom user password

    _ck_
    Participant

    @_ck_

    Hopefully the search will be improved in the extend section sometime in the near future.

    In reply to: Topic Templates

    _ck_
    Participant

    @_ck_

    It’s easy to control what template loads, just override it at the end of your header.php and include any other template with any other name from there – then just make sure to load the footer manually and exit before bbPress does the rest of it’s own routine.

    In reply to: Topic paging issue

    _ck_
    Participant

    @_ck_

    Technically you can just NOT check the “count deleted posts” and still use part of the recount functions on 1.0, which has a different meta table and I haven’t written it’s query yet.

    In reply to: Issue with tags

    _ck_
    Participant

    @_ck_

    There isn’t a line long enough to support the extra long tags. What you can do, is UNDO the &nbsp; that bbPress replaces the spaces with, which will force everything to wrap. I don’t think it will look too good but it’s your call.

    Add this to a file called functions.php in your theme folder.

    (make a new file if it doesn’t exist)

    <?php
    add_filter('bb_get_tag_heat_map','wrap_tags');
    function wrap_tags($heatmap) {return str_replace("&nbsp;"," ",$heatmap);}
    ?>


    _ck_
    Participant

    @_ck_

    In reply to: Topic paging issue

    _ck_
    Participant

    @_ck_

    I’ve now made a plugin to do a few kinds of fast recounting much faster than bbPress does it and with only a few queries vs the hundreds or thousands bbPress can do.

    I highly recommend you backup your database first since I’ve only barely tested it (in theory if it went wrong you could do the recount the long way via the regular functions)

    http://bbshowcase.org/plugins/fast-recount.zip

    The new recount selections will appear under the regular recount menu.

    DO NOT use this plugin under bbPress 1.0, it’s assumes bbPress 0.9 table structures.

    In reply to: Topic paging issue

    _ck_
    Participant

    @_ck_

    If you are using my “topics per page” plugin there may be a bug as far as which page you are sent to. Are you using that plugin?

    I guess it could also calculate the page incorrectly if there are deleted posts and the post count is wrong.

    You definitely need to accomplish a recount somehow. Let me study the mysql.

    In reply to: Topic paging issue

    _ck_
    Participant

    @_ck_

    The way bbPress does recounts is horribly bad to this very day, even in 1.0

    https://trac.bbpress.org/ticket/1146

    It does a separate query for every topic instead of doing it all internally via mysql.

    Be sure to only do one kind of recount per attempt, don’t check them all on an active forum or you’ll make your mysql cry and your php timeout.

    I might have to try to write the special mysql query for you.


    _ck_
    Participant

    @_ck_

    John pointed out something interesting.

    even though bbPress 0.9 doesn’t use bb_meta, there still could be corrupt bb_options, which would be topic 0 in the bb_topic_meta table in your database.

    You are getting the poll error from your template because the plugin doesn’t exist anymore and the function is missing.

    If you have phpmyadmin you can inspect under bb_topic_meta, meta_key active_plugins

    In theory you could delete that and then you’d have to reactivate all your plugins.

    (I would backup the db first)


    _ck_
    Participant

    @_ck_

    Rohan I am concerned you have posted several answers today with incorrect information.

    Compatible up to 0.9 means it works with the 0.9 branch, which includes 0.9.0.4

    (however they should take a moment to upgrade to 0.9.0.5 as there were some bug fixes)

    Forum Last Poster should work on their configuration, there must be an incompatibility or bug.

    I’d like to know what other plugins are running if any.


    _ck_
    Participant

    @_ck_

    bbPress doesn’t run without any forums.

    You have to have at least one configured or it thinks you aren’t properly installed.


    _ck_
    Participant

    @_ck_

    There isn’t a single bbPress plugin I am aware of that deactivates itself.

    Any particular reason you didn’t mention which plugins were behaving like that?

    There is an undocumented safe-mode option which deactivates all plugins but I can’t imagine why you’d have that activated in bb-config.php


    _ck_
    Participant

    @_ck_

    Note that cross-cookie does not work (yet) with bbPress 1.0

    It will also not work with any other plugin that modifies cookies (ie. year long cookies)

    In reply to: Member Only

    _ck_
    Participant

    @_ck_

Viewing 25 replies - 426 through 450 (of 2,186 total)