Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons

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.8.x Rating:
Released: 04-28-2009 Last Update: 05-05-2009 Installs: 65
Uses Plugins Template Edits
 
No support by the author.

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



Should work fine on 3.6x and up

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 *

Download Now

File Type: xml product-mixpod-default.xml (2.0 KB, 259 views)
File Type: xml product-mixpod-custom-colors.xml (2.0 KB, 267 views)

Screenshots

File Type: png mixpod.png (75.6 KB, 0 views)
File Type: png admin-sample.png (43.2 KB, 0 views)
File Type: png edit-details.png (22.5 KB, 0 views)

Show Your Support

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

Comments
  #62  
Old 01-08-2011, 04:48 AM
Anne Bonny Anne Bonny is offline
 
Join Date: Jul 2010
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Super fun and super easy. Thanks so much! My members are going to love this.
Reply With Quote
  #63  
Old 10-13-2011, 12:25 PM
haytham's Avatar
haytham haytham is offline
 
Join Date: Jan 2003
Location: USA-Egypt-UAE
Posts: 510
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone got this to work on version 4?
Reply With Quote
  #64  
Old 11-25-2012, 09:52 PM
XGC Paravain's Avatar
XGC Paravain XGC Paravain is offline
 
Join Date: Oct 2012
Location: Millbury,Mass
Posts: 184
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My Question is will this work for 4.2.0? and next question is about the custom colors do I need to install that to change the colors in the mixpod do I install them both?
Reply With Quote
Reply

Thread Tools

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 12:24 AM.


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.11854 seconds
  • Memory Usage 2,279KB
  • Queries Executed 19 (?)
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
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (3)postbit
  • (5)postbit_attachment
  • (4)postbit_onlinestatus
  • (4)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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete