Back to vBulletin 3.7 Add-ons

MP3 Player in Profile
Mod Version: 1.0, by fernas

This modification is in the archives.
vB Version: 3.7.x Rating: (12 votes - 4.50 average) Installs: 79
Released: 04 Aug 2008 Last Update: 04 Aug 2008 Downloads: 546
Not Supported Uses Plugins Template Edits Re-usable Code External Content  

Before anything, I want to thank to Mini YouTube Profile and Embed MP3 coders.

With this mod, your users can have music in their profiles. All the features of this mod are:

- Auto Play.
- MP3 Player in Right Side Block.

Install instuctions:

1.- Import product.
2.- Download Player: http://www.1pixelout.net/code/audio-player-wordpress-plugin/#download
3.- Upload player in forum root.
4.- Create 1 profile field:

Single-Line Text Box
Title: My Music (or whatever)
Description: Put a complete URL to your MP3 file.
Private field: Yes.
Field Searchable on Members List: No
Show on Members List: No

Save.

5.- Edit memberinfo_block_profmp3:

Code:
<if condition="$userinfo[fieldx]">
<div id="profmp3" class="tborder content_block">
	<h4 class="thead block_title">
		<a href="#top" class="collapse_gadget" onclick="return toggle_collapse('profmp3')"><img id="collapseimg_profmp3" src="images/buttons/collapse_generic.gif" alt="" border="0" /></a>
		<a name="albums"></a>
		<span class="block_name">My Music</span>
	</h4>
	<div class="block_content" id="collapseobj_profmp3" style="">
<div class="alt2" align="center"><script language="JavaScript" src="http://www.yousite.com/forum/audio-player/audio-player.js"></script>
<object type="application/x-shockwave-flash" data="http://www.yousite.com/forum/audio-player/player.swf" id="audioplayer4" height="24" width="220">
<param name="movie" value="http://www.yoursite.com/forum/audio-player/player.swf">
<param name="FlashVars"
value="playerID=4&amp;slider=0x303030&track=0xFFFFFF&border=0x666666&loader=0xC52C24&autostart=yes&loop=yes&soundFile=$userinfo[fieldx]">
<param name="quality" value="high">
<param name="menu" value="false">
<param name="wmode" value="transparent">
</object>
</div>
</div>
</div>
</if>
Change in fieldx the x with the ID of your profile field.
Change yoursite.com/... with your domain and with the directory where you uploaded the audo player files.

6.- Edit MEMBERINFO template and search:

Code:
$blocks[stats_mini]
$template_hook[profile_right_mini]
$blocks[friends_mini]
$blocks[albums]
$template_hook[profile_right_album]
$blocks[groups]
$blocks[visitors]
Put $blocks[profmp3] whatever you want in there:

Code:
$blocks[stats_mini]
$template_hook[profile_right_mini]
$blocks[friends_mini]
$blocks[albums]
$template_hook[profile_right_album]
$blocks[profmp3]
$blocks[groups]
$blocks[visitors]
Sorry for my English .

Download

This modification is archived, downloads are still allowed.

File Type: %1$s mp3-member-profile.xml (2.4 KB, 580 downloads)

Screenshots

Click image for larger version
Name:	mymusic.jpg
Views:	1949
Size:	9.2 KB
ID:	84983  

Similar Mods

Profile Enhancements EPC MySpace Music Player to Profile vBulletin 3.6 Add-ons
Integration with vBulletin Embed Mp3 Player in Profile vBulletin 3.6 Template Modifications

vblts.ru supports vBulletin®, 2022-2024