Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[ Audio / Visual ] - VB Mega Jukebox - Now with permissions to save bandwith Details »»
[ Audio / Visual ] - VB Mega Jukebox - Now with permissions to save bandwith
Version: 2.3, by trafix trafix is offline
Developer Last Online: Jul 2008 Show Printable Version Email this Page

Version: 3.0.5 Rating:
Released: 01-10-2005 Last Update: 02-14-2005 Installs: 112
DB Changes
 
No support by the author.

I want to thank everyone who has supported the original release of this hack and for all the suggestions to make this hack even better
I have spent days on adding all these new features and would like to thank the people who have assisted me to get some of these function to work.

Its back after a long time

This hack will add a whole new dimention to your forums with a Jukebox

3 file edit
1 template edit
1 new db table
1 db table alteration

This hack uses and includes a copy of the [HIS] Hack Installer System (Build 3)
released by Link14716 and can be found here --> https://vborg.vbsupport.ru/showthread.php?t=71542
My thanks to Link for his one on one time in building the install files for the VB Jukebox

General Features

* The ability to play audio and movie formats - The script will detect both .mpg or .mpeg files and open the media player. If an audio format is played then the media player will stay invisable.

Admin Features

* Upload songs from your browser.
* Unlimited genres.
* Manual data entery for when the uploader fails or for large files.
* At a click will automaticly generate a new thread announcing a song in the jukebox.

* Usergroup permissions for:
--> 1) Who can listen to songs.
--> 2) Who can upload songs.
--> 3) Who can rate songs.

Front End Features

*Members can upload songs, these songs are not available in the jukebox until admin aproval (optional email notification available).
* Callapsable genres (only displays genres that have active songs in them).
* Members can rate songs.

Future Possible Functions

* members favs, this will allow members to add songs to their own favs list and if i can work it out i will try to make it so they can play their favs from start to finish.

INSTRUCTIONS FOR REMOTE SONG HOSTING

OPTION 1

In the admin options where it asks for the folder name enter the full path to the where the songs are stored eg "www.something.com/music folder" NO backslash after.
The Downside to this is that your members canrt upload or add songs to the jukebox and movie files will not work.

OPTION 2
In vb_jukebox.php find each instance of

PHP Code:
$playsong "$vboptions[jb_media_folder]/$playthisong 
replace with
PHP Code:
$playsong "$playthisong
Then enter the full url into the song file field for each song.

A Tutorial for manual install can be found here https://vborg.vbsupport.ru/showthread.php?t=76050

Please Click install

This hack will always be free however you can donate to paypal@petnshow.com

Jukebox Feedback Please
I would love to hear some feeback from your members there is a feedback thread here https://vborg.vbsupport.ru/showthread.php?t=76124

Update
Fix Template and missing image

Update 2.1
includes whos online code by Murphinator, i have changed the varname of the phrase to conform with the perfix
also includes instructions for adding admin to the modcp

Update 2.2
Just a file edit here that will stop the media player desplaying a long narrow strip .. just upload the new vb_jukebox.php file

Update 2.3
Major bug fix ... negative song count for songs
just upload the new vb_jukebox.php file

Show Your Support

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

Comments
  #62  
Old 01-16-2005, 11:55 PM
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
Location: USA
Posts: 1,612
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by trafix
Glad we all sorted it out and everything is working

Enjoy!
not exactly working, in fact quite messed up. I installed it by going to the read me to find the template edits, and I put all of the settings in via the admin cp, and when I checked it out I did not see any songs in the "midi" folder listed, and it looked different than the screen shots (blank areas with no text). I figured it must have not installed all the way since it hung up at the template/file edits, but I wasn't too worried since those are usually the last steps. I went to uninstall it and try again, and that is when things got worse - I got this error:
Quote:
These are the hacks you have selected to uninstall:

There is no record of Jukebox being installed. It cannot be uninstalled.

