Joomla Check a User’s Status with Ajax
Wednesday, June 23rd, 2010The other day I found myself needing to know if a user was logged in to my Joomla site via javascript. To accomplish this I did the following steps: 1. Add check function to user controller Open up <your root joomla dir>/components/com_user/controller.php and add the following function: public function check() { global $mainframe; $user =& [...]