Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Jukebox Hack - With optional store hack intergration Details »
Jukebox Hack - With optional store hack intergration
Mod Version: 1.00, by trafix (Member) trafix is offline
Developer Last Online: Jul 2008 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 2.2.x Rating: (0 vote - 0 average) Installs: 39
Released: 27 Mar 2003 Last Update: Never Downloads: 3
Not Supported  

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

There is also a top 10 song list as well.

DEMO: www.atmyparty.com

SCREENSHOT: Next posts

REQUIREMENTS:

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.

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #46  
Old 29 Mar 2003, 01:55
DPoole DPoole is offline
 
Join Date: Oct 2001
$yesstore = $DB_site->query_first("SELECT storename,pointname FROM storeadmin")
You have an error in your SQL syntax near '$yesstore = $DB_site->query_first("SELECT storename,pointname FROM storeadmin")' at line 1

Aint sure why getting this error though as i installed it correctly
get no errors what so ever until i click to go to jukebox then get the sql error box
Reply With Quote
  #47  
Old 29 Mar 2003, 02:04
DPoole DPoole is offline
 
Join Date: Oct 2001
Today at 02:40 AM Kurayami said this in Post #45
Problem fixed with post 37... I was using .swf files with the improper code. *Knocks self on head.* Thanks for the great hack, by the way!

Post 37 ?? how u mean dont follow your answer to it
Reply With Quote
  #48  
Old 29 Mar 2003, 03:57
DPoole DPoole is offline
 
Join Date: Oct 2001
I have now just installed this to a test board - no store installed and only did the first part of the hack and left out the store integration - Also turned store off in Admin CP as well

Note the following error :

Database error in vBulletin 2.3.0:

Invalid SQL: SELECT storename,pointname,ban FROM storeadmin
mysql error: Table 'testboard.storeadmin' doesn't exist

mysql error number: 1146

so whys it askin for store when it aint installed and the option is set to No in admin CP
Reply With Quote
  #49  
Old 29 Mar 2003, 04:01
Kurayami's Avatar
Kurayami Kurayami is offline
 
Join Date: Sep 2002
Ah, sorry about that! My brain took down the incorrect post number--the fix was posted in post 36, which was right above yours. I must remind myself not to post while half-asleep.
Reply With Quote
  #50  
Old 29 Mar 2003, 05:41
trafix's Avatar
trafix trafix is offline
 
Join Date: Dec 2002
Today at 02:57 PM DPoole said this in Post #48
I have now just installed this to a test board - no store installed and only did the first part of the hack and left out the store integration - Also turned store off in Admin CP as well

Note the following error :

Database error in vBulletin 2.3.0:

Invalid SQL: SELECT storename,pointname,ban FROM storeadmin
mysql error: Table 'testboard.storeadmin' doesn't exist

mysql error number: 1146

so whys it askin for store when it aint installed and the option is set to No in admin CP
ooooops....try this ....find


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

replace with


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

sorry
Reply With Quote
  #51  
Old 29 Mar 2003, 06:17
DPoole DPoole is offline
 
Join Date: Oct 2001
Done that in jukebox.php i don`t get the same error now LOL

i get this

Invalid SQL: SELECT userid,username,jbplays FROM user WHERE userid='1'
mysql error: Unknown column 'jbplays' in 'field list'

mysql error number: 1054
Reply With Quote
  #52  
Old 29 Mar 2003, 06:36
trafix's Avatar
trafix trafix is offline
 
Join Date: Dec 2002
Today at 05:17 PM DPoole said this in Post #51
Done that in jukebox.php i don`t get the same error now LOL

i get this

Invalid SQL: SELECT userid,username,jbplays FROM user WHERE userid='1'
mysql error: Unknown column 'jbplays' in 'field list'

mysql error number: 1054

ok i do have the store installed so obviously i mist some stuff in the stand alone version....i will update the zip file once these bugs are fixed......thenks for your co operation & persistance DPpoole....try this find around line 123


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

replace with


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #53  
Old 29 Mar 2003, 12:51
NuclioN's Avatar
NuclioN NuclioN is offline
 
Join Date: Aug 2002
Hm..the top 10 does not work properly, it is placing the last added song as the one that is most requested (after listen to it once) altough this is not the case.
Reply With Quote
  #54  
Old 29 Mar 2003, 15:57
DPoole DPoole is offline
 
Join Date: Oct 2001
works cheers

now to suzz out to get it to play a song

cheers m8 once again

Clicking on top 10 in Jukebox gives a java error and dont open the windown as well.Not sure if u knew about this

Edit got it playing songs well now

cheers once again will try with store later on

Is flash the only way to make mp3`s stream as i have a couple of Trance mp3s and they about 70megs people wont want to listen to them if it downloads its instead of streamin it.

Last edited by DPoole; 29 Mar 2003 at 16:06.
Reply With Quote
  #55  
Old 29 Mar 2003, 16:09
trafix's Avatar
trafix trafix is offline
 
Join Date: Dec 2002
Today at 02:57 AM DPoole said this in Post #54
works cheers

now to suzz out to get it to play a song

cheers m8 once again

Clicking on top 10 in Jukebox gives a java error and dont open the windown as well.Not sure if u knew about this

Edit got it playing songs well now

cheers once again will try with store later on

Is flash the only way to make mp3`s stream as i have a couple of Trance mp3s and they about 70megs people wont want to listen to them if it downloads its instead of streamin it.

in your jukebox template find:
$header

after this add

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #56  
Old 29 Mar 2003, 16:17
DPoole DPoole is offline
 
Join Date: Oct 2001
works for top 10 Now

it dont open a new window though it just shows top10 in the same window as the julebox was in - also has a sort of delay before opening
Reply With Quote
  #57  
Old 29 Mar 2003, 16:29
DPoole DPoole is offline
 
Join Date: Oct 2001
Yesterday at 08:50 PM DPoole said this in Post #39
can someone give some info on what program to use to convert mp3s to swf

I tried this one but when playing in IE it shows a Scroll bar with stop/Play etc or is this correct ??

http://www.actionscript.org/software...ump.cgi?ID=115

not that i can stream em to my prob is sorted out in Post 37
but any info on this would help for when i do.

The above link is good for doing mp3`s in swf mode for ease of use.I have just done a 70meg mp3 and took less than a min to convert i then upped it to server and now its streamin it fine.

Note if u run the swf file it creates in IE on its own

example http://testboard/song.swf you get a loader playing which u dont want but if u stream it though the store the loader dont show.

So works a treat and the program is easy to use.
Reply With Quote
  #58  
Old 29 Mar 2003, 16:32
trafix's Avatar
trafix trafix is offline
 
Join Date: Dec 2002
in the jukebox.php the following appears 4 times.....make sure that this is correct


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #59  
Old 29 Mar 2003, 16:40
DPoole DPoole is offline
 
Join Date: Oct 2001
Lo trafix appreciate your help on this and the other hack u made.

Will you be an updated Zip for standalone and for store with the following added ?

Love the hack by the way - is easier to actually stream from your comp than uploading all these mp3s to server

Cheers has a lot of potential esp for people who make their own Music traxs up as they can now let people stream em from the board.

Well done.
Reply With Quote
  #60  
Old 29 Mar 2003, 16:44
trafix's Avatar
trafix trafix is offline
 
Join Date: Dec 2002
I persume that all is working now!

Yep I will update the zip soon

glad you like it.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 00:18.

Layout Options | Width: Wide Color: