Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

The cover Image not saved after Change it

9 years 1 day ago
  • lazer's Avatar
    Topic Author
  • lazer
  • Offline
  • Fresh Boarder
  • Posts: 22
  • Thank you received: 0
Licenses:
JomSocial Active GURU Active Publisher Active AdAgency Active iSEO Active Socialize Active

ISSUE SUMMARY:
The cover Image not saved after Change it.
I change the Cover and get blank image After Page Update.

STEPS TO REPLICATE:
1
2
3
4
5
RESULT
EXPECTED RESULT
BROWSER

Attachments:
9 years 19 hours ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

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

9 years 18 hours ago
  • lazer's Avatar
    Topic Author
  • lazer
  • Offline
  • Fresh Boarder
  • Posts: 22
  • Thank you received: 0
Licenses:
JomSocial Active GURU Active Publisher Active AdAgency Active iSEO Active Socialize Active

[THE PRIVATE INFO ALREADY MOVED]

8 years 11 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi Lazer,

I am sorry, I still cant access your backend.. do you restrict the backend access?

thank you

Attachments:
8 years 11 months ago
  • lazer's Avatar
    Topic Author
  • lazer
  • Offline
  • Fresh Boarder
  • Posts: 22
  • Thank you received: 0
Licenses:
JomSocial Active GURU Active Publisher Active AdAgency Active iSEO Active Socialize Active

No. It's not restrict.

check once again please.

8 years 11 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

I am sorry still cant access it, and always redirected to www.miracul.com/miracul.com/administrator/

Attachments:
8 years 11 months ago
Licenses:

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;

Regards

The following user(s) said Thank You: lazer
8 years 11 months ago
  • lazer's Avatar
    Topic Author
  • lazer
  • Offline
  • Fresh Boarder
  • Posts: 22
  • Thank you received: 0
Licenses:
JomSocial Active GURU Active Publisher Active AdAgency Active iSEO Active Socialize Active

I had to restore my site. I have again put your code in line 1185 of file user.php
If You mean this Place in user.php?



It not work

Attachments:
8 years 11 months ago
  • lazer's Avatar
    Topic Author
  • lazer
  • Offline
  • Fresh Boarder
  • Posts: 22
  • Thank you received: 0
Licenses:
JomSocial Active GURU Active Publisher Active AdAgency Active iSEO Active Socialize Active

I have the CronJob setuped on my server

8 years 11 months ago
  • lazer's Avatar
    Topic Author
  • lazer
  • Offline
  • Fresh Boarder
  • Posts: 22
  • Thank you received: 0
Licenses:
JomSocial Active GURU Active Publisher Active AdAgency Active iSEO Active Socialize Active

w

8 years 11 months ago
Licenses:

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);
}

at public function getCover, put this new code after that code
if (JFile::exists(JPATH_SITE.'/'.$this->_cover)) return JURI::base().$this->_cover;




Regards

Attachments:
The following user(s) said Thank You: Mark McKeen, lazer
8 years 7 months ago
  • lazer's Avatar
    Topic Author
  • lazer
  • Offline
  • Fresh Boarder
  • Posts: 22
  • Thank you received: 0
Licenses:
JomSocial Active GURU Active Publisher Active AdAgency Active iSEO Active Socialize Active

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);

8 years 7 months ago
Licenses:

Hi,

I cant login to administrator page
are you using jomsocial 4.0.9? the issue has been fixed.

Regards

8 years 7 months ago
  • lazer's Avatar
    Topic Author
  • lazer
  • Offline
  • Fresh Boarder
  • Posts: 22
  • Thank you received: 0
Licenses:
JomSocial Active GURU Active Publisher Active AdAgency Active iSEO Active Socialize Active

I'm using jomsocial 4.0.9

Check new credential please

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW