PDA

View Full Version : Profile Enhancements - MixPod Playlist MP3 Player in Profile


Chadi
04-28-2009, 10:00 PM
MixPod Playlist MP3 Player in Profile
(please nominate for mod of the month)

http://www.mixpod.com/images/mixpod-logo.gif

This will add a new mini block in your member's profiles to integrate your member's own MixPod.com playlist mp3 player! All mp3's are taken from various online media sites such as YouTube and several other sites. It also allows you to upload your own hosted mp3 files as well!

LIVE DEMO: click here (http://www.talkjesus.com/members/chad.html)

Installation

Register a free account at www.mixpod.com (http://www.mixpod.com/) and create your own custom playlist

Install either one of the two plug-ins attached: admincp > manage products
Create a new user profile field (admincp > add new user profile field > Single-Line Text Box
Title: MixPod Playlist MP3 Player

Description: What is your MixPod.com playlist ID?

Private Field: Yes
Field Searchable on Members List: No
Show on Members List: No
Save
Make a note of the new field# for that new profile field
Repeat step #3 for to create 4 more same user profile fields with only two field changes below. The other options (private, show on member list, etc the same)
Title: MixPod Background Color / Description: What background color would you like for your player?
Title: MixPod Color #1 / Description: What do you what the main skin color to be?
Title: MixPod Color #2 / Description: Currently playing song highlight color
Title: MixPod Color #3 / Description: What color buttons do you want? Upgrade Instructions

Install new plug-in attached and "overwrite" = yes
Revert (not optional) the memberinfo_block_mixpod template
Redo necessary template changes mentioned below
If installing custom-color version, add new user profile fields mentioned above in step #4. Skip this step if you're still using default version.
Template Edits
.............................

Step #1
(Edit template based on the version you installed, default or custom-color)

Edit template memberinfo_block_mixpod
Change two occurrences of "fieldX" to actual field number you noted (eg. field50)
Customize green highlighted color variables to match the colors of your forum
If you install the custom color version, you can skip this step
Default Version:

<if condition="$userinfo[fieldx]">
<div id="mixpod" class="tborder content_block">
<h4 class="thead block_title">
<a href="#top" class="collapse_gadget" onclick="return toggle_collapse('mixpod')"><img id="collapseimg_mixpod" src="images/buttons/collapse_generic.gif" alt="" border="0" /></a>
<a name="albums"></a>
<span class="block_name">My MixPod Playlist</span>
</h4>
<div class="block_content" id="collapseobj_mixpod" style="">
<div class="alt2" align="center">
<embed src="http://assets.myflashfetish.com/swf/mp3/mixpod.swf?myid=$userinfo[fieldx]" quality="high" wmode="window" bgcolor="ffffff" flashvars="mycolor=4d528c&mycolor2=f2a0f9&mycolor3=ffffff&autoplay=false&rand=1&f=4&vol=100&pat=1&grad=true" align="middle" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" border="0" style="visibility:visible;width:100%;height:300px;"></embed>
</div>
</div>
</div>
</if>
Custom-Color Version:

Edit template memberinfo_block_mixpod
Change six occurrences of "fieldX" to actual field number you noted for all 5 user profile fields you created (eg. field50)<if condition="$userinfo[fieldX]">
<div id="mixpod" class="tborder content_block">
<h4 class="thead block_title">
<a href="#top" class="collapse_gadget" onclick="return toggle_collapse('mixpod')"><img id="collapseimg_mixpod" src="images/buttons/collapse_generic.gif" alt="" border="0" /></a>
<a name="albums"></a>
<span class="block_name">My MixPod Playlist</span>
</h4>
<div class="block_content" id="collapseobj_mixpod" style="">
<div class="alt2" align="center">
<embed src="http://assets.myflashfetish.com/swf/mp3/mixpod.swf?myid=$userinfo[fieldX]" quality="high" wmode="window" bgcolor=$userinfo[fieldX] flashvars="mycolor=$userinfo[fieldX]&mycolor2=$userinfo[fieldX]&mycolor3=$userinfo[fieldX]&autoplay=true&rand=1&f=4&vol=100&pat=1&grad=true" align="middle" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" border="0" style="visibility:visible;width:100%;height:300px;"></embed>
</div>
</div>
</div>
</if>
Step #2
Edit template MEMBERINFO and search for

$blocks[groups]
$blocks[visitors]Put $blocks[mixpod] underneath anyone of those lines. Example:

$blocks[groups]
$blocks[mixpod]
$blocks[visitors]

Your members will now go to their control panel's Edit Details area to fill in their playlist ID. See screenshot for example.

"Search me, O God, and know my heart: try me, and know my thoughts: And see if there be any wicked way in me, and lead me in the way everlasting." - Psalm 139:23-24Check out my other mods:

Mods
Thread Listing by Letter with ABC Navigation Menu (https://vborg.vbsupport.ru/showthread.php?t=211939)
Text Background Highlight (https://vborg.vbsupport.ru/showthread.php?t=211940)
ESV Bible Verse with Audio (https://vborg.vbsupport.ru/showthread.php?t=211936)
My Shelfari Bookshelf Profile Tab (https://vborg.vbsupport.ru/showthread.php?t=212050)
Postbit Mini Box: Member Info Icons (https://vborg.vbsupport.ru/showthread.php?t=212052)
MixPod Playlist MP3 Player in Profile (https://vborg.vbsupport.ru/showthread.php?p=1801014)
Styles
Green Earth Admin Style (https://vborg.vbsupport.ru/showthread.php?p=1801526)
Purple Element Admin Style (https://vborg.vbsupport.ru/showthread.php?t=212035)
*********** CHANGELOG ***********

May 6th 2009

Fixed minor usergroup permission
Added custom color options for members! (suitable for forums that allow member profile skinning enabled)

Set autoplay to true
****************************************

Please show your appreciation by voting and clicking install :up:

* Please Note: No Support Provided via PM or Email, only in This Thread for those who click Install *

Il Pompa
04-29-2009, 07:24 PM
Nice job, thanks!! Run on vBulletin 3.8.2?

Chadi
05-01-2009, 11:59 AM
Yes. Did you look at my profile? There other 3.8 version mods are there.

Chadi
05-06-2009, 07:40 PM
*********** CHANGELOG ***********

May 6th 2009

Fixed minor usergroup permission
Added custom color options for members! (suitable for forums that allow member profile skinning enabled)

Set autoplay to true
****************************************

Xeye
05-07-2009, 04:48 AM
Hello,

It's great Mod and i installed it but i have small problem.

I can't change the colors for the player on my profile page and it's show only one color.

Can you help me to fix it please? and can you tell me how to change the Auto play to off?

PS. I used the Custom-Color Version, and can you tell us what's the different between them?

* clicked install and Nominate

==== Edit ====

I installed the Default Version and everything is ok now.

I Just can't change the auto play to off mode ; ;

By the way, should i be signed in to mixpod.com to show my playlist on my profile page? cuz i think it's won't show for me if i'm not signed in ._.

Chadi
05-07-2009, 11:26 AM
You don't have to be signed in, its a public playlist (assuming you set the setting to public).

If you want autoplay off, edit the mixpod template and change

autoplay=true

to

autoplay=false

Xeye
05-07-2009, 10:54 PM
Good job, everything now is perfect ^.^

Thank you.

Chadi
05-14-2009, 05:42 PM
**** Update ****

This 3.7x mod will be moved to the graveyard. Please visit my profile and you'll see the 3.8 mod. Click install, no changes necessary as they're all compatible with 3.7x and 3.6 x anyway. Its important to click install on the 3.8x mod thread to receive future updates and bug fixes. Thank you.