Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Template Modifications

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
  #12  
Old 02-13-2009, 03:20 PM
BlackJacket's Avatar
BlackJacket BlackJacket is offline
 
Join Date: Nov 2008
Location: 070108111114105100100
Posts: 364
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How come when i view other members profiles i dont see their player?
Reply With Quote
  #13  
Old 02-16-2009, 03:27 AM
itsheinz itsheinz is offline
 
Join Date: Feb 2009
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TandyServices View Post
So where do I find that Folder ID? Feel like a noob but really cant find it..
Same as mine ..i dont know where to find my Music Playlist ID/folder..Where we can find it?
Reply With Quote
  #14  
Old 02-22-2009, 09:46 AM
gemmk1 gemmk1 is offline
 
Join Date: Oct 2008
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

DOES NOT WORK I HAVE DONE EVERYTHING YOU SAID AND IT EITHER SAYS TRYING TO CONNECT TO XML OR THE MEDIA CAN NOT BE PLAYED.pLEASE HELP
Reply With Quote
  #15  
Old 02-22-2009, 03:36 PM
SwollenCranium's Avatar
SwollenCranium SwollenCranium is offline
 
Join Date: Oct 2007
Location: Raleigh, NC
Posts: 263
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TandyServices View Post
So where do I find that Folder ID? Feel like a noob but really cant find it..
Quote:
Originally Posted by itsheinz View Post
Same as mine ..i dont know where to find my Music Playlist ID/folder..Where we can find it?

One of my members wrote a rudimentary "how" to for this.

Find it here --> Loudfusion set up <---

Link is open for public view no need to register.
Reply With Quote
  #16  
Old 02-22-2009, 07:03 PM
gemmk1 gemmk1 is offline
 
Join Date: Oct 2008
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SwollenCranium View Post
One of my members wrote a rudimentary "how" to for this.

Find it here --> Loudfusion set up <---

Link is open for public view no need to register.
Your forum is great it really helps i would recomend anyone having a look who is have promblems finding the userid .But i think my promblem is i have done something wrong in the scripting its there but does not want to play any songs.Thanks for this easy to follow guide
Reply With Quote
  #17  
Old 02-23-2009, 08:04 PM
gemmk1 gemmk1 is offline
 
Join Date: Oct 2008
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The folder id is the name of your playlist folder
Reply With Quote
  #18  
Old 02-27-2009, 09:56 PM
TheInsaneManiac TheInsaneManiac is offline
 
Join Date: Feb 2008
Posts: 1,360
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by gemmk1 View Post
DOES NOT WORK I HAVE DONE EVERYTHING YOU SAID AND IT EITHER SAYS TRYING TO CONNECT TO XML OR THE MEDIA CAN NOT BE PLAYED.pLEASE HELP
Because you have not set it up properly.

Be sure you set up the profile fields and change the fields in the code.


Quote:
Originally Posted by NittoMOD View Post
How come when i view other members profiles i dont see their player?
Refer to the second post. You need to give all your usergroups proper permissions.
Reply With Quote
  #19  
Old 02-28-2009, 12:36 PM
jambo_1969 jambo_1969 is offline
 
Join Date: May 2007
Posts: 224
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Top wee addition...

Remember kids - there are 2, that's TWO of each field id to change in the memberinfo template...

Reply With Quote
  #20  
Old 03-10-2009, 01:29 AM
The Big Three The Big Three is offline
 
Join Date: Aug 2008
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can this be used for 3.7?
Reply With Quote
  #21  
Old 03-10-2009, 03:24 AM
TheInsaneManiac TheInsaneManiac is offline
 
Join Date: Feb 2008
Posts: 1,360
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by The Big Three View Post
Can this be used for 3.7?
Yes, the same applies to all VB Version that uses the profile blocks.
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 02:31 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05110 seconds
  • Memory Usage 2,332KB
  • Queries Executed 26 (?)
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
  • (2)bbcode_code
  • (7)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
  • (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
  • (1)postbit_attachment
  • (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_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