enderandrew (@enderandrew)

Forum Replies Created

Viewing 25 replies - 1 through 25 (of 74 total)
  • @enderandrew

    Participant

    I wonder if that is just a 2.1 feature. bbPress is doing that out of the box for me.

    @enderandrew

    Participant

    I do think bbPress was setting the posts to Pending before putting them through moderation, but this may not be a bbPress bug.

    I’ve been trying most any troubleshooting step I can find.

    I turned off EnableSendfile in Apache, and every forum post has come through successful since then. But since the issue was intermittent and only a few people are testing the forums right now, it’s hard to tell.

    http://httpd.apache.org/docs/2.0/mod/core.html#enablesendfile

    My memory utilization is still pretty high, but I cranked down my Apache settings considerably (using recommended settings for a 256MB VPS on my 2GB VPS) and I turned off eaccellerator in PHP as well.

    If I get a few more successful test posts from users, then I’ll close the ticket in Trac.

    Memory utilization could really be any bad piece of PHP code on my site, and I’m not sure where that is coming from yet. But if no one else reports it, then my case is anecdotal.

    @enderandrew

    Participant

    Even though it isn’t fully integrated, bbPress 2.1 and BuddyPress 1.6 play fairly well together for me so far. I haven’t turned on the BuddyPress forum component, and I use bbPress 2.1 providing sitewide forums and group forums. bbPress 2.1 is feeding into BuddyPress activity feeds as well.

    @enderandrew

    Participant

    If I’m reading this correctly, it does like bbPress can put the posts in pending status.

    Here is an Apache error log cranked up to debug level when it happened.

    http://pastebin.com/gF23AQXy

    /** Topic Moderation ******************************************************/

    $post_status = bbp_get_public_status_id();
    if ( !bbp_check_for_moderation( $anonymous_data, $topic_author, $topic_title, $topic_content ) )
    $post_status = bbp_get_pending_status_id();

    @enderandrew

    Participant

    Not sure if you saw my last post, but Akismet says it marked 17 comments as spam, but there are no pending comments. There were however pending forum posts. So it looks like Akismet was flagging them.

    I’m Googling up right now and people have run into issues in the past when using Cloudflare where Akismet marks everything as spam because multiple accounts appear to be coming from one IP address.

    This was supposedly fixed in the beginning of June with the latest Akismet plugin which I’m running.

    I could disable Akismet and see if that resolves it.

    @enderandrew

    Participant

    It looks like Akismet is flagging 90% of the forum topics/replies as spam. So they remain in “Pending” status.

    @enderandrew

    Participant

    I’m looking in the DB and the posts that disappeared did in fact get written to the DB and they’re pending.

    @enderandrew

    Participant

    You can see an example here where the post makes it to the site activity:

    http://blindscribblings.com/forums/activity/

    The first post you see there in the activity did successfully post to the forums, but the second one didn’t.

    http://blindscribblings.com/topic/worst-movie-youve-ever-seen/

    @enderandrew

    Participant

    My error log keeps showing PHP memory errors:

    PHP Fatal error: Out of memory (allocated 63963136) (tried to allocate 49152 bytes) in /var/www/wp-admin/includes/ajax-actions.php on line 1483, referer: http://blindscribblings.com/topic/test-post/

    I’m not seeing anything consistent before those errors to suggest what is happening. If there is a way to trace how much memory is used by each PHP page along the way, or to trace the memory consumption in any way, I’d be happy to try it.

    You can see my phpinfo() here.

    http://blindscribblings.com/random.php

    @enderandrew

    Participant

    I’ve disabled just about every plugin I can on the site except what I really need. I can load any other page on the site with no problems, but loading forum pages always spikes the server memory. And I’ve discovered that the reason I can’t allocate PHP memory even though I’m under the PHP limit is the server is running out of memory completely.

    Each pageload of a bbPress page on my server is consuming a good 300-400MB by itself. With 2GB of memory, my server crashes when a few people hit it at once.

    At this point I’m not sure I have much choice but to rip out bbPress and replace it with another forum solution.

    @enderandrew

    Participant

    Well, I take it back. I disabled a few plugins that weren’t absolutely necessary and now I’m not getting PHP memory errors. However, I’m still seeing the same issue for some users. Forum posts go into site activity, but the posts aren’t making it into the forums.

    @enderandrew

    Participant

    Isn’t this a Buddypress question, not a bbPress question?

    @enderandrew

    Participant

    From my error log, it looks like PHP is running out of memory when trying to post occasionally.

    I’m on a VPS with 2GB memory on a development box with no one really hitting it. I’ve cranked up the memory limit in php.ini to 256MB. I don’t have memory limitations in my site config or wp-settings.php and I don’t use .htaccess files. But it seems like php won’t allocate more memory even though it isn’t near its limit.

    So this does not appear to be a bbpress bug.

    @enderandrew

    Participant

    This is what I’m seeing in my access.log at the time a post disappears. I’ve grepped out all the successful 200 messages.

    [28/Jun/2012:10:15:32 +0400] “POST /topic/mass-effect-3-ending/ HTTP/1.1” 302 701 “http://blindscribblings.com/topic/mass-effect-3-ending/” “Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0.1”

    [28/Jun/2012:10:15:33 +0400] “POST /wp-admin/admin-ajax.php HTTP/1.1” 500 509 “http://blindscribblings.com/topic/mass-effect-3-ending/” “Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0.1”

    @enderandrew

    Participant

    I found it wasn’t a matter of which CSS tag to use. WordPress uses the CSS file from inside wp-includes/js/tinymce and it overrides your style. I assume that’s because tinymce should ignore your theme in the backend and just look the same regardless of theme in the backend.

    But this poses an issue with bbpress using tinymce on the front end.

    Personally, I around this by following this tutorial:

    http://matty.co.za/2010/05/editor-style-in-wordpress/

    @enderandrew

    Participant

    The CK Editor for WordPress won’t allow captions on images, and will break posts that have captions. So, I can’t use it on my site.

    I’m back to square one with my initial issue. I can’t theme the TinyMCE editor used by bbPress now. Can someone point me to what CSS tags I should use?

    @enderandrew

    Participant

    Personally, I don’t turn on the Forums component in BuddyPress. I just use bbPress, which is a site-wide forum, but also allows for the group forums.

    Technically the integration was pushed back a release, but it is working well for me.

    @enderandrew

    Participant

    I ended up installing the CK Editor for WordPress plugin. It can be configured for comments as well, and it worked for bbPress out of the box. I can also theme it with CSS.

    However, I’m sure someone else may need to theme the tinymce as well.

    @enderandrew

    Participant

    Which template files did you add that to?

    @enderandrew

    Participant

    WordPress handles this natively. Configure WP to allow registration and then use the Meta widget.

    There are other WP plugins to enhance registration, such as Buddypress, Theme My Logic, WP reCaptcha, Facebook integration, etc.

    @enderandrew

    Participant

    WordPress itself can handle load fairly well, and is fairly optimized. The question is how well does bbPress handle millions of posts.

    Any DB can struggle with a table with millions of rows, depending on the hardware you throw at it. My main concern with bbPress in such an environment is that all WordPress posts themselves share the same table as bbPress 2.x, since it uses custom posts types.

    You might be better off using a separate forum on a separate DB from a performance impact, but you lose the integration of WordPress user accounts that you get with bbPress.

    The other point to consider is that since bbPress is relatively simplistic forum software (that’s not meant as a slam, it just isn’t as feature rich as IPB, phpbb, etc), there may be fewer SQL queries per page load with bbPress.

    @enderandrew

    Participant

    I’ve had similar issues trying to add pages or post with WP 3.4 and I’m not sure what is going on.

    In reply to: 2.1 release date

    @enderandrew

    Participant
    In reply to: 2.1 release date

    @enderandrew

    Participant

    bbpress 2.1-beta1 was also tagged today.

    @enderandrew

    Participant

    Putting wp-poll shortcodes into posts works well enough. But most users on the forums don’t have access to the Dashboard to make polls that way. This almost would be an entirely new plugin to expose poll creation in the forums.

Viewing 25 replies - 1 through 25 (of 74 total)