Forum Activity for @michael

michael
@michael
02/22/16 01:00:36PM
7,839 posts

add "Empty Playlist" help text to the profile tab.


Design and Skin Customization

It can be done by changing the
/modules/jrPlaylist/templates/item_list.tpl

from the end:
{/if}
to
{else}
    (Add items to a playlist by browsing the site media)
{/if}

But whether it should be there by default or not, im not sure about. We dont have a "click the + button to add an audio file" for the audio module or any of the other ones.

So the question becomes a "should documentation of how the modules work be included in the modules themselves".

Not sure it should. mmmm....
michael
@michael
02/22/16 12:20:05PM
7,839 posts

In need of some jrCore_download_file advice


Jamroom Developers

if not flags, set/get temp value, eg:
 jrCore_set_temp_value('jrAudio', $zipfile_name, time());

Its like an associative array but gets stored/retrieved via the database instead of cookies or the session.

What I would do to debug is to put a breakpoint where you want to use the $_user, then go looking higher in the stack to see if its there any earlier on. Might be gettable with
global $_user;

--
Why do you need the $_user data to be available, is it causing an issue?
michael
@michael
02/22/16 12:06:33PM
7,839 posts

Phpstorm help for Jamroom


Using Jamroom

ctrl+q

Hover over any function, not just jamrooms, and hit ctrl+q and it will show the doc-block for that function.

Works with normal php functions too.
michael
@michael
02/21/16 03:16:45PM
7,839 posts

keep existing Flashback menu URL's AND use the Site Builder Menu system


Design and Skin Customization

There's not much to think about.

You look at flashback's menu, if it has a menu button titled "community" that links to 'community' you make that menu item.

http://demo.jamroom.net/jrFlashback/

Community
http://demo.jamroom.net/jrFlashback/community

Then you will have a menu item linking to the community page.

Then the same for the next one "Charts" url is 'music_charts'
Then the same for the next one "Lists" url is 'artists'
Then the same for the next one "Galleries" url is 'galleries'
.......
michael
@michael
02/21/16 01:29:35PM
7,839 posts

My sitebuilder buttons dissapeared from my index


Using Jamroom

What changes did you make? hard to tell you steps to un-do it if we don't know what you did.

--edit--
or delete the page and start again
ACP -> SITE -> SITE BUILDER -> TOOLS -> PAGE BROWSER -> (select the page ) -> DELETE
updated by @michael: 02/21/16 01:35:34PM
michael
@michael
02/20/16 10:06:43PM
7,839 posts

Using a media player with Playlists


Using Jamroom

Thats the way it works. If the user is logged out they can create a playlist and when they create an account that playlist gets saved to their profile.
michael
@michael
02/20/16 10:04:51PM
7,839 posts

keep existing Flashback menu URL's AND use the Site Builder Menu system


Design and Skin Customization

If you use the Site Builder module it will put its own menu system there.

You could use that menu system to link to the URLs that are provided by flashback if you wanted to use both.
michael
@michael
02/19/16 02:52:49PM
7,839 posts

video not converting?


Using Jamroom

any errors in the error or activity log. My guess is its a problem with the video.

If i changed a .jpg filename to a .mp4 filename it would upload but it wouldn't convert.

If the base file is broken it wont be fixed during conversion.
michael
@michael
02/19/16 02:34:28PM
7,839 posts

Using a media player with Playlists


Using Jamroom

Try adding:
{jrCore_module_function function="jrPlaylist_button" playlist_for="jrAudio" item_id=$item._item_id title="Add To Playlist"}

To the row template that generates the image, that should add the 'add to playlist' button for the user to create a playlist.
  424