Jamroom Logo Jamroom 5 Core
is now Open Source!
User Support Forum Archive (Read Only)
Third Party Products and Support:
Custom Color Nova Player
ReOz



Joined: 07 Sep 2008
Posts: 120

Posted: 05/03/10 09:52 
[03-May-2010 08:23:04] PHP Fatal error: Smarty error: [in /home3/bea10002/public_html/Music/themes/Nova/player_audio.tpl line 10]: syntax error: unrecognized tag 'tm_flash_player' (Smarty_Compiler.class.php, line 590) called in template: in /home/bea10002/public_html/Music/include/smarty/libs/Smarty.class.php on line 1093

** the themes/Nova/config_css.cfg file seems to be in place. Just the themes/Nova/player_audio.tpl is showing a error when in-putting the script for the custom color nova player. Below is the audio.tpl / where is the code suppose to go? **


{if $smarty.config.audio_flash_player == 'nova' && is_file("`$JAMROOM_DIR`/themes/Nova/Nova_mp3_515x250.swf")}

{if $SONG_HIFI_MP3_STREAM_COUNT > 0}
{assign var="play_url" value="`$JAMROOM_URL`/play.php?mode=song_hifi&band_id=`$BAND_ID`&song_id=all&format=nv_2&type=xspf"}
{else}
{assign var="play_url" value="`$JAMROOM_URL`/play.php?mode=song_lofi&band_id=`$BAND_ID`&song_id=all&format=nv_2&type=xspf"}
{/if}
********THE CODEvvvv************
{*jr_flash_player playlist_url=$play_url player_type="`$JAMROOM_URL`/themes/Nova/Nova_mp3_515x250.swf" width="515" height="250"*}
{tm_flash_player player_type="`$JAMROOM_URL`/themes/Nova/Nova_mp3_515x250_custom_color.swf" band_id=$BAND_ID width="515" height="250" allowcolor="true" css="Nova" selector=".player-color" }
********THE CODE^^^^************
{elseif $smarty.config.audio_flash_player == 'mediaplayer' && is_file("`$JAMROOM_DIR`/include/jeroen/mediaplayer.swf")}

{if $SONG_HIFI_MP3_STREAM_COUNT > 0}
{assign var="play_url" value="`$XSPF_HIFI_PLAYALL_URL`%26jeroen=1"}
{else}
{assign var="play_url" value="`$XSPF_LOFI_PLAYALL_URL`%26jeroen=1"}
{/if}

{* Jeroen v3 player *}
<script type='text/javascript'>
var so = new SWFObject('{$JAMROOM_URL}/include/jeroen/mediaplayer.swf','audio_player','{$smarty.config.profile_player_width}','{$smarty.config.profile_player_height}','9','#D4D7D9');
so.addParam('allowfullscreen','false');
so.addParam('allowscriptaccess','always');
so.addParam('wmode','opaque');
so.addVariable('usefullscreen','false');
so.addParam('flashvars','file={$play_url}&playlist=right&playlistsize=285&displaywidth=230&repeat=list');
so.write('player');
</script>


{elseif $smarty.config.audio_flash_player == 'jeroen' && is_file("`$JAMROOM_DIR`/include/jeroen/player_v4.swf")}

{if $SONG_HIFI_MP3_STREAM_COUNT > 0}
{assign var="play_url" value="`$XSPF_HIFI_PLAYALL_URL`%26jeroen=1"}
{else}
{assign var="play_url" value="`$XSPF_LOFI_PLAYALL_URL`%26jeroen=1"}
{/if}

{* Jeroen v4 player *}
<script type='text/javascript'>
var so = new SWFObject('{$JAMROOM_URL}/include/jeroen/player_v4.swf','audio_player','{$smarty.config.profile_player_width}','{$smarty.config.profile_player_height}','9','#D4D7D9');
so.addParam('allowfullscreen','false');
so.addParam('allowscriptaccess','always');
so.addParam('wmode','opaque');
so.addVariable('usefullscreen','false');
so.addParam('flashvars','file={$play_url}&playlist=right&playlistsize=285&backcolor={$smarty.config.jw_player_backcolor}&screencolor={$smarty.config.jw_player_screencolor}&frontcolor={$smarty.config.jw_player_frontcolor}&lightcolor={$smarty.config.jw_player_lightcolor}&repeat=list');
so.write('player');
</script>


