Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
MP3 Player in Profile Details »»
MP3 Player in Profile
Version: 1.0, by fernas fernas is offline
Developer Last Online: Jul 2014 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.7.x Rating:
Released: 08-03-2008 Last Update: 08-03-2008 Installs: 79
Uses Plugins Template Edits
Re-useable Code  
No support by the author.

Before anything, I want to thank to Mini YouTube Profile and Embed MP3 coders.

With this mod, your users can have music in their profiles. All the features of this mod are:

- Auto Play.
- MP3 Player in Right Side Block.

Install instuctions:

1.- Import product.
2.- Download Player: http://www.1pixelout.net/code/audio-...ugin/#download
3.- Upload player in forum root.
4.- Create 1 profile field:

Single-Line Text Box
Title: My Music (or whatever)
Description: Put a complete URL to your MP3 file.
Private field: Yes.
Field Searchable on Members List: No
Show on Members List: No

Save.

5.- Edit memberinfo_block_profmp3:

Code:
<if condition="$userinfo[fieldx]">
<div id="profmp3" class="tborder content_block">
	<h4 class="thead block_title">
		<a href="#top" class="collapse_gadget" onclick="return toggle_collapse('profmp3')"><img id="collapseimg_profmp3" src="images/buttons/collapse_generic.gif" alt="" border="0" /></a>
		<a name="albums"></a>
		<span class="block_name">My Music</span>
	</h4>
	<div class="block_content" id="collapseobj_profmp3" style="">

			
<div class="alt2" align="center"><script language="JavaScript" src="http://www.yousite.com/forum/audio-player/audio-player.js"></script>
<object type="application/x-shockwave-flash" data="http://www.yousite.com/forum/audio-player/player.swf" id="audioplayer4" height="24" width="220">
<param name="movie" value="http://www.yoursite.com/forum/audio-player/player.swf">
<param name="FlashVars"
value="playerID=4&amp;slider=0x303030&track=0xFFFFFF&border=0x666666&loader=0xC52C24&autostart=yes&loop=yes&soundFile=$userinfo[fieldx]">
<param name="quality" value="high">
<param name="menu" value="false">
<param name="wmode" value="transparent">
</object>
	
</div>

</div>
</div>
</if>
Change in fieldx the x with the ID of your profile field.
Change yoursite.com/... with your domain and with the directory where you uploaded the audo player files.

6.- Edit MEMBERINFO template and search:

Code:
$blocks[stats_mini]
$template_hook[profile_right_mini]
$blocks[friends_mini]
$blocks[albums]
$template_hook[profile_right_album]
$blocks[groups]
$blocks[visitors]
Put $blocks[profmp3] whatever you want in there:

Code:
$blocks[stats_mini]
$template_hook[profile_right_mini]
$blocks[friends_mini]
$blocks[albums]
$template_hook[profile_right_album]
$blocks[profmp3]
$blocks[groups]
$blocks[visitors]
Sorry for my English .

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #72  
Old 03-20-2009, 06:10 AM
yingzhou's Avatar
yingzhou yingzhou is offline
 
Join Date: Oct 2006
Location: Ho Chi Minh
Posts: 254
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it's work with vb 3.8.1 pl1
But can I find another better version of mp3 player here?
Reply With Quote
  #73  
Old 03-21-2009, 05:37 AM
Wabuf Wabuf is offline
 
Join Date: Feb 2006
Location: Poland Ohio
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've installed it but had to swap the player out with the one from PHPMotion in order to get it to work.

My Code for memberinfo_block_profmp3:
Code:
<if condition="$userinfo[field13]">
<div id="profmp3" class="tborder content_block">
	<h4 class="thead block_title">
		<a href="#top" class="collapse_gadget" onclick="return toggle_collapse('profmp3')"><img id="collapseimg_profmp3" src="images/buttons/collapse_generic.gif" alt="" border="0" /></a>
		<a name="albums"></a>
		<span class="block_name">My Music</span>
	</h4>
	<div class="block_content" id="collapseobj_profmp3" style="">


			
<div class="alt2" align="center"><embed src="http://www.wabuf.com/MB//addons/audio/player/player.swf" quality="high" width="200" height="24" name="mp3player" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="width=290&height=24&autostart=yes&bg=0x000000&leftbg=0xFFBF00&border=0xFFBF00&text=0x333333&soundFile=$userinfo[field13]"></embed>
	
</div>

</div>
</div>
</if>
I feel the player PHPMotion uses is much better. I am planning on expanding this though so someone can just use an id from PHPMotion instead of a .mp3

