Simple Machines Community Forum

Customizing SMF => Bridges and Integrations => Topic started by: bruegggw on March 22, 2009, 05:49:20 PM

Title: How to integrate TNG into SMF + TP
Post by: bruegggw on March 22, 2009, 05:49:20 PM
This is the way I did it.  If you learn more, please share.
Title: Re: How to integrate TNG into SMF + TP
Post by: bruegggw on April 08, 2009, 09:38:42 PM
Use this code instead of the included function.  The first will only work if memberName = realName and that is not always the case.

// Just return the user name
function ssi_getuser()
{
   global $context, $user_settings;
   if ($context['user']['is_guest'])
      return "Guest";
   else
      return $user_settings['memberName'];
}