PHPackages                             oveleon/contao-member-notification - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Mail &amp; Notifications](/categories/mail)
4. /
5. oveleon/contao-member-notification

ActiveContao-bundle[Mail &amp; Notifications](/categories/mail)

oveleon/contao-member-notification
==================================

Member notification extension for Contao.

1.0.11(2y ago)2175MITPHPPHP &gt;=7.1

Since Apr 7Pushed 6mo ago2 watchersCompare

[ Source](https://github.com/oveleon/contao-member-notification)[ Packagist](https://packagist.org/packages/oveleon/contao-member-notification)[ Docs](https://oveleon.de/)[ RSS](/packages/oveleon-contao-member-notification/feed)WikiDiscussions main Synced yesterday

READMEChangelog (10)Dependencies (2)Versions (14)Used By (0)

Note

This bundle is no longer maintained and will most likely be merged into [contao-member-extension-bundle](https://github.com/oveleon/contao-member-extension-bundle) for ongoing Contao 5 support.

Contao Member Notification
==========================

[](#contao-member-notification)

This extension allows to add notifications for members to inform them about certain activities.

Add notifications
-----------------

[](#add-notifications)

You can add notifications directly from the backend via a new bell icon (🔔) in the members area.

To be able to react to certain activities, notifications can also be created via PHP:

```
use Oveleon\ContaoMemberNotification\MemberNotificationModel;

MemberNotificationModel::add(int $memberId, string $title, string $teaser, string $jumpTo);
```

List notifications
------------------

[](#list-notifications)

For the output of the notifications a module is provided, which can output the notifications in three different modes:

`read`: Only read notifications are displayed
`unread`: Only notifications that have not yet been read are displayed
`all`: All notifications are displayed

> In the "unread" mode, an additional button is displayed to mark the message "as read".

Styling and customization
-------------------------

[](#styling-and-customization)

**Dynamic list:**
A dynamic list defines a list in which notifications are removed from the list when clicked (mostly mode unread). This case usually occurs when the member can mark notifications as read via a bell or similar.

Within the template `mod_memberNotification.html5` can be influenced whether notification item will be removed after click. To not apply this behavior the HTML attribute `data-mnc-delete-on-mark` must be removed.

By removing this HTML attribute, the item is no longer removed but the class `read` is added after click.

**Display the "No new messages" item:**
The item is always displayed since version `1.0.4`. In conjunction with a dynamic list, the item can be styled as follows to display it only when there are no new messages:

```
.notifications .message{
    display: none;
}

.notifications .message:only-child{
    display: block;
}
```

If the HTML attribute `data-mnc-delete-on-mark` should be removed, the following query in the template can be used to influence the output of the message:

```

```

**Advanced use:**
Further peculiarities can be caught by the event `mnc-count`. This event is always fired as soon as a notification is marked as read.

```
window.addEventListener('mnc-count', function (e) {
  console.log(e.detail);

  // Output:
  // {
  //   element: DOMElement,
  //   counter: DOMElement,
  //   currentCount: Number
  // }

}, false);
```

Hooks
-----

[](#hooks)

```
// Hook: beforeParseMemberNotification (Can be used to manipulate the data query)
public function onBeforeParseMemberNotification(int $read, ModuleMemberNotification $module): ?MemberNotificationModel
{
    // Custom logic
}
```

```
// Hook: parseMemberNotification (Can be used to change the template output)
public function onParseMemberNotification(MemberNotificationModel $objNotifications, ModuleMemberNotification $module): void
{
    // Custom logic
}
```

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance47

Moderate activity, may be stable

Popularity13

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 93.8% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~70 days

Recently: every ~58 days

Total

12

Last Release

1092d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/acb45ab67207e71f4495c84d405e09a9de7ea11f7645c3de802d9abb3691efa0?d=identicon)[oveleon](/maintainers/oveleon)

---

Top Contributors

[![doishub](https://avatars.githubusercontent.com/u/48379929?v=4)](https://github.com/doishub "doishub (15 commits)")[![zoglo](https://avatars.githubusercontent.com/u/55794780?v=4)](https://github.com/zoglo "zoglo (1 commits)")

---

Tags

contaocontao-bundlemembernotificationnotificationcontaomember

### Embed Badge

![Health badge](/badges/oveleon-contao-member-notification/health.svg)

```
[![Health](https://phpackages.com/badges/oveleon-contao-member-notification/health.svg)](https://phpackages.com/packages/oveleon-contao-member-notification)
```

###  Alternatives

[terminal42/notification_center

Notification Center extension for Contao Open Source CMS

68396.6k78](/packages/terminal42-notification-center)[oneup/contao-mailchimp

This extension connects a Contao installation with MailChimp.

1215.3k](/packages/oneup-contao-mailchimp)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
