Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons

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
  #2  
Old 08-04-2008, 06:32 AM
iogames's Avatar
iogames iogames is offline
 
Join Date: Jan 2007
Location: Las Vegas, NV.
Posts: 1,433
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

And I will thank u if you tell me about the Mini YouTube Bit!
Reply With Quote
  #3  
Old 08-04-2008, 08:09 AM
yahoooh yahoooh is offline
 
Join Date: Oct 2002
Posts: 567
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks and installed
Reply With Quote
  #4  
Old 08-04-2008, 04:21 PM
schlottkej schlottkej is offline
 
Join Date: Apr 2007
Posts: 226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nicely done!
Reply With Quote
  #5  
Old 08-04-2008, 08:11 PM
alqloob alsahya alqloob alsahya is offline
 
Join Date: Dec 2006
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice wo0ow good jop
Reply With Quote
  #6  
Old 08-04-2008, 09:04 PM
suvari1794's Avatar
suvari1794 suvari1794 is offline
 
Join Date: Apr 2006
Location: Turkey
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice mod, but it doesn't work on my forum (3.7.2) although i do everything
Reply With Quote
  #7  
Old 08-05-2008, 12:25 PM
Turbo&Auto Turbo&Auto is offline
 
Join Date: Jun 2008
Location: PA/NJ
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

^Make sure you catch that last fieldx towards the bottom. I missed it and it wouldnt open my audio files. I went thru everything again and found that to be my problem. Hope that helps
Reply With Quote
  #8  
Old 08-05-2008, 12:51 PM
dvbusuario's Avatar
dvbusuario dvbusuario is offline
 
Join Date: Oct 2007
Posts: 153
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Support Shoutcast Stream?

Thx
Reply With Quote
  #9  
Old 08-05-2008, 01:05 PM
PinkDaisy's Avatar
PinkDaisy PinkDaisy is offline
 
Join Date: Sep 2006
Posts: 274
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have done all the steps to this mod and it even shows up on my profile, but it just stays at buffering.

Any ideas why?

Thanks in advance.
Reply With Quote
  #10  
Old 08-05-2008, 04:15 PM
mkeax mkeax is offline
 
Join Date: May 2008
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by PinkDaisy View Post
I have done all the steps to this mod and it even shows up on my profile, but it just stays at buffering.

Any ideas why?

Thanks in advance.
Mine keeps saying ERROR even though I have tried everything I know.

Help please? haha.
Reply With Quote
Reply

Thread Tools

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:46 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.07112 seconds
  • Memory Usage 2,291KB
  • 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
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)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