Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Normal
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]
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]
We use essential cookies to make this site work, and optional cookies to enhance your experience.
See further information and configure your preferences