Forum Activity for @michael

michael
@michael
11/28/13 01:37:49AM
7,832 posts

Updating jamroom changed all my templates, can I revert back?


Using Jamroom

How did you do the edits? via the template editor or via FTP? How did you do the update, via the ACP -> MARKETPLACE -> SYSTEM UPDATES feature?

Did you clone the skin before you made the changes or were you working directly on the existing skin.

Here is the docs on cloning a skin:
https://www.jamroom.net/the-jamroom-network/documentation/skins/839/creating-your-own-skin

Your changes should still be there if you look at your /skins/ folder and look for something like:
/skins/(your skin name)-release-1.0.2

Look for the older version, that should have your changes.
michael
@michael
11/27/13 05:41:07PM
7,832 posts

a system level error was encountered trying to validate the form values: error: Internal Server Error


Installation and Configuration

That error is the server saying: "I need the file /skins/jrElastic/include.php but its not there :("
michael
@michael
11/27/13 04:43:22PM
7,832 posts

Image upload-Song form field


Using Jamroom

to elaborate on what paul said:
<img src="{$SONG_IMAGE_URL}">

My only reservation with that code is if you allow the user to input anything, they can put any url in there and call in other scripts to your site that could be used for an attack.

If there are a limited number of labels images, i suggest that you create a dropdown list of those labels then use that instead.

so create a 'select choice' custom form field with the labels names:
label1
label2
label3

then use this code instead:
<img src="{$JAMROOM_URL}/images/labels/{$SONG_LABEL_IMAGE}.png">

safer.
michael
@michael
11/27/13 04:30:28PM
7,832 posts

CSS Override


Design and Skin Customization

Working on a set of videos now that cover converting a template into a skin.

Will be published as a course on udemy when its done, i sent you a PM with the promo code so you can access it now @ba9801 .

If your interested, i could use some feedback. (same goes to anyone else who wants to watch that and help me out, shoot me a PM.)
michael
@michael
11/27/13 04:18:14PM
7,832 posts

MOD: Audio Support - Song Download Checkbox


Using Jamroom

ba9801:
Hi Michael,
So the above edit will only show the download link if the user is logged in , correct?

I think what luis890 is asking ( as am I ) if the download link can be displayed to any user wether they are logged in or not.

But if they aren't logged in and click the download link, it would give them a message like
" You need an account to download songs. Click here to register"

Me myself , I feel that the download link should be there to entice the users to register ??
If they don't want to than they get no download, Simple.

Is there anyway of working that?

throw an {else} in.

{if jrUser_is_logged_in()}
//the download link
{else}
//show the button image but with a link to the login page
{/if}
michael
@michael
11/26/13 09:37:48PM
7,832 posts

MOD: Audio Support - Song Download Checkbox


Using Jamroom

You can add that to your site very easily by wrapping the download link in
{if jrUser_is_logged_in()}
//the download link
{/if}
michael
@michael
11/26/13 07:38:51PM
7,832 posts

Image upload-Song form field


Using Jamroom

Image upload cant be done using custom form fields in JR4, but you could allow the input of a URL.

Get use that url to point to an online image of the song labels logo perhaps.
michael
@michael
11/26/13 07:22:01PM
7,832 posts

Payment Question


Using Jamroom

That extra stuff can all be added with the "Form Designer"

"Using the Form Designer tool"
https://www.youtube.com/user/jamroomdotnet
michael
@michael
11/26/13 07:16:46PM
7,832 posts

A more Generic JR5


Using Jamroom

I think that was mentioned in a different thread. :)
  762