vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Integration with vBulletin - Embed Mp3 Player in Profile (https://vborg.vbsupport.ru/showthread.php?t=166271)

hdczns 12-26-2007 10:00 PM

Embed Mp3 Player in Profile
 
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

Konstantinos 12-27-2007 11:24 PM

cool . but can u add a flash player ? it whould be looking much better

hdczns 12-28-2007 12:14 AM

Yes, you can, its just the same type of object and the source will be a little difference but overall the same technique

Mass 12-28-2007 12:57 AM

This looks pretty cool dude. I might try it. Thanks.

S7rik3R 12-28-2007 04:49 AM

Looks Cool ... going to try it out now ...

S7rik3R 12-28-2007 05:28 AM

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. :confused:


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

Konstantinos 12-28-2007 09:03 AM

Quote:

Originally Posted by hdczns (Post 1410436)
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 ?

BlizzardHQ 12-28-2007 11:27 AM

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...

Bl4z3 12-28-2007 06:13 PM

Quote:

Originally Posted by S7rik3R (Post 1410573)
================================================

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


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.

TCE Killa 12-28-2007 06:43 PM

How do you get it to autoplay? Thanks.


All times are GMT. The time now is 10:07 PM.

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.01176 seconds
  • Memory Usage 1,748KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete