Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

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
  #2  
Old 01-23-2007, 09:17 AM
mktrilogy mktrilogy is offline
 
Join Date: May 2006
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Will try this one out.

Feedback Later.
Reply With Quote
  #3  
Old 01-23-2007, 09:30 AM
YeşiLMeN YeşiLMeN is offline
 
Join Date: Sep 2006
Location: Mardin / Turkey
Posts: 132
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Saol Arkadasım.. Bakma Sen O Adama

"Installed"
Reply With Quote
  #4  
Old 01-23-2007, 01:24 PM
Dark Cynicus! Dark Cynicus! is offline
 
Join Date: Aug 2006
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

im confused... where do i upload da files?
Reply With Quote
  #5  
Old 01-23-2007, 01:37 PM
Atakan KOC's Avatar
Atakan KOC Atakan KOC is offline
 
Join Date: Feb 2006
Location: Istanbul
Posts: 710
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by YeşiLMeN View Post
Saol Arkadasım.. Bakma Sen O Adama

"Installed"
interesting

İlgin? bir bakış a?ısı
Reply With Quote
  #6  
Old 01-23-2007, 05:46 PM
Cagonni Cagonni is offline
 
Join Date: Mar 2006
Location: Turkey
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dark Cynicus! View Post
im confused... where do i upload da files?
where you want in FTP.
Reply With Quote
  #7  
Old 01-24-2007, 12:04 AM
kidyangsta's Avatar
kidyangsta kidyangsta is offline
 
Join Date: Oct 2006
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have just installed this plugin but i cant seem to get my plugin to load. Everytime the player loads it goes to this "http://hideout.com.br/tests/hideout2325.xspf" playlist instead of mine. I edited the the fields:

PHP Code:

//constants
DEFAULT_PLAYLIST_URL "http://someurl.com/my-playlist.xspf";
DEFAULT_WELCOME_MSG "HideOut mp3 Player"
Is this where i am suspose to edit in the "xspf_player.as"

Screen Shot:
Reply With Quote
  #8  
Old 01-24-2007, 05:12 AM
Cagonni Cagonni is offline
 
Join Date: Mar 2006
Location: Turkey
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

create your own playlist.xspf and upload it into your FTP.

In "xspf_player.as" you should edit:

Code:
//constants
DEFAULT_PLAYLIST_URL = "http://hideout.com.br/shows/allshows.xspf";
Please try to edit the playlist file in attachments and upload it.
Reply With Quote
  #9  
Old 01-25-2007, 06:54 PM
kidyangsta's Avatar
kidyangsta kidyangsta is offline
 
Join Date: Oct 2006
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Cagonni View Post
create your own playlist.xspf and upload it into your FTP.

In "xspf_player.as" you should edit:

Code:
//constants
DEFAULT_PLAYLIST_URL = "http://hideout.com.br/shows/allshows.xspf";
Please try to edit the playlist file in attachments and upload it.
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
Reply With Quote
  #10  
Old 01-26-2007, 09:50 PM
kidyangsta's Avatar
kidyangsta kidyangsta is offline
 
Join Date: Oct 2006
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

bump...
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 02:17 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.08968 seconds
  • Memory Usage 2,307KB
  • 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
  • (8)bbcode_code
  • (1)bbcode_php
  • (3)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
  • (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