{elseif strstr($smarty.config.audio_flash_player,'swf')}

{if $SONG_HIFI_MP3_STREAM_COUNT > 0}
{assign var="play_url" value=$XSPF_HIFI_PLAYALL_URL}
{else}
{assign var="play_url" value=$XSPF_LOFI_PLAYALL_URL}
{/if}

{jr_flash_player player_type=$smarty.config.audio_flash_player playlist_url=$play_url width=$smarty.config.profile_player_width height=$smarty.config.profile_player_height}


{else}

{* XSPF Audio Player *}
{if $SONG_HIFI_MP3_STREAM_COUNT > 0}
{assign var="play_url" value=$XSPF_HIFI_PLAYALL_URL}
{else}
{assign var="play_url" value=$XSPF_LOFI_PLAYALL_URL}
{/if}

{jr_flash_player playlist_url=$play_url width=$smarty.config.profile_player_width height=$smarty.config.profile_player_height}


{/if}

Back to top
Douglas
Jamroom Team


Joined: 08 Oct 2004
Posts: 6639
Location: Tornado Alley!

Posted: 05/03/10 09:56 
This:


Code
********THE CODEvvvv************
{*jr_flash_player playlist_url=$play_url player_type="`$JAMROOM_URL`/themes/Nova/Nova_mp3_515x250.swf" width="515" height="250"*}
{tm_flash_player player_type="`$JAMROOM_URL`/themes/Nova/Nova_mp3_515x250_custom_color.swf" band_id=$BAND_ID width="515" height="250" allowcolor="true" css="Nova" selector=".player-color" }
********THE CODE^^^^************


should be this:


Quote:
********THE CODEvvvv************
{*jr_flash_player playlist_url=$play_url player_type="`$JAMROOM_URL`/themes/Nova/Nova_mp3_515x250.swf" width="515" height="250"*}
{jr_flash_player player_type="`$JAMROOM_URL`/themes/Nova/Nova_mp3_515x250_custom_color.swf" band_id=$BAND_ID width="515" height="250" allowcolor="true" css="Nova" selector=".player-color" }
********THE CODE^^^^************


Hope this helps Smile


_________________
Douglas Hackney
Jamroom Network Team Member: http://www.jamroom.net
Priority Support: http://www.jamroom.net/Support_Center
Back to top
ReOz



Joined: 07 Sep 2008
Posts: 120

Posted: 05/03/10 10:21 
that cleared up the php error, but still cant changed the color on the player.

Back to top
daddysylem
DS Flash Players


Joined: 30 Mar 2005
Posts: 4086
Location: Southern California

Posted: 05/03/10 19:30 

SixString:

should be this:


Quote:
********THE CODEvvvv************
{*jr_flash_player playlist_url=$play_url player_type="`$JAMROOM_URL`/themes/Nova/Nova_mp3_515x250.swf" width="515" height="250"*}
{jr_flash_player player_type="`$JAMROOM_URL`/themes/Nova/Nova_mp3_515x250_custom_color.swf" band_id=$BAND_ID width="515" height="250" allowcolor="true" css="Nova" selector=".player-color" }
********THE CODE^^^^************


Hope this helps Smile


Six,
Actually I think it needs to stay tm_flash_player as elygen released an edited version of the original file in his Mod. So elygen will need to look at this and see whats wrong as I'm not real familiar with his Mod.

Thanks.....


_________________
I have no idea why I do this..................
Email: daddysylem[at]dsplayerskins.com
DSPlayerSkins.com
GCFireSprinkler.com
Back to top
elygen



Joined: 22 Feb 2007
Posts: 637

Posted: 05/03/10 20:53 

Quote:
syntax error: unrecognized tag 'tm_flash_player'

This line tells me that it can't find the smarty plugin.
Make sure that function.tm_flash_player is in "includes>plugins>smarty"
Did you copy the themes and include folder in the CustomColorNovaPlayer.zip file?


_________________
~ Todd
=================
Happy Jamrooming
New Jersey
www.bandarray.com
Back to top
ReOz



Joined: 07 Sep 2008
Posts: 120

Posted: 05/03/10 21:13 
yeah, i copied the two folders. should i re upload them again?

