With AutomatorWP (free) & Code Snippets (free) I can now send custom notifications (besides private messages and email)
After a difficult struggle, I am now able to send custom notifications using AutomatorWP (free) & Code Snippets (free). Too bad I couldn't get the URL Redirect to work after clicking. Shahjahan JewelΒ
With native functions it's also possible to send automated private messages (with BetterMessages plugin) and Email (Native & FluentCRM).
Here is the full integration breakdown https://docs.google.com/document/d/1o9ZnpPZ9z3-gIqE2tzRh1hbU7Hsaktj4cCws7AIViQg/edit?usp=sharing
Let us know here how do you send custom notifications :D
Kevin HeinrichsΒ https://docs.google.com/document/d/1o9ZnpPZ9z3-gIqE2tzRh1hbU7Hsaktj4cCws7AIViQg/edit?usp=sharing
Let me know if you need anything. We can always count on our good friend ChatGPT for some coding.
This was very helpful! After many many conversations with Claude, I finally got the URL redirect to work (kind of). The notification links by default to /community or /community/notifications, but if you inline some JS you can get a working URL within the notification.
This is part of what I used in a custom notification linking to a new comment on a specific WordPress post:
$notification_text = sprintf( '%s commented on your resource \%s\. \View Comment\', $commenter->display_name, $post->post_title, get_permalink($post_id) . '#comment-' . $comment_id );
It's not perfect, as the user can still accidentally click the notification itself, rather than the specific View Comment URL within the notification, but it's something!
Shahjahan JewelΒ would the Ninjas ever consider an easier way to create custom notifications for WordPress events outside of the community? Especially now that you've released Theme Compatibility, I would love to notify users when someone comments on a blog post they've authored, for example. I've created a semi-working custom notification for this purpose at the moment, except I can't seem to figure out the correct route/JS settings to link the notification to the post. The serialized route array in the database doesn't seem to allow for routes outside the community.