Hi Lazer,
Would you mind provide me the correct backend access, please? because I cant access it right now, and I need you FTP access as well.
thank you
I am sorry still cant access it, and always redirected to
www.miracul.com/miracul.com/administrator/
Hi,
you need to setup cron job:
documentation.jomsocial.com/wiki/Setting_Up_Cron_Job
if not, the files will never transferred to S3.
and I put this fix at your site:
/components/com_community/libraries/user.php at line 1185 I put this new code
if (JFile::exists(JPATH_SITE.'/'.$this->_cover)) return JURI::base().$this->_cover;
Hi Lazer,
I did it for you. here the detail.
/components/com_community/libraries/user.php around line 1184-1189 you can see this code
if(!$storage->exists($this->_cover)){
unset($storages[$config->get('user_avatar_storage')]);
$storages = array_pop($storages);
$storage = CStorage::getStorage($storages);
}
if (JFile::exists(JPATH_SITE.'/'.$this->_cover)) return JURI::base().$this->_cover;
I'm sorry I have to go back again to the same subject.
I have made all the necessary changes in line 2397 of /components/com_community/libraries/user.php,
but no cover and no avatars is not saved.
public function getCover() {
$config = CFactory::getConfig();
$storage = CStorage::getStorage($config->get('user_avatar_storage'));
$storages['file'] = 'file';
$storages['s3'] = 's3';
if(!$storage->exists($this->_cover)){
unset($storages[$config->get('user_avatar_storage')]);
$storages = array_pop($storages);
$storage = CStorage::getStorage($storages);
}
if (JFile::exists(JPATH_SITE.'/'.$this->_cover)) return JURI::base().$this->_cover;
if (empty($this->_cover) || !$storage->exists($this->_cover)) {
$profileModel = CFactory::getModel('Profile');
$gender = $profileModel->getGender($this->id);
$tGender = strtoupper($gender);