naomir
Forum Replies Created
-
Thank you. That seems specific to Pantheon though. This site isn’t hosted on Pantheon
Packagist is a PHP package repository, which works fine. My issue was with this package https://packagist.org/packages/woocommerce/woocommerce which I assumed was an official one published by Automattic
But it seems not – I guess someone else must uploaded it. Sorry for the misunderstanding.
Workaround to get Woocommerce working with Composer:
1. Download the zip of woocommerce
2. Extract it
3. Add a composer.json (in the root of the woocommerce directory you just created) with these contents:{ "name": "<your_company>/woocommerce", "type": "wordpress-plugin" }
4. Put it all in a git repo
5. Add the repo to the composer.json for your project (see https://getcomposer.org/doc/05-repositories.md#vcs)
6. Also add requires to your project for the child plugins (will fetch the latest versions)"woocommerce/woocommerce-admin": "*", "woocommerce/action-scheduler": "*", "woocommerce/woocommerce-blocks": "*",
Having done this I now have a working install, haven’t tested extensively but have been able to import some products and all looks well.
Hi Mirko,
My issue is not with Composer, and I am very familiar with using Composer and do not require help with that.
My issue is with the woocommerce/woocommerce package on Packagist. Which I think was created by the woocommerce team? The package does not appear to install a working copy of woocommerce, and also it contains other plugins which are out of date and in one case untested with the current WP version.
The package is locked to an old version of action-scheduler, for example. preventing me from upgrading action-scheduler when presumably woocommerce does support the latest version.
However I understand from your reply that you do not wish to support this package and are not interested in how it could be improved; fair enough, I will not bother you further about it.
Naomi
Forum: Plugins
In reply to: [EventCalendar] Multisite, registration & other queriesI have done so now. Thanks
Forum: Plugins
In reply to: [BuddyPress Group Email Subscription] Deleted posts are included in digestsHello, sorry it took me a while to get round to this, I missed the post about the revisions setting but I tested on a fresh install and it does work, i.e.trashed posts are removed from digest as desired, so I agree my changes are not needed. Thanks for your help
Forum: Plugins
In reply to: [BuddyPress Group Email Subscription] Deleted posts are included in digestsHi @r-a-y
I have the latest versions. I wonder if we are at cross purposes about “trash” vs “delete”.
That would be my fault, as my original question said “delete” whereas what I actually meant, I realise now, was “trash”. Sorry for the lack of clarity.
When I trash the topic it remains in the activity stream, but then when I delete it permanently it is removed (I didn’t try that before, but have confirmed it now). This is borne out by the code in bbpress, in
includes/extend/buddypress/activity.php
. It hasadd_action( 'bbp_delete_topic', array( $this, 'topic_delete'), 10, 1 );
but no corresponding action for
bbp_trash_topic
.The code I have added to your plugin removes *trashed* posts from the digest, which presumably is desirable?
Naomi
- This reply was modified 4 years, 9 months ago by naomir.
Forum: Plugins
In reply to: [BuddyPress Group Email Subscription] Deleted posts are included in digestsForum: Plugins
In reply to: [BuddyPress Group Email Subscription] Deleted posts are included in digests@boonebgorges Thanks & yes I’ve just confirmed your suspicion. When you delete a topic via the GUI, it gets removed from
wp_bp_posts
but the corresponding activity still remains inwp_bp_activity
. That may be a bug in BP or it may be intentional, and some users might rely on it. So I don’t think I will do option (a) and delete the activity. I will go with option (b) and just delete the BPGES queued items. I’ll let you know how I get on.Sorry, mine says “No Email” because that’s the default setting for my group. Yours will say “Site Admin Only: update email subscription settings for ALL members to the default: Daily Digest. Warning: this is not reversible so use with caution. Make it so!”
Yes there is @welshlamb10. Well, 2 bulk actions ?? First you need to set the default email setting of the group to “daily digest” (Manage->Settings). Then go to Manage->Members and at the bottom of the list you will find a useful link hiding there, saying “Site Admin Only: update email subscription settings for ALL members to the default: No Email. Warning: this is not reversible so use with caution. Make it so!”
I also tried the shortcode
[event layout_type="calendar"]
and I got a different view but it was something in between box and list, not at all resembling calendar.Sorry, typo – when I edited the shortcode I used
layout_type="calendar-layout"
with a hyphen not an underscore. I just typed it incorrectly above.Sorry for the delay.
I think your suggest of a separate
ass_digest_footer_contents
filter is a very good one.I don’t understand why a separate variable would be needed for $message rather than just using $body everywhere, though. But I’m sure you know the plugin far better than me!
Naomi
Hi @sterndata I’m afraid I spoke to soon, it was not fixed. I didn’t do any work on the website for a few months but now I have, the same thing has started happening again
Forum: Plugins
In reply to: [BuddyPress Group Email Subscription] Customising content of emailsThank you, that’s really helpful.