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 Flash Player in Profile (https://vborg.vbsupport.ru/showthread.php?t=166363)

hdczns 12-28-2007 10:00 PM

Embed Flash 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>
<embed src= "http://www.odeo.com/flash/audio_player_standard_gray.swf" quality="high" width="300" height="52" allowScriptAccess="always" wmode="transparent"  type="application/x-shockwave-flash" flashvars= "valid_sample_rate=true&external_url=$post[field5]" pluginspage="http://www.macromedia.com/go/getflashplayer"> </embed>
</center></td></tr></table></if>

Thats it.....

Screenshots
--POSTED

Enjoy

CJ

Bl4z3 12-29-2007 09:49 AM

Glad to see you went ahead and released the flash version :up:

I'll try it out

valdet 12-30-2007 09:52 AM

I would feel safer if you provided the Flash player so it can be embedded from our sites.

Nevertheless a great add-on.

Thanks.

MachMood 01-22-2008 04:55 PM

thanks very usefull

TCE Killa 01-22-2008 09:12 PM

You have already posted this.

networktemple 02-23-2008 10:42 AM

how can we auto play??

DieselMinded 05-25-2008 01:43 AM

need something like this for 3.7.0


All times are GMT. The time now is 10:20 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.01093 seconds
  • Memory Usage 1,722KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete