Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 20 replies - 1 through 20 (of 20 total)
  • Avatar of joesell89
    joesell89
    Participant

    @joesell89

    @pro120 as @r-a-y says this has been partially resolved in BuddyPress 2.0 which was a performance focused upgrade.

    I ended up working on a few other things to make the site a little faster but BuddyPress still represents a significant part of the load time on my site. However, it is nothing like as much as it was in 1.9.x.

    The best, quickest and cheapest overhaul of your BuddyPress site that I know of is to upgrade to 2.0 as @r-a-y says.

    Avatar of joesell89
    joesell89
    Participant

    @joesell89

    Hi @tsabar,

    It depends, if you are creating a new site then you may as well get stuck straight in with BuddyPress 2.0 but if your site is being used by lots of users already you should probably stick with 1.9.2 which has been very thoroughly tested, not only by the development team but by thousands of other users, myself included, on their own sites. That way if their are any bugs in 2.0 your users won’t have to suffer.

    I hope that helps you decide.

    Best,

    Joseph

    Avatar of joesell89
    joesell89
    Participant

    @joesell89

    @boonebgorges I am not sure if I am having the same problem as @valuser but I did manage to get hold of the error log on my test site and there is only one error. This one:

    [Tue Apr 01 15:20:22 2014] [error] [client 89.168.15.67] LONG QUERY: SELECT COUNT(NULLIF(meta_valueLIKE '%"administrator"%', false)), COUNT(NULLIF(meta_valueLIKE '%"editor"%', false)), COUNT(NULLIF(meta_valueLIKE '%"author"%', false)), COUNT(NULLIF(meta_valueLIKE '%"contributor"%', false)), COUNT(NULLIF(meta_valueLIKE '%"subscriber"%', false)), COUNT(NULLIF(meta_valueLIKE '%"bbp\\_keymaster"%', false)), COUNT(NULLIF(meta_valueLIKE '%"bbp\\_spectator"%', false)), COUNT(NULLIF(meta_valueLIKE '%"bbp\\_visitor"%', false)), COUNT(NULLIF(meta_valueLIKE '%"bbp\\_blocked"%', false)), COUNT(NULLIF(meta_valueLIKE '%"bbp\\_moderator"%', false)), COUNT(NULLIF(meta_valueLIKE '%"bbp\\_participant"%', false)), COUNT(NULLIF(meta_valueLIKE '%"free\\_paying\\_member"%', false)), COUNT(NULLIF(meta_valueLIKE '%"s2member\\_level1"%', false)), COUNT(NULLIF(meta_valueLIKE '%"s2member\\_level2"%', false)), COUNT(NULLIF(meta_valueLIKE '%"s2member\\_level3"%', false)), COUNT(NULLIF(meta_valueLIKE '%"s2member\\_level4"%', false)), COUNT(*) FROM wp_usermeta WHERE meta_key = 'wp_capabilities'

    I cannot see how it relates to the problem but the timing does coincide with posting a new blog post which did not appear in the activity stream.

    Avatar of joesell89
    joesell89
    Participant

    @joesell89

    @boonebgorges I am not sure if I have the same problem as @valuser but I have managed to get a look at the error log for my site and this is the entry that coincides with publishing a post.

    LONG QUERY: SELECT COUNT(NULLIF(meta_valueLIKE '%"administrator"%', false)), COUNT(NULLIF(meta_valueLIKE '%"editor"%', false)), COUNT(NULLIF(meta_valueLIKE '%"author"%', false)), COUNT(NULLIF(meta_valueLIKE '%"contributor"%', false)), COUNT(NULLIF(meta_valueLIKE '%"subscriber"%', false)), COUNT(NULLIF(meta_valueLIKE '%"bbp\\_keymaster"%', false)), COUNT(NULLIF(meta_valueLIKE '%"bbp\\_spectator"%', false)), COUNT(NULLIF(meta_valueLIKE '%"bbp\\_visitor"%', false)), COUNT(NULLIF(meta_valueLIKE '%"bbp\\_blocked"%', false)), COUNT(NULLIF(meta_valueLIKE '%"bbp\\_moderator"%', false)), COUNT(NULLIF(meta_valueLIKE '%"bbp\\_participant"%', false)), COUNT(NULLIF(meta_valueLIKE '%"free\\_paying\\_member"%', false)), COUNT(NULLIF(meta_valueLIKE '%"s2member\\_level1"%', false)), COUNT(NULLIF(meta_valueLIKE '%"s2member\\_level2"%', false)), COUNT(NULLIF(meta_valueLIKE '%"s2member\\_level3"%', false)), COUNT(NULLIF(meta_valueLIKE '%"s2member\\_level4"%', false)), COUNT(*) FROM wp_usermeta WHERE meta_key = 'wp_capabilities'

    I am really not sure how it has anything to do with the problem of not publishing properly but it is the only error in the log on the test site I set up.

    Avatar of joesell89
    joesell89
    Participant

    @joesell89

    Hi @boonebgorges,

    Thanks for the reply. I went ahead and set up a clean install of WordPress with BuddyPress and bbPress and all is working as it should. So, this means that it isn’t anything actually wrong with BuddyPress but a conflict somewhere with something I have customised along the way.

    When I work out what it is I will post back here.

    In the meantime, thank you for your hard work and good luck with the release!

    Best,

    Joseph

    Avatar of joesell89
    joesell89
    Participant

    @joesell89

    Hi @boonebgorges,

    Thanks for taking an interest. I went ahead and disabled all plugins and enabled Twenty Fourteen to test this out. My sites are hosted by WP Engine and they force some custom code via MU plugins (so, I couldn’t disable that). I also have some redirects set up to force registration on a custom form (via Gravity Forms). I would rather not change this in case I forget how it was set up.

    So, I wasn’t able to work out if new registrations were appearing. However I did test all of these:

      New Friendships (although an email was sent to the user whose friendship was requested)

      Blog Posts

      Blog Comments

      Replies to bbpress topics

      New bbpress topics

      New groups

    None of them showed up in the activity except the new group (which did). Which is weird.

    Avatar of joesell89
    joesell89
    Participant

    @joesell89

    Thanks so much for the reply @modemlooper. I really appreciate it. The notifications display perfectly in the sent notifications section but they have all the html stripped when they display in the notifications area or the new widget.

    See here:

    https://cloudup.com/cD4Csvj03R6

    If you have any other suggestions I would really appreciate it.

    Avatar of joesell89
    joesell89
    Participant

    @joesell89

    I tried for months to get this worked out with no luck.

    I still have no idea what caused it but I just upgraded to Buddypress 1.9 beta 2 and it fixed it. I have no idea why.

    Thanks to those who did try to help.

    Avatar of joesell89
    joesell89
    Participant

    @joesell89

    If someone could help me with this I would really appreciate it. The problem is persistent (it still says ‘All Members 2′ on the activity page even though I have 2700+ members).

    Could it be a bug?

    Avatar of joesell89
    joesell89
    Participant

    @joesell89

    1. Which version of WordPress are you running? – 3.6 (but the problem was there before upgrading from 3.5.2)

    2. Did you install WordPress as a directory or subdomain install? – N/A

    3. If a directory install, is it in root or in a subdirectory? – N/A

    4. Did you upgrade from a previous version of WordPress? If so, from which version? – 3.5.2

    5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting. – N/A

    6. Which version of BP are you running? – 1.8.1

    7. Did you upgraded from a previous version of BP? If so, from which version? – 1.8

    8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones? – Many but I have tried disabling them all except Buddypress and the problem is still there.

    9. Are you using the standard BuddyPress themes or customized themes? – Customised theme but problem is persistent even with Twenty Twelve theme.

    10. Have you modified the core files in any way? – No

    11. Do you have any custom functions in bp-custom.php?

    <?php
    // hacks and mods will go here
    
    function activity_publish_custom_post_types($cpts) {
       $cpts[] = 'page';
       $cpts[] = 'attachment';
       return $cpts;
    }
    
    add_filter ( 'bp_blogs_record_post_post_types', 'activity_publish_custom_post_types' );
    add_filter ( 'bp_blogs_record_comment_post_types', 'activity_publish_custom_post_types' );
    
    add_filter( ‘bp_get_total_member_count’, ‘bp_core_get_total_member_count’ );
    
    ?>

    12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in? – 2.3.2

    13. Please provide a list of any errors in your server’s log files.

    
    
    text/x-generic error_log 
    ASCII English text, with very long lines
    [31-Jul-2013 23:00:48 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE meta_key = 'entry_id' AND meta_value = '211'' at line 1 for query SELECT site_id FROM  WHERE meta_key = 'entry_id' AND meta_value = '211' made by require('wp-blog-header.php'), wp, WP->main, WP->parse_request, do_action_ref_array, call_user_func_array, GFPMoreStripe::parse_request, GFPMoreStripe::cancel_subscription, do_action('gform_subscription_canceled'), call_user_func_array, GFPMoreStripe::downgrade_stripe_user, GFUserData::get_site_by_entry_id
    [01-Aug-2013 04:22:39 UTC] wpMandrill Error: Error : 
    [01-Aug-2013 04:22:39 UTC] 2013-08-01 04:22:39 wpMandrill::sendEmail: Exception Caught => Invalid API Key
    
    [01-Aug-2013 04:22:39 UTC] blah@blah.com ([blah blah] Password Reset)
    
    [01-Aug-2013 16:08:26 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE meta_key = 'entry_id' AND meta_value = '217'' at line 1 for query SELECT site_id FROM  WHERE meta_key = 'entry_id' AND meta_value = '217' made by require('wp-blog-header.php'), wp, WP->main, WP->parse_request, do_action_ref_array, call_user_func_array, GFPMoreStripe::parse_request, GFPMoreStripe::cancel_subscription, do_action('gform_subscription_canceled'), call_user_func_array, GFPMoreStripe::downgrade_stripe_user, GFUserData::get_site_by_entry_id
    [02-Aug-2013 13:43:45 UTC] wpMandrill Error: Error : 
    [02-Aug-2013 13:43:45 UTC] 2013-08-02 13:43:45 wpMandrill::sendEmail: Exception Caught => Invalid API Key
    
    [02-Aug-2013 13:43:45 UTC] 
    wpMandrill::wp_mail_native: blah@blah.net ([blah blah] First Order)
    
    [02-Aug-2013 17:07:36 UTC] wpMandrill Error: Error : 
    [02-Aug-2013 17:07:36 UTC] 2013-08-02 17:07:36 wpMandrill::sendEmail: Exception Caught => Invalid API Key
    
    [02-Aug-2013 17:07:36 UTC] 
    wpMandrill::wp_mail_native: blah@blah.net ([blah blah] First Order)
    
    [02-Aug-2013 21:57:15 UTC] wpMandrill Error: Error : 
    [02-Aug-2013 21:57:15 UTC] 2013-08-02 21:57:15 wpMandrill::sendEmail: Exception Caught => Invalid API Key
    
    [02-Aug-2013 21:57:15 UTC] 
    wpMandrill::wp_mail_native: blah@blah.com (Welcome to blahblah!)
    
    [06-Aug-2013 03:54:52 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE meta_key = 'entry_id' AND meta_value = '265'' at line 1 for query SELECT site_id FROM  WHERE meta_key = 'entry_id' AND meta_value = '265' made by require('wp-blog-header.php'), wp, WP->main, WP->parse_request, do_action_ref_array, call_user_func_array, GFPMoreStripe::parse_request, GFPMoreStripe::cancel_subscription, do_action('gform_subscription_canceled'), call_user_func_array, GFPMoreStripe::downgrade_stripe_user, GFUserData::get_site_by_entry_id
    [06-Aug-2013 13:23:34 UTC] WordPress database error Unknown column '$autopurge_interval' in 'where clause' for query DELETE ts FROM wp_slim_stats ts WHERE ts.dt < UNIX_TIMESTAMP(DATE_SUB(NOW(), INTERVAL $autopurge_interval DAY)) made by do_action_ref_array, call_user_func_array, wp_slimstat::wp_slimstat_purge
    
    

    14. Which company provides your hosting? – OVH.com

    15. Is your server running Windows, or if Linux; Apache, nginx or something else? – Apache

    Thank you @mercime for your reply. I have disabled all plugins and used a fresh Twenty Twelve them and the problem is still there. Thanks in advance.

    Avatar of joesell89
    joesell89
    Participant

    @joesell89

    @angelgirl94,

    I am glad that what I offered worked as a temporary fix.

    However, you would be much better off learning from the other guys who posted, they are proper Buddypress developers.

    Avatar of joesell89
    joesell89
    Participant

    @joesell89

    Ok this isn’t perfect but it should work.

    Go to ‘Appearance’ > ‘Editor’

    On the right hand side select ‘style.css’

    Scroll down to the bottom and right after the last }

    paste this:

    `
    div#register-page.page {
    height: 600px;
    }
    `

    A better way would be to create a child theme (http://codex.wordpress.org/Child_Themes) and then paste this into the style.css of the child theme. This is because whenever you change your theme you will need to add this again for it to work.

    Avatar of joesell89
    joesell89
    Participant

    @joesell89

    I wouldn’t call that a bug. A lot of the styling has changed in 1.7. That looks like it is just not working quite the same with your custom style.

    It could be fixed quite simply with css.

    Can you post a link to the page?

    Avatar of joesell89
    joesell89
    Participant

    @joesell89

    My point was that as long as you have all the correct files backed up there is really very little risk.

    I don’t see any particular reason that you would have any problems.

    Regarding the update notice. That is strange. Do you get update notices on other plugins and WordPress?

    Btw, is there any reason that you are not just upgrading to WordPress 3.5.1 and Buddypress 1.6.4? These are the versions that are the best tested and that you are most likely to be able to get specific advice for.

    Regarding a manual update. Yes, just deactivate and delete (after backing it up of course!) the Buddypress plugin and then upload the new one and activate it.

    I can’t imagine it will be all that bad :-)

    Avatar of joesell89
    joesell89
    Participant

    @joesell89

    I just had a look at the site and it doesn’t look like it would be massive in size. It also doesn’t look so active that you couldn’t take it down for a short time without too much disruption.

    That said, why don’t you just back up all the files and database? That way the worst case scenario is that you just restore the files and database if something goes wrong.

    I could be wrong but I have never come across documentation which would come even close to giving an upgrade process for something as detailed as the version numbers you give.

    Good luck with it!

    Avatar of joesell89
    joesell89
    Participant

    @joesell89

    You won’t lose your work but always backup before major updates just in case…

    I have seen a couple of the experienced users/developers suggest that if you are making a new site now you should do so with 1.7 beta.

    From what I can tell there have not been any terribly serious bugs found since the beta release.

    I am running it on a test site right now and have not come across a single problem.

    Avatar of joesell89
    joesell89
    Participant

    @joesell89

    I don’t see why you would have any problems.

    The themes are made to work first with WordPress, then with Buddypress.

    If you are worried just set up a test site and check them out on a site with WordPress and no Buddypress installed.

    I hope this helps.

    Avatar of joesell89
    joesell89
    Participant

    @joesell89

    @tehk_maverick,

    As far as I understand it a lot of thought has gone into making 1.7 work just the same with the themes that have been developed specifically for BP.

    Have you tried installing it on a responsive theme that was not made specifically to work with BP? Do it. I was amazed.

    Apparently, there are also quite a few ‘backend’ changes which will allow BP to run a bit more efficiently.

    Avatar of joesell89
    joesell89
    Participant

    @joesell89

    I had the same problem.

    I finally worked it out with help from the ticket you linked to. Thanks!

    Here is how I did it.

    Avatar of joesell89
    joesell89
    Participant

    @joesell89

    Hooray! I worked it out in the end.

    Here is how I did it:

    1, If you don’t already have one create a blank page in ‘/wp-content/plugins’ called bp-custom.php (see this page for more info)

    2, Paste this code into bp-custom.php: http://pastebin.com/Sk56iQQU

    For reference these are the pages that helped me work it out:

    http://buddypress.trac.wordpress.org/ticket/4784

    http://buddypress.trac.wordpress.org/ticket/4106

    http://codex.buddypress.org/developer/customizing/bp-custom-php/

    Edit: I can’t get the ‘code’ tags to work. I have put it in a pastebin. Mods feel free to edit this to work and delete this note and the link to pastebin.

Viewing 20 replies - 1 through 20 (of 20 total)