Notifications
Clear all

[Solved] Ideas for the plugin

10 Posts
3 Users
6 Reactions
1,146 Views
Posts: 5
Topic starter
(@juura)
Active Member
Joined: 4 years ago

Hello! There are a few ideas, check:
1. Speed up the animation of opening and closing the block from 500 to 100 ms.
2. The counter is not decreasing now if you click on the comment link. Why?
3. Is it possible to preview a comment in the notification itself?

9 Replies
Posts: 168
Customer
(@danniee)
Member
Joined: 6 years ago

I totally agree with this. Here are my ideas.

1. Opening and closing the dropdown block is way to slow and unresponsive.

2. I have pointed this out as well regarding the counter not being cleared once you have clicked the bell. That is how Facebook and everyone else does it. Never seen this approach used before. Doesn't make sense.

3. Integrate wpforo notifications as well.

4. Prevent notifications from opening in new tab when you click them. Never seen this approach before either. Check how Facebook does it.

1 Reply
Astghik
Admin
(@astgh)
Joined: 7 years ago

Illustrious Member
Posts: 6153

Hello.

4. Prevent notifications from opening in new tab when you click them. Never seen this approach before either. Check how Facebook does it.

The solution was provided earlier:

By the way, the notification link can change the target attribute the way provided in this video: https://monosnap.com/file/o0XIi3P8CdA7zsoKkkCwUT2T391pQh

In the video, we've shown you how to make the notifications to not open the links in a new tab. As you've requested here:   https://gvectors.com/forum/wpdiscuz-user-notifications/opens-notifications-in-a-new-tab/#post-30993

The rest of the points will be discussed by our team. I'll update this topic ASAP. 

Astghik
Posts: 6153
Admin
(@astgh)
Illustrious Member
Joined: 7 years ago
Posted by: @juura

1. Speed up the animation of opening and closing the block from 500 to 100 ms.

A new option called "Notifications' container animation speed in milliseconds." will be added in the next version of the addon, so you'll be able to configure this once the new version is ready. 

2. The counter is not decreasing now if you click on the comment link. Why?

This depends on the [MARK_READ_URL] shortcode. The notification will be considered as read if the users click on the link.

3. Is it possible to preview a comment in the notification itself?

Once the new version is added you'll be able to use the [COMMENT_CONTENT] shortcode as well. 

image
3 Replies
(@juura)
Joined: 4 years ago

Active Member
Posts: 5

@astgh Is it possible to specify COMMENT_URL and MARK_READ_URL at the same time?

(@juura)
Joined: 4 years ago

Active Member
Posts: 5

@astgh I found a solution. Replaced the links with MARK_READ_URL and everything works.

Customer
(@danniee)
Joined: 6 years ago

Member
Posts: 168

@juura what does this do?

I really want the counter to reset to zero once the bell has been clicked the notifications displayed. I have no idea why the plugin author insists on doing it differently than all other sites like Facebook etc :/

Posts: 168
Customer
(@danniee)
Member
Joined: 6 years ago

I saw the milliseconds option was added in the new update, but I don't see a difference in the animation. The dropdown is still as slow as before even though I change the value.

2 Replies
Astghik
Admin
(@astgh)
Joined: 7 years ago

Illustrious Member
Posts: 6153

Dear @danniee,

In your case, still, the old js files are being loaded on the frontend. Please always delete all caches once the plugin is updated. 

Customer
(@danniee)
Joined: 6 years ago

Member
Posts: 168

@astgh hm, I did delete cache. Twice. Maybe I need to delete Cloudflare cache too.

Edit: yes, it was Cloudflare. Sorry about that.

Share:
Scroll to top