-
Steve Taylor replied to the topic Urgent: roll back to pre-12 in the forum Installing BuddyPress 1 year ago
OK I discovered BP Classic.
-
Steve Taylor started the topic Urgent: roll back to pre-12 in the forum Installing BuddyPress 1 year ago
I’ve just woken up to find an auto-update to BP 12 has completely broken groups functionality on a client site. E.g. the main groups page is now post type ‘buddypress’ instead of ‘page’, so it’s no longer in the main nav. Lots of others breakages.
I need to roll back to the previous version. Presumably this involves doing more than rolling the…[Read more]
-
Steve Taylor replied to the topic BuddyPress 12.0.0 in the forum Miscellaneous 1 year ago
Hi, I just woke up to find that one of our major client sites has auto-updated to BuddyPress 12 and this has completely broken groups functionality, which is a major part of the site. How can I quickly roll back to the previous version? It looks like more than just rolling back the plugin itself, it seems to have done loads of things to the data…[Read more]
-
Steve Taylor started the topic No last_activity even though activities have been logged for members in the forum How-to & Troubleshooting 1 year, 8 months ago
Out of about 6000 members, we have around 1000 who have no entry with the type
last_activity' in the
wp_bp_activity` table.I think some will be simply members who have yet to log in, but it doesn’t seem to be all of them.
For instance, if I search the data for members who have no
last_activity
but do have an entry with typeupdated_profile
, I…[Read more] -
Steve Taylor replied to the topic bp_core_catch_no_access no-caching member pages in the forum How-to & Troubleshooting 1 year, 9 months ago
I’ve had no luck debugging this. It seems the no-cache response header is being set in two places:
/wp-includes/class-wp.php:760 > nocache_headers()
(this seems to be WP core not recognising the member profile URL path (e.g. /community/directory/john-smith/)/wp-content/plugins/buddypress/bp-core/bp-core-catchuri.php:613 > bp_do_404() >…
-
Steve Taylor started the topic bp_core_catch_no_access no-caching member pages in the forum How-to & Troubleshooting 1 year, 9 months ago
Our hosts have reported that all BP pages in the member directory are being set to no-cache, and are taking up a lot of processing power.
There might be more than one issue here, but to focus on the caching… It seems that if I visit a member profile page, it’s got this response header:
Cache-Control: no-cache, must-revalidate, max-age=0
As…[Read more]
-
Steve Taylor replied to the topic 'Declined' email wrongly sent to registrant in the forum How-to & Troubleshooting 2 years, 6 months ago
Thanks I’ve worked out how to disable that email. I don’t think this solves my initial problem – in theory this email should be active so it’s sent when an admin turns the request down. However, I kind of agree with the view in https://buddypress.org/support/topic/membership-requests-email/ – that usually when an admin turns a request down, it…[Read more]
-
Steve Taylor started the topic 'Declined' email wrongly sent to registrant in the forum How-to & Troubleshooting 2 years, 6 months ago
We’re experimenting with manually approving signups for the first time after starting to get too many spam signups.
Under Settings > General I’ve unchecked ‘Anyone can register’. Then, under Settings > BuddyPress > Options > Members Settings, I’ve checked ‘Allow visitors to request site membership’.
Now, when I fill in the registration form, an…[Read more]
-
Steve Taylor replied to the topic Table 'wp_bp_optouts' doesn't exist in the forum How-to & Troubleshooting 3 years, 4 months ago
Actually there’s an issue running the SQL on our live server, which I didn’t get locally. With the first
ALTER TABLE
statement I get:‘Index column size too large. The maximum column size is 767 bytes.’
If I then run the next statement I get:
‘Incorrect table definition; there can be only one auto column and it must be defined as a key.’
Not…[Read more]
-
Steve Taylor replied to the topic Table 'wp_bp_optouts' doesn't exist in the forum How-to & Troubleshooting 3 years, 4 months ago
Thanks, that does the trick. I’ll let you know if we hit any problems down the line with this, but the table is there now at least.
-
Steve Taylor replied to the topic Table 'wp_bp_optouts' doesn't exist in the forum How-to & Troubleshooting 3 years, 4 months ago
Yes, all tables have the prefix
wp_
, as set in the config file.On the production site our hosts run a caching system, but I’m working locally on this, no caching. All minification etc. is done using Grunt build scripts – so nothing in plugins or otherwise as the site runs on the server.
The theme is quite a beefy custom theme, but I switched to…[Read more]
-
Steve Taylor replied to the topic Table 'wp_bp_optouts' doesn't exist in the forum How-to & Troubleshooting 3 years, 4 months ago
Sorry, no joy. I deactivated BP, updated from 9.0.0 to 9.1.1, re-activated, and still couldn’t see wp_bp_optouts in the DB. I tried re-running the tool mentioned, still no opt-outs table.
-
Steve Taylor replied to the topic Table 'wp_bp_optouts' doesn't exist in the forum How-to & Troubleshooting 3 years, 4 months ago
Thanks, I hadn’t seen this tools page. However, even though running the last repair item reported as successful, I still don’t see the wp_bp_optouts table. And when I go to the ‘Manage Opt-Outs’ tab on the tools page, I get the same ‘table doesn’t exist’ error.
-
Steve Taylor started the topic Table 'wp_bp_optouts' doesn't exist in the forum How-to & Troubleshooting 3 years, 4 months ago
I’m trying to solve an issue with replies to activity comments that aren’t appearing on the site (even though they’re in the database and not marked as spam). I tried posting a new reply to an activity comment as a test, and when the reply was posted, it came with 2 errors, SQL queries which failed because the table ‘wp_bp_optouts’ doesn’t…[Read more]
-
Steve Taylor replied to the topic updating from BP 2.9.4 in the forum Installing BuddyPress 4 years, 2 months ago
A note for anyone doing this. Sequential updating is probably best, at the very least if going through version 5.
I updated from 2.9.4 to 6.3.0 and got an error regarding a missing DB table (bp_invitations). This is new in BP 5.
Check bp-core-update.php, which contains functions for special actions updating to major versions. The one for…[Read more]
-
Steve Taylor replied to the topic updating from BP 2.9.4 in the forum Installing BuddyPress 4 years, 3 months ago
@shanebp Sure, we’ll be going through the process locally then on a staging space before applying to production.
If there’s no well-known red flags for updating through so many major versions at once, I’ll have a go with the all-at-once update and backtrack if we get stuck.
Thanks for the advice!
-
Steve Taylor started the topic updating from BP 2.9.4 in the forum Installing BuddyPress 4 years, 3 months ago
We have a site with quite a complex custom theme, a bunch of template- and hook-based BP modifications, and for various reasons we’ve not updated BP for a while – it’s on 2.9.4.
This is no longer viable, so we’re assessing updating to the latest version.
Are there any general tips for managing such a big update jump? Of course I’ll be reading…[Read more]
-
Steve Taylor replied to the topic how is the autocomplete list for mentions compiled? in the forum Creating & Extending 6 years, 3 months ago
Thanks. It turns out
bp_before_get_suggestions_parse_args
was the filter I was looking for, applied to thebp_core_get_suggestions()
function’s args. Since it’s called from AJAX, you need to parse$_SERVER[ 'HTTP_REFERER' ]
to find out where it’s being called from, but then you can pass args through toBP_Members_Suggestions
orBP_Groups_Member_Sug…
[Read more] -
Steve Taylor replied to the topic how is the autocomplete list for mentions compiled? in the forum Creating & Extending 6 years, 3 months ago
I was thinking of developer docs rather than guides to the user interface – but thanks anyway.
-
Steve Taylor replied to the topic how is the autocomplete list for mentions compiled? in the forum Creating & Extending 6 years, 3 months ago
As I said, it’s too erratic to replicate easily. At the moment I can’t get it to do anything other than suggest group members, which is what I expected. But before I posted this it was sometimes the list missed group members, sometimes it included all site members. Sometimes it was different in updates compared to comments, sometimes not.
I’m…[Read more]
- Load More
@gyrus
Active 5 months, 3 weeks ago