Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
LoudFusion Profile Music Player Details »»
LoudFusion Profile Music Player
Version: 1.00, by TheInsaneManiac TheInsaneManiac is offline
Developer Last Online: Feb 2022 Show Printable Version Email this Page

Category: Profile Enhancements - Version: 3.8.x Rating:
Released: 01-31-2009 Last Update: Never Installs: 21
Template Edits
Re-useable Code  
No support by the author.

I have a huge bored with tons of members, so I try to keep plugins to a minimal. Most of the players I have seen are not only products, but aren't thought out very well. I use loudfusion.com since it's the only music player that will actually work on myspace. After using it for awhile, I've fallen in love with it. There are even multiple players to choose from. Right now I have it set up to use the simple player, but if the community needs help adding other players then I shall assist.

Template Edits: 1
Profile Fields: 2

Step 1
Admin -> User Profile Fields -> Add New User Profile Field

Single-Line Text Box
Title: Music
Description: Put your loudfusion.com ID here.<br>Example: http://www.loudfusion.com/profile.php?id=<b><u>402625</u></b>
Max length of allowed user input: 12
Private Field: Yes
Field Searchable on Members List: No
Show on Members List: No


Step 2
Admin -> User Profile Fields -> Add New User Profile Field

Single-Line Text Box
Title: Music Playlist
Description: You can use playlists from loudfusion by getting the folder ID from the code.<br>Example: USERID=402625&FOLDERID=<b><u>47450</u></b>
Max length of allowed user input: 12
Private Field: Yes
Field Searchable on Members List: No
Show on Members List: No


Step 3
In MEMBERINFO find:
Code:
$blocks[stats_mini]
Below add:
Code:
<!-- Music -->
<if condition="$userinfo[fieldM]">
<div id="$id" class="tborder content_block">
    <h4 class="thead block_title">
        <a href="#top" class="collapse_gadget" onclick="return toggle_collapse('$id')"><img id="collapseimg_$id" src="$stylevar[imgdir_button]/collapse_generic{$vbcollapse['collapseimg_'.$id]}.gif" alt="" border="0" /></a>
        <a name="$id"></a>
        <span class="block_name">Music</span>
    </h4>
    <div class="block_content" id="collapseobj_$id" style="{$vbcollapse['collapseobj_'.$id]}"><div class="alt1 smallfont block_row block_footer">
<p align="center">
<embed src="http://www.loudfusion.com/widgets/music/5" name="Music" quality="high" wmode="transparent" flashvars="USERID=$userinfo[fieldM]<if condition="$userinfo[fieldMP]">&FOLDERID=$userinfo[fieldMP]</if>" width="235" height="150" type="application/x-shockwave-flash"></embed>
</p>
</div></div>
</div>
</if>
<!-- / Music -->

Step 4
In the above code find the 2 instances of $userinfo[fieldM] and replace the M with the field ID of your Music Profile Field and find the 2 instances of $userinfo[fieldMP] and replace the M with the field ID of your Music Playlist Profile Field

Screenshots

File Type: jpg Music Player.jpg (43.0 KB, 0 views)

Show Your Support

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

Comments
  #2  
Old 02-01-2009, 04:57 PM
SwollenCranium's Avatar
SwollenCranium SwollenCranium is offline
 
Join Date: Oct 2007
Location: Raleigh, NC
Posts: 263
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Got a link to a working player in a profile ?

Edit:

Never mind .. Installed, flawless.

Thanks.
Reply With Quote
  #3  
Old 02-01-2009, 09:46 PM
TheInsaneManiac TheInsaneManiac is offline
 
Join Date: Feb 2008
Posts: 1,360
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There really isn't a need for the following code as the music player doesn't eat any bandwidth, however I am sure it will be asked.

If you wish to only show the player to registered members then you can use the following code:
Code:
<!-- Music -->
<if condition="is_member_of($vbulletin->userinfo, 2, 3, 6, 7)">
<if condition="$userinfo[fieldM]">
<div id="$id" class="tborder content_block">
    <h4 class="thead block_title">
        <a href="#top" class="collapse_gadget" onclick="return toggle_collapse('$id')"><img id="collapseimg_$id" src="$stylevar[imgdir_button]/collapse_generic{$vbcollapse['collapseimg_'.$id]}.gif" alt="" border="0" /></a>
        <a name="$id"></a>
        <span class="block_name">Music</span>
    </h4>
    <div class="block_content" id="collapseobj_$id" style="{$vbcollapse['collapseobj_'.$id]}"><div class="alt1 smallfont block_row block_footer">
<p align="center">
<embed src="http://www.loudfusion.com/widgets/music/5" name="Music" quality="high" wmode="transparent" flashvars="USERID=$userinfo[fieldM]<if condition="$userinfo[fieldMP]">&FOLDERID=$userinfo[fieldMP]</if>" width="235" height="150" type="application/x-shockwave-flash"></embed>
</p>
</div></div>
</div>
</if>
</if>
<!-- / Music -->
You can change what groups are allowed to view the player by changing 2, 3, 6, 7 to the groups you want to allow. Just remember to set the fields up.

Note: If you have other groups besides Admins, Mods, and Members, be sure to add those groups.
Reply With Quote
  #4  
Old 02-02-2009, 02:53 AM
Jon Tolzien Jon Tolzien is offline
 
Join Date: Nov 2008
Location: Grand Forks, ND
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this interfere with copyright laws... Can you stream live music that is not your own or don't have permission to do so? Just curious what the ramifications are.
Reply With Quote
  #5  
Old 02-02-2009, 06:20 PM
TheInsaneManiac TheInsaneManiac is offline
 
Join Date: Feb 2008
Posts: 1,360
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As far as I know it shouldn't. The embedded code is allowed on myspace considering there were issues with playlist.com.

You can read more about the block here.

As far as loudfusion's music goes, they don't allow you to link to your own content instead they use it from external websites. Where you can search them here.

As I stated though I'm not sure, I would imagine any trouble would be directed to loudfusion themselves, however you can take a look at their terms of service.
Reply With Quote
  #6  
Old 02-10-2009, 12:24 PM
TandyServices's Avatar
TandyServices TandyServices is offline
 
Join Date: Aug 2008
Location: All over the USA
Posts: 216
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So where do I find that Folder ID? Feel like a noob but really cant find it..
Reply With Quote
  #7  
Old 02-11-2009, 01:27 AM
CRP CRP is offline
 
Join Date: Dec 2007
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way to make turn autoplay on or off?

Works great.
Reply With Quote
  #8  
Old 02-11-2009, 03:30 AM
DarkGizmo DarkGizmo is offline
 
Join Date: Apr 2008
Location: NYC
Posts: 196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this allow users to make their own playlists for their profiles? That would be cool.
Reply With Quote
  #9  
Old 02-13-2009, 02:10 PM
BlackJacket's Avatar
BlackJacket BlackJacket is offline
 
Join Date: Nov 2008
Location: 070108111114105100100
Posts: 364
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed and works great. Thanks!
Reply With Quote
  #10  
Old 02-13-2009, 02:10 PM
BlackJacket's Avatar
BlackJacket BlackJacket is offline
 
Join Date: Nov 2008
Location: 070108111114105100100
Posts: 364
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by NegativeSmoke View Post
Does this allow users to make their own playlists for their profiles? That would be cool.
Yes.
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:09 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.04419 seconds
  • Memory Usage 2,324KB
  • Queries Executed 24 (?)
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
  • (4)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
  • (1)postbit_attachment
  • (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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete