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

Reply
 
Thread Tools
xspf mp3 player for Vbulletin Details »»
xspf mp3 player for Vbulletin
Version: 1.00, by Cagonni Cagonni is offline
Developer Last Online: Apr 2015 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.6.4 Rating:
Released: 01-22-2007 Last Update: Never Installs: 16
 
No support by the author.

This Mp3 Player is free for use and very basic for your users

.zip file contents:

xspf_player.as - actionscript file for your configuration.
xspf_player.swf - your player.
xspf_player.fla - for editing the player.
mp3player.html - your html page if you use popup

First of All edit your xspf_player.as and mp3player.html

You can use "http://hideout.com.br/shows/allshows.xspf" file for playlist.It contains 115 songs from other servers.So it doesnt use your bandwidth

How can you do your own playlists?

Here is an example:

Code:
<?xml version="1.0" encoding="UTF-8" ?>
<playlist version="0" xmlns="http://xspf.org/ns/0/">
  <title>Hitportal Mp3 Player</title>
  <annotation>http://www.hitportal.net</annotation>
  <creator>Cagonni</creator>
  <info>http://webjay.org/by/hideout/allshows</info>
  <location>http://webjay.org/by/hideout/allshows.xspf</location>
  <license>http://creativecommons.org/licenses/by-sa/1.0/</license>
  <trackList>  
<track>
<location>http://www.startimerecords.com/mp3s/supercuts/ambulance_countrygentleman.mp3</location>
<image>http://ec1.images-amazon.com/images/P/B000E8N8ZW.01._AA240_SCLZZZZZZZ_.jpg</image>
<annotation>Ambulance LTD - Country Gentleman</annotation>
<info>http://indoorfireworks.blogspot.com/2005_05_01_indoorfireworks_archive.html</info>
</track>
Template Changes:

you can do it with a popup

in headinclude template find:

Code:
<script type="text/javascript" src="clientscript/vbulletin_global.js?v=$vboptions[simpleversion]"></script>
add above:

Code:
<script type="text/javascript">

function openpopup(popurl){
var winpops=window.open(popurl,"","width=500px,height=250px,status")
}
</script>
in navbar template:

The code you edit and write in template:

Code:
	<td class="alt2" valign="top" nowrap="nowrap">
	<a href="javascript:openpopup('http://www.yoursite.com/mp3player.html')"><center><img src="winamp.gif" alt="Yoursite Mp3 Player" border="0"><br>Mp3 Player</a></center>
		</td>
if you want only registered users see this player you can add the code above:

Code:
<td class="alt2" valign="top" nowrap="nowrap">
		<div class="smallfont">
			<strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br />
<phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">

if you want guest see this player you can add the code above:

Code:
<if condition="$show['member']">
td class="alt2" valign="top" nowrap="nowrap">
		<div class="smallfont">
			<strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br />
<phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">
Here is a Demo : www.hitportal.net

Its my first thread sorry for mistakes

Show Your Support

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

Comments
  #12  
Old 01-27-2007, 03:27 AM
Cagonni Cagonni is offline
 
Join Date: Mar 2006
Location: Turkey
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i have some exams now and im not at home.
add me please i will help you on monday.
samet@hitportal.net
Reply With Quote
  #13  
Old 12-28-2007, 01:31 PM
Konstantinos Konstantinos is offline
 
Join Date: Apr 2006
Posts: 443
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i am using xspf as in memberprofile, for single song, so users can choose a song to autoplay in their profile its cool
Reply With Quote
  #14  
Old 12-28-2007, 05:48 PM
TCE Killa TCE Killa is offline
 
Join Date: Dec 2007
Posts: 330
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

^How do you get it in the user profile?

I really want this mod but only in members profile on autoplay. Thanks.

Btw, does this work for 3.6.8?
Reply With Quote
  #15  
Old 01-15-2008, 07:06 AM
Konstantinos Konstantinos is offline
 
Join Date: Apr 2006
Posts: 443
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

create 2 custom fields like described there

then download this zip and extract it and after upload it to your server in public_html/xspf

then put this in memberinfo



Code:
<if condition="$post[field16]">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<tr>
<td class="alt2" style="border-bottom:0px solid $stylevar[tborder_bgcolor]" width="200" colspan="2"><center>
<object type="application/x-shockwave-flash"
data="http://www.YOURSITE.com/xspf/xspf_player_slim.swf?song_url=$post[field16]&autoplay=true&autoload=true&repeat=true&info_button_text=Artist Info&song_title=$post[field17]"
width="400" height="15">
<param name="movie"
value="http://www.YOURSITE.com/xspf/xspf_player_slim.swf?song_url=$post[field16]&autoplay=true&autoload=true&repeat=true&song_title=$post[field17]" />
</object></center>

</td></tr></table></if>
make sure u change the url to the correct one and the custom fields ids to correspond to your custom fields u created.

Am i using the single song mode but u can make it work with playlists and also change some settings, for more info on this check



http://musicplayer.sourceforge.net/
Reply With Quote
  #16  
Old 01-15-2008, 10:41 AM
TCE Killa TCE Killa is offline
 
Join Date: Dec 2007
Posts: 330
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks alot man, it works now.
Reply With Quote
  #17  
Old 01-17-2008, 02:34 AM
mixhard mixhard is offline
 
Join Date: Jan 2007
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kidyangsta View Post
I tried it and redownload the ziped file and upload to the ftp but i still keep getting your playlist inside of getting mine. Do i have to edit the xspf_player.fla?

Can you please reupload your ziped file again i dont understand why i have this problem.
Thz
im having this same issue
any fix for it?
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 04:20 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.09787 seconds
  • Memory Usage 2,266KB
  • Queries Executed 21 (?)
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
  • (7)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
  • (1)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_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