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

Limited Support

Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed.
We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.

 

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

2 Posts
2 Users
0 Reactions
810 Views
Posts: 42
Topic starter
(@nican)
Trusted Member
Joined: 6 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: 5486
 Sofy
Admin
(@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');