Forum Replies Created
-
In reply to: Friend request
This could be theme related. Which theme are you using?
In reply to: how to deactivate accountThis isn’t possible by default. You’ll need to find a plugin (I’m not aware that one exists) or you could write some custom code (will require quite a lot of effort).
There is a hook you can use called
template_redirect. And you can check if a member is logged in usingis_user_logged_in()In reply to: A text editor for messages !Hi @espellcaste
Try adding this to compose.php right under the private message
<textarea></textarea>wp_editor( '', 'content' );I do believe that should be enough to get the basic editor working for private messages on the compose screen.
Note 1: Untested
Note 2: You can also pass an array of arguments in the form of
$settings. This is optional. It will let you do slightly more advanced stuff like load TinyMCE or quicktags. See the Codex link above for more info.In reply to: [Resolved] Very slow queriesActually that particular query will most probably be querying more than 60k records. You have 60k users, but the query in bp-activity-classes.php on line 387 is querying activity items. Considering an activity item gets added each time a user registers, changes their avatar, writes an update, a comment, a reply etc, then I’d guess there will be far more than just 60k rows.
In reply to: [Resolved] Very slow queriesYou could also check
max_execution_timeisn’t set too low.Is there anything else in the error logs?
In reply to: [Resolved] Very slow queriesWhy would BP only query a few lines and then stop or time out?
Could be many things. Most possibly due to a limit of resources available on the server? What is your PHP
memory_limitset to?In reply to: [Resolved] Very slow queriesWhat exactly is happening regarding the queries? Are they just running slowly or are they timing out and failing to complete? If they are timing out then try increasing the value of
max_execution_timein your php.ini file, maybe to something like 180 seconds.In reply to: A text editor for messages !You could probably use the inbuilt WordPress editor
wp_editor()with the message textarea. See here for more info: https://codex.wordpress.org/Function_Reference/wp_editorIn reply to: [Resolved] Very slow queries@j-j 60,000 members is an awful lot compared to most BuddyPress installations! Whilst low-performance is less noticeable on websites that have low-traffic, it explains why your queries are taking the extra time.
Going into 2.0, I think the core team realised more could be done to help sites such as your own, so they earmarked lots of areas of 1.9.2 that could be improved performance-wise. I think it might be more profitable in the long run for you to resolve the 502 error, rather than addressing a handful of queries that are running slowly. It’s likely that these queries have already been addressed in 2.0 – along with so much more.
Actually, 2.0.1 came out yesterday. It includes a number of fixes, some of which are related to the 1.9.x to 2.0.x upgrade routine. See: https://buddypress.org/2014/05/buddypress-2-0-1/
In reply to: signup customizationIn reply to: Text in fields linked – by design?@sooskriszta I’m not a fan of the automatic linking either. You can remove the auto-linking using a plugin like this (by @bphelp):
In reply to: How can one member block another member?@shanebp 1+ to BuddyBlock, looks good!
In reply to: How to message users… help?As an admin you can contact all uses using a sitewide notice. This depends on the messaging component being activated. If you want to contact members individually or if you want to disable private messaging then the only option I can see is to email them directly.
In reply to: signup customizationI’m not aware of a plugin that will do that for you so you may need to change the sign-up form’s code. Caution though, at this point a user isn’t registered or activated so you need to decide if you want to allow anonymous uploading
In reply to: Avatars are Black after CropWithout knowing anything about your set-up or if you’ve made any customisations, my thoughts are:
- jCrop isn’t working properly
- CSS might be causing the problem
- Your theme might be causing the problem
In reply to: [Resolved] Very slow queries@j-j ah man! Before you roll-back, sometimes a 502 error is easy to resolve so maybe give these steps a try:
1. Hit F5 or hard reload
2. Clear your browser’s cache (sometimes outdated files are cached by the browser)
3. Delete cookies (same as 2 but for cookies)In reply to: [Resolved] Very slow queriesNot exactly an answer to your question but related to your site’s performance, take a look at Boone’s blog post. In particular the section on performance enhancements. Consider upgrading to BP 2.0 before you spend too much time investigating why 1.9.2 is slowing down your site.
In reply to: Blank Pages? SEO Ultimate Conflict after Update<!– SEO Ultimate (http://www.seodesignsolutions.com/wordpress-seo/) –>For that to be a comment, a couple of hyphens are missing. Maybe it should be this?
<!–- SEO Ultimate (http://www.seodesignsolutions.com/wordpress-seo/) –->You could feed back to the developers of the plugin and maybe they’ll issue an update: https://wordpress.org/support/plugin/seo-ultimate
admin-ajax.php is known for being a little clunky. Googling to see if anyone else is experiencing problems with it I can across : http://www.markomedia.com.au/admin-ajax-php-high-cpu-problem-solved/
What hardware are you using? Are you on a shared hosting system? A ded? VPS?
In reply to: 404 upon save changes to user profileIt might be worth adding some background info like what platform are you migrating from? Which 3rd party plugins did you use? Etc…
@godavid33 sounds like a good idea. Better to be safe than sorry!
@godavid33 good to see you figured it out. Just a question: Considering members must be logged in to favorite an item, why do you need to use
wp_ajax_nopriv_?In reply to: Make Amen plugin BuddyPress compatibleShould be:
add_action( 'actual_hook_name', 'add_prayer_request_to_stream' );It was late when I wrote that reply! 🙂
In reply to: Make Amen plugin BuddyPress compatibleGood spot! They are backwards. If Amen doesn’t have a hook available you could always ask them to add one.