Add New User Profile Field -> Single Line Text Box
Title: Profile Music
Description: Enter the URL to a music file you want to play in your profile
Default Value: [leave blank]
Max length of allowed user input: 255
Display Size: 55
Display Order: [leave alone]
Field Required: No
Private Field: No
Field Searchable on Members List: No
Show on Members List: No
Regular Expression: ^(http(s)?://([^<>*"]+|[a-z0-9/\\._\- !]+))$
Which page displays this option? Edit Profile
Save
Next: Edit the template 'memberinfo_customfields'
Change it to:
HTML Code:
<if condition="$profilefield[title] != 'Profile Music'">
<tr>
<td>
<strong>$profilefield[title]</strong>:<br />
$profilefield[value]
</td>
</tr>
<else />
<tr>
<td>
<strong>$profilefield[title]</strong>:<br />
Playing
<embed src='$profilefield[value]' autostart='true' loop='true' width='1' height='1' />
<noembed>
<bgsound src='$profilefield[value]'>
</noembed>
</td>
</tr>
</if>
- Zero Tolerance