We're sorry you didn't like these hacks. Running this script will remove all settings and templates created.
so the install must never have finalized with the HIS. I ran the installer again to check if it was installed and got this:

Quote:
Jukebox: Added Setting Group - Vb Jukebox
Jukebox: Added Setting - Audio Settings
Jukebox: Added Setting - Defult Song Title
Jukebox: Added Setting - Defult Song URL
Jukebox: Added Setting - Jukebox Mode
Jukebox: Added Setting - Jukebox Cost
Jukebox: Added Setting - Announcment Forum
then this:
Quote:
Jukebox: Added/Updated Phrase - jb_is_active
Jukebox: Added/Updated Phrase - jb_posttitle
Jukebox: Added/Updated Phrase - jb_new_song_called
Jukebox: Added/Updated Phrase - jb_jukebox
Jukebox: Added/Updated Phrase - jb_song
Jukebox: Added/Updated Phrase - jb_requests
Jukebox: Added/Updated Phrase - jb_list
Jukebox: Added/Updated Phrase - jb_add_new_x
Jukebox: Added/Updated Phrase - jb_title
Jukebox: Added/Updated Phrase - jb_url
Jukebox: Added/Updated Phrase - jb_edit_x_y
Jukebox: Added/Updated Phrase - jb_reset_all_stats
Jukebox: Added/Updated Phrase - jb_nothing
Jukebox: Added/Updated Phrase - jb_most_played_x_with_y
Jukebox: Added/Updated Phrase - jb_not_permitted
Jukebox: Added/Updated Phrase - jb_need_credits
Jukebox: Added/Updated Phrase - jb_now_playing
Jukebox: Added/Updated Phrase - jb_free_for_members_guests
Jukebox: Added/Updated Phrase - jb_free_for_members_only
Jukebox: Added/Updated Phrase - jb_credits_needed_x_amount
Jukebox: Added/Updated Phrase - jb_top10_note
Jukebox: Added/Updated Phrase - jb_view_top10
Jukebox: Added/Updated Phrase - jb_instructions
Jukebox: Added/Updated Phrase - jb_deleted_x_successfully
Jukebox: Added/Updated Phrase - jb_reset_x_stats_successfully
Jukebox: Added/Updated Phrase - jb_x_announced
Jukebox: Added/Updated Phrase - jb_jukebox_off
Jukebox: Added/Updated Phrase - jb_track_list
Jukebox: Added/Updated Phrase - jb_vbjukebox
then this:
Quote:
Jukebox: Created/Updated Template - jb_JUKEBOX
Jukebox: Created/Updated Template - jb_jukebox_bit
Jukebox: Created/Updated Template - jb_top10
Jukebox: Created/Updated Template - jb_top10_bit
but when I click on the "DONE" button at the "Rebuild Style Information" screen I am taken to a screen that says:
Quote:
Warning: halt(): Failed opening './includes/functions_log_error.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/site/public_html/forums/includes/db_mysql.php on line 389

PHP Code:
Database error in vBulletin 3.0.5:

