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
  #12  
Old 08-06-2008, 02:43 AM
Breathex Breathex is offline
 
Join Date: Oct 2004
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Some of my users in different but not banned usergroups, can not see player in profiles. How can i solve this?
Reply With Quote
  #13  
Old 08-06-2008, 02:53 AM
G-man's Avatar
G-man G-man is offline
 
Join Date: Jun 2002
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Where is the music or mp3 stored for this player. Is it on the server with vB? If so what about copyright issues?
Reply With Quote
  #14  
Old 08-06-2008, 05:24 AM
xxalexkimxx xxalexkimxx is offline
 
Join Date: Nov 2006
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice...thanks for sharing
Reply With Quote
  #15  
Old 08-08-2008, 08:33 AM
Veer Veer is offline
 
Join Date: Feb 2006
Posts: 733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Breathex View Post
Some of my users in different but not banned usergroups, can not see player in profiles. How can i solve this?
same problem, admin can see player in profiles but other users can't see Music block.
Is there any solution for it?
Reply With Quote
  #16  
Old 08-08-2008, 09:00 PM
Tharos Tharos is offline
 
Join Date: Aug 2007
Location: VALPARAISO / CHILE
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

excelent, i gonna test it
Reply With Quote
  #17  
Old 08-09-2008, 02:16 PM
PinkDaisy's Avatar
PinkDaisy PinkDaisy is offline
 
Join Date: Sep 2006
Posts: 274
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone know why mine stays at buffering?
Reply With Quote
  #18  
Old 08-09-2008, 05:14 PM
yahoooh yahoooh is offline
 
Join Date: Oct 2002
Posts: 567
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by PinkDaisy View Post
Anyone know why mine stays at buffering?
depending on connection and link itself from another site
Reply With Quote
  #19  
Old 08-10-2008, 12:05 AM
ChrisAntix84 ChrisAntix84 is offline
 
Join Date: Dec 2007
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by yahoooh View Post
depending on connection and link itself from another site

nah it cant be that because i uploaded a song to my own server and it always stays buffering aswell

anybody know a solution for this?
Reply With Quote
  #20  
Old 08-10-2008, 12:12 AM
PinkDaisy's Avatar
PinkDaisy PinkDaisy is offline
 
Join Date: Sep 2006
Posts: 274
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yep, I uploaded mine to my own site to test it and it did the same thing...
Reply With Quote
  #21  
Old 08-10-2008, 02:22 AM
yahoooh yahoooh is offline
 
Join Date: Oct 2002
Posts: 567
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

about me i use another mp3 player and i modified this to work with at maximum 5 mp3 for every user
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 08:51 PM.


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.04760 seconds
  • Memory Usage 2,308KB
  • 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
  • (3)bbcode_code
  • (3)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