Advertisement:

Author Topic: How to integrate TNG into SMF + TP  (Read 1797 times)

Offline bruegggw

  • Semi-Newbie
  • *
  • Posts: 23
How to integrate TNG into SMF + TP
« on: March 22, 2009, 05:49:20 PM »
This is the way I did it.  If you learn more, please share.

Offline bruegggw

  • Semi-Newbie
  • *
  • Posts: 23
Re: How to integrate TNG into SMF + TP
« Reply #1 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'];
}