Reply to thread

Maybe XenForo could include the following small patch to achieve what [USER=160419]@S Thomas[/USER] suggested? :)


[CODE="diff"]--- a/src/XF/NoticeList.php

+++ b/src/XF/NoticeList.php

@@ -64,6 +64,7 @@ class NoticeList

     protected function getTokens()

     {

         return [

+            '{email}' => $this->user->user_id ?  htmlspecialchars($this->user->email) : '',

             '{name}' => $this->user->user_id ?  htmlspecialchars($this->user->username) : \XF::phrase('guest')

         ];

     }[/CODE]


Back
Top Bottom