Messaging functionality

Чытаюць 59 карыстальнікаў

liikur 2024-08-04T08:08:26+03:00
Hello!
Sometimes I end up writing really, really long text, but when I want to start sending a text and press enter, the text doesn't appear on the screen, and even after refreshing, it's as if the message has never been sent. Would it be possible to code the maximum possible number of words in private conversations and messages somewhere in the bottom or top corner in relation to the number of words, so that a similar problem doesn't arise? Yes, you can always send shorter messages one after the other, but I personally sometimes have the urge to write really long ones. Then I get really frustrated when nothing appears on the screen after sending.
Thank you.
MeikopЗаснавальнік Vint.ee 2024-08-04T10:54:07+03:00
Hello,

For the sake of clarity, I'm asking, didn't your session expire in the meantime? I.e. were you still logged in after sending the message?

We use a Text type field in the database (Postgresql), which has no restrictions.

It's possible that there was a symbol in the text that caused the error. So it would be best to get the specific text that failed to save.

MeikopЗаснавальнік Vint.ee 2024-08-04T10:58:55+03:00
I just tested it - I was able to send a text with 2000 words just fine, so the problem is not the length of the text.
liikur 2024-08-04T12:39:12+03:00
I'm constantly logged in with the remember option. But to be honest, I didn't know anything about any specific unreachable symbols if they were the cause of such a mess.
What would be the symbols that would not let the text through?
liikur 2025-01-17T05:38:04+02:00
Hello! I want to send a long text again. Can the following punctuation marks or symbols when writing the text prevent the message from being sent: parentheses, square brackets, hyphen, underscore, colon, slash?
Currently, there is a plan to send a text with such punctuation marks or symbols, but when testing with the Chatbot, the text did not go through. The text is 314 words long and contains 2258 characters/letters, etc.
liikur 2025-01-17T06:07:10+02:00
It seems that it must still be related to the length of the text.
MeikopЗаснавальнік Vint.ee 2025-01-17T09:18:20+02:00
There is indeed a limit in the chat room - 1000 characters, if I remember correctly. However, when sending a message from your profile - you can send much longer text there.
DanielN 2025-01-17T20:56:28+02:00
There should be no restrictions on privacy with a chatbot!
MeikopЗаснавальнік Vint.ee 2026-03-08T09:34:46+02:00
Hello,

This problem has now finally been solved!

What was the problem anyway?
If you log in to Vint and do not use the "Remember me" checkbox, your session length will be 20 minutes.
This does not apply in the game room where the session is automatically extended, but it does apply on all other pages.

If you have a page open where you start writing a long story (in messages, in a forum) and you write that story for more than 20 minutes, the session on the server expires and when you click "save", all the information is lost.

I am now switching to automatic session renewal (every 10 minutes) on certain pages.
These pages are:
  1. Adding a forum post
  2. Writing a message in your mailbox
  3. Adding a tournament
  4. Adding an event to the events calendar

Did I miss any pages?
rabapalm 2026-03-08T23:18:34+02:00
This topic used to make me angry too, because you type a lot in one go and then when you "hit up" all the text just disappears! Later I started using the method of making a copy before pressing Enter.

Апублікаваць адказ

Гэтая функцыя прызначана толькі для правераных або VIP-карыстальнікаў