updated and fixed and created plugin for Joomla2.5