indie2industry
12-25-2008, 10:00 PM
With this mod, your users can place their music player from soundclick (http://www.soundclick.com) within their profiles.
Install Instructions:
>>>Step 1. Go To AdminCP, Create 1 profile field:
Single-Line Text Box
Title: Soundclick Music
Description: Insert your soundclick Band ID number here. You can find it by logging into
your soundclick profile and checking the ending of the URL.
Private field: Yes.
Field Searchable on Members List: No
Show on Members List: No
>>>>Step 2. import product
PLEASE NOTE!!!! BEFORE IMPORTING PRODUCT, edit the XML FILE
Find:
<phpcode><![CDATA[if (is_member_of($vbulletin->userinfo,1 ,2 , 5, 6, 7))
Change 1,2,5,6,7 to the usergroups you want to be able to view the music player.
>>>>Step 3. go to Style Manager-> edit templates-> Member Info Templates-> MEMBERINFO, find:
<div id="sidebar_container">
<!-- sidebar -->
directly under that put:
$blocks[Soundclick_music_player]
>>>>Step 4. go to Style Manager-> edit templates-> Member Info Templates-> memberinfo_block_scmusicplayer, find:
[fieldx]
([fieldx] shows up 2 times)
>>>>change "x" to appropriate field number<<<<
>>>>Step 5. Go to Style Manager-> edit templates-> Member Info Templates-> memberinfo_css, find:
#content_container
Directly below put:
<if condition="$userinfo[fieldx]">
{
width:865px;
float:$stylevar[left];
margin-$stylevar[right]:-256px;
}
</if>
Find:
#sidebar_container
Directly Below Put:
<if condition="$userinfo[fieldx]">
{
width:306px;
float:$stylevar[right];
}
</if>
If you have any custom templates that effect your css, make sure adjust them accordingly.
>>>>>change "[fieldx]" to appropriate field number<<<<
Click Installed:cool:
Install Instructions:
>>>Step 1. Go To AdminCP, Create 1 profile field:
Single-Line Text Box
Title: Soundclick Music
Description: Insert your soundclick Band ID number here. You can find it by logging into
your soundclick profile and checking the ending of the URL.
Private field: Yes.
Field Searchable on Members List: No
Show on Members List: No
>>>>Step 2. import product
PLEASE NOTE!!!! BEFORE IMPORTING PRODUCT, edit the XML FILE
Find:
<phpcode><![CDATA[if (is_member_of($vbulletin->userinfo,1 ,2 , 5, 6, 7))
Change 1,2,5,6,7 to the usergroups you want to be able to view the music player.
>>>>Step 3. go to Style Manager-> edit templates-> Member Info Templates-> MEMBERINFO, find:
<div id="sidebar_container">
<!-- sidebar -->
directly under that put:
$blocks[Soundclick_music_player]
>>>>Step 4. go to Style Manager-> edit templates-> Member Info Templates-> memberinfo_block_scmusicplayer, find:
[fieldx]
([fieldx] shows up 2 times)
>>>>change "x" to appropriate field number<<<<
>>>>Step 5. Go to Style Manager-> edit templates-> Member Info Templates-> memberinfo_css, find:
#content_container
Directly below put:
<if condition="$userinfo[fieldx]">
{
width:865px;
float:$stylevar[left];
margin-$stylevar[right]:-256px;
}
</if>
Find:
#sidebar_container
Directly Below Put:
<if condition="$userinfo[fieldx]">
{
width:306px;
float:$stylevar[right];
}
</if>
If you have any custom templates that effect your css, make sure adjust them accordingly.
>>>>>change "[fieldx]" to appropriate field number<<<<
Click Installed:cool: