Search
Close
AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Notifications
Clear all

Confirmation on deleting user notifications

4 Posts
2 Users
1 Reactions
885 Views
Posts: 2
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@tradoholic)
Active Member
Joined: 8 months ago
[#14262]

When deleting user notifications (bell) in wpDiscuz, it is always necessary to confirm the deletion.

I find it rather annoying.

Could I disable the confirmation message when deleting user notifications?

Thank you in advance


3 Replies
Astghik
Posts: 6645
Admin
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@astgh)
Illustrious Member
Joined: 8 years ago

I'll ask the developers and get back to you soon. 


Reply
Astghik
Posts: 6645
Admin
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@astgh)
Illustrious Member
Joined: 8 years ago

Hi,

The developers will try to provide a solution in the next version of the addon. I’ll update this topic once the solution is implemented.


Reply
Astghik
Posts: 6645
Admin
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@astgh)
Illustrious Member
Joined: 8 years ago

Hi @tradoholic,

The next version will be ready within a few days.

The following changes have been made in the plugin code:

1. If you leave the option shown in the screenshot below empty, it will not ask for confirmation when deleting notifications from the frontend.

» Settings ‹ wpDiscuz — WordPress — Mozilla Firefox

2. From the Dashboard (see the related options in the screenshot), if you want to disable the confirmation, you can use the following hooks:

add_filter("wpdiscuz_un_backend_phrase_delete_all", function($phrase){
   return "";
});

In the same way, you can use the following hooks for the last two options:

1. wpdiscuz_un_backend_phrase_delete_all
2. wpdiscuz_un_backend_phrase_delete_expired
3. wpdiscuz_un_backend_phrase_delete_read

backend

I'll let you know once the new version is ready. 


Reply
Share:
Scroll to top