Return to Snippet

Revision: 25874
at April 12, 2010 18:35 by IamFreddyG


Initial Code
User Control Panel > membersProfileForm

Find:

		<ul>
			{$optional_output}
		</ul>

Add Below:

<if test="IPSMember::isInGroup( $this->memberData, array(4,8,9) )">
	<ul>
		<li class="field" id="dgCustom">
			<label for="field_11">MixPod</label>
			<input type="text" value="" name="field_11" class="input_text" size="40" id="field_11" style="display:block;">
			<span class="desc">Add a custom mixpod.com playlist to your profile (playlist number only)</span>
		</li>
	</ul>
</if>


CSS: ipb_ucp.css

Add: 
li.field input#field_11 {display:none; }


Open: Profiles > profileModern

Add Below update bar

<!-- // START // -->

<if test="$member['field_11'] != """>
    <div id="mixpodPlayer">
      <object type="application/x-shockwave-flash" data="http://assets.myflashfetish.com/swf/mp3/mp-sk.swf" height="180" width="400" style="width:400px;height:180px">
        <param name="movie" value="http://assets.myflashfetish.com/swf/mp3/mp-sk.swf" />
        <param name="quality" value="high" />
        <param name="scale" value="noscale" />
        <param name="salign" value="TL" />
        <param name="wmode" value="transparent"/>
        <param name="flashvars" value="myid={$member['field_11']}&autoplay=true&rand=1&f=4&vol=100&rand=0&f=4&vol=100&mycolor=F2E9E1&mycolor2=1C140D&mycolor3=CBE86B&pat=0&grad=true"/>
      </object>
  </div>
</if>

<!-- // END // -->

Initial URL


Initial Description
How to add music player to skins in IPB

Initial Title
Music Player Profile View

Initial Tags


Initial Language
HTML