Another addition from ts that breaks the forum, and if not the forum, its components. Additions from the author said it is impossible to put on live, so examples will be given on this addition:
- If you have windows or windows server, forget about the add-on. Since your chat will not be able to start at all and you need to rewrite the code. Now the developers would do for one platform, although the language is for several, but the author decided everything himself.
- The message said that the add-on breaks the forum or its components. Yes it is, we take caching in the form of Redis, we put a gorgeous add-on from @Xon for redis. And we want to cache sessions? Forget the chat itself will fall off with a 502 error. Out of the box, it also breaks, a "cool" addition.
- Commands can work on their own / clear.
- Now back to the most interesting and in addition to this, the add-on will leave garbage in its own form as its bs_rtc_commands.xml file. But what do the standards tell us? Add-ons must not attempt to add data which is not associated with the add-on. And what do we see? It adds to the engine and will connect it to all of your add-ons and more. Cool it's five
- The add-on does not know how to work with browsers and heavily loads browsers on the phone. And also if you want to see the pages in the chat history on the phone, also forget
- I am also silent about optimizing the add-on, as it forces the client to load CPU and GPU.
- Another of the fun problems is the miracle of chat, if the user disables the sound notification, then it itself can turn on at any time
- In addition to all this, the author breaks in the chat all the functions of the editor and in addition to this custom bb codes. When you insert a link in general, they can leave somewhere to start fasting on a new line and not only. Let me give you a simple example: you created a custom bb code, for example, not with an extension, but in the admin.php?bb-codes. And what does our author do? It will not work. I’ll give you another example on the forum there is support for media sites and what does our author do? Again breaks the functionality of the forum and inserting media will no longer work in the chat. And there are still many such jokes, how and when the smiley panel can be erased on its own.
- Working with users is also a curve, and you can get cooldawn errors of the form:
ErrorException: [E_NOTICE] Trying to get property 'user_id' of non-object src/addons/BS/RealTimeChat/Entity/Message.php:18
- Also a cool bug with mobile devices. If you close a tab on a mobile device, you will receive further notifications from the chat.
- Also, the awesome logic of the author with code duplication in the event handler and entity expansion. That would surely be both there and there. It’s better to repeat it like that 10 times) But something is not enough
- Chat seems to work in real time, but I’m grieving you not. Before sending in a personal message, you will encounter delays of 1 or more seconds to send. Just sending some links and you will have to restart the forum, as sometimes it may take even more than 1 minute to send the link. And surprisingly after a reboot it will be sent
- Another cool bug, the sent message cannot be changed, and if you edit that it was in PM, it simply processes it as text and displays a message of the form:
/pm [USER=9638]@test[/USER], message
. If you write to someone in a personal email or accidentally mis-click you will also not see who you wrote it to. And there will be only your nickname and message
And the problems in this addition are a wagon and a small cart, as in all others. If you compare with other similar chats that use the same Node.js or from the same @Siropy, you will not see any problems and such childhood errors. But this chat is far from the Shoutbox
@Siropu from the same chat.
Everything is done in the style of the author and you will see the update in a year at best). About statistics, I generally keep quiet and to other additions and a miracle code will also have time. Everything will have its time and in the future more and more cards will be revealed. Acta est fabŭla.
Summing up, we can say that the author only learned not long ago what composer is and went mindlessly to insert different libraries into his additions. Some reasonably some are not, some that pull a bunch of dependencies and those that are in the engine and for the sake of sending 1 request to pull whole sdk is stupid. But the author sits like in a tank. If you consider the above words, then the author again distinguished himself; using a ported library with Node.js is stupid. To consider more reasonable options with reactphp why it is necessary?) We will insert and it is ready. At the output, you get the following. You can forget about the work of many engine functions and caching services. Grade 1/5.
Finis corōnat opus.