"new reply" email t...
 
Notifications
Clear all

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

2 Posts
2 Users
0 Likes
593 Views
Posts: 42
Topic starter
(@nican)
Trusted Member
Joined: 4 years ago

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: 4309
 Sofy
Admin
(@sofy)
Support Team
Joined: 6 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');