and as far as tm or jm. it should stay tm right?

Back to top
audiocandy
Beta Team


Joined: 23 Nov 2004
Posts: 945

Posted: 05/03/10 21:40 
Just an outside maybe help...

I think the supplied directions say... "includes" as a folder destination for the plugins.

Our JR install has that folder named "include" which I think is the default.

Maybe double check where the uploads are going to, folder wise.

We got this mod working pretty simply (other than us first trying to upload to a wrong folder)



..Bill


_________________
Boundless insanity at www.audiocandy.com
Back to top
elygen



Joined: 22 Feb 2007
Posts: 637

Posted: 05/03/10 22:34 
Yes it should be tm_flash_player.
There is a new download with the fix to the directory name.
Please check here before downloading it.
http://www.jamroom.net/phpBB2/viewtopic.php?p=195110#195110

Thanks


_________________
~ Todd
=================
Happy Jamrooming
New Jersey
www.bandarray.com
Back to top
ReOz



Joined: 07 Sep 2008
Posts: 120

Posted: 05/03/10 22:56 
hmm.. well i was looking at my folders i uploaded and the include folder had an (s) on it at the end, which was messing things up. re upload the new download into the already include folder, rebuilt my profiles, and boom! it's working. Have a blue flash player now. Thanks.

Back to top
audiocandy
Beta Team


Joined: 23 Nov 2004
Posts: 945

Posted: 05/03/10 23:23 
Yay Wink

...Bill


_________________
Boundless insanity at www.audiocandy.com
Back to top
pitrager



Joined: 10 Jan 2008
Posts: 265
Location: Phoenix, AZ

Posted: 05/12/10 22:59 
How do I get control of the tabs and text?

The background color changing is awesome, but like yellow players with gray tabs looks tacky.

Some fonts do not work with certain colors too.

Unless I installed this wrong lol

Back to top
ReOz



Joined: 07 Sep 2008
Posts: 120

Posted: 05/13/10 04:02 
My custom color player use to be blue, then I noticed it was back to the original color. I was going to compare what i had in my template with what was shown in the jamroom module section. But i cant find the section.

Is custom color player still active with jamroom? Or is my template in need of fixing?

Back to top
elygen



Joined: 22 Feb 2007
Posts: 637

Posted: 05/13/10 04:31 

Edge666:
How do I get control of the tabs and text?

The background color changing is awesome, but like yellow players with gray tabs looks tacky.

Some fonts do not work with certain colors too.

Unless I installed this wrong lol


Have you downloaded the latest release? The tabs and song highlight bar change colors now as well.


Quote:
My custom color player use to be blue, then I noticed it was back to the original color. I was going to compare what i had in my template with what was shown in the jamroom module section. But i cant find the section.

Is custom color player still active with jamroom? Or is my template in need of fixing?

Are you using a shared skin? If you are and the owner of the shared skin changed the player color it would relfect on your profile. Here is the link to the Module in the marketplace http://www.jamroom.net/index.php?m=td_market&o=browse&company=Pants+and+Stars


_________________
~ Todd
=================
Happy Jamrooming
New Jersey
www.bandarray.com
Back to top
ReOz



Joined: 07 Sep 2008
Posts: 120

Posted: 05/13/10 11:00 
I'm not really sure what happen. Anyway. I re-entered the code back into the player_audio.tpl and BOOM! It's working once again.

Thanks!

-Re0z

Back to top
pitrager



Joined: 10 Jan 2008
Posts: 265
Location: Phoenix, AZ

Posted: 05/13/10 11:35 
he he I have to stop downloading zips and letting them sit before I install.

Works bitchin, nice work... Twisted Evil

Back to top
Display posts from previous:   
User Support Forum Archive (Read Only)
Third Party Products and Support

12Next >
 
Solutions
• Social Media Platform
• Social Networking Software
• Musician Website Manager
• Community Builder
Products
• Jamroom Core
• Jamroom Addons
• Jamroom Modules
• Jamroom Marketplace
Support
• Support Forum
• Documentation
• Support Center
• Contact Support
Community
• Community Forum
• Member Sites
• Developers
Company
• About Us
• Contact Us
• Privacy Policy
©2003 - 2010 Talldude Networks, LLC.