I am trying to run an application outside Joomla (not as a plugin) and I would like to access the logged in user\'s information (userid). I am wondering how should I go abou
apply this in mod_login.php
mod_login.php
After: $user =& JFactory::getUser();
$user =& JFactory::getUser();
echo "Your usertype is {$user->usertype} which has a group id of {$user->gid}.";
Your usertype is {$user->usertype} which has a group id of {$user->gid}.