Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
MixPod Playlist MP3 Player in Profile Details »»
MixPod Playlist MP3 Player in Profile
Version: 1.50, by Chadi Chadi is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Profile Enhancements - Version: 3.7.x Rating:
Released: 04-28-2009 Last Update: 05-05-2009 Installs: 0
Uses Plugins Template Edits
 
No support by the author.

MixPod Playlist MP3 Player in Profile
(please nominate for mod of the month)



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

Installation
  1. Register a free account at www.mixpod.com and create your own custom playlist
  2. Install either one of the two plug-ins attached: admincp > manage products
  3. 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
  4. 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
  1. Install new plug-in attached and "overwrite" = yes
  2. Revert (not optional) the memberinfo_block_mixpod template
  3. 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:

Code:
<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)
Code:
<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

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

Code:
$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.

Quote:
"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-24
Check out my other mods:

*********** 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 *

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 04-29-2009, 07:24 PM
Il Pompa Il Pompa is offline
 
Join Date: May 2008
Location: Italy
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice job, thanks!! Run on vBulletin 3.8.2?
Reply With Quote
  #3  
Old 05-01-2009, 11:59 AM
Chadi's Avatar
Chadi Chadi is offline
 
Join Date: May 2004
Location: USA
Posts: 2,043
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes. Did you look at my profile? There other 3.8 version mods are there.
Reply With Quote
  #4  
Old 05-06-2009, 07:40 PM
Chadi's Avatar
Chadi Chadi is offline
 
Join Date: May 2004
Location: USA
Posts: 2,043
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*********** 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
****************************************
Reply With Quote
  #5  
Old 05-07-2009, 04:48 AM
Xeye Xeye is offline
 
Join Date: May 2009
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 ._.
Reply With Quote
  #6  
Old 05-07-2009, 11:26 AM
Chadi's Avatar
Chadi Chadi is offline
 
Join Date: May 2004
Location: USA
Posts: 2,043
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #7  
Old 05-07-2009, 10:54 PM
Xeye Xeye is offline
 
Join Date: May 2009
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good job, everything now is perfect ^.^

Thank you.
Reply With Quote
  #8  
Old 05-14-2009, 05:42 PM
Chadi's Avatar
Chadi Chadi is offline
 
Join Date: May 2004
Location: USA
Posts: 2,043
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

**** 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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:17 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04179 seconds
  • Memory Usage 2,290KB
  • Queries Executed 21 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete