Sam Bauers (@sambauers)

Forum Replies Created

Viewing 25 replies - 176 through 200 (of 1,069 total)
  • @sambauers

    Participant

    @frooyo

    Similarly, you could use PHP to store the time the page was cached and then have Javascript adjust the freshness based on the current time.

    Maybe we could put the actual time of the post as an attribute of that freshness node.

    @sambauers

    Participant

    It’s difficult to test email on local setups sometimes. You should probably move your testing to your server as that will have a whole different setup, with it’s own unique requirements.

    @sambauers

    Participant

    One interesting thing that I forgot to mention is the addition of a “voices” count to topics.

    So for example in this thread there are 13 posts, but only 5 voices. That figure is possible to inject into your templates now, including as a column in topic lists.

    @sambauers

    Participant

    Turns out that it’s been like that for some time now… weird.

    @sambauers

    Participant

    @rdourado

    Nice find, just trying to work out how that got in there, or if it was always like that.

    @sambauers

    Participant

    It’s your browser.

    @sambauers

    Participant

    Those last few tickets will be dealt with too.

    @sambauers

    Participant

    Yes, read the blog post.

    @sambauers

    Participant

    @sambauers

    Participant

    The Codex is coming…

    Will be after 1.0 release though. Probably sometime next wek.

    @sambauers

    Participant

    @junsuijin

    Sounds like you just have some trouble syncing up the cookie paths. Try playing with those settings in each config file.

    @sambauers

    Participant

    did you set the WP_AUTH_COOKIE_VERSION ?

    For WP 2.7 it needs to be…

    define('WP_AUTH_COOKIE_VERSION', 1);

    @sambauers

    Participant

    No changes are coming that would affect the guide and walkthrough you mention.

    @sambauers

    Participant

    Totally possible, we do it on WordPress.com

    Easiest approach is to setup a new virtual host for that subdomain before your WPMU virtualhost in Apache. You can then catch it before it goes to the WPMU install which usually catches all subdomains.

    You can also do it from the same virtualhost for a thrill. That does require some .htaccess hackery. This is how WordPress.com is done.

    NB: these rules are for bbPress 0.9 and are supposed to catch all our localised forum domains – it also may not work for everyone. The important part of the rules to note is the skip (S=30) rule at the start.

    # Skip forum rules if not in *.forums.wordpress.com
    RewriteCond %{HTTP_HOST} !^(.+.)*forums.wordpress.com
    RewriteRule .* -

    # Forum rules
    # If you change the total number of rules, the skip rule above must be updated too
    RewriteRule ^/?$ /bbpress/ [L]
    RewriteRule ^bb-admin$ /bb-admin/ [R,L]
    RewriteRule ^bb-admin/(.*)$ /bbpress/bb-admin/$1 [L,QSA]
    RewriteRule ^bb-images/(.*)$ /bbpress/bb-images/$1 [L,QSA]
    RewriteRule ^bb-includes/js/(.*)$ /bbpress/bb-includes/js/$1 [L,QSA]
    RewriteRule ^([^/]+).php(.*)$ /bbpress/$1.php$2 [L,QSA]
    RewriteRule ^forum/([^/]+)/page/([0-9]+)/?$ /bbpress/forum.php?id=$1&page=$2 [L,QSA]
    RewriteRule ^forum/([^/]+)/?$ /bbpress/forum.php?id=$1 [L,QSA]
    RewriteRule ^forum/?$ /bbpress/ [R,L]
    RewriteRule ^topic/([^/]+)/page/([0-9]+)/?$ /bbpress/topic.php?id=$1&page=$2 [L,QSA]
    RewriteRule ^topic/([^/]+)/?$ /bbpress/topic.php?id=$1 [L,QSA]
    RewriteRule ^topic/?$ /bbpress/ [R,L]
    RewriteRule ^tags/([^/]+)/page/([0-9]+)/?$ /bbpress/tags.php?tag=$1&page=$2 [L,QSA]
    RewriteRule ^tags/([^/]+)/?$ /bbpress/tags.php?tag=$1 [L,QSA]
    RewriteRule ^tags/?$ /bbpress/tags.php [L,QSA]
    RewriteRule ^profile/([^/]+)/page/([0-9]+)/?$ /bbpress/profile.php?id=$1&page=$2 [L,QSA]
    RewriteRule ^profile/([^/]+)/([^/]+)/?$ /bbpress/profile.php?id=$1&tab=$2 [L,QSA]
    RewriteRule ^profile/([^/]+)/([^/]+)/page/([0-9]+)/?$ /bbpress/profile.php?id=$1&tab=$2&page=$3 [L,QSA]
    RewriteRule ^profile/([^/]+)/?$ /bbpress/profile.php?id=$1 [L,QSA]
    RewriteRule ^profile/?$ /bbpress/profile.php [L,QSA]
    RewriteRule ^view/([^/]+)/page/([0-9]+)/?$ /bbpress/view.php?view=$1&page=$2 [L,QSA]
    RewriteRule ^view/([^/]+)/?$ /bbpress/view.php?view=$1 [L,QSA]
    RewriteRule ^rss/?$ /bbpress/rss.php [L,QSA]
    RewriteRule ^rss/topics/?$ /bbpress/rss.php?topics=1 [L,QSA]
    RewriteRule ^rss/forum/([^/]+)/?$ /bbpress/rss.php?forum=$1 [L,QSA]
    RewriteRule ^rss/forum/([^/]+)/topics/?$ /bbpress/rss.php?forum=$1&topics=1 [L,QSA]
    RewriteRule ^rss/topic/([^/]+)/?$ /bbpress/rss.php?topic=$1 [L,QSA]
    RewriteRule ^rss/tags/([^/]+)/?$ /bbpress/rss.php?tag=$1 [L,QSA]
    RewriteRule ^rss/profile/([^/]+)/?$ /bbpress/rss.php?profile=$1 [L,QSA]
    RewriteRule ^rss/view/([^/]+)/?$ /bbpress/rss.php?view=$1 [L,QSA]
    # If you add more forum rules then you must update the skip rule above them as well

    @sambauers

    Participant

    WordPress is planning on implementing a labeling system to identify “canonical” plugins. I believe the rating of these will be community driven. It’s early days on that one, but I think a user driven approach would be the only legitimate way to go.

    Thanks for the MySQL query testing above. I’ll look into what’s possible without bloating the cache objects.

    People might be interested to know that in Automattic’s mix of bbPress usage we use no external object cacheing (like memcached) or page caching. This is with both 0.9 and 1.0 versions.

    @sambauers

    Participant

    Try the new 0.9.0.5 release, this problem should be fixed there.

    In reply to: Alphabetize Forums

    @sambauers

    Participant

    See [2133]

    Running the latest trunk you need this to start your forum loops…

    <?php if ( bb_forums( array( 'order_by' => 'forum_name' ) ) ) : ?>
    ...
    <?php endif; ?>

    @sambauers

    Participant

    Display names won’t be added to the 0.9 branch.

    @sambauers

    Participant

    The additional queries are probably due to the new taxonomy structure we are using for tags.

    On the upside, you can now use memcached to cache bbPress objects which should give you better performance than 0.9

    I’d be interested to know if the query count was also higher on other pages.

    There is a small amount of code “bloat” because of BackPress abstraction layers, but it’s here to stay. It’s already being utilised in a couple of other projects including GlotPress and there are a few people interested in merging it into WordPress as well. The benefits of using it to the ongoing development of bbPress is becoming clearer all the time.

    As for feature creep, it’s going to be really limited. bbPress is just supposed to do a few things simply and provide enough hooks for plugin and theme devs to add the bells and whistles. That won’t be changing any time soon. Most development over the next few iterations will be concentrating heavily on easing integration with WordPress and making the lives of plugin and theme devs easier.

    @sambauers

    Participant

    The deletion from Wikipedia was pretty random and I think a better structured and written page would probably survive. Interestingly the BuddyPress page has only one self-published reference.

    I appreciate people’s desire to evangelize bbPress (thanks johnhiler) but I at least agree with kevinjohngallagher’s sentiments about putting the cart before the horse. If there is willingness to write something to promote bbPress, then how about we put some effort into our own site?

    If anyone wants to have a go at comprehensive editing and/or rewriting any of the information on bbPress.org I’m happy to help with that process. I think this would be far more valuable to us.

    So I guess I’d like to hijack the enthusiasm that some people are showing and direct it closer to home. I can easily create a sandboxed WordPress install that volunteer editors can use to re-work the existing content. Then once we are happy with it, we can migrate it over to the main site.

    I also think that a “codex” wiki site for bbPress would be beneficial at this stage but I need some reassurance that it won’t just sit there empty either. So take this poll and we can see if there is traction for that to be created…

    http://www.polldaddy.com/p/1650020/

    In reply to: Alphabetize Forums

    @sambauers

    Participant

    Drag them into order in the admin area. :)

    @sambauers

    Participant

    Just a little Easter Egg for Release Candidate testers ;)

    @sambauers

    Participant

    bbPress de-registers all API hooks at initialisation. That means that WP plugin code is available, but none of it’s API calls are set to go off anymore.

    The best solution is to port the original plugin to bbPress and deliberately hook into it’s distinct API hooks. Very few WP plugins will “just work” with bbPress.

    @sambauers

    Participant

    I think this is fixed by turning off magic_quotes_gpc in PHP

    This is fixed in trunk BTW

    @sambauers

    Participant

    All solutions using dropdown for navigation require javascript.

    So use that function then add a script to your page to watch for events on that select box.

Viewing 25 replies - 176 through 200 (of 1,069 total)