Raised This Month: $32 Target: $400
 8% 

[ANY] Disco Mod! *Updated: 2/26/13


Post New Thread Reply   
 
Thread Tools Display Modes
LiilCraZy
Member
Join Date: Jun 2011
Old 03-19-2012 , 16:18   Re: [ANY] Disco Mod! *Updated: 3/18/12
Reply With Quote #21

Quote:
Originally Posted by Dr. McKay View Post
You need to install Adobe Flash for Other Browsers.
I already have >_>
LiilCraZy is offline
funnyfacez3
Member
Join Date: Mar 2012
Old 03-19-2012 , 21:02   Re: [ANY] Disco Mod! *Updated: 3/18/12
Reply With Quote #22

where do i put the index.php or the music folder?
funnyfacez3 is offline
CuriousG
Senior Member
Join Date: Feb 2012
Old 03-20-2012 , 10:37   Re: [ANY] Disco Mod! *Updated: 3/18/12
Reply With Quote #23

Quote:
simplicity2g.org/disco/index.php?id=gimmie.mp3
I'm guessing you got this fixed now since I was able to play the song by going to that link. If not the only other explanation is that Flash for other browsers isn't installed correctly.
CuriousG is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 03-20-2012 , 13:29   Re: [ANY] Disco Mod! *Updated: 3/18/12
Reply With Quote #24

Quote:
Originally Posted by funnyfacez3 View Post
where do i put the index.php or the music folder?
You must have a webspace, but this is optional you could use youtube, or some other mp3 file hosting site to pl;ay the song.
Mitchell is offline
funnyfacez3
Member
Join Date: Mar 2012
Old 03-24-2012 , 15:17   Re: [ANY] Disco Mod! *Updated: 3/18/12
Reply With Quote #25

Quote:
Originally Posted by Mitchell View Post
You must have a webspace, but this is optional you could use youtube, or some other mp3 file hosting site to pl;ay the song.
Hahaha okay i know that but u didnt awnser my question WHERE DO I PUT THE INDEX.PHP AT?

Last edited by funnyfacez3; 03-24-2012 at 15:18.
funnyfacez3 is offline
Nikey646
Member
Join Date: Apr 2011
Old 03-25-2012 , 06:40   Re: [ANY] Disco Mod! *Updated: 3/18/12
Reply With Quote #26

i've made some changes to the index.php to allow more on the fly editing.... it's currently got on the fly looping, volume changing, but for the C&P links you need to change the variable "$url" at the top of the document, and change it to your own url, with or without http:// (i currently dont have http:// because i dnt want to have to quote the url)

For now i'll upload it as is, the url option is at the very top of the page. it'll be ?id= in the uploaded version.

Url Options
Id: Mp3 file to play (all files in the "Music" folder are listed under the flash file)
Vol: If not supplied, the volume of the mp3 player will be 100, otherwise add &vol=#
Loop: If &loop is added the mp3 player will loop the song.

Download: http://data.unknownau.com/8Q6Ons-8s6nOQ.rar

Hope the original author doesnt mind (: If He/She does, i'll remove this post.

P.s: I edited this to use with a different mod, so you can completely ignore the $url option if you wish (just copy the hyper linked one)
__________________
ğUnAUĞ UnknownAU ğUnAUĞ
A Proud Australian TFDodgeball Server!





Last edited by Nikey646; 03-25-2012 at 06:50.
Nikey646 is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 03-25-2012 , 17:24   Re: [ANY] Disco Mod! *Updated: 3/18/12
Reply With Quote #27

Quote:
Originally Posted by funnyfacez3 View Post
Hahaha okay i know that but u didnt awnser my question WHERE DO I PUT THE INDEX.PHP AT?
I did answer you, you must have a webspace, as in a website that you can put the index.php onto.
You could even use drop box, maybe idk how that would works lol.

Last edited by Mitchell; 03-25-2012 at 17:25.
Mitchell is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 03-25-2012 , 18:59   Re: [ANY] Disco Mod! *Updated: 3/18/12
Reply With Quote #28

Dropbox doesn't have PHP.
__________________
Dr. McKay is offline
micazoid
Veteran Member
Join Date: Oct 2010
Location: Munich - Germany
Old 03-27-2012 , 06:45   Re: [ANY] Disco Mod! *Updated: 3/18/12
Reply With Quote #29

Two REALLY NOOBISH Questions:

1. Can I use songs from youtube or grooveshark for this? I think so because songs from youtube are working in the ingamebrowser.

2. If I want to provide my own songs, how I have to setup the page? Can I just upload the song and give then the adress in the browser? I think not, it will just download then? How do I get this to be played?
EDIT:
Just took a look at simplicity2g.org/disco/index.php?id=gimmie.mp3
So I have to install flashplayer??? I am really lost here. This HTTP-Stuff looks like being from Japan for me XD

3. This is just a another question linked to question 1. Is there something similiar to grooveshark??
__________________

Last edited by micazoid; 03-27-2012 at 06:52.
micazoid is offline
Nikey646
Member
Join Date: Apr 2011
Old 03-27-2012 , 09:53   Re: [ANY] Disco Mod! *Updated: 3/18/12
Reply With Quote #30

Quote:
Originally Posted by micazoid View Post
Two REALLY NOOBISH Questions:
2. If I want to provide my own songs, how I have to setup the page? Can I just upload the song and give then the adress in the browser? I think not, it will just download then? How do I get this to be played?
Using the Supplied index.php in the first post (or if you the ability to turn looping off and change the volume(those functions were not ment for this mod) then use the one i posted earlier) and upload it onto a free hosting site such as zymic

once you've done that navigate to the music folder, and upload a .mp3.... remember the name.

in the config add

Code:
"*songname(1)*"
    {
        "path"                "*Your url(no http:// or www.)(2)*/index.php?id=*name of your song(3)*.mp3"
    }
now to to make this easier (:

1: The song name that will appear in the menu while using this mod.
2: The location of your index.php (EG: yoursite.99k.org/disco/index.php) (99k.org is one of the options from zymic)
3: Lets say in the music folder your song is called Happy music.mp3, you would add "?id=happy%20music.mp3

If you need further help send me a private message (:

on a side note about your edit: Yes, IE/FireFox/Chrome require flash to be installed on the client.
__________________
ğUnAUĞ UnknownAU ğUnAUĞ
A Proud Australian TFDodgeball Server!




Nikey646 is offline
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 -4. The time now is 11:52.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode