It would be very nice if an extension is made to send notifications to members for advertising or a different purpose from within the site. I don't mean by mail. I'm talking about the notification in the flarum system.
send on-site notifications
I'm actually searching for the same thing. I (as a moderator) want to send short custom notifications to certain members in order to recommend them to engage in certain discussions/threads. I could of course do that within a private discussion (byobu), but I like the idea of giving a short memo-like hint via a notification which won't need a reply or any ongoing communication. It should just be used to draw attention to discussions which I want to recommend to individual members.
Have you found a solution for this, Eren65465024 ?
Is anyone aware of such functionality within an existing extension?
It's great idea. I think it's a better option than using News Widget with Forum Widgets. Notifications must be support internal and external links. If users click the notification, it must be redirects to a discussion, page or external link. Maybe we can create aBounty for this.
- Edited
Eren65465024 flavour1 tolgaaaltas
I'm developing an extension that will solve both issues. Although it's still in the testing phase, here are the features:
- From the admin panel, notifications can be sent to specific members, member groups, or all members.
- Notifications can be sent to an individual member directly from their profile page. These could also serve as warnings.
- A URL can be attached to notifications, so clicking on the notification will redirect the user to the specified URL.
- It will be possible to automatically send forum rules as notifications to new members.
For now, I am focusing solely on web notifications, specifically within the forum interface's notification area. I do not plan to include email notifications. To address performance issues in large forums, I plan to use a queue system, though I haven't tested this yet.
There will be notification types—for instance, ad notifications will be hidden when a new notification of the same type arrives. Different types of notifications can be sent.
These are the ideas I’ve come up with so far. Since the extension is still in the development phase, I’d love to hear your suggestions. The extension will be called "Notification Hub".
I sent notifications to 100 members simultaneously, and it took approximately 1 second. Moreover, the forum I tested it on was running with just 128MB of RAM. It performed better than I expected.
huseyinfiliz You're killing it again.
- Edited
@huseyinfiliz I'm starting to become a fan of your work !
Some questions and suggestions :
huseyinfiliz From the admin panel, notifications can be sent to specific members, member groups, or all members.
Question : Very good idea but.... Moderators will be able to send notifications to all groups/members too ? I ask because they don't have access to the admin panel.
huseyinfiliz Notifications can be sent to an individual member directly from their profile page. These could also serve as warnings.
Question and suggestion : Moderators will be able to do it too ? If notifications can use for warnings then I think it would be nice to be able to differentiate them from news with a different icon, if possible of course
Bravo and thank you again !
Wlork Thank you so much for your kind words and support, it really means a lot!
Regarding your questions:
- Moderators and sending notifications:
At the moment, this feature will only be available to admins in the initial release. Both the ability to send notifications to all groups/members and from individual profile pages will be restricted to admins. This is due to API access being directly limited to admin permissions for now.
However, including moderators in future updates is definitely a possibility. I’ll consider this for upcoming improvements as I continue working on the project.
- Different notification types (warnings, news, etc.):
That’s a great suggestion! I’m planning to introduce notification types such as warnings, advertisements, and more. Each type could be distinguished with different icons or designs to make them more recognizable. I haven’t tested this thoroughly yet, but it’s on my to-do list for the next updates.
Thank you for your feedback and suggestions! If you have more ideas or requests, feel free to share them—I’m always open to hearing them
huseyinfiliz However, including moderators in future updates is definitely a possibility. I’ll consider this for upcoming improvements as I continue working on the project.
That reassures me. I thought it was important for moderators to be able to send warnings, at least.
But when you release the first version, we'll be able to see how it works and refine the suggestion
huseyinfiliz Different notification types (warnings, news, etc.):
huseyinfiliz it’s on my to-do list for the next updates
Good luck with the development, I'll do my best to help you to improve this extension when the first version is released.
Wlork The initial test version of the notification hub extension will be ready for use in a few days.
I need a few testers. Please reach out to me via the email or Telegram (my username is the same) listed on my profile.
This version is for testing purposes only. It should not be tested on live forums, as it could potentially cause irreversible damage to your forum.
Development Status
️ Sending notifications from the settings page
️ Sending notifications to all selected members at once (by ID)
️ Notification types (information, advertisement, warning, or custom)
️ Setting a custom FA icon
️ Setting a custom link address
️ Specifying the member (avatar) sending the notification
️ Member selection modal
️ Sending bulk notifications to member groups
️ Selecting all members with a single button click
️ Sending notifications/warnings to members from their profiles
️ Deleting notifications
️ Managing custom notification types
️ Default settings for notification types
️ Moderators sending notifications
️ Automatic notification setting for new members
️ Queue integration
You can let us know about any additional features you would like to see.
- Edited
huseyinfiliz You’re creating something incredible
Capybara I'm glad you think that way. Feeling the support of the community always feels amazing. Thank you once again for all the support you've given so far.
By the way, here's an image related to notification types:
huseyinfiliz Moderators sending notifications
I've been thinking about this suggestion.
We'll have to see in practice, but It wouldn't be simpler to integrate a permission system like we have in many extensions ? That way, the administrator could choose one or more groups to send notifications....
Thank you again !
Wlork integrate a permission system
Already so, since you said "moderator," I used it that way. I didn't specifically mean the "moderator" user group
What I mean is, of course, you will be able to grant permission to send notifications to the member groups you want
huseyinfiliz this is amazing and more I have ever thought of or hoped for! thank you for working on such a broad extension! really looking forward to it!
- Edited
Eren65465024 tolgaaaltas Wlork Capybara flavour1 First of all, I apologize if the tag bothered you. I'll try not to repeat it. I thought it might catch your interest.
Please keep in mind that this is just a demo and not the final version in terms of design or functionality. I prepared this demo to give you an idea of the development process before releasing the early access version of the extension. Seeing it in this state might make it easier for you to come up with new ideas and suggestions.
Demo
Development Status Update
️ Sending notifications from the settings page
️ Sending notifications to all selected members at once (by ID)
️ Notification types (information, advertisement, warning, or custom)
️ Setting a custom FA icon
️ Setting a custom link address
️ Specifying the member (avatar) sending the notification
️ Member selection modal
️ Sending bulk notifications to member groups
️ Selecting all members with a single button click
️ Sending notifications/warnings to members from their profiles
️ Deleting notifications
️ Managing custom notification types
️ Default settings for notification types
️ Moderators sending notifications
️ Automatic notification setting for new members
️ Queue integration
You can let us know about any additional features you would like to see.
huseyinfiliz First of all, I apologize if the tag bothered you. I'll try not to repeat it. I thought it might catch your interest.
No problem for me I really appreciate following your progress and that you're taking your time to release a complete version.
So, I saw the video.
It's really very promising ! However, I have two questions :
It wouldn't be easier to put a button in the user card dropdown menu and/or in the session dropdown menu under the link to the admin panel ? And this button would open a window with the settings you show in the video ? I'm asking because I wonder how the other groups will be able to send notifications when they don't have access to the admin panel ?
About notification types... I don't know if you plan to do this, but it's not better to select the type rather than manually setting the icon reference?
In the meantime, thanks again for what you do !
Wlork No problem for me
I really appreciate following your progress and that you're taking your time to release a complete version.
this!
this extension looks so promising, I'm really exited about this!
I have one question though… I guess there won't be any new options for forum users in their profile > settings > Notifications preferences? Since the notifications are by design kind of obligatory, it won't make any sense to let the user decide, if they want to be notified or not. the only case I could imagine, where such options would make sense, is to let the users decide whether they want to also recieve push notifications or not for such admin/moderator notifications. I use the PWA extension, which adds the "Push" option to the notifications beside web and email (notifications).
Wlork Thank you so much for your support and your thoughtful questions!
Regarding the first question, it's an interesting idea to add a button in the user card dropdown menu or the session dropdown menu under the admin panel link. It would open a window with the settings from the video. The main issue here is that for this feature to work, user data from all groups needs to be pulled in the background, which would require quite a lot of code. The page you saw in the video is quite complex and involves 750+ lines of code, so I'm concerned about how this would affect the front-end performance.
For now, I’m not planning to add this functionality to the front-end, especially with so many features. However, I will definitely conduct some tests on this idea.
As for providing other members (moderators) with a more restricted interface, I’m thinking about offering a simplified version, such as the ability to send notifications to individual users.
Thank you again for your input!
- Edited
flavour1 I truly appreciate your support, and I’m really glad you like the extension!
Regarding the profile settings and notifications preferences, I haven’t thought about restricting users from disabling certain notifications. I will need to explore whether we can prevent users from turning off these specific notifications in their profile settings. I’ll definitely test this and get back to you as soon as possible. Thank you so much for this fantastic suggestion!
This extension is currently focused only on web notifications, and I don't plan to include email or push notifications at this stage. I haven’t done enough testing yet to fully implement those features. I’ll provide more detailed information on this in the near future.
Thank you for your suggestions, and please feel free to share any other ideas you might have! I truly appreciate the support from everyone!
Addition: Thanks for this great suggestion! I have disabled the ability to turn off special notifications from the profile settings. Now, special notifications no longer appear in the profile settings! I’m not sure how it works with the PWA extension. Maybe you’d like to test it when the preview version is released?