Proper version detection for joomla, mybb and smf