AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

Filter by custom fields

Topic prefix

AI Assistant
Notifications
Clear all

[Closed] "new reply" email template - bug when post contains @username in the first line

2 Posts
2 Users
0 Reactions
1,113 Views
Posts: 42
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@nican)
Trusted Member
Joined: 6 years ago
[#12623]

Hello,

 

 

This is my default "new reply" email template

=========================

Ciao [member_name],
una nuova risposta è stata aggiunta a una discussione che segui - [topic]. [reply_title]

[reply_desc]


Sei non desideri più ricevere notifiche per questa discussione, usa il link qui sotto. [unsubscribe_link]

=========================

 

But when the reply text contains someone 's username (@somebody) in the first line, I think some conflict happens and this is what I receive instead:

 

=========================

Ciao [member_name],
una nuova risposta è stata aggiunta a una discussione che segui - [topic]. [reply_title]

[reply_desc][unsubscribe_link]

=========================

 

in the above example the reply description is shorter comparing to what usually is, and the unsubscribe link is attached right to the end of (causing some users to actually unsubscribe by mistake).

 

Thanks


1 Reply
Sofy
Posts: 5774
 Sofy
Admin
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@sofy)
Support Team
Joined: 8 years ago

Hi @nican,

Please put the following code in your active theme functions.php file and check again: 

add_filter('wpforo_email_notification_post_body_length', '__return_zero');

Share: