Datspush – Push notifications ad network [Official Thread]

What's up forum?

Let me introduce ourselves.
Datspush.com – push notifications advertising network. We offer a self-serve platform to buy and sell push traffic.

Want to advertise?

  • fresh subscribers from all over the world
  • wide targeting options to aim your audience
  • desktop and mobile push notifications
  • bids starting at 0.001$
  • minimal deposit is 50$

Want to monetize?

Datspush – Push notifications ad network [Official Thread]

Handling inactive notifications icons

With our app, there’s currently a list of notification icons in the left side of the page. This are to alert you to events or things to do (e.g. you haven’t contacted customer x for 30 days, you have 3 orders to update).

enter image description here

(click on image to view full size)

The app is a pretty complex ERP system, so there’s always a lot happening on the page. Normally I don’t like hiding elements on the page, unless it’s obvious why they’re hidden. However, these empty notifications don’t do anything (i.e. clicking on an inactive icon does nothing). I have two thoughts on how to progress.

Hide the icons

First, just hide the inactive icons. It will help remove some unnecessary elements, hopefully adding clarity / focus to the page.

enter image description here

(click on image to view full size)

Have a blank slate for the icons

If there’s nothing to notify the user, it would be an opportunity to provide a nice blank slate. For example, for the inactive order icons, it use the pop out menu to talk about how orders work and a link to create your first order. Obviously, this is really only useful for new users to the system. It won’t have any benefit for expert users.

Email Notifications for news widget

I’m creating a template that will be used by for multiple sharepoint sites and was wondering if there is any way that site users can receive email notifications for new news updates so that they don’t have to constantly check the site. This has to be turned on out of by default in the “template” so that each site owner who uses the template doesn’t have to set it up manually. If this isn’t possible are there any alternatives? I’ve looked into the announcements list with flow but it doesn’t seem like they support each other either. Thanks 🙂

Notifications Drawer

We are working on a desktop app with lots of events/alerts/notifications. Because of that, we created a ‘notification drawer’, similar to the this one:

enter image description here

My question is: do you expect the snackbars and banners (that generate the notifications inside the drawer) to keep appearing (outside of it) when you have the drawer open? or would you just let them know (somewhere in the drawer) that they have new notifications and they need to update the panel?

Is it ok to assume a user has opted-in to receive emails in an application where the main purpose is sending notifications [on hold]

I’m working on a web application where the main purpose/functionality is notifying users when there have been changes to regulations in a particular industry.

The application is subscription based, i.e. you have to pay for an account and using it is a choice. Any email addresses for accounts we hold are active users and we do not harvest this data from anywhere. So all email addresses we have are for real users who actively use the software.

We are designing a setup wizard which allows users to set preferences on what information they receive.

One of the settings is yes or no as to whether the application should send notifications via email. This raised debate as to what the default setting should be.

The argument for “no” was that users should explicitly give their permission to receive automated emails and therefore this was the correct default.

The argument for “yes” was that the users have implied consent because they are using an application whose sole purpose is to inform them about changes, and email delivery is the primary way of doing this.

The application is still usable if the user doesn’t receive emails because the data which is present in the emails is visible inside a web-based interface. The disadvantage of using the application in this way is that – unless the user logs in – they will not necessarily be aware of any updates. Therefore defaulting email opt-in is preferable.

The pre-sale marketing material for the application makes it clear that email delivery is the main delivery method for the information and getting it directly to your inbox is an advantage of using the system.

What are people’s thoughts on this? We are based in the UK but deal with customers worldwide. Is this covered or referred to by GDPR?

Integrate different sources of notifications in a Laravel web app


Notification Integrations

I am struggling a bit with how to design a flexible/dynamic notification system in my Laravel 5.8 web application. Consider that I have something called streams. Each streams can have many fields – and these fields ultimately contains a string.

Now, I want to be able from within my web application to dispatch all the fields on a stream to various 3rd party sources that my users can set up integrations to, such as:

  • Simple webhooks
  • Zapier
  • Microsoft Flow
  • Emails

I am unsure on how to design the database to allow for this, as well as the code.

My initial thoughts was just to create a table for each type of integration, and then check if a Stream have any integrations defined.

webhook_integrations

id | stream_id | url                | fields 1  | 3         | www.external.com   | 1, 3, 5, 10 2  | 5         | www.other.com      | 2, 4, 5, 10 

I then imagine I can use it like this:

$  stream = Stream::Find(3);  //If the stream have any webhooks defined, fire them off. if($  stream->webhooks) {     foreach($  stream->webhooks as $  webhook)     {         //Fire off each webhook here!         $  FireWebhook = new Webhook();         return $  FireWebhook->url($  webhook->url)->payload($  webhook->fields);     } } 

Please note the above code is simply dummy code, and is just how I imagined firing off webhooks for a specific resource can be carried out.

Now imagine if I wants to introduce another integration into my web application. For example Zapier that uses a Oauth 2.0 authenticaion layer.

A database design for that could for example be:

zapier_integrations

id | stream_id | client_id | client_secret | auth_url | token_url | refresh_url | fields 

But now, I have to check if my code if I need to send a notification to my Zapier integration:

$  stream = Stream::Find(3);  //If the stream have any webhooks defined, fire them off. if($  stream->webhooks) {     foreach($  stream->webhooks as $  webhook)     {         //Fire off each webhook here!         $  FireWebhook = new Webhook();         return $  FireWebhook->url($  webhook->url)->payload($  webhook->fields);     } }  if($  stream->zapierWebhooks) {     foreach($  stream->zapierWebhooks as $  zapierWebhook)     {         //Fire off each webhook here!         $  zapierWebhook = new zapierWebhook();         return $  zapierWebhook->payload($  webhook->fields);     } } 

(And so on.. if I example decide to add another notification integration – for example: sms, email, slack).

I am very unsure on how to go about designing such a setup. How can I allow for different type of notification endpoints (webhook, Zapier, SMS, Email and so on), and check against all these notification types for a specific resource – and if any exist, dispatch it?

Send push notifications from ActiveMQ

I am trying to figure out how to send push notifications back to the client in the following ActiveMQ scenario:

I have a spring boot web application #1 deployed on tomcat on RHEL server. From the user interface (this consists of Javascript,jQuery,HTML,CSS), user clicks on a request files button, which calls a RESTful webservice (a stored procedure gets called and a unique identifier(number) is returned). I send this identifier as a message to ActiveMQ because the overall process could take 20-30 minutes.

With the help of this identifier I can check the status of the query from the database table.By status of the query I mean COMPLETE, ERROR, STARTED, NOT YET STARTED.I’ve used this approach in my second spring boot web application as explained below.

I have another spring boot web application #2 which is deployed on the RHEL server.This acts a a consumer and keep on listnening to the ActiveMQ queue. With the help of the identifier from ActiveMQ ,as soon as this app sees the status as COMPLETE, it grabs records from 3 tables,convert the records into 3 csv files, convert these 3 csv files into a zip file and put it somewhere on the same server.

The zip file generated in the last step is not available immediately as soon as user clicks on the request files button from the spring boot web app #1.

I am wondering since I’ve two separate spring boot web applications, is it possible to send push notifications to the user interface of spring boot web application #1 so that user is aware that their request is not yet completed and they need to wait? Is there something that ActiveMQ does to accomplish this?

Let me know if I can answer any questions relate to this.