Version: 1.00, by trafix
Developer Last Online: Jul 2008
Version: 2.2.x
Rating:
Released: 03-26-2003
Last Update: Never
Installs: 39
No support by the author.
Here we go, time for some music....I have seen a few threads here requesting a jukebox hack.
So here it is...
Once you have installed this hack please keep in mind legal issues we loading your jukebox with songs.
You can add MP3 however it is NOT advisable without permission from the copyright governing bodies in your country.
The jukebox operates in its own seperate browser window
Here are the instalation instructions for the Jukebox hack. It wont take you very long.
As like my other hacks this hack is also designed to operate on its own or with Lesane's store hack
If you have the store hack installed you can make users buy "Jukebox Plays" from the store before they can listen to songs.
The admin area is highly configurable and the jukebox has 4 different modes
1) Off
2) On - Jukebox Plays Needed (Lesane's Store Required)
3) On - Freeplay For Members & Guests
4) On - Freeplay For Members Only
There is also defult audio settings, this defult is used at the beginning of jukebox session (when a user opens the jukebox)
1) You can nominate a defult song. I have recorded an MP3 voice introduction that you can use.
2) You can set it to play the most requested song.
3) No audio
2 X php file alteration
1 X database query
9 X new templates
3 X template modifications
INSTALATION TIME: aprox. 15 - 20 min
Tested on 2.2.8 but should work on all versions.
update...big fixes to page no 5
~ This hack is Copyright ~
Please note that I reserve the right to code and release this hack for VB3, I have not and will not grant permission for anyone else to code this hack for VB3.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
LOL I dont' know if anyone else has been getting this but when you minimize the jukebox window the song stops playing then it plays again when you maximize the actual jukebox window.
04-23-03 at 08:14 AM Lethal said this in Post #120 Well I think I got the Top 10 working the way its supposed to. In jukebox.php replace all occurances of:
PHP Code:
$mostplayed=$DB_site->query_first("SELECT songsid,sname,surl,splay FROM jukebox ORDER BY splay desc LIMIT 1");
With:
PHP Code:
$mostplayed=$DB_site->query_first('SELECT * FROM `jukebox` ORDER BY `splay` DESC LIMIT 0, 30');
Takes awhile to load the songs thou. Even on cable. Is that normal? Takes like 1-2 minutes. Will the songs be cached in ur browser after you play them a few times that way they will or should play right away?
Still doesn't work for me. Seems to want to choose the most played and top 10 at random. It didn't affect my song load time at all, though.
Just recently got a complaint from one of my moderators that everytime they try and access the jukebox (in either browser) they get logged off the forums? I don't see how that's even possible, but...anyone have any ideas? Also did you ever get the "most played" and top 10 sorted?
04-23-03 at 07:14 AM Lethal said this in Post #120 Well I think I got the Top 10 working the way its supposed to. In jukebox.php replace all occurances of:
PHP Code:
$mostplayed=$DB_site->query_first("SELECT songsid,sname,surl,splay FROM jukebox ORDER BY splay desc LIMIT 1");
With:
PHP Code:
$mostplayed=$DB_site->query_first('SELECT * FROM `jukebox` ORDER BY `splay` DESC LIMIT 0, 30');
Takes awhile to load the songs thou. Even on cable. Is that normal? Takes like 1-2 minutes. Will the songs be cached in ur browser after you play them a few times that way they will or should play right away?
I think you'd want to LIMIT 10, after all it is a top 10 right?