Forum Activity for @michael

michael
@michael
04/25/17 06:07:31PM
7,826 posts

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


Jamroom Developers

a form, with a multi-upload form field.
submit 10 images, but delete #8 for whatever reason and save the other 9.

I'll setup and see if I can see a way.
michael
@michael
04/25/17 02:38:28PM
7,826 posts

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


Jamroom Developers

maybe take a look at: jrCore_get_uploaded_media_files()

It uses jrCore_get_upload_temp_directory($_post['upload_token']);

then loops over them and finds the .tmp file in that directory and returns them. If you deleted the unwanted file from the directory that might work.

--- edit --
media.php
/**
 * Get media files that have been uploaded from a form
 * NOTE: $module is no longer used in this function, but was
 * at one time so is left there for backwards compatibility
 * @param string $module Module Name to check file for
 * @param string $file_name Name of file field in form
 * @return mixed
 */
function jrCore_get_uploaded_media_files($module = null, $file_name = null){
    global $_post;
    if (isset($_post['upload_token']{0})) {
        $dir = jrCore_get_upload_temp_directory($_post['upload_token']);
        if (is_dir($dir)) {
            if (is_null($file_name)) {
                $_tmp = glob("{$dir}/*.tmp", GLOB_NOSORT);
            }
            else {
                $_tmp = glob("{$dir}/*_{$file_name}.tmp", GLOB_NOSORT);
            }
            if ($_tmp && is_array($_tmp) && count($_tmp) > 0) {
                foreach ($_tmp as $k => $v) {
                    $_tmp[$k] = substr($v, 0, strlen($v) - 4);
                }
                sort($_tmp, SORT_NATURAL);
                return $_tmp;
            }
        }
    }
    return false;
}

updated by @michael: 04/25/17 02:39:19PM
michael
@michael
04/25/17 02:29:40PM
7,826 posts

Site can't be opened after changing tag in site builder


Ning To Jamroom

Check your version too, if its 2.0.3 and you're not using the beta jr6.1 there is an issue with site builder lately.

Forums: "Site Builder is Malfunctioning"
https://www.jamroom.net/the-jamroom-network/forum/new_posts/51515/site-builder-is-malfunctioning
michael
@michael
04/25/17 02:27:29PM
7,826 posts

Question about Facebook


Using Jamroom

What facebook shows is determined by what is found in the og:tags in the source code for the page. On the item detail pages these are set. You can adjust them by adjusting the item_detail_meta.tpl

For other pages you can use the meta tag module to set the og:tags as you want them.
michael
@michael
04/25/17 01:31:54AM
7,826 posts

live streaming


Suggestions

Looks to me like you still need an RTMP server to receive the feed.

https://en.wikipedia.org/wiki/Real-Time_Messaging_Protocol
michael
@michael
04/25/17 12:52:48AM
7,826 posts

live streaming


Suggestions

Got an example of one of those players?
michael
@michael
04/24/17 09:34:34PM
7,826 posts

live streaming


Suggestions

Point any contacts in the Venture Capital funding field our way ;)
michael
@michael
04/24/17 09:33:01PM
7,826 posts

sb wont save widgets generates error


Using Jamroom

Check your Site Builder version. Seams like a version intended for the BETA channel has managed to be installed on non-beta channel sites.

Steps to revert are here:
https://www.jamroom.net/the-jamroom-network/forum/new_posts/51515/site-builder-is-malfunctioning

--edit--
If the version is 2.0.3 then downgrade to 2.0.2 until the Jamroom Core 6.1 beta is released.
updated by @michael: 04/24/17 09:35:55PM
michael
@michael
04/24/17 08:49:39PM
7,826 posts

live streaming


Suggestions

totally agree, its a great idea for those that need it.
  230