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
  #262  
Old 02-05-2005, 08:10 AM
spence2 spence2 is offline
 
Join Date: Jun 2002
Location: usa
Posts: 284
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Trafix,

Having open_basedir restriction in effect problem ... please see post #255 ... thanks.
Reply With Quote
  #263  
Old 02-05-2005, 08:46 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 spence2
I'm getting this error in user upload:

Warning: copy(): open_basedir restriction in effect. File(/var/tmp/phpVgCnlX) is not within the allowed path(s): (/usr/home/xxx/:/usr/lib/php:/usr/local/lib/php:/tmp) in /vb_jukebox.php on line 144

Fatal error: Call to undefined function: print_stop_message() in /usr/home/xxx/public_html/forum/vb_jukebox.php on line 148


I have created a folder for uploads, entered in name the Jukebox Admin & chmod'ed folder permissions to 777


My vB configuration is running in Safe Upload mode
with this path to my temp uploads file:
/usr/home/xxx/public_html/forum/tmp

BTW, manual entry works fine.

Any ideas how to fix so that my users can upload successfully?

Thanks for your support.
you you can upload in the admin area but not the user end
Reply With Quote
  #264  
Old 02-05-2005, 10:02 AM
spence2 spence2 is offline
 
Join Date: Jun 2002
Location: usa
Posts: 284
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
you you can upload in the admin area but not the user end
Thank you for your reply.

Are you re-confirming my problem?

OR are you stating that there is no way around this problem to allow user uploads?
Reply With Quote
  #265  
Old 02-05-2005, 10:28 AM
trafix's Avatar
trafix trafix is offline
 
Join Date: Dec 2002
Location: Australia
Posts: 1,021
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmmm, im trying to assertain more information

Have you tried just putting "tmp" in the media folder field in the admin options?

As the script will use this in the relative path
Reply With Quote
  #266  
Old 02-05-2005, 10:34 AM
spence2 spence2 is offline
 
Join Date: Jun 2002
Location: usa
Posts: 284
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, I tried "tmp" and "/tmp" and "./tmp".
No go, I'm afraid.
Reply With Quote
  #267  
Old 02-05-2005, 10:40 AM
trafix's Avatar
trafix trafix is offline
 
Join Date: Dec 2002
Location: Australia
Posts: 1,021
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

have you done a test out of safe mode?
Reply With Quote
  #268  
Old 02-05-2005, 10:52 AM
spence2 spence2 is offline
 
Join Date: Jun 2002
Location: usa
Posts: 284
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by trafix
have you done a test out of safe mode?
Okay, now here is where we hit a brick wall because of my ignorance!

I installed Jukebox and noticed that I was getting the restriction error. Because my board is not yet ready for prime time, I had never tried to upload an avatar either. I tried to do so and discovered I received the restriction error there as well.

So, I inquired at vB.com and was told I needed to set Safe Mode in vB and set the path to my "tmp" directory as stated above.

When I did so, I found I could upload avatars, but still not a file via the Jukebox.

So, originally, when I discovered the restriction in Jukebox I was not running in Safe Mode ... and now that I am, I still receive the error. If there is something that you would like for me to ammend now in order to check my installation, you will have to tell me "Hey, do this..." with instructions on precisely how to do it ...

Obviously, I only "know enough to be dangerous". :ermm:
Reply With Quote
  #269  
Old 02-05-2005, 07:30 PM
trafix's Avatar
trafix trafix is offline
 
Join Date: Dec 2002
Location: Australia
Posts: 1,021
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK im confused ...... the jukebox uses the same uploader as the avatars etc.

To comfirm: ... your whole instilation is working except you cant upload songs from the user end.

Talking out loud:... Why does it restrict browser uploading in the user end but not in the admincp?
Reply With Quote
  #270  
Old 02-06-2005, 01:08 AM
spence2 spence2 is offline
 
Join Date: Jun 2002
Location: usa
Posts: 284
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes. My install works fine if I do manual entries. Only the user upload results in the restriction error.

I double-checked my user permissions and they are set to allow uploads.

On a whim of desperation, I even tried entering the name of my avatar upload folder "customavatars" but still got the restriction error.

I dunno, Trafix. I thank you for your support. I'd hate to uninstall because it's a great hack, but I'm stumped!
Reply With Quote
  #271  
Old 02-06-2005, 01:16 AM
trafix's Avatar
trafix trafix is offline
 
Join Date: Dec 2002
Location: Australia
Posts: 1,021
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

before we do anything rash

can you PM a test login and link to your forum
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:35 PM.


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.05807 seconds
  • Memory Usage 2,321KB
  • 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
  • (2)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
  • (4)pagenav_pagelink
  • (2)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