Updated plugin for Joomla 3.x.