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
  #2  
Old 12-27-2007, 11:24 PM
Konstantinos Konstantinos is offline
 
Join Date: Apr 2006
Posts: 443
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

cool . but can u add a flash player ? it whould be looking much better
Reply With Quote
  #3  
Old 12-28-2007, 12:14 AM
hdczns hdczns is offline
 
Join Date: Nov 2007
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, you can, its just the same type of object and the source will be a little difference but overall the same technique
Reply With Quote
  #4  
Old 12-28-2007, 12:57 AM
Mass Mass is offline
 
Join Date: Dec 2005
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This looks pretty cool dude. I might try it. Thanks.
Reply With Quote
  #5  
Old 12-28-2007, 04:49 AM
S7rik3R's Avatar
S7rik3R S7rik3R is offline
 
Join Date: Mar 2007
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks Cool ... going to try it out now ...
Reply With Quote
  #6  
Old 12-28-2007, 05:28 AM
S7rik3R's Avatar
S7rik3R S7rik3R is offline
 
Join Date: Mar 2007
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Step one:
Create a new profile field.
Single-Line Text Box
Title MP3 URL
Description http://www.evotus.com/mp3/Viva.mp3

save and replace $post[field1] with the field (like $post[field8]

I replace the field5 to what is name. field7

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

Step Two:

Create a new profile field.
Single-Line Text Box
Title MP3 Title
Description Viva

save and replace $post[field8] with the field (like $post[field9]


I replace the field5 to what is name. field8

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

I tried installing but as I change the fields from field4 >> field"7" and field5 to field"8" but nothing was shown.


This is what I edited in the "MEMBERINFO"


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

In MEMBERINFO Template paste where you would like it

Quote:
<if condition="$post[field7]">
<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[field7]">&nbsp;-&nbsp;$post[field4]</if></td>
</tr>
</table></if>

<if condition="$post[field8]">
<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="http://www.evotus.com/mp3/Viva.mp3" value="$post[field8]">
</object>
</center></td></tr></table></if>
Nothing seems to appears
Reply With Quote
  #7  
Old 12-28-2007, 09:03 AM
Konstantinos Konstantinos is offline
 
Join Date: Apr 2006
Posts: 443
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hdczns View Post
Yes, you can, its just the same type of object and the source will be a little difference but overall the same technique
can u share the code for the flash player plz ?
Reply With Quote
  #8  
Old 12-28-2007, 11:27 AM
BlizzardHQ BlizzardHQ is offline
 
Join Date: Dec 2007
Location: Fort Wayne Indiana
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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...
Reply With Quote
  #9  
Old 12-28-2007, 06:13 PM
Bl4z3 Bl4z3 is offline
 
Join Date: Oct 2007
Location: /dev/null
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by S7rik3R View Post
================================================

I tried installing and I changed the fields from field4 >> field"7" and field5 to field"8" but nothing was shown.


This is what I edited in the "MEMBERINFO"


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

In MEMBERINFO Template paste where you would like it



Nothing seems to appears
Same here, nothing shows up.
Reply With Quote
  #10  
Old 12-28-2007, 06:43 PM
TCE Killa TCE Killa is offline
 
Join Date: Dec 2007
Posts: 330
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How do you get it to autoplay? Thanks.
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:45 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.15902 seconds
  • Memory Usage 2,298KB
  • 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
  • (1)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
  • (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