Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 4 Years, 4 Months, 1 Week ago To much text in email PM-notification
#1
Solved: 4 Years, 4 Months, 1 Week ago
If members receive a email with a PM-notification almost the whole text of that PM is written in that email. So the receiver does'nt need to login on de board to read that PM. Is there a possibility to limit the lenght of the text of that PM in the email so they have to login to the forum to read the entire message?

Thanks in advance,

Ger
Reply
#2
Solved: 4 Years, 4 Months, 1 Week ago
You can open inc/datahandlers/pm.php and change: https://github.com/mybb/mybb/blob/featur...m.php#L661 to:
$pm['message'] = my_substr($parser->text_parse_message($pm['message'], $parser_options), 0, 50)."...
Read more by opening this message in your forum account's Inbox.";
or anything similar. Where 50 is the character limit.
Reply
#3
Solved: 4 Years, 4 Months, 1 Week ago
Thanks again for your quick support; this isĀ  what I'm looking for Smile
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)