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
  #82  
Old 03-01-2010, 11:54 AM
MagicThemeParks's Avatar
MagicThemeParks MagicThemeParks is offline
 
Join Date: Sep 2009
Posts: 850
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works great with 3.8.4! :up:

Demo: http://www.legendaryrockers.com/forums/members/lr-news/
Reply With Quote
  #83  
Old 04-18-2010, 06:59 PM
MagicThemeParks's Avatar
MagicThemeParks MagicThemeParks is offline
 
Join Date: Sep 2009
Posts: 850
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

FYI: Works great with 3.8.5! :up:

Demo: http://www.fantasyleagueforums.com/member.php?u=1
Reply With Quote
  #84  
Old 10-26-2010, 09:19 PM
xoclanes xoclanes is offline
 
Join Date: Feb 2007
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I really wander if someone can make it works with 4.8 version
Reply With Quote
  #85  
Old 04-11-2011, 10:54 PM
x_Coffee_x x_Coffee_x is offline
 
Join Date: Mar 2011
Location: NJ
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone know how to make a Autostart on off preference in Options?
Reply With Quote
  #86  
Old 05-04-2011, 09:42 AM
ShawneyJ's Avatar
ShawneyJ ShawneyJ is offline
 
Join Date: Jul 2006
Location: Australia
Posts: 1,758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Shazz View Post
Referring to simple Yes/No options in usercp
LOL, its simple, change "yes" to "false" in memberinfo_block_profmp3 template.
find autostart=yes and change yes to false. now it will not auto play.

i know its that simple!
Reply With Quote
  #87  
Old 05-18-2011, 01:33 PM
appsfinder appsfinder is offline
 
Join Date: Apr 2007
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi just installed this mod but all it keeps saying in the player file not found put url to mp3

eg http://www.mywebsite/mysong.mp3

its ok found problem missed one of the user profile id eg field6
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:56 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.04232 seconds
  • Memory Usage 2,267KB
  • Queries Executed 23 (?)
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
  • (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
  • (2)pagenav_pagelink
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (6)postbit
  • (7)postbit_onlinestatus
  • (7)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_postinfo_query
  • fetch_postinfo
  • 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