Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 08-15-2005, 07:45 PM
Shadow Blaze's Avatar
Shadow Blaze Shadow Blaze is offline
 
Join Date: Oct 2004
Location: Ohio
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Profile Songs?

All I'm looking for is a simple hack to make a section in your profile page that allows html use to play a midi or mp3 or something... Is there an option in here that i can turn it on and make it work or can someone make me a hack to accomplish this please ^_^ thank you anyone who can help... basically all I want to accomplish is to allow the use of the code like this

<bgsound src="Enter link to song here" autostart="true" loop="infinite">

and basically all they see is a blank field that says to enter the song link in the empty box... hope that helps describe what i'm lookin for... ^_^
Reply With Quote
  #2  
Old 08-15-2005, 07:52 PM
Bro_Joey_Gowdy's Avatar
Bro_Joey_Gowdy Bro_Joey_Gowdy is offline
 
Join Date: May 2002
Location: Hickory Flat MS 38633
Posts: 364
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It sounds simple enough... I might could make this.

Why not use the vbRadio ?

Will the song be playing continuously as you browse through that certain forum (if so, then it might require a popup window or something) ?

Check these topics :
https://vborg.vbsupport.ru/showthread.php?t=83132
https://vborg.vbsupport.ru/showthread.php?t=78323
https://vborg.vbsupport.ru/showthread.php?t=68440
Reply With Quote
  #3  
Old 08-17-2005, 10:11 PM
Shadow Blaze's Avatar
Shadow Blaze Shadow Blaze is offline
 
Join Date: Oct 2004
Location: Ohio
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

no no, it'd be only available if you're in that persons profile... i dunno about the radio can you put one song per each profile in it?? o.O
Reply With Quote
  #4  
Old 08-17-2005, 10:41 PM
Zero Tolerance's Avatar
Zero Tolerance Zero Tolerance is offline
 
Join Date: Feb 2004
Location: England
Posts: 813
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Add New User Profile Field -> Single Line Text Box

Title: Profile Music
Description: Enter the URL to a music file you want to play in your profile
Default Value: [leave blank]
Max length of allowed user input: 255
Display Size: 55
Display Order: [leave alone]
Field Required: No
Private Field: No
Field Searchable on Members List: No
Show on Members List: No
Regular Expression: ^(http(s)?://([^<>*"]+|[a-z0-9/\\._\- !]+))$
Which page displays this option? Edit Profile

Save

Next: Edit the template 'memberinfo_customfields'
Change it to:
HTML Code:
<if condition="$profilefield[title] != 'Profile Music'">
<tr>
	<td>
		<strong>$profilefield[title]</strong>:<br />
		$profilefield[value]
	</td>
</tr>
<else />
<tr>
	<td>
		<strong>$profilefield[title]</strong>:<br />
		Playing
		<embed src='$profilefield[value]' autostart='true' loop='true' width='1' height='1' />
		<noembed>
			<bgsound src='$profilefield[value]'>
		</noembed>
	</td>
</tr>
</if>


- Zero Tolerance
Reply With Quote
  #5  
Old 08-20-2005, 08:05 PM
Bro_Joey_Gowdy's Avatar
Bro_Joey_Gowdy Bro_Joey_Gowdy is offline
 
Join Date: May 2002
Location: Hickory Flat MS 38633
Posts: 364
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ZT and RPG Inferno rocks.

Reply With Quote
  #6  
Old 08-21-2005, 05:26 PM
Shadow Blaze's Avatar
Shadow Blaze Shadow Blaze is offline
 
Join Date: Oct 2004
Location: Ohio
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*hugs*
Reply With Quote
  #7  
Old 10-26-2005, 10:15 PM
Gizmo5h1t3's Avatar
Gizmo5h1t3 Gizmo5h1t3 is offline
 
Join Date: Aug 2005
Location: ROCHDALE LANCS UK
Posts: 650
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

only thing is, it takes an absolute age to load the tune.....
Reply With Quote
  #8  
Old 10-27-2005, 04:32 AM
evenmonkeys's Avatar
evenmonkeys evenmonkeys is offline
 
Join Date: Aug 2004
Location: Iowa
Posts: 896
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible to make this work for FireFox? Embed tags generally don't work for FireFox.
Reply With Quote
  #9  
Old 10-27-2005, 05:08 AM
Alien's Avatar
Alien Alien is offline
 
Join Date: Oct 2001
Posts: 827
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any easy way of limiting this to only allow including .mid midi files?
Reply With Quote
  #10  
Old 10-27-2005, 12:26 PM
BlackxRam BlackxRam is offline
 
Join Date: Aug 2003
Posts: 364
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yeah being able to restrict to midi would be a nice reason to make this a actual modification, that or the ability to link to an online station right there.
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 01: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.04228 seconds
  • Memory Usage 2,252KB
  • 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)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete