vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Putting music in users profiles (https://vborg.vbsupport.ru/showthread.php?t=177383)

fateL 04-28-2008 08:51 AM

Putting music in users profiles
 
I've found tons of pages on ways to do it, but none seem to work. I'm on 3.7 RC4.

I've gotten the code to get the player to show in profiles using this (what use to be) BB Code, but I'm having trouble changing the param to the right variable so it would input the profile field. (I'm sure i've confused everyone with my terrible description so I'll try and show)

In my Memberinfo Templates:
Code:

<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
classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"
id="mediaplayer">
<param name="Filename" value="$post[field25]">
<param name="AutoStart" value="true">
<param name="ShowControls" value="True">
<param name="ShowStatusBar" value="true">
<param name="ShowDisplay" value="False">
<param name="AutoRewind" value="True">
<embed
type="application/x-mplayer2"
pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/MediaPlayer/"
 src="$post[field25]"
filename="$post[field25]" autostart="true"
showcontrols="True" showstatusbar="true"
showdisplay="False" autorewind="True"
width="300"
height="270">
</embed>
</object></center></td></tr></table>

As you can see, where {param} use to be, I've made it direct to the profile field 25 in which I made to input a song URL. The media player shows, the media player works if I put the link in normal; but I figure I'm not directing it to my profile fields correctly. I honestly dunno what I'm doing compared to anyone here, really just experimenting but I feel like this could work if someone lends there expertise.

--------------- Added [DATE]1209419744[/DATE] at [TIME]1209419744[/TIME] ---------------

bump


All times are GMT. The time now is 03:54 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.00974 seconds
  • Memory Usage 1,710KB
  • 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
  • (1)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