TickTackk
Well-known member
- Affected version
- XF 2.x
In file path:
Find inside
Replace with:
Find inside
Replace with:
src\XF\Template\Templater.php
Find inside
fnUserTitle()
:
PHP:
$guestGroupId = 1;
if (empty($this->groupStyles[$guestGroupId]['user_title']))
{
return '';
}
PHP:
$guestGroupId = \XF\Entity\User::GROUP_GUEST;
if (empty($this->groupStyles[$guestGroupId]['user_title']))
{
return '';
}
Find inside
fnUsernameClasses()
PHP:
if ($includeGroupStyling)
{
if (!$user || empty($user['user_id']))
{
$displayGroupId = 1;
}
else
{
PHP:
if ($includeGroupStyling)
{
if (!$user || empty($user['user_id']))
{
$displayGroupId = \XF\Entity\User::GROUP_GUEST;
}
else
{