Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Embed Mp3 Player in Profile Details »»
Embed Mp3 Player in Profile
Version: 1.00, by hdczns hdczns is offline
Developer Last Online: Nov 2008 Show Printable Version Email this Page

Category: Integration with vBulletin - Version: 3.6.8 Rating:
Released: 12-26-2007 Last Update: 12-26-2007 Installs: 6
Template Edits
Re-useable Code  
No support by the author.

Hey PPZ

Here is modification, which is you can have a mp3 player in a profile...
Similar to Youtube One........ & Windows Media Player One....Here is the flash Now....!!

Code:
===================================================
Step one:
Create a new profile field.
Single-Line Text Box
Title		MP3 URL	 
Description     Type Mp3 Url Here...(ex. http://yourdomain.com/test.mp3)

save and replace $post[field1] with the field that you have (like $post[field5] 

===================================================

Step Two:

Create a new profile field.
Single-Line Text Box
Title		Your MP3 Title	 
Description     You can give your mp3 a title here

save and replace $post[field8] with the field that you have (like $post[field4] 

======================================================

Step Three:

PLZ EDIT FIELD 4 AND FIELD 5 ON YOUR EXACT FIELDS........

In MEMBERINFO Template paste where you would like it

<if condition="$post[field4]">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">$userinfo[username]'s Music <if condition="$post[field4]">&nbsp;-&nbsp;$post[field4]</if></td>
</tr>
</table></if>

<if condition="$post[field5]">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt2" style="border-bottom:0px solid $stylevar[tborder_bgcolor]" width="200" colspan="2">
<center>
<object id="HDMP3" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=" type="application/x-oleobject" standby="Loading content..." classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" height="60" width="300">
<param name="URL" value="$post[field5]">
</object>
</center></td></tr></table></if>
Thats it.....

Screenshots
--POSTED

Enjoy

CJ

Show Your Support

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

Comments
  #12  
Old 12-28-2007, 06:46 PM
TCE Killa TCE Killa is offline
 
Join Date: Dec 2007
Posts: 330
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Plus I got the play box in my profile, but it doesn't play at all, even if you click play. I have uploaded the song to my server, what should I do? I want it to autoplay aswell, thanks.
Reply With Quote
  #13  
Old 12-28-2007, 06:51 PM
hdczns hdczns is offline
 
Join Date: Nov 2007
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Code:
<if condition="$post[field4]">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">$userinfo[username]'s Music <if condition="$post[field4]">&nbsp;-&nbsp;$post[field4]</if></td>
</tr>
</table></if>

<if condition="$post[field5]">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt2" style="border-bottom:0px solid $stylevar[tborder_bgcolor]" width="200" colspan="2">
<center>
<object id="HDMP3" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=" type="application/x-oleobject" standby="Loading content..." classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" height="60" width="300">
<param name="URL" value="$post[field5]">
</object>
</center></td></tr></table></if>
THATS MY CODES.............AND ITS WORKING FINE

CHANGE FIELD 4 AND 5
FIELD 5 IS THE URL ONE
FIELD 4 IS THE TITLE.........
Reply With Quote
  #14  
Old 12-28-2007, 06:52 PM
hdczns hdczns is offline
 
Join Date: Nov 2007
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TCE Killa View Post
Plus I got the play box in my profile, but it doesn't play at all, even if you click play. I have uploaded the song to my server, what should I do? I want it to autoplay aswell, thanks.
ITS ALREADY SET ON AUTOPLAY

AND BE SURE TO EDIT THE FIELD FROM USERCP.........
Reply With Quote
  #15  
Old 12-28-2007, 06:55 PM
TCE Killa TCE Killa is offline
 
Join Date: Dec 2007
Posts: 330
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you elaborate a bit more and explain more throughly for dumbasses like myself? Lol.

Thanks.
Reply With Quote
  #16  
Old 12-28-2007, 07:08 PM
hdczns hdczns is offline
 
Join Date: Nov 2007
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BlizzardHQ View Post
So basically you took my stream youtube instructions, changed the video to mp3 streaming and released it as your own idea.. not even a mention of idea based off of it...
Done happy
Reply With Quote
  #17  
Old 12-28-2007, 07:19 PM
TCE Killa TCE Killa is offline
 
Join Date: Dec 2007
Posts: 330
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well I've done everything right, it says TCEKilla's Music - Song Title in profile, its just the song doesn't play at all. What do I do?
Reply With Quote
  #18  
Old 12-28-2007, 08:46 PM
TCE Killa TCE Killa is offline
 
Join Date: Dec 2007
Posts: 330
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've got it working, the dumb idiot being me forgot to add mydomain/forums/mp3song.mp3. I just put in mydomain/mp3song.mp3.

Great mod this one, thanks alot. Rated 5 and marked installed.
Reply With Quote
  #19  
Old 12-29-2007, 09:17 PM
Konstantinos Konstantinos is offline
 
Join Date: Apr 2006
Posts: 443
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i cant center the player in IE7 while it is centered on FF. i also tried centering by changing the code but in ie7 the player displays in the left :/
Reply With Quote
  #20  
Old 01-05-2008, 06:44 PM
BulletNow BulletNow is offline
 
Join Date: Apr 2007
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wont work for FF Users?
Reply With Quote
  #21  
Old 02-19-2008, 08:22 AM
MiahBeSmokin420 MiahBeSmokin420 is offline
 
Join Date: May 2007
Location: Ohio
Posts: 311
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BlizzardHQ View Post
So basically you took my stream youtube instructions, changed the video to mp3 streaming and released it as your own idea.. not even a mention of idea based off of it...
its not like it takes a genius i mean i did the same thing on my site but a lil bit diffrently with a little less code and also letting people add:
.MP3 .WMA Streaming URL's (Online Radio Stations) and even play lists

anyone can do it all you need is a little experience with html and a very basic <embed> code and if you want a player with it then just add a few more lines of code for the source of the player

but then again the reason people post these things on here is cause what they post is theres in a since cause they took the time to make it the way they wanted it to look and then decided

hey ima be a nice guy and share it with everyone else

im sure his intentions were not to try to steal something that you posted before and he possible never even seen what you posted

let alone where exactly did you get the code to make your youtube videos embed? im sure you technically stole the embed code from youtube in a since but they are not complaining that you added a html table around the player and called it yours cause you posted it first

basically what im trying to say is this is a community that believes in sharing

when people think of new ideas and so on they like to share what they did not with any intentions to try to "Steal" someone else's "mod" but just to share

see where im coming from? im not trying to be mean but anyone with basic html knowledge can make something embedded and have a table around it but the real question is can you make the player to play what you want to play?

now if someone made a player and changed the coding a little bit and just moved a button or some thing like that then ya its understandable to get pissed

but ya i got to go im kinda working on something i just stumbled upon this post in the process and figured i would read it and i decided to reply on your post

sorry if i offended you in any way this post was not meant to put anyone down, dis or offend anyone in any way just letting people know that this is just basic html that can be found anywhere
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 12:58 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.04508 seconds
  • Memory Usage 2,311KB
  • Queries Executed 25 (?)
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
  • (3)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
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete