Все проблема решена, чтение документации дало некие плоды итак чтоб старые плагины ипользующие:
onContentAfterSave
onContentAfterTitle
onContentAfterDisplay
onContentBeforeDisplay
onContentBeforeSave
onContentSearch
onContentSearchAreas
onUserAuthenticate
onUserAfterDelete
onUserAfterSave
onUserBeforeDelete
onUserBeforeSave
onUserLogin
onUserLogout
работали в 1.6/1.7 Joomla
согласно документации
http://docs.joomla.org/Adapting_a_Joomla_1.5_extension_to_Joomla_1.6необходимо в самом начале добавить код
//joomla 1.6 compatibility code
public function onUserLogin($user, $options){
$result = $this->onLoginUser($user, $options);
return $result;
}
public function onUserLogout($user) {
$result = $this->onLogoutUser($user);
return $result;
}
public function onUserAfterDelete($user, $succes, $msg) {
$result = $this->onAfterDeleteUser($user, $succes, $msg);
return $result;
}
public function onUserBeforeSave($user, $isnew, $new){
$result = $this->onBeforeStoreUser($user, $isnew, $new);
return $result;
}
public function onUserAfterSave($user, $isnew, $success, $msg){
$result = $this->onAfterStoreUser($user, $isnew, $success, $msg);
return $result;
}
в моем случае получилось так:
<?php
/**
* @package Joomla
* @copyright Copyright (C) 2009 Tushov Leonid
* @license GNU/GPL, see LICENSE.php
*/
defined('_JEXEC') or die( 'Restricted access' );
jimport('joomla.plugin.plugin');
class plgUserExtUsData extends JPlugin {
public function onUserAfterSave($user, $isnew, $success, $msg){
$result = $this->onAfterStoreUser($user, $isnew, $success, $msg);
return $result;
}
function onAfterStoreUser($user, $isnew, $success, $msg)
{
if ($isnew) {
$db =& JFactory::getDBO();
$registry = new JRegistry();
$registry->loadArray($_POST['password']);
$login_pwd = $registry->toString();
$db->setQuery("UPDATE #__users SET login_pwd = ENCRYPT('" . $db->getEscaped($login_pwd). "') WHERE id = " . $user['id']);
$db->query();
}
}
}
т.е. пароль паралельно записывается в другое поле но в формате ENCRYPT далее используется другим приложением