Hi,
I bought a third party plugin from
www.extly.com/
which puts a watermark on all pictures uploaded but it does not work when I upload pictures via the status box on the front end.
I contacted Extly support and they wrote reported this after examining:
We've checked JomSocial source code. It's only calling the trigger for the last uploaded photo of the set. It's a bug.
To be specific:
components/com_community/controllers/system.php, line 1097
foreach ($photoIds as $key => $photoId) {
..
$photo->store();
}
// Trigger onPhotoCreate
...
$apps->triggerEvent('onPhotoCreate', $params);
Hi Mike,
Thank you for reporting, I already added this to our bug list..
thank you
Hi,
I will let you know once this issue fixed.
thank you
Please you download this file
www.dropbox.com/s/504tea4ujw84g1q/system.php?dl=0
and copy to components/com_community/controllers/
note to the 3rd party : the trigger is an array of images object.
Well, this was a short happiness ;)
After testing negativ and talking with Extly again I got this from them:
Well, JS are nearer to fix the issue. However, they have introduced a new bug.
Instead of storing N photos in an array, they have stored N references to the latest photo in the array:
$params[] = $photo;
Instead of:
$params[] = clone $photo;
Hi Michael,
Ok I will ask to the developer again..
thank you
Hi Michael,
Can you try to full upgrading your jomsocial to the latest version 3.2.1.4, please? our developer said he didint use "references" method.. I hope it will be fixed after you do full upgrading.
thank you
some update from our dev, please you re apply this patch
www.dropbox.com/s/504tea4ujw84g1q/system.php?dl=0
thank you
Hi again,
I have upgraded to 3.2.1.4 and uploaded the new system.php file.
Now when I upload pictures via the status box now, nothing is saved. It looks like it is uploaded but I cannot see any pictures.
Thanks,
Michael
Hi Michael,
how about if you revert that code? I think you applied it wrong.. I suggest you wait newest package from us, which will be released soon.. now newest package under the automation test.
thank you