Andy Macaulay-Brook
Forum Replies Created
-
Forum: Plugins
In reply to: [WP LinkedIn Auto Publish] How to give Editors access to the settings?Brilliant, thanks! Will that allow them to connect the LinkedIn account too? We only give clients editor access, but we want them to be able to reconnect when OAuth times out.
- This reply was modified 3 months, 3 weeks ago by Andy Macaulay-Brook.
Forum: Plugins
In reply to: [WebP Express] UpdateIt’s a thankless task.
What level of donation would help?
Are you able to update the compatibility information so that we can see things are well?
Do you need additional help at all? I’ve been coding plugins and themes (all private unfortunately) for 18 years.
Great! That seems to work fine. Thanks. Is all that code going to be OK when the plugin has updates?
Sorry, this is the support answer I used https://ww.wp.xz.cn/support/topic/how-to-flush-object-cache-programmatically/
Forum: Plugins
In reply to: [CMB2] Minimum and maximum numbers of repeatable fields and groupsThanks. Before I close the ticket, if I make time to code a custom field or something like that, do you know of any existing issues or blockers that would stop me either making existing fields sort or making repeated fields and groups limitable?
Forum: Plugins
In reply to: [CMB2] Minimum and maximum numbers of repeatable fields and groupsThanks. While I’ve a general requirement, what I actually want, this time, is precisely three sets of fields that are sortable. So making three separate fields doesn’t get me far.
I can’t find anything that would do the trick though.
It’s purely the htaccess file rewrite rule. I set up an empty directory with a couple of test files, accessed one using https and the redirect generated was http and not https.
My fix on the site concerned is rather blunt. After a day without access to their documents, I was getting a bit frazzled. So my substitute rewrite rule uses https hardcoded and also the hostname. Something like:
RewriteEngine On RewriteRule (.+) https://example.com/docs/my-doc-slug/?bp-attachment=$1 [R=302,NC]It would have been harder if you hadn’t put in the filter hook for the rewrite rules and passed the whole doc object!
If the default htaccess rewrite rule is falling back to http then I can only think it’s something in my ISP’s configuration, but it seems to me that with more thought than I had left a rewrite rule that copies the schema and host from the request would do the trick?
- This reply was modified 3 years, 11 months ago by Andy Macaulay-Brook.
I’ve found the filter hook bp_docs_attachments_generate_rewrite_rules and have adjusted the rewrite rules.
However, there doesn’t seem to be an easy way to bulk regenerate the htaccess files. How would I get a document loop in my small fix plugin using your public function calls?
Thanks.
Forum: Plugins
In reply to: [BuddyPress Docs] Htaccess producing malformed URLsResolved conflict with security of hosting by moving WP uploads directory.
Forum: Plugins
In reply to: [BuddyPress Docs] Htaccess producing malformed URLsHi, I believe it’s my host’s web app firewall.
Do you provide an option or filter that would let me relocate the document directory?
Thanks.
Forum: Plugins
In reply to: [Complianz - GDPR/CCPA Cookie Consent] Can’t customise banner: CSS not savingThanks, I’ve done that and no change. I tried 755 too. I deactivated an reactivated the plugin, just to check. And I also ran through the wizard again to make sure.
Forum: Plugins
In reply to: [Complianz - GDPR/CCPA Cookie Consent] Can’t customise banner: CSS not savingHi, no, sorry if that wasn’t clear, but there is no uploads/complianz folder.
Yes, those pages are set up correctly.
I’ve just tested on a clean WordPress 5.9.2, no plugins except this Stripe one and Twenty Twenty Two theme and the problem still occurs.
I should have been clearer, I started on the latest version and had this problem with that. Then I tried downgrading to narrow down which version seemed to introduce the issue.