Friday, December 30, 2016

Re: Custom action for logged users

Hello there.

You can use if statement in the template, like:

Code: [Select]
if ($context['user']['is_logged'])
{
echo' Only logged in users will see this';
}
You may also use $context['user']['is_guest'] for guests.

from Simple Machines Community Forum http://ift.tt/2hBP7WM
via IFTTT

No comments:

Post a Comment