Thanks also to Ismayil Khayredinov for his contributions.
View iionly's plugins
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
thanks for sharing!
I can't test any Cloudflare issues. Have you updated only Tidypics to 2.0.2 and it stopped working or have you also updated Elgg at the same time? In the latter case it might not be an issue in Tidypics at all. In any case try it with Elgg version 2.2.2 and not with an older version (version 2.1.3 - 2.2.1 don't play well with the html5 uploader due to a backward incomplatible version of jqueryui that has been replaced with the older but BC version again on Elgg 2.2.2).
Version 2.0.2 of Tidpics caches its JS libs differently (actually using the "Elgg 2 way"). I don't know if this could cause a problem with Cloudflare. Or it might be necessary to refresh the Cloudflare cache after the update of Tidypics (or in whatever way Cloudflare works). Or it might be an issue of http vs https usage on your site on the one hand and Cloudflare on the other - though I don't know why this should start to show on Tidypics 2.0.2 and not already with older versions.
@Michele Do you refer to the "Upload photos" button in the title section where you get a popup for selecting the album to upload the images to? I thought you were referring to the html5 uploader form.
How is the usage of CDN configured? Is it done with a plugin or by some other means? Are you sure that the way it is done works on Elgg 2? Are the correct versions of the cached files used matching the versions used in Elgg 2 and what files are cached in the first place?
I think the problem is with the lightbox JS lib of Elgg that is necessary for the album select popup to open in an lightbox popup. The menu item is registed in the usual way with the elgg-lightbox class listed in the link_class attribute. If this results in an error due to the lib not yet loaded even with the button already visible (due to the asyncronous loading of JS code) it's kind of an Elgg core bug - as the same issue would occur also with any other clickable link that used the elgg-lightbox class in the same way to open a lightbox.
It might be necessary to open a discussion topic to allow for a more general discussion of this issue as it would be unnecessary to add a specific fix in Tidypics if the issue needs to be fixed in Elgg core anyway. Nevertheless, it would help to know how exactly you use CDN (and if only to be able to reproduce the issue).