Back to vBulletin 3.7 Add-ons

Mp3 Player For User Profiles
Mod Version: 1.1, by pein87

This modification is in the archives.
vB Version: 3.7.x Rating: (1 vote - 5.00 average) Installs: 10
Released: 13 Dec 2008 Last Update: 13 Dec 2008 Downloads: 61
Not Supported Uses Plugins Auto-Template Re-usable Code External Content  

I say that there was a demand for and mp3 player mod here on vbulletin.org. I used one from

http://www.myflashfetish.com/

You will need to sign up its free!!

Create a new profile field single-lline text box.

Make it editable by users and private, non-searchable. Save and then
Import the product and open the template:

memberinfo_block_music

and find:

PHP Code:
$userinfo[field15
And change to what ever yours is.
next tell your users to fill out there prefs to there mp3 player. Next tell them to copy the embed code. From there you will need to tell them to look for:

PHP Code:
<param name="flashvars" value="[color="red"][b]myid=16092906&path=2008/12/12&mycolor=222222&mycolor2=77ADD1&mycolor3=FFFFFF&autoplay=true&rand=0&f=4&vol=100&pat=10&grad=true[/b][/color]"/></object
They will need to copy the entire code inside the value="" I`ll highlight it in red fo you to see it.

Next open the template MEMBERINFO

next go to the bottom of that and look for

PHP Code:
$blocks[stats_mini]
$template_hook[profile_right_mini]
$blocks[friends_mini]
$blocks[albums]
$template_hook[profile_right_album]
$blocks[groups]
$blocks[visitors
Add in there $blocks[music] on a separate line so it looks like this:

PHP Code:
$blocks[mini]
$blocks[music
and save the template. Next follow the directions below to finish the install.

Tell them to add that entire code to there profile field and save it. This will add the mp3 player to there profile.

UPDATED:

Problem fixed!

you must do a fresh install of the product if you`ve already done it if not follow these instructions as well

Create another single text line user profile field and name it MP3 swf type.

Description: to show the version of mp3 player your using.

The rest is the same as above.

in template: memberinfo_block_music

Find:

PHP Code:
$userinfo[field16
Change 16 to the number of your profile field and save.

PHP Code:
<object type="application/x-shockwave-flash" data="http://assets.myflashfetish.com/swf/mp3/[color="red"][b]mixpod.swf[/b][/color]" 
you must switch the mixpod.swf to what ever .swf version that is used.

The mp3 player features the ability to upload your own songs to be played on you profile.

Download

This modification is archived, downloads are still allowed.

File Type: %1$s product-profile-mp3-player.xml (2.2 KB, 67 downloads)


vblts.ru supports vBulletin®, 2022-2024