Forum Activity for @ultrajam

SteveX
@ultrajam
04/29/17 03:27:59AM
2,589 posts

Can no longer add links to images


Design and Skin Customization

Mine was with a single sentence and an image
SteveX
@ultrajam
04/28/17 03:06:03PM
2,589 posts

Can no longer add links to images


Design and Skin Customization

The image options seem to be working fine for me though.
SteveX
@ultrajam
04/28/17 03:03:43PM
2,589 posts

Can no longer add links to images


Design and Skin Customization

Using Elastic and all current versions I see all the editing options but when trying to add a link to an image can't save the link.

In the browser console:
Quote:
too much recursion[Learn More] map.js:12:385
too much recursion[Learn More] map.js:12:385
IndexSizeError: Index or size is negative or greater than the allowed amount
Every time I click the link Save button IndexSizeError happens/increments
SteveX
@ultrajam
04/26/17 03:06:41AM
2,589 posts

How to delete one uploaded temp file but keep others from the same form?


Jamroom Developers

Ah, the .tmp image!!!!!!

Thanks Michael, that works perfectly :)
SteveX
@ultrajam
04/25/17 04:25:27PM
2,589 posts

live streaming


Suggestions

If the only camera you need is a phone you probably don't require anything similar to that box.

Affordability? Just stick a suction cup to the canopy and upload the footage after you have landed.
SteveX
@ultrajam
04/25/17 04:17:48PM
2,589 posts

How to delete one uploaded temp file but keep others from the same form?


Jamroom Developers

Hi Michael

I use that in the function, I probably should have posted the whole thing to start with:
function ujPano_form_validate_exit_listener($_data, $_user, $_conf, $_args, $event)
{ if ($_data['module'] == 'ujPano') {// && isset($_data['pano_equirect_image']) $_fl = jrCore_get_uploaded_media_files('ujPano','pano_equirect_image'); if ($_fl && is_array($_fl) && isset($_fl[0])) { foreach($_fl as $_img) { // check it is 2:1 $_tmp = getimagesize($_img); $w = (int) $_tmp[0]; $h = (int) $_tmp[1]; if ($w / $h !== 2) { // it isn't an equirectangular image global $_post; jrCore_delete_upload_temp_directory($_post['upload_token']); //unlink($_img); jrCore_set_form_notice('notice', "Invalid Equirectangular Image"); jrCore_form_field_hilight('pano_equirect_image'); jrCore_form_result(); } else { } } } } return $_data; }

I've tried deleting the file using unlink($_img) (commented out above) but that results in a continuing failed form validation even when the replacement image passes the equirectangular test. I can't see a way around it.
SteveX
@ultrajam
04/25/17 01:11:52PM
2,589 posts

live streaming


Suggestions

It does look interesting, and seems fairly cheap to me for what it says it does.

Is it any good? Do you rate it?
SteveX
@ultrajam
04/25/17 01:05:26PM
2,589 posts

How to delete one uploaded temp file but keep others from the same form?


Jamroom Developers

My custom module has a form_validate_exit_listener which checks an uploaded image (it must be equirectangular).

If it fails the check, I can do this and everything works as it should :)
global $_post;
jrCore_delete_upload_temp_directory($_post['upload_token']);

But then I've lost other media items which may have been uploaded to other fields.

If I unlink just the failed file the form won't save even with all good files.

Is there any way to get rid of the failed file and notify the user but not insist they upload all the files again, the files can often be quite large.

Any advice or ideas appreciated :) Thanks!
updated by @ultrajam: 08/03/17 01:33:28AM
  41