diff --git a/com_iflychat/admin/iflychat.xml b/com_iflychat/admin/iflychat.xml index 0bfe420..68186fd 100644 --- a/com_iflychat/admin/iflychat.xml +++ b/com_iflychat/admin/iflychat.xml @@ -10,7 +10,7 @@ GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html joomla@iflylabs.com https://iflychat.com - 1.0.11 + 1.0.12 iFlyChat allows visitors of your Joomla site to chat with each other privately (one-to-one chat) or together in chat rooms. diff --git a/com_iflychat/iflychat.xml b/com_iflychat/iflychat.xml index 378cb64..d98b213 100755 --- a/com_iflychat/iflychat.xml +++ b/com_iflychat/iflychat.xml @@ -10,7 +10,7 @@ GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html joomla@iflylabs.com https://iflychat.com - 1.0.11 + 1.0.12 iFlyChat allows visitors of your Joomla site to chat with each other privately (one-to-one chat) or together in chat rooms. diff --git a/com_iflychat/site/views/auth/tmpl/default.php b/com_iflychat/site/views/auth/tmpl/default.php index 6c35190..d526568 100755 --- a/com_iflychat/site/views/auth/tmpl/default.php +++ b/com_iflychat/site/views/auth/tmpl/default.php @@ -284,6 +284,7 @@ function iflychat_get_user_profile_url() { } else { + if( ( file_exists( JPATH_SITE . '/libraries/CBLib/CBLib/Core/CBLib.php' ))||(file_exists(JPATH_ADMINISTRATOR . '/components/com_comprofiler/plugin.foundation.php'))){ require_once( JPATH_ADMINISTRATOR . '/components/com_comprofiler/plugin.foundation.php'); global $_CB_framework; $user = JFactory::getUser()->id; @@ -295,6 +296,7 @@ function iflychat_get_user_profile_url() { //print_r($profilLink); return $profilLink; } + } else{ $upl = 'javascript:void()'; return $upl; diff --git a/mod_iflychat/mod_iflychat.xml b/mod_iflychat/mod_iflychat.xml index e71c984..a346c29 100755 --- a/mod_iflychat/mod_iflychat.xml +++ b/mod_iflychat/mod_iflychat.xml @@ -11,7 +11,7 @@ GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html joomla@iflylabs.com https://iflychat.com - 1.0.11 + 1.0.12 iFlyChat allows visitors of your Joomla site to chat with each other privately (one-to-one chat) or together in chat rooms. mod_iflychat.php diff --git a/pkg_iflychat.xml b/pkg_iflychat.xml index a8efd29..834a328 100644 --- a/pkg_iflychat.xml +++ b/pkg_iflychat.xml @@ -4,7 +4,7 @@ iFlyChat Team March 2014 iflychat - 1.0.11 + 1.0.12 GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html https://iflychat.com/ iFlyChat Team