Hi i am trying to pull the avatar for my chat but it is not working can
someone point me in right direction.
<?php
define('_OW_', true);
define('DS', DIRECTORY_SEPARATOR);
$str = dirname(__FILE__);
$str = substr( $str, 0, strrpos( $str, '/' ) ) . '/xxx/';
define('OW_DIR_ROOT', $str );
require_once(OW_DIR_ROOT . 'ow_includes' . DS . 'init.php');
@include OW_DIR_ROOT . 'ow_install' . DS . 'install.php';
OW::getSession()->start();
$application = OW::getApplication();
$id = OW::getUser()->getId();
$pUrl = BOL_AvatarService::getInstance()->getAvatarUrl($id);
if(empty($pUrl))
if ( OW_PROFILER_ENABLE || OW_DEV_MODE )
{
UTIL_Profiler::getInstance()->mark('before_app_init');
}
$application->init();
thanx dave