Link to the mod (https://custom.simplemachines.org/index.php?mod=4326)
(https://smftricks.com/logos/logo.png) (https://smftricks.com/)
(https://img.shields.io/badge/License-MPL%202.0-248049) (https://img.shields.io/badge/Hooks%20Only-Yes-6041a3) (https://img.shields.io/badge/SMF-2.1-3f73a0)
Post Subject LengthDeveloped by Diego Andrés (https://smftricks.com/index.php?action=profile;u=1)
IntroductionPost Subject Length lets you adjust the length of the posts subject when posting.Localization(https://www.simplemachines.org/site_images/lang/english.gif) English
* Note about emailsMost email providers only allow up to 100 characters length in the subject, so please be aware of this issue. SMF does not currently truncate back the post suject before sending notifications.
Changelog (https://github.com/SMFTricks/Post-Subject-Length/blob/main/CHANGELOG.md)GitHub (https://github.com/SMFTricks/Post-Subject-Length)
Hello.
I use this mod: Post Subject Length.
When the Russian language is used in the name of the topic and the length of the topic is more than 80 characters, then the name of the topic is distorted in the Thunderbird mail program (attached a screenshot).
If only English letters are used in the topic name, then there is no problem.
Could you provide a text sample to test it?
You can use any Russian text longer than 80 characters. For example: Ноутбук обладает всем необходимым для удобной и продуктивной работы как в офисе, так и во время поездок. Он выполнен в корпусе с компактными размерами и весом 1.3 кг. Благодаря HD экрану диагональю 13.3 дюйма отображается реалистичная картинка.
Diego Andrés, hello, will you make changes to your mod?
Haven't had time to investigate the issue.
I took a quick peek, and using this mod, the 80 Cyrillic characters are honored on the subject, on replies, and even on alerts & emails sent.
The mod works as intended, and further, SMF is sending the full text via alerts & emails.
I suggest opening a support topic over at Thunderbird.
Below is the subject line of an email notification, showing 80 Cyrillic characters.
80russiancharsubject.png
shawnb61, a problem if the number of characters is more than 80.
In addition, the problem is not only in Thunderbird, the same problem is in the mail, which can be viewed in the browser.
Personally, I for one have no idea why any person would need more than 80 characters for a post subject.
The subject is meant to be short, more a quick title, not a long post in itself.
Why not just have the members do like is done everywhere else, and just make a short title, then post whatever in the main post field?
I'm one that finds 80 to be too short so I've changed it to 100. Anything longer than that makes the topic list look tacky.
Sorry for the off topic Diego, but this needs to be said.
@Participant You can stop abusing the report function now, or expect to take an involuntary break from the forum very soon. It is not up to you to decide what is allowed and what is not. Most of the team is already following every topic you are in, no need to report them.
OK, I think I understand the challenge being reported now.
SMF applies a pretty strict 100 char limit on email subject lines. (For reasons...) Inappropriate truncation is happening to the encoded subject line somewhere along the line if you exceed that.
Which can only happen when you override SMF's existing code. Still rubbing my chin wondering if this is an SMF bug or not...
80russiancharsubject.png
I asked a question about the length of the header on another smf forum, they said that this is not a mod problem, but a problem of the SMF forum: first the header is encoded, and then it is cut off. And it should be the opposite.
It turns out that the mod developer will not be able to solve the problem.
It's not fixable for the mod.
If you don't want to use it, uninstall it.
Diego Andrés, will you not make changes to this mod?
I don't use this mod, because it distorts the subject title in email notifications.
There are no changes that I can make to it.
Aleksi "Lex" Kilpinen, so at the moment there is no solution to increase the length of the topic for the Russian language?
It's not a language issue FYI.
Some email providers limit subject characters to 250 characters, and others limit them to 100.
I believe the team is looking in to changes allowing for this, but I make no promises. ( It would probably not lengthen the emailed text, but would avoid breaking it. )
Quote from: Diego Andrés on January 27, 2023, 09:46:35 AMIt's not a language issue FYI.
There is no such problem with English.
Hi Diego,
I also use this mod and it works well on new topics.
A problem occurs when you change the title of an old post, i.e. you are unable to bring the title beyond the SMF default 80 characters.
Can it be solved ?
Thank you
I'll have to take a look later and test that.
1.1.1 - 02 April 2024
- (https://camo.githubusercontent.com/7105233284f12b43575ce677d04770202bc59b3e8c82040bd9b2ae76d045ccae/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f6275672d2d6d696e75732e706e67) (https://camo.githubusercontent.com/7105233284f12b43575ce677d04770202bc59b3e8c82040bd9b2ae76d045ccae/68747470733a2f2f736d66747269636b732e636f6d2f6173736574732f6368616e67656c6f672f6275672d2d6d696e75732e706e67) Fixed issue when editing posts.
Thanks Diego. :)
Just an FYI:
Found another issue which may not be worth worrying about.
When looking at the topic list, if you double-click the line the topic title is on, the title becomes editable. However it's still limited to the original 80 characters.
I use this feature maybe once a month or less so like I said, it may not be worth worrying about.
Thanks Diego, I just installed the update and I inform you that it only works with the complete modification.
It doesn't work with quick edit
No it never has worked with it.
Might be possible, haven't checked as editing is an afterthought on this MOD.