Questions about notifications

Hello,

as my site progresses, I find new topics to ask questions about. Today, I am wondering about notifications:

In my notifications settings on [domain]/settings/notifications/[username] I have marked all available settings for "Email" and "Site". However, the only notifications I receive (via e-mail and on the site) are for friend requests and accepted friend requests. I wonder why other notifications don't arrive.

Do "house" plugins like pages, blog, discussions etc. come with activated notifications? Or do I need to add them manually (https://learn.elgg.org/en/stable/guides/notifications.html)?

If notifications are activated: What could be the reason for not getting notifications? Do I need to do something else in the admin area? Since I receive notifications for friend requests, I assumed that notifications generally work.

Specific example:

"Default notification settings for new content you created, this can cause notifications when others take action on you content like leaving a comment"

I started a discussion topic in the "discussions" plugin and according to the setting above, I assumed that I would get notifications about replies. A few days later I found 2 likes and 8 comments, but I didn't get notifications for those.

Should I have gotten notifications for that?

If yes, what could be the reason for not getting them? Where would I start investigating?

If no, what do I have to do in order to activate those notifications? Could someone maybe give me a "notifications for dummies" reply like

"Add this code to that page and then make the following over there", so that I get an idea how it works and can apply it for other areas, e.g. when someone likes a photo I posted in "tidypics". I learn best through examples.

Again, my apologies for asking noob-questions. I try my best learning about Elgg without any previous knowledge about this system or experience in programming.

Thank you for your help.

  • In order for most notifications to work you need to have the CRON configured on your website. https://learn.elgg.org/en/stable/admin/cron.html

    Make sure you've set this up correctly. You can see if this is setup correctly by going to /admin/cron there you can see the last time the cron ran (And also the last 5 cron logs).

    In order for notifications to work you need to have the minute cron working. Other plugins can use the cron for scheduled tasks on different intervals so they all need to be setup.

    Every hosting provider has different ways to set this up so look into how this should work for your hoster.

  • Thank you for pointing me in the right direction, Jerome. Much appreciated.

    After some investigation I found out that my webhoster required an additional script in my webspace to activate those cronjobs. Their customer service created that script for me and now all the notifications from day 1 to now keep pouring in by e-mail. :)

    Meanwhile, there are also other cronjobs activated (up to "hourly").

    Is there something else I need to still do regarding cronjobs? Or is that now set up sufficiently?

    Thanks again for the support. This is all new to me, but I'm learning a lot and if you follow my posts, you can see my progression. I hope. ;)

  • @elggnoob

    If you see in the admin panel (/admin/cron) that all cron jobs are running, it means that everything is working as expected.

    FYI: 1, 2, 3

Beginning Developers

Beginning Developers

This space is for newcomers, who wish to build a new plugin or to customize an existing one to their liking