Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons

Reply
 
Thread Tools
Mp3 Player For User Profiles Details »»
Mp3 Player For User Profiles
Version: 1.1, by pein87 pein87 is offline
Developer Last Online: Dec 2013 Show Printable Version Email this Page

Category: Profile Enhancements - Version: 3.7.x Rating:
Released: 12-12-2008 Last Update: 12-12-2008 Installs: 9
Uses Plugins Auto-Templates
Re-useable Code  
No support by the author.

I say that there was a demand for and mp3 player mod here on vbulletin.org. I used one from

http://www.myflashfetish.com/

You will need to sign up its free!!

Create a new profile field single-lline text box.

Make it editable by users and private, non-searchable. Save and then
Import the product and open the template:

memberinfo_block_music

and find:

PHP Code:
$userinfo[field15
And change to what ever yours is.
next tell your users to fill out there prefs to there mp3 player. Next tell them to copy the embed code. From there you will need to tell them to look for:

PHP Code:
<param name="flashvars" value="[color="red"][b]myid=16092906&path=2008/12/12&mycolor=222222&mycolor2=77ADD1&mycolor3=FFFFFF&autoplay=true&rand=0&f=4&vol=100&pat=10&grad=true[/b][/color]"/></object
They will need to copy the entire code inside the value="" I`ll highlight it in red fo you to see it.

Next open the template MEMBERINFO

next go to the bottom of that and look for

PHP Code:
$blocks[stats_mini]
$template_hook[profile_right_mini]
$blocks[friends_mini]
$blocks[albums]
$template_hook[profile_right_album]
$blocks[groups]
$blocks[visitors
Add in there $blocks[music] on a separate line so it looks like this:

PHP Code:
$blocks[mini]
$blocks[music
and save the template. Next follow the directions below to finish the install.

Tell them to add that entire code to there profile field and save it. This will add the mp3 player to there profile.


UPDATED:

Problem fixed!

you must do a fresh install of the product if you`ve already done it if not follow these instructions as well

Create another single text line user profile field and name it MP3 swf type.

Description: to show the version of mp3 player your using.

The rest is the same as above.

in template: memberinfo_block_music

Find:

PHP Code:
$userinfo[field16
Change 16 to the number of your profile field and save.

PHP Code:
<object type="application/x-shockwave-flash" data="http://assets.myflashfetish.com/swf/mp3/[color="red"][b]mixpod.swf[/b][/color]" 
you must switch the mixpod.swf to what ever .swf version that is used.


The mp3 player features the ability to upload your own songs to be played on you profile.

Show Your Support

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

Comments
  #2  
Old 12-13-2008, 04:29 AM
pein87's Avatar
pein87 pein87 is offline
 
Join Date: Sep 2008
Posts: 352
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Live Demo

Ok xml file updated and the issue is fixed please click installed and enjoy your mp3 player. Works very well any issue please post here for support.
Reply With Quote
  #3  
Old 12-13-2008, 04:56 AM
DawnsWebDesigns DawnsWebDesigns is offline
 
Join Date: Feb 2008
Location: Tulsa, OK
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I tried to download & got: Invalid Attachment specified. If you followed a valid link, please notify the administrator
Reply With Quote
  #4  
Old 12-13-2008, 05:03 AM
DawnsWebDesigns DawnsWebDesigns is offline
 
Join Date: Feb 2008
Location: Tulsa, OK
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

PS...this will play a playlist right? Like at MySpace?

Also I noticed at MyFlashFetish.com they have video playlist as well. You think you could do one of these for videos?

And there is another mp3 player mod...but it's for posts. That's how I did all these: http://www.dawnswebdesigns.com/forum...isplay.php?f=8. But I did want something for people's profiles too. Thanks.
Reply With Quote
  #5  
Old 12-13-2008, 05:09 AM
DawnsWebDesigns DawnsWebDesigns is offline
 
Join Date: Feb 2008
Location: Tulsa, OK
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you for adding the demo...I forgot to mention that. You have a very cool site by the way.
Reply With Quote
  #6  
Old 12-13-2008, 06:01 AM
DawnsWebDesigns DawnsWebDesigns is offline
 
Join Date: Feb 2008
Location: Tulsa, OK
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I can't get this to work. The only thing I could think of was I couldn't add anymore then this: myid=16092906&path=2008/12/12&mycolor=222222&mycolor2=77ADD1&mycolor3=FFFFFF& autoplay=true&rand=0&f to that profile field. So I edited the field to make the box bigger & allow more info to be put in but it didn't help.

I also uninstalled & reinstalled. I created 2 spaces...one for the ID info & one for the player info. the 2 15's I switched to the right # & the 2 16's I switched to the right #. It still don't work.
Reply With Quote
  #7  
Old 12-13-2008, 06:02 AM
Allan's Avatar
Allan Allan is offline
 
Join Date: Jun 2003
Location: France
Posts: 1,513
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

One question, where are to store the mp3 ?
Reply With Quote
  #8  
Old 12-13-2008, 06:12 AM
DawnsWebDesigns DawnsWebDesigns is offline
 
Join Date: Feb 2008
Location: Tulsa, OK
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Allan View Post
One question, where are to store the mp3 ?
I don't think you necessarily do. This links to a playlist at http://www.myflashfetish.com. Although I do see they allow you to upload mp3's there.
Reply With Quote
  #9  
Old 12-13-2008, 06:17 AM
secrtagnt secrtagnt is offline
 
Join Date: Mar 2008
Location: Los Angeles, CA
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DawnsWebDesigns View Post
I can't get this to work. The only thing I could think of was I couldn't add anymore then this: myid=16092906&path=2008/12/12&mycolor=222222&mycolor2=77ADD1&mycolor3=FFFFFF& autoplay=true&rand=0&f to that profile field. So I edited the field to make the box bigger & allow more info to be put in but it didn't help.

I also uninstalled & reinstalled. I created 2 spaces...one for the ID info & one for the player info. the 2 15's I switched to the right # & the 2 16's I switched to the right #. It still don't work.
There's another template edit you need to make (seems he may have forgotten it in the installation instructions).

Edit: Styles & Templates >> Member Info Templates >> MEMBERINFO

Look for...

Code:
$blocks[stats_mini]
$template_hook[profile_right_mini]
$blocks[friends_mini]
$blocks[albums]
$template_hook[profile_right_album]
$blocks[groups]
$blocks[visitors]
Put $blocks[music] anywhere in there.
For example:

Code:
$blocks[stats_mini]
$template_hook[profile_right_mini]
$blocks[friends_mini]
$blocks[music]
$blocks[albums]
$template_hook[profile_right_album]
$blocks[groups]
$blocks[visitors]
It should now show up.
Reply With Quote
  #10  
Old 12-13-2008, 06:28 AM
DawnsWebDesigns DawnsWebDesigns is offline
 
Join Date: Feb 2008
Location: Tulsa, OK
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That did it. Thank you very much. What could I edit to get the player a lil more centered within the block?
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 10:25 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04809 seconds
  • Memory Usage 2,308KB
  • Queries Executed 23 (?)
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
  • (2)bbcode_code
  • (6)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)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
  • (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_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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete