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
  #2  
Old 04-29-2009, 05:34 AM
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Location: Australia
Posts: 2,469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It seems pretty cool. I have vbplaza installed so I often like to charge members points to enable features or to have songs etc. so it would be nice if the 2 were integrated.
Reply With Quote
  #3  
Old 04-29-2009, 01:15 PM
Jasem's Avatar
Jasem Jasem is offline
 
Join Date: Feb 2006
Location: www.menokia.com
Posts: 594
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great work , thank you!
Reply With Quote
  #4  
Old 04-29-2009, 10:51 PM
Chadi's Avatar
Chadi Chadi is offline
 
Join Date: May 2004
Location: USA
Posts: 2,043
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Glad you like it
Reply With Quote
  #5  
Old 04-30-2009, 01:17 AM
Darthvader2007 Darthvader2007 is offline
 
Join Date: Nov 2007
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can i get this player automatic played ?
So when a person go to my user page, this player play automatic. ?
And not that the person first have to putt the play button.
Reply With Quote
  #6  
Old 04-30-2009, 02:49 AM
x4a x4a is offline
 
Join Date: Nov 2007
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you

i love it but its wont work with me... i did evrything step by step but still wont work
Reply With Quote
  #7  
Old 04-30-2009, 11:20 AM
x4a x4a is offline
 
Join Date: Nov 2007
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

if i login i cant see the player...but if i view like a gust i can see the player

any help !!
Reply With Quote
  #8  
Old 04-30-2009, 12:57 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 Darthvader2007 View Post
Can i get this player automatic played ?
So when a person go to my user page, this player play automatic. ?
And not that the person first have to putt the play button.
Change

autoplay=false


to

autoplay=true
Reply With Quote
  #9  
Old 04-30-2009, 04:02 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 x4a View Post
if i login i cant see the player...but if i view like a gust i can see the player

any help !!
Check your usergroup permissions. Also, you may need to edit the plugin code to add userrgoups (custom):

This line:

if (is_member_of($vbulletin->userinfo,1 ,2 , 5, 6, 7))
Reply With Quote
  #10  
Old 04-30-2009, 08:06 PM
vibe vibe is offline
 
Join Date: Jan 2005
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nevermind, my mistake. works great.
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:01 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.05671 seconds
  • Memory Usage 2,364KB
  • 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
  • (3)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
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (5)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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_postinfo_query
  • fetch_postinfo
  • 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