Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
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.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
  #12  
Old 05-01-2009, 08:50 AM
Darthvader2007 Darthvader2007 is offline
 
Join Date: Nov 2007
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Chadi View Post
Change

autoplay=false


to

autoplay=true
Thanks m8
Works perfect now.
Reply With Quote
  #13  
Old 05-01-2009, 11:58 AM
Chadi's Avatar
Chadi Chadi is offline
 
Join Date: May 2004
Location: USA
Posts: 2,043
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Glad to help you

Please click install, Darth.
Reply With Quote
  #14  
Old 05-01-2009, 04:50 PM
Rickeo's Avatar
Rickeo Rickeo is offline
 
Join Date: Jan 2007
Location: Manchester
Posts: 275
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks so much I would love to see your random tips mod on here
Reply With Quote
  #15  
Old 05-01-2009, 06:21 PM
Oblivion Knight's Avatar
Oblivion Knight Oblivion Knight is offline
 
Join Date: May 2002
Location: Sheffield, UK
Posts: 1,757
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, this is great!

A little info on how to change the player colours wouldn't hurt for the less knowledgable though..
I figured it out, and it's matching my skin perfectly.
Reply With Quote
  #16  
Old 05-04-2009, 12:47 PM
Chadi's Avatar
Chadi Chadi is offline
 
Join Date: May 2004
Location: USA
Posts: 2,043
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Oblivion Knight View Post
Thanks, this is great!

A little info on how to change the player colours wouldn't hurt for the less knowledgable though..
I figured it out, and it's matching my skin perfectly.
If you read carefully, you'd see that was right there in the my OP in green letters.

Quote:
Customize green highlighted color variables to match the colors of your forum
If you don't know how to change hue colors by now, Google is a click away after all.
Reply With Quote
  #17  
Old 05-05-2009, 06:29 AM
Oblivion Knight's Avatar
Oblivion Knight Oblivion Knight is offline
 
Join Date: May 2002
Location: Sheffield, UK
Posts: 1,757
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ah yes, my apologies - didn't see that.

I just saw the fieldx instruction with it highlighted in the code, and thought "oh, I know that.." - and must have skipped the second instruction..
Reply With Quote
  #18  
Old 05-05-2009, 10:08 AM
stangger5's Avatar
stangger5 stangger5 is offline
 
Join Date: Jan 2005
Location: Online
Posts: 1,130
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This just about looks like someone else`s code...All but for the embed code....hhmmm

Did you come up with this your self ??
Reply With Quote
  #19  
Old 05-06-2009, 07:41 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
  #20  
Old 05-08-2009, 11:41 PM
Darthvader2007 Darthvader2007 is offline
 
Join Date: Nov 2007
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The player in my profile is now only searching ?
It will not show or play my playlist anymore, what is happening ?

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

That's caused by their end, it has absolutely nothing to do with the mod. They're servers are probably overloaded.
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 07:14 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.11075 seconds
  • Memory Usage 2,366KB
  • Queries Executed 26 (?)
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
  • (4)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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (5)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)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