Forum Activity for @michael

michael
@michael
01/19/19 06:11:32PM
7,816 posts

Video Poster Background Not Showing


Using Jamroom

Can you show me an example of the OUTPUT that that tag generates?

my guess is its either using an iframe if it uses an HTML player, or its using a flash player.
michael
@michael
01/16/19 01:15:04PM
7,816 posts

Video Poster Background Not Showing


Using Jamroom

Can you show me an example of the OUTPUT that that tag generates?

my guess is its either using an iframe if it uses an HTML player, or its using a flash player.
michael
@michael
01/16/19 01:12:29PM
7,816 posts

expanded stats dashboard upgrade


Suggestions

All that info is recorded I think. If you wanted to set it up for your skin the jrCore_list with a 'return_count'
.... return_count="true".....
included would get you counts of stuff:

Docs: "{jrCore_list}"
https://www.jamroom.net/the-jamroom-network/documentation/module-developer-guide/89/jrcore-list

Thanks for the suggestion.
michael
@michael
01/16/19 01:06:02PM
7,816 posts

Resetting Cache


Suggestions

You could run in developer mode. That turns the caches off.
ACP -> MODULES -> TOOLS -> DEVELOPER TOOLS -> GLOBAL CONFIG -> RUN IN DEVELOPER MODE
michael
@michael
01/15/19 07:51:12PM
7,816 posts

Modify the guestbook module or build a custom module?


Jamroom Developers

:thumbs-up:

Hit us with specific questions where you get stuck. Open a thread for each question, let us solve it and open another thread for the next problem.

Mammoth threads never get read and quickly get confusing. :)

Start by setting up the module structure with an include.php file, then try to turn your module on in the ACP.

Look at the other modules as a guide.

--edit--
ah, and turn on developer mode so you dont get caching issues
ACP -> TOOLS -> DEVELOPER TOOLS -> GLOBAL CONFIG -> RUN IN DEVELOPER MODE
updated by @michael: 01/15/19 07:52:18PM
michael
@michael
01/15/19 07:47:29PM
7,816 posts

Video Poster Background Not Showing


Using Jamroom

SoftDesigns:
...
Question: If I host this Video on a different public server, how can I embed this video into the "bio" field of the profile?
...

iframe?
michael
@michael
01/15/19 07:38:54PM
7,816 posts

Moving a media image file


Jamroom Developers

There's a module that moves stuff from one profile to another. Im looking for it now. Cant remember the name. That will have how to do it in it.

--edit--
Found it, its called jrChangeOwner.

Look in the index.php view_jrChangeOwner_change_save() function.

The bit on moving files around is this:

                    // Check for and move any files
                    $_files = jrCore_get_directory_files(jrCore_get_media_directory($_xt['_profile_id']));
                    if ($_files && is_array($_files) && count($_files) > 0) {
                        foreach ($_files as $file) {
                            if (strstr($file, "{$_post['module']}_{$_xt['_item_id']}")) {
                                $sdir = jrCore_get_media_directory($_xt['_profile_id']);
                                rename("{$sdir}/{$file}", "{$tdir}/{$file}");
                            }
                        }
                    }

updated by @michael: 01/15/19 07:44:29PM
michael
@michael
01/15/19 07:35:45PM
7,816 posts

Modify the guestbook module or build a custom module?


Jamroom Developers

Better to make your own custom module. They're not that difficult to build and all follow the same basic structure, so once you know how to build a simple one like your thinking about you'll see that you can build any other one fairly easily.

You'll need:
* an index.php file to hold your create and update views
* an include.php file to hold your modules _init() function
* a schema.php file to initiate the datastore

Then depending on where you want the output to come out, maybe
* a /templates/item_index.tpl (to show a list of them on a profile index)
* a /templates/item_list.tpl (to show what they look like when called in a list by jrCore_list )
* a /templates/item_detail.tpl (to show them individually on their own page.)
michael
@michael
01/13/19 09:28:14PM
7,816 posts

Make Custom Module Pages Searchable


Jamroom Developers

adding the URL's to the datastore doesn't feel right to me. The datastore stores data and the search function searches the data. so if you want the page to be found by the search function you need to add the data that is searched to the datastore.

however the data got to the pages, its probably stored somewhere, so cant you take that and put it into the datastore?
michael
@michael
01/13/19 07:54:52PM
7,816 posts

ffgpeg not executable after update.


Installation and Configuration

Try changing it to
$_conf['jrSystemTools_ffmpeg_binary'] = '/usr/bin/ffmpeg';
  96