Deprecated: Joomla\Input\Input implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /homepages/13/d380392445/htdocs/Jlive/libraries/vendor/joomla/input/src/Input.php on line 41

Deprecated: Return type of Joomla\Input\Input::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/13/d380392445/htdocs/Jlive/libraries/vendor/joomla/input/src/Input.php on line 170

Deprecated: Joomla\CMS\Input\Input implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /homepages/13/d380392445/htdocs/Jlive/libraries/src/Input/Input.php on line 31

Deprecated: Joomla\CMS\Input\Cookie implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /homepages/13/d380392445/htdocs/Jlive/libraries/src/Input/Cookie.php on line 21

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /homepages/13/d380392445/htdocs/Jlive/libraries/src/Uri/Uri.php on line 141
Email Subject Truncated to 32 Characters - Macrotone Forum

Unknown Error 8192: KunenaControllerApplicationDisplay implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in libraries/kunena/controller/application/display.php on line 21


Unknown Error 8192: Automatic conversion of false to array is deprecated in libraries/kunena/route/route.php on line 437


Unknown Error 8192: ComponentKunenaControllerWidgetAnnouncementDisplay implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in components/com_kunena/controller/widget/announcement/display.php on line 18


Unknown Error 8192: ComponentKunenaControllerTopicItemDisplay implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in components/com_kunena/controller/topic/item/display.php on line 25


Unknown Error 8192: Automatic conversion of false to array is deprecated in libraries/kunena/forum/category/category.php on line 415


Deprecated: DateTime::__construct(): Passing null to parameter #1 ($datetime) of type string is deprecated in /homepages/13/d380392445/htdocs/Jlive/libraries/src/Date/Date.php on line 112

Unknown Error 8192: Automatic conversion of false to array is deprecated in libraries/kunena/bbcode/bbcode.php on line 107

Email Subject Truncated to 32 Characters


Unknown Error 8192: ComponentKunenaControllerTopicItemActionsDisplay implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in components/com_kunena/controller/topic/item/actions/display.php on line 23


Unknown Error 8192: ComponentKunenaControllerTopicPollDisplay implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in components/com_kunena/controller/topic/poll/display.php on line 21


Unknown Error 8192: ComponentKunenaControllerTopicItemMessageDisplay implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in components/com_kunena/controller/topic/item/message/display.php on line 23

9 years 2 months ago #1 by mronayne
Suggestion for a minor fix to allow for longer email subjects.

When I attempted to customize the generated email messages in Issue Tracker I discovered that the email subject was getting truncated to 32 characters. The DB field "subject" the in _it_emails tables was defined as varchar(32).
I changed it to varchar(64) and this seems to work on. No unintended side-effects that I've seen yet...

Regards,
Mike

Unknown Error 8192: ComponentKunenaControllerMessageItemActionsDisplay implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in components/com_kunena/controller/message/item/actions/display.php on line 25

Please Log in or Create an account to join the conversation.

9 years 2 months ago - 9 years 2 months ago #2 by geoffc
There shouldn't be any side effects caused by your change, or at least I can't think of any. The 32 char limit was mainly an arbitary decision based upon a) most email header title tend to be short. b) If SMS is considered then we hit limits on sizes of text messages sent.

Neither are show stoppers.

Update: You are probably going to be limited to showing 60 characters since that is the limit specified in the form template. If you need the extra 4 chars then you need to edit the admin/model/forms/email.xml file and change line 22 so that it reads 64 and not 60. There is no maximum size specified in the form.

Regards
Geoff

Please Log in or Create an account to join the conversation.

9 years 2 months ago #3 by geoffc
Have decided after consideration that this will be implemented in 1.6.7. Have checked the RFC which has a recommendation for a maximum mail subject line of 78 chars. We are within this limit so do not consider it will be a problem. Of course some email systems may enforce a lower limit.

It would of course be up to the system itself to ensure that the length is not exceeded especially when any consideration is made for substituted tag values being placed in the subject header line. If tags are not used it shouldn't pose any problem at all.

Regards
Geoff

Please Log in or Create an account to join the conversation.

Time to create page: 0.149 seconds
Go To Top

Joomla! Debug Console

Session

Profile Information

Memory Usage

Database Queries