[ticket/12680] Adds variable for guest user

PHPBB3-12680