Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 06-10-2007, 01:20 AM
Terrasoft Terrasoft is offline
 
Join Date: May 2007
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Music in profile.

Basically I want to set it up where a user can put a link to a music file in a profile bit and then when someone views their profile, the music would start up as they view it. Doing the profile bit is easy BUT I can't seem to figure out how to make it autoplay in their profile. I think Id have to edit memberinfo but I don't know what code to put in there.
Reply With Quote
  #2  
Old 06-10-2007, 01:35 AM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

try
Quote:
autostart="true"
I've only tried video in the profile, never tried music, but try that and see what happens
Reply With Quote
  #3  
Old 06-10-2007, 01:53 AM
Terrasoft Terrasoft is offline
 
Join Date: May 2007
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wait how would I incorporate that? I know id have to involve [fieldx] but I dont know how I can make it so it just commands that field to autostart?
Reply With Quote
  #4  
Old 06-10-2007, 01:57 AM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, wait........do you have it coded at all?
Reply With Quote
  #5  
Old 06-10-2007, 01:59 AM
Terrasoft Terrasoft is offline
 
Join Date: May 2007
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nope. T_T Give me a sec and let me see if I can come up with anything. To be honest, Im just being lazy here. I just need a push and I can figure it out myself.
Reply With Quote
  #6  
Old 06-10-2007, 02:00 AM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, well when and if you do....let me/us know
Reply With Quote
  #7  
Old 06-10-2007, 02:00 AM
sonichero sonichero is offline
 
Join Date: Jan 2007
Posts: 163
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Im working on the profile that will have this feature... wont be coming for a month though...
Reply With Quote
  #8  
Old 06-10-2007, 02:02 AM
Terrasoft Terrasoft is offline
 
Join Date: May 2007
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Would something like this work?

<embed src="$userinfo[fieldx]" autostart="true" loop="true"
width="2" height="0">
</embed>

Meh, my limited knowledge of HTML. I dont think that would work though...I think Im using the wrong tags. And this is just to add into the profile, nothing too fancy. Im not sure what you are planning to do.
Reply With Quote
  #9  
Old 06-10-2007, 02:06 AM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not sure, but I can tell you that this is what I use for the video in the profiles....
HTML Code:
<td class="alt2" align="center" valign="middle">
 <OBJECT id="VIDEO" width="225" height="176" 
 CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"
 type="application/x-oleobject">
 <PARAM NAME="URL" VALUE="$userinfo[field17]">
 <PARAM NAME="SendPlayStateChangeEvents" VALUE="True">
 <PARAM NAME="AutoStart" VALUE="False">
 <PARAM name="uiMode" value="full">
 <PARAM name="PlayCount" value="9999">
        <PARAM name="enabled" value="true">
     <embed name="MediaPlayer" type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" width="225" height="176" AutoStart="true" src="$userinfo[field17]" /></object>
</td>
Reply With Quote
  #10  
Old 06-10-2007, 02:16 AM
Terrasoft Terrasoft is offline
 
Join Date: May 2007
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

See that brings up a video player right? Mine is much simpler as I just want the music to be playing, without any music player to show up...if the user doesnt want to hear it...then they can just not look at the profile. =P So Im gonna try out the piece of code and see if it works.
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 04:58 AM.


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.03953 seconds
  • Memory Usage 2,249KB
  • Queries Executed 11 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_html
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete