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)
-   -   Profile Enhancements - Embed (MP3's, WMA, WMV, Streaming Audio and Video Ect..) In Profile WITH Visualizer (https://vborg.vbsupport.ru/showthread.php?t=170912)

MiahBeSmokin420 02-18-2008 10:00 PM

Embed (MP3's, WMA, WMV, Streaming Audio and Video Ect..) In Profile WITH Visualizer
 
Embed (MP3, WMA, WMV, WAV, WAX, WVX, WPL, MPEG-1, MPEG-2, MPEG-4, AVI, DIVX, Streaming Audio and Video Ect..) In Profile With Visualizer

DEMO: LIVE DEMO LINK

The Demo is under the YouTube Video

Note: This what i posted is exactly the same as what is on the demo except the title bar at the top of the player. I did not add that to this thread because there is no real need for it and if you want that part as well it should be very easy for you to add it just adding a second custom field.

Should Work With All Version Of VB

TESTED On IE6, IE7, FF1, FF2

For A Full List Of Files That Can Be Used And A Better Understanding Visit:
http://support.microsoft.com/kb/316992

Ok this is very easy and very basic and most already know how to do this but "This way/version" is not yet posted so im going to post it.

Step #1
Create A New Custom Profile Fields

Call it Profile Song Url or whatever you want to call it.

It should be Single Line Text Box

Max length of allowed user input should be about 100 that way people that have long links to there songs can still add them with no problem

all the other setting are up to you just choose them as you wish

Step #2
In Member Info Under:
(or where ever you want)

HTML Code:

$template_hook[memberinfo_contactinfo]

        </div>
    </div>

Add:

HTML Code:

<if condition="$post[fieldXX]"> 
        <div align="center">
        <object id="player" height="250" width="425" classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6">
    <param name="URL" value="$post[fieldXX]">
    <param name="uiMode" value="full">
    <param name="ShowControls" value="true">
    <param name="ShowStatusBar" value="true">
    <param name="ShowDisplay" value="true">
   
    <embed type="application/x-mplayer2"
        pluginspage = "http://www.microsoft.com/Windows/MediaPlayer/"
        SRC="$post[fieldXX]"
        name="player"
        width="425"
        height="250"
        AutoStart="1"
        showcontrols="1"
        showstatusbar="1"
        showdisplay="0"
uiMode="full"
visual="1">

    </embed>
</object>
        </div>
        </if>

Step #3
Find 3 times

HTML Code:

$post[fieldXX]
and replace the XX with the field # of the one you created

Then modify the width and height to your desire

Save the template
and
your done!

now go to your user cp and add your url

then go to your profile and you should have your .MP3, .WMA, .WMV, .PLS, .ASX, or what ever type media you are streaming should be now playing

if your useing audio and not video then hey you got your self a nice little visualizer as well

Im not giving any support on this because its very easy and there are other types of mods close to this posted on the site

the only reason i posted this is that way you could stream all types of media (not just MP3's) and have a visualizer as well

Please Click Installed if you use this
If you do not click installed i do not care because i am not giving any support for this.

Magnumutz 02-19-2008 09:20 AM

Do you mind showing us a demo?

MiahBeSmokin420 02-19-2008 09:23 AM

just posted the demo sorry

Magnumutz 02-19-2008 10:21 AM

Oh, right...

forumrunt 03-10-2008 06:14 PM

ok stupid question how do I create Custom Profile Fields

Division 03-12-2008 02:47 AM

Thanks man. I was wondering, was there any way to make it play automatically or no?

Also, do you think you could share the template edits you used to get the embedded youtube player, friend's list, comments, basically the myspace layout like you have in the demo?

again, thanks.

MiahBeSmokin420 03-12-2008 04:03 AM

it should automatically play

where it says auto start in there

1 = yes
0 = no

and as far as the template edits for the profiles that i did on my site

it has been requested a few times in pms from people on here if i would release that

and the answer to that is......

yes as soon as i get them 100% the way that i want them to be i will release it

forumrunt 03-13-2008 03:02 AM

worked perfect thanks

now tell me how you got a youtube video embedded there

MiahBeSmokin420 03-13-2008 04:30 AM

search youtube in profile here on this site and you should find a version of it

its not going to be my version cause i did my profiles for my site in dreamweaver myseld from scratch

like i said one day i will release my profile modification as soon as i get it done to my liking

Division 03-13-2008 07:03 AM

hopefully that day will be soon cuz ya shit is siick lol


All times are GMT. The time now is 11:18 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.00987 seconds
  • Memory Usage 1,744KB
  • 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
  • (3)bbcode_html_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