For those who want the player, go to www.phpmotion.com and download PHPMotion, you can extract the player from the audio folder.
EDIT:
Test URL is here: http://www.wabuf.com/forums/member.php?u=6
Reply With Quote
  #74  
Old 03-21-2009, 09:14 AM
yingzhou's Avatar
yingzhou yingzhou is offline
 
Join Date: Oct 2006
Location: Ho Chi Minh
Posts: 254
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Wabuf View Post
I've installed it but had to swap the player out with the one from PHPMotion in order to get it to work.

My Code for memberinfo_block_profmp3:
Code:
<if condition="$userinfo[field13]">
<div id="profmp3" class="tborder content_block">
	<h4 class="thead block_title">
		<a href="#top" class="collapse_gadget" onclick="return toggle_collapse('profmp3')"><img id="collapseimg_profmp3" src="images/buttons/collapse_generic.gif" alt="" border="0" /></a>
		<a name="albums"></a>
		<span class="block_name">My Music</span>
	</h4>
	<div class="block_content" id="collapseobj_profmp3" style="">


			
<div class="alt2" align="center"><embed src="http://www.wabuf.com/MB//addons/audio/player/player.swf" quality="high" width="200" height="24" name="mp3player" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="width=290&height=24&autostart=yes&bg=0x000000&leftbg=0xFFBF00&border=0xFFBF00&text=0x333333&soundFile=$userinfo[field13]"></embed>
	
</div>

</div>
</div>
</if>
I feel the player PHPMotion uses is much better. I am planning on expanding this though so someone can just use an id from PHPMotion instead of a .mp3

For those who want the player, go to www.phpmotion.com and download PHPMotion, you can extract the player from the audio folder.
EDIT:
Test URL is here: http://www.wabuf.com/forums/member.php?u=6
thanks for the new player, but you currently ban ip from china like, I can't see you demo.
Reply With Quote
  #75  
Old 03-21-2009, 10:37 AM
Cerbero1000 Cerbero1000 is offline
 
Join Date: May 2005
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I need a simply option to add more than 1 song... it's for my profile band usergroup.
Please help...
Thanks
Reply With Quote
  #76  
Old 03-21-2009, 12:34 PM
Makaveli007 Makaveli007 is offline
 
Join Date: Jun 2008
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Alot of my members been asking about something like this. I will check it out and return feedback.
Reply With Quote
  #77  
Old 03-24-2009, 02:38 AM
Prettyeyes4you Prettyeyes4you is offline
 
Join Date: Feb 2009
Location: Phoenix, AZ
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just installed this on our test board and its working. Saw the note about multiple songs, You can do it with this just add, and a space after your url before the next song
ex - your_song1.mp3, your_song2mp3, etc I have 4 songs currently running

You will need to change 2 settings in the User Profile Field to accomodate more songs

1 - Max length of allowed user input - default = 25, I increased to 1000
2 - Profile Field Type - default = Single-Line Text Box, I chose Multiple-Line Text Box


Be advised that the songs play in the order you put them in, haven't figured out how to fast forward yet.

Hope that helps

Addendum - Working on VB 3.8.3
Remember to edit the XML to the user group numbers you're using so that your members can see the player

Thanks Fernas - if you get a version that can adjust the volume and fast forward/skip to next song, it would be perfect. Its great for our forum now though
Reply With Quote
  #78  
Old 07-27-2009, 08:34 AM
yotsume's Avatar
yotsume yotsume is offline
 
Join Date: Dec 2006
Posts: 844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

FINALLY!

I found the better MP3 player that has the new slide volume and no more squished player!

Just download the new player here: Standalone Player 2.0 Beta 8
http://wpaudioplayer.com/wp-content/...standalone.zip

This player is so much nicer then the original in this mod.
Reply With Quote
  #79  
Old 08-12-2009, 07:13 PM
macbooking's Avatar
macbooking macbooking is offline
 
Join Date: Jan 2009
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works ... thx for sharing
vbulletin 3.8.2
Reply With Quote
  #80  
Old 11-25-2009, 04:51 PM
inziva inziva is offline
 
Join Date: Aug 2008
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've installed it, but in profile it is not watching? can somebody help me please??
Reply With Quote
  #81  
Old 02-02-2010, 09:32 PM
xoclanes xoclanes is offline
 
Join Date: Feb 2007
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this work with vB 4??
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 02:09 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.04961 seconds
  • Memory Usage 2,315KB
  • Queries Executed 25 (?)
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
  • (5)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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