Announce new torrent
Hi guys, I am also interested in implementing a way to announce new uploaded torrents just like in the picture below, can you help me with a script please ?!
https://i.ibb.co/PgHrfrD/Untitled.png |
Java notification in the PM to everyone who subscribed to such notifications, as well as write_log when uploading a new release.
Brad, ad blocker may not show this case. |
Do you know how to do that?
|
I have used this library to send "live" notifications to users. My code is at least 5 years old, so I won't post it. But you should be able to integrate, it's pretty easy to do.
|
Java is constantly hammering the database with requests with "Is there a new personal message or not." It is easier to cache the user and enter there in the message field - the number of messages (new) and after reading - delete this number from the user's cache, say -1 from what is there, to 0 messages. And faster and more economical.
Well, the conclusion should be made from the cache - if there is a new message for the user, then - show a pop-up window (although in our script it is done under the menu with a red rectangle - You have *** new messages), if not, then do not display anything. |
All times are GMT +2. The time now is 07:13. |
Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.