Invalid SQLALTER TABLE language ADD `phrasegroup_jukeboxMEDIUMTEXT NOT NULL
mysql error
Duplicate column name 'phrasegroup_jukebox'

mysql error number1060 
again, not too worried because it is a duplicate name - that means it is there and all should be well....Not so. Attached is a screenshot of how my jukebox looks.

I want to completely uninstall this, so I can start over again, but the HIS does not think I have it installed. Is there a way to "trick" the uninstaller into removing the phrasegroups etc., so I can try to reinstall? If not, how can I remove it/fix it?
Reply With Quote
  #63  
Old 01-17-2005, 12:11 AM
trafix's Avatar
trafix trafix is offline
 
Join Date: Dec 2002
Location: Australia
Posts: 1,021
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok I just had the same problem when i installed the jukebox on my new dev forum do code the next version ..... (members can upload their own songs)

go to your phrasemanager and search for jb_jukebox and select edit ..... then save it without actually making any changes .... all the other phrases should also apper
Reply With Quote
  #64  
Old 01-17-2005, 12:19 AM
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
Location: USA
Posts: 1,612
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by trafix
ok I just had the same problem when i installed the jukebox on my new dev forum do code the next version ..... (members can upload their own songs)

go to your phrasemanager and search for jb_jukebox and select edit ..... then save it without actually making any changes .... all the other phrases should also apper
that did it! thanks!

now.. how do I get more songs to appear in my jukebox? I added a few to the "midi" folder I created, but nothing.

Quote:
************
New Folder:
************
Make a new folder in the root directory of your server "midi" to upload your jukebox songs to.
when you say "root directory of your server do you mean:

/home/site/public_html/forums/

or do you mean root meaning

/home/site/ ?

I put "midi" folders everywhere I could think of, but nothing shows up

any ideas?
Reply With Quote
  #65  
Old 01-17-2005, 12:34 AM
trafix's Avatar
trafix trafix is offline
 
Join Date: Dec 2002
Location: Australia
Posts: 1,021
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok put your folder

/home/site/public_html/forums/midi

so the url to the song will be www.xxx.com/forums/midi/song.mid

or using a relative path /midi/song.mid
Reply With Quote
  #66  
Old 01-17-2005, 12:52 AM
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
Location: USA
Posts: 1,612
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by trafix
ok put your folder

/home/site/public_html/forums/midi

so the url to the song will be www.xxx.com/forums/midi/song.mid

or using a relative path /midi/song.mid
I did that, and it plays my default song just fine, however it doesn't see any of the other songs in that folder. How do I add more songs?

edit: I am an idiot. I didn't upload the admincp/index.php file edits!

Thanks for your patience and help!
Reply With Quote
  #67  
Old 01-17-2005, 03:20 AM
trafix's Avatar
trafix trafix is offline
 
Join Date: Dec 2002
Location: Australia
Posts: 1,021
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by yoyoyoyo
I did that, and it plays my default song just fine, however it doesn't see any of the other songs in that folder. How do I add more songs?

edit: I am an idiot. I didn't upload the admincp/index.php file edits!

Thanks for your patience and help!
No problem glad you got it working
Reply With Quote
  #68  
Old 01-17-2005, 09:38 AM
trafix's Avatar
trafix trafix is offline
 
Join Date: Dec 2002
Location: Australia
Posts: 1,021
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Update ....

Yep we are goung well ... now you can upload your songs direct from the admincp

Now im starting to work on the members upload area
Reply With Quote
  #69  
Old 01-17-2005, 12:34 PM
trafix's Avatar
trafix trafix is offline
 
Join Date: Dec 2002
Location: Australia
Posts: 1,021
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Update .....

Ok uploading of songs can now be done from the admin area. Members can also upload their songs straight to the jukebox folder ...... BUT requires admin to aprove it before the song shows up in the jukebox

i have a few loose ends to tie up however tomorrow i will start coding the genre categories, as like forum home the genre sections will be calapsable
Reply With Quote
  #70  
Old 01-18-2005, 06:36 PM
aloha aloha is offline
 
Join Date: Jan 2004
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by trafix
Update .....

Ok uploading of songs can now be done from the admin area. Members can also upload their songs straight to the jukebox folder ...... BUT requires admin to aprove it before the song shows up in the jukebox

i have a few loose ends to tie up however tomorrow i will start coding the genre categories, as like forum home the genre sections will be calapsable

Can't wait. You got my donations!
Reply With Quote
  #71  
Old 01-18-2005, 07:51 PM
aloha aloha is offline
 
Join Date: Jan 2004
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Suggestion... Maybe it can post reply's to the first post when it announces everyone a new song is on the site... Save some space and it would be a bit more tidy.
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 12:31 AM.


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.14678 seconds
  • Memory Usage 2,338KB
  • Queries Executed 25 (?)
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
  • (3)bbcode_php
  • (11)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
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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