/ Published in: HTML
How to add music player to skins in IPB
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
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"> <input type="text" value="" name="field_11" class="input_text" size="40" id="field_11" style="display:block;"> </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 // -->