Log in

View Full Version : [ Audio / Visual ] - VB Mega Jukebox - Now with permissions to save bandwith


Pages : 1 [2] 3

trafix
02-03-2005, 07:13 PM
have you now deleted "1" folder and tried to do the upgrade?

aloha
02-03-2005, 07:54 PM
have you now deleted "1" folder and tried to do the upgrade?


Yep, but the thing is, everything seems to be working fine, however, no music is coming up on the jukebox page. And its not playing @ all.

WiseOwl
02-04-2005, 12:22 AM
After clicking finished or done whatever the last option is in the install process it returns this error

Database error in vBulletin 3.0.5:

Invalid SQL: ALTER TABLE language ADD `phrasegroup_jukebox` MEDIUMTEXT NOT NULL
mysql error: Duplicate column name 'phrasegroup_jukebox'

mysql error number: 1060

Date: Thursday 03rd of February 2005 06:20:58 PM
Script: http://bb.hiphop.org/install/hack_install.php?do=install&step=dodatabasequeries&hacks=Jukebox





I Attempeted to uninstall and reinstall this mod as it was not working correctly, it is still not PLAYING the songs? whats wrong, can some please assist me

el diablo
02-04-2005, 12:24 AM
same thing i got.. ^^^

spence2
02-04-2005, 07:09 AM
NOTE: Issue resolved in post #280 of this thread. :)

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.

trafix
02-04-2005, 09:02 PM
ok guys ..... im sorry for not getting to these issues sooner as i have been bombarded by paying clients ;) ... i have some time to take a look at these issues today :)

trafix
02-04-2005, 09:11 PM
same thing i got.. ^^^
Ok have you created your music folder and made sure the options reflect the folders name ... i tried to upload a song and got an error.

I fixed the navigation so the phrases show (just edit one of the phrases and save without changing any of the text :))

Also have you uploaded the v2.1 php files?

trafix
02-04-2005, 09:43 PM
I have updated the vb_jukebox.php file to stop the media player opening as a tall narrow strip

trafix
02-04-2005, 10:04 PM
Yep, but the thing is, everything seems to be working fine, however, no music is coming up on the jukebox page. And its not playing @ all.
how is it going?

can you send me a link to your jukebox? ... either here or PM

trafix
02-05-2005, 05:05 AM
anyone else having problems?

spence2
02-05-2005, 08:10 AM
Trafix,

Having open_basedir restriction in effect problem ... please see post #255 ... thanks.

trafix
02-05-2005, 08:46 AM
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

spence2
02-05-2005, 10:02 AM
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?

trafix
02-05-2005, 10:28 AM
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

spence2
02-05-2005, 10:34 AM
Yes, I tried "tmp" and "/tmp" and "./tmp".
No go, I'm afraid.

trafix
02-05-2005, 10:40 AM
have you done a test out of safe mode?

spence2
02-05-2005, 10:52 AM
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:

trafix
02-05-2005, 07:30 PM
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?

spence2
02-06-2005, 01:08 AM
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!

trafix
02-06-2005, 01:16 AM
before we do anything rash ;)

can you PM a test login and link to your forum

spence2
02-06-2005, 02:02 AM
before we do anything rash ;)

can you PM a test login and link to your forum

PM sent. Thanks, again.

trafix
02-06-2005, 02:58 AM
ok im grasping at straws ... "tmp" is used in server configuration ...... try creating a new folder with a different name and see if that makes a difference

trafix
02-06-2005, 03:11 AM
hmmm, maybe it has something to do with the server settings cos i get the same error

maybe shoot off an email to your host tech

spence2
02-06-2005, 03:18 AM
ok im grasping at straws ... "tmp" is used in server configuration ...... try creating a new folder with a different name and see if that makes a difference

Created new folder. Chmod'ed to 777. Changed folder name in JB admin.

Tried upload, but still same restriction error.

spence2
02-06-2005, 03:21 AM
hmmm, maybe it has something to do with the server settings cos i get the same error

maybe shoot off an email to your host tech

Will do. Thanks again for your help.

trafix
02-06-2005, 09:49 AM
is anybody else getting upload errors?

Zaeolos
02-06-2005, 04:07 PM
Can you explain the changes from v2.1 to v2.2 or how to quickly upgrade without reinstalling the entire hack?

trafix
02-06-2005, 07:07 PM
the only change is some coding in the vb_jukebox.php file. only about 6 lines that stop the media player opening as a tall narrow strip :)

yahoooh
02-07-2005, 06:18 AM
i have suggestion for your hack
i look for visual/audio station to my site which like this idea:
upload all media to specific folder
then make live show by your site ,just people go to jukeshow.php then this script will begin with the media but it is be timed by your server
in admen panel , admin put times to begis the show and make the file play file number 1 and then file number 2 and then file number 3 so on
after it finish it will repeat or just stop

it is like tv or radio staion on the net by your site and it be good to make it daily or weekly or monthly changed

i hope this idea be done

spence2
02-07-2005, 01:02 PM
hmmm, maybe it has something to do with the server settings cos i get the same error

maybe shoot off an email to your host tech
Will do. Thanks again for your help.
Trafix, this was the response from my most excellent hosting company (alphaomegahosting.com):
I am going to add /var/tmp to your open_basedir directive to see if that takes care of the problem, though I'm still perplexed and wondering "why?" just like you are. Again, I don't understand what's broken. Like you posted at the forum, you can upload avatars, which the developer said used the same engine (or something like that... it's been a while since I read it) and even he seems to be confused about what is going on here.

Anyway, lets see what happens with this addition.
That fixed it!!! No more restriction errors. :)
Thanks again for your superb support of this hack and I hope this info will be a help to anyone else who might run into the same problem.

trafix
02-07-2005, 07:03 PM
Wootness :) .....well done!

WiseOwl
02-08-2005, 12:36 AM
Ok trafix, I have cut my jukebox on for members & guests so you can see whats going on here..

http://digitalmental.com/bb/vb_jukebox.php

Nothing is playing, I have chmodded and added the audio files correctly, they are also linked correctly through the vb jukebox admin..

The songs did play fine until I tried to update to the newest version.. can you explain how to uninstall completely, so I can do a fresh reinstall? maybe that will help my problem. I don't know.. i'm also experiencing "-" negative plays...

Any help would be greatly appreciated as your hack is a very valuable asset to my forum considering we are MUSIC related.. the first release worked fine and I'm figuring I messed something up trying to update to the current version..

trafix
02-08-2005, 01:03 AM
the path to the songs are correct

ok .... i tried to play the songs direct from your media folder and i had to download the entire song before it would play. i think that the file extension is reaking havoc here being a .wma ... have you tried uploading an mp3 or midi file?

what did you upload from v2.1 - v2.2 .... if so there shouldnt be a problem

WiseOwl
02-08-2005, 01:37 AM
Ok I removed alot of those wma's that were huge, all the songs under the "commercial" genre now are wma's that average around 4mb's a piece... all the songs under the other genre's are mp3 format..

I'am still not getting any sound out of clicking on any of the links.. are you? as far as what I uploaded to the new version.. I followed the intructions step by step.. uploaded all the necessary files.. can't recall right off hand i'd have to go take a peek..

trafix
02-08-2005, 01:47 AM
yep .... when you perform a manual data entey you any enter the name of the filename of the mp3 ... dont include the path.

also what have you got in the vb jukebox options "media file"

WiseOwl
02-08-2005, 01:56 AM
I don't enter the path when I do the manual entry, my "media file" or "media folder" ?????

the folder is listed as "http://www.hiphop.org/audio/rotation/" should it be listed as /home/****/****/audio/rotation/ ????

PS: It still says version 1.2 at the bottom ???

trafix
02-08-2005, 02:04 AM
hmmm, im confused when i go to play an mp3 file direct from the folder ... i get the same as the wma's ... i have to download them before i play them ...... it should automaticly open the media player and start playing ..... has something changed with your server settings?

trafix
02-08-2005, 02:06 AM
I don't enter the path when I do the manual entry, my "media file" or "media folder" ?????

the folder is listed as "http://www.hiphop.org/audio/rotation/" should it be listed as /home/****/****/audio/rotation/ ????

PS: It still says version 1.2 at the bottom ???
media folder

WiseOwl
02-08-2005, 02:08 AM
Ok its playing the songs for me now, it was a cookie problem and me adding the full path when adding manual entry

However it does have to download before playin, sup with that??

thanks again for all the help homie, when i got some cash ill donate some to tha project, peace

trafix
02-08-2005, 02:35 AM
However it does have to download before playin, sup with that??

hhhmmm, im not sure y it have to download first .... i havent run into this problem before

WiseOwl
02-08-2005, 05:37 AM
Hmm its not downloading now, seems to play almost right away

trafix
02-08-2005, 05:41 AM
its playing properly for me :)

WiseOwl
02-08-2005, 06:07 AM
good deal.. thanks again Tafix and as soon as I got some extra loot, I got cha man..

Is there away to edit a category? and a form for leaving feedback on a song would be cool too, oh and a "date posted" column would be ideal

trafix
02-08-2005, 06:14 AM
if you announce each song then that thread can be used for the feedback:)

to change the category of a song ... simply edit the song in the admin cp and either select a genre from the list or enter a new genre name

WiseOwl
02-09-2005, 11:11 AM
Yo Trafix... set my Jukebox to "members only" to kinda give incentive to register, well found a problem..

When a guest or unregistered member clicks on one of the songs to play it and I have the setting set to the 3rd setting which is "On - For members only" not the "On - For members (Credits Required)" it counts the play as a negative play... is there a quick fix for that???????

trafix
02-09-2005, 12:18 PM
hmmm, i will have to look into it

trafix
02-09-2005, 12:21 PM
ok try this .. open vb_jukebox and remove (aroung line 300)

// because the jukebox is using credits this overrides the usergroup permissions
if ($vboptions[jb_mode] == "3" AND $bbuserinfo[userid] > "0" AND $mysong > "0")
{
if ($bbuserinfo[vbt_adcredit] > $vboptions[jb_cost])
{
$DB_site->query("
UPDATE " . TABLE_PREFIX . "user
SET vbt_adcredit = vbt_adcredit - $vboptions[jb_cost]
WHERE userid = $bbuserinfo[userid]
");
}
else
{
$DB_site->query("
UPDATE " . TABLE_PREFIX . "vb_jukebox_trax
SET plays = plays - 1
WHERE songid = $mysong
");

$mostplayed[plays] = $mostplayed[plays] - 1;
$canplay = "2";
$warning = "1";
$warningdesc = "$vbphrase[jb_need_credits]";
$songdetails = "$vbphrase[jb_nothing]";
}
}

spence2
02-09-2005, 01:45 PM
Trafix,

As an admin when a user uploads a song and I approve it ... is there any way for me to know what category the user intended for the song? Thanks.

dhurd
02-09-2005, 01:57 PM
trafix,
I don't know if you can help with this or not. I am having trouble with the installer. I renamed my admincp directory when I installed vB so I think this may be causing a problem. When I run "forum/install/hack_install.php" script I get the following error:

Warning: chdir(): No such file or directory (errno 2) in c:\inetpub\...\install\his_files\hack_install_b3.p hp on line 32

Warning: main(./global.php): failed to open stream: No such file or directory in c:\inetpub\...\install\his_files\hack_install_b3.p hp on line 34

Fatal error: main(): Failed opening required './global.php' (include_path='.;c:\php4\pear') in c:\inetpub\...\install\his_files\hack_install_b3.p hp on line 34

I looked at the line of code it was referencing and it was using the variable $admincpdir. I looked at this variable and the value is "admincp" which is incorrect because I had renamed my admincp directory. So I hardcoded the name of my directory into the line which let me at least attempt to run the installer but now when I run it I get the following errors:


<?php

// Templates

Warning: Invalid argument supplied for foreach() in \his_files\hack_creator_b2.php on line 161
?>

and


<?php

// Phrases
Warning: Invalid argument supplied for foreach() in \his_files\hack_creator_b2.php on line 203
?>

and


Warning: halt(./includes/functions_log_error.php): failed to open stream: No such file or directory in c:\inetpub\...\includes\db_mysql.php on line 389

Warning: halt(): Failed opening './includes/functions_log_error.php' for inclusion (include_path='.;c:\php4\pear') in c:\inetpub\...\includes\db_mysql.php on line 389


And then an SQL error:

Database error in vBulletin 3.0.6:

Invalid SQL: SELECT varname, text FROM phrase WHERE varname IN () ORDER BY languageid DESC
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY languageid DESC' at line 1

mysql error number: 1064

Date: Wednesday 09th of February 2005 08:51:18 AM
Script: http://.../install/hack_install.php
Referer: http://.../install/hack_install.php


Any ideas on what is going on? I know this is probably an installer problem but I looked at the thread for the installer and didn't really find any help. I'm not a php programmer so I'm pretty lost as far as debugging the scripts to find out whats going on.

Any help will be appreciated.

Regards,
Dan Hurd
DWE
www.smallrc.com

trafix
02-09-2005, 07:30 PM
Trafix,

As an admin when a user uploads a song and I approve it ... is there any way for me to know what category the user intended for the song? Thanks.
No the user cant select the genre .... the songs are put into a genra called "A new song" so you can find new uploads easily ... you can hear the song by clicking on the title in the admin song list ... then decide for yourself :)

trafix
02-09-2005, 07:32 PM
trafix,
I don't know if you can help with this or not. I am having trouble with the installer. I renamed my admincp directory when I installed vB so I think this may be causing a problem. When I run "forum/install/hack_install.php" script I get the following error:

Warning: chdir(): No such file or directory (errno 2) in c:\inetpub\...\install\his_files\hack_install_b3.p hp on line 32

Warning: main(./global.php): failed to open stream: No such file or directory in c:\inetpub\...\install\his_files\hack_install_b3.p hp on line 34

Fatal error: main(): Failed opening required './global.php' (include_path='.;c:\php4\pear') in c:\inetpub\...\install\his_files\hack_install_b3.p hp on line 34

I looked at the line of code it was referencing and it was using the variable $admincpdir. I looked at this variable and the value is "admincp" which is incorrect because I had renamed my admincp directory. So I hardcoded the name of my directory into the line which let me at least attempt to run the installer but now when I run it I get the following errors:


<?php

// Templates

Warning: Invalid argument supplied for foreach() in \his_files\hack_creator_b2.php on line 161
?>

and


<?php

// Phrases
Warning: Invalid argument supplied for foreach() in \his_files\hack_creator_b2.php on line 203
?>

and


Warning: halt(./includes/functions_log_error.php): failed to open stream: No such file or directory in c:\inetpub\...\includes\db_mysql.php on line 389

Warning: halt(): Failed opening './includes/functions_log_error.php' for inclusion (include_path='.;c:\php4\pear') in c:\inetpub\...\includes\db_mysql.php on line 389


And then an SQL error:

Database error in vBulletin 3.0.6:

Invalid SQL: SELECT varname, text FROM phrase WHERE varname IN () ORDER BY languageid DESC
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY languageid DESC' at line 1

mysql error number: 1064

Date: Wednesday 09th of February 2005 08:51:18 AM
Script: http://.../install/hack_install.php
Referer: http://.../install/hack_install.php


Any ideas on what is going on? I know this is probably an installer problem but I looked at the thread for the installer and didn't really find any help. I'm not a php programmer so I'm pretty lost as far as debugging the scripts to find out whats going on.

Any help will be appreciated.

Regards,
Dan Hurd
DWE
www.smallrc.com
Ummm, these installer files go into the "install" folder, not the "admincp" folder.

There is only 1 file that is uploaded to the admincp .. vb_jukebox_admin.php

trafix
02-09-2005, 09:10 PM
For those who want to be able to install without using the HIS please read https://vborg.vbsupport.ru/showthread.php?p=609661#post609661

WiseOwl
02-09-2005, 09:46 PM
Still gettin negative plays after adding the code around line 300 in vb_jukebox.php take a peep at http://bb.hiphop.org/vb_jukebox.php

spence2
02-09-2005, 09:46 PM
No the user cant select the genre .... the songs are put into a genra called "A new song" so you can find new uploads easily ... you can hear the song by clicking on the title in the admin song list ... then decide for yourself

Might you consider making this a feature for a future version? (fingers-crossed).

In my particular instance, my users will be uploading both published songs and original compositions ... and there is no way for me to tell the diff without some way for them to designate which genre.

trafix
02-09-2005, 09:47 PM
hmmm ok ... i will look at it ;)

spence2
02-09-2005, 09:48 PM
You da MAN!

dhurd
02-09-2005, 10:22 PM
Trafix,
I did migrate the HIS files into the install folder. I put all the other files in the zip within thier respective folders from the root of my directory.
What happened initally when I ran the script was I was getting an error because the script used the variable $admincpdir to set some other variables containing directory values. The problem is the $admincpdir in the script contains the value of "admincp" which is incorrect because I renamed my admincp folder during the inital vB install so that directory doesn't exist. I changed it by hard coding it to the correct folder name but then it produced errors once I checked the jukebox option and clicked install. I wonder if the installer script uses that variable elsewhere and it's causing the problems.
I will try the manual method. Thanks for the link.

Dan

trafix
02-09-2005, 10:37 PM
Trafix,
I did migrate the HIS files into the install folder. I put all the other files in the zip within thier respective folders from the root of my directory.
What happened initally when I ran the script was I was getting an error because the script used the variable $admincpdir to set some other variables containing directory values. The problem is the $admincpdir in the script contains the value of "admincp" which is incorrect because I renamed my admincp folder during the inital vB install so that directory doesn't exist. I changed it by hard coding it to the correct folder name but then it produced errors once I checked the jukebox option and clicked install. I wonder if the installer script uses that variable elsewhere and it's causing the problems.
I will try the manual method. Thanks for the link.

Dan
thats possible ... i havnt looked at the coding of the HIS

WiseOwl
02-09-2005, 11:28 PM
Still gettin negative plays after replacing the original coding with the following coding, take a peep http://bb.hiphop.org/vb_jukebox.php still "-plays"

ok try this .. open vb_jukebox and remove (aroung line 300)

// because the jukebox is using credits this overrides the usergroup permissions
if ($vboptions[jb_mode] == "3" AND $bbuserinfo[userid] > "0" AND $mysong > "0")
{
if ($bbuserinfo[vbt_adcredit] > $vboptions[jb_cost])
{
$DB_site->query("
UPDATE " . TABLE_PREFIX . "user
SET vbt_adcredit = vbt_adcredit - $vboptions[jb_cost]
WHERE userid = $bbuserinfo[userid]
");
}
else
{
$DB_site->query("
UPDATE " . TABLE_PREFIX . "vb_jukebox_trax
SET plays = plays - 1
WHERE songid = $mysong
");

$mostplayed[plays] = $mostplayed[plays] - 1;
$canplay = "2";
$warning = "1";
$warningdesc = "$vbphrase[jb_need_credits]";
$songdetails = "$vbphrase[jb_nothing]";
}
}

trafix
02-09-2005, 11:30 PM
not replace .... just remove the code from the file altogether :)

trafix
02-10-2005, 01:05 AM
vB Jukebox ...

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

WiseOwl
02-10-2005, 07:50 AM
YOU ARE THA MAN !!!!! when I get my google check some of its yours homie.. thanks again, that was extremely annoying having guests make all those negative plays

trafix
02-10-2005, 09:59 AM
YOU ARE THA MAN !!!!! when I get my google check some of its yours homie.. thanks again, that was extremely annoying having guests make all those negative plays
That would be grand ..... ummm great ;)

dhurd
02-10-2005, 11:49 AM
Okay....I went through the manual install and it appears most of it works. I see the vb Jukebox in the left hand column of my Admin CP and the Quick Link takes me to the Jukebox forum but I don't see the anyplace under vB options to set the Jukebox options. Any ideas where I may have went wrong?

Thanks,
Dan

dhurd
02-10-2005, 07:00 PM
I think I may have found part of the problem. The settings.php file for the install hack contains these two lines.

$settinggroup['jukebox']['phrase'] = 'Vb Jukebox';
$settinggroup['jukebox']['displayorder'] = '888';

Where does this information go?

Thanks,
Dan

Trisha
02-10-2005, 10:43 PM
Can someone help with the permissions?

We have our permissions set so that admins and mods can upload songs, however, it's not allowing the mods to upload for some reason. Instead we have to upload all songs onto our ftp client manually... and our bandwidth use has gone through the roof.

Any help would be appreciated.

trafix
02-10-2005, 11:23 PM
I think I may have found part of the problem. The settings.php file for the install hack contains these two lines.

$settinggroup['jukebox']['phrase'] = 'Vb Jukebox';
$settinggroup['jukebox']['displayorder'] = '888';

Where does this information go?

Thanks,
Dan
hmmm ok i have been at work today, just got home :)

yep ... you would have a blank spot in the vb options menu ...

In vBulletin Settings Phrases add

varname - settinggroup_jukebox
Text vB Jukebox

trafix
02-10-2005, 11:29 PM
Can someone help with the permissions?

We have our permissions set so that admins and mods can upload songs, however, it's not allowing the mods to upload for some reason. Instead we have to upload all songs onto our ftp client manually... and our bandwidth use has gone through the roof.

Any help would be appreciated.
hmm, if the permissions are set for the mods properly they should be able to upload.

The uploader has issues with large files so that could be another reason y they are having problems.

uploading manually wont blow your bandwith through the roof ... its the downloading when members play songs that could do that. if you have a busy jukebox maybe you could add a new usergroup and charge them for the use of the juke :)

WiseOwl
02-11-2005, 01:20 AM
What cha think Trafix http://bb.hiphop.org/vb_jukebox.php?

trafix
02-11-2005, 01:37 AM
Nice job :) ... please feel free to release that as an addon :) i will link to it :)

WiseOwl
02-11-2005, 01:51 AM
You know what would be cool, a user definable playlist..

trafix
02-11-2005, 01:54 AM
hmm, i have been thinking about member faves :)

i was talking about you releasing the mod that is above your jukebox ... it look great :)

dhurd
02-11-2005, 02:17 AM
Man sometimes I am really thick in the head! My problem with running the installer was I was clicking on the "Generate Files" check box. By reading the description I thought it had to be checked in order for the install to work. I'll let you in on a little secret, the installer saves a LOT of work. :D
Any way, it works now and the install button shall be clicked. It's a great hack and obviously a lot of work went into developing it. Thanks for your help Trafix. It was greatly appreciated, especially when I see a lot of hacks that have problems and the developer just seems to disapear. You have taken a lot of time to modify the code to what others want and have spent a good deal of effort in helping people get the hack working.
Kudos to ya!

Dan

yoyoyoyo
02-11-2005, 02:53 AM
thanks for adding "option 2" to the remote song hosting in the instructions... I hate to be a pain but is it possible to make it a conditional, or separate option to allow both hosted and remote files, instead of either/or? Maybe 2 input boxes in the ACP- one for remote URL's, and one for the file path to the Server?

trafix
02-11-2005, 03:13 AM
Hehe ... well at least you got it working .... tnx for your comments :)instead of either/or? Maybe 2 input boxes in the ACP- one for remote URL's, and one for the file path to the Server?
well i could think about it

yoyoyoyo
02-11-2005, 03:56 AM
well i could think about itthat's all we can ask for :)

Hades666
02-11-2005, 04:26 AM
This jukebox is in freeplay mode for members and guests.

The most played song is: Dj Lahasa giulia with 0 request(s).
Please Note: Clicking on Top 10 may stop the song from playing.
View Top 10

To hear the song of your choice, click on its name.
Please continue surfing our site in the other browser. Enjoy!

You are not permitted to listen to the Jukebox.
Please ask about upgrading your membership.

I'm logged in as Admin:P

another thing in settings i got folder midi what's the proper location on my server forum is in www/forum/ ??? :devious:

trafix
02-11-2005, 04:34 AM
ok for permissions you have to go to the usergroup menu and select the manager .... then edit each group acordingly, the jukebox permissions are at the bottom of the page.

yep ... forum/media ..... or whatever you want to call it

Blam Forumz
02-11-2005, 05:49 AM
hmmm anyway of adding multiple songs at once?

WiseOwl
02-11-2005, 07:25 AM
hmm, i have been thinking about member faves :)

i was talking about you releasing the mod that is above your jukebox ... it look great :)


Check it out now... added a login feature.. prompting you to register if your not a member, once your a member and logged in, it gives you info on the Jukebox.. whats playing, top 10, etc..

If I clean up the code and put a little work into it, I'm going to release it as a add on for the jukebox.. any good names you got for it? like the hot box for the juke box, LOL or some thing ?

OH and do songs uploaded goto the Media Folder you have set in vb_jukebox under vb options? if so, upload aint working for me, I have the path set with the exact URL "http://path" is that correct?

trafix
02-11-2005, 07:43 AM
ummm, yeah i spose :)

damn you have some songs on the sucker ;)

trafix
02-11-2005, 08:02 AM
it would be good if you could get the collapse working on the HOT BOXES ;)

trafix
02-11-2005, 08:35 AM
I would love to hear some feeback from your members there is a feedback thread here https://vborg.vbsupport.ru/showthread.php?t=76124

S.Shady
02-11-2005, 02:18 PM
This jukebox is in freeplay mode for members and guests.

The most played song is: Dj Lahasa giulia with 0 request(s).
Please Note: Clicking on Top 10 may stop the song from playing.
View Top 10

To hear the song of your choice, click on its name.
Please continue surfing our site in the other browser. Enjoy!

You are not permitted to listen to the Jukebox.
Please ask about upgrading your membership.

I'm logged in as Admin:P

the automated install sucks. im going to manually install it to see if it works

S.Shady
02-11-2005, 02:31 PM
the abouve error is fixed by doing what the readme sais. the installer doesnt do file edits i guess.

chens old installer did everything :)


i cant upload. or romaotly host files on my server ?

Blam Forumz
02-11-2005, 02:33 PM
how do i turn the jukebox on?

how do i upload mp3s? it wont work :/

S.Shady
02-11-2005, 03:02 PM
<a href="http://69.173.214.225:96/public/forums/vb_jukebox.php" target="_blank">http://69.173.214.225:96/public/forums/vb_jukebox.php</a>

i cant upload files because there too big. i have a whole cd of mp3s in the media file were i configured it to. none show up. can somone pleaSE HELP trafix none of your posts tell us how to fix this problem.

trafix
02-11-2005, 04:39 PM
how do i turn the jukebox on?


how do i upload mp3s? it wont work :/
ill start with the easy one :) ...
in the vb options area of the admincp has to be configured ...... you can turn it on there

use "manual data entry" for large songs ... upload them to your music folder with your ftp client and then enter the data in the "manual data entry" section

trafix
02-11-2005, 04:40 PM
Slow down SS ..... whats not working

S.Shady
02-11-2005, 04:45 PM
everything im going maddddd !!! j/k

ok. when i try to upload a mp3 file it says its to big. i upload one thats not to big and it doesnt show.

im lost on how to add songs. ill make it so guests can upload songs. i just dont know what to do. :(

http://69.173.214.225:96/public/forums/vb_jukebox.php

S.Shady
02-11-2005, 04:47 PM
Warning: Unable to create '/media/04-camron-welcome_to_purple_haze_(skit)-h8me.mp3': No such file or directory in \vb_jukebox.php on line 145

Fatal error: Call to undefined function: print_stop_message() in c:\serv\www\public\forums\vb_jukebox.php on line 149

i have school now so ill be back later to try and fix it./

trafix
02-11-2005, 04:49 PM
have you activated the song in the track list?

trafix
02-11-2005, 04:51 PM
have you created a folder called "media" and set the permissions to 777

Blam Forumz
02-11-2005, 04:55 PM
i thought its supposed to be called midi :/

thats what it says in instructions

trafix
02-11-2005, 04:59 PM
it can be called whatever you like ... but the folder name must be in the vb options "media folder"

WiseOwl
02-11-2005, 06:37 PM
Hmm.. is there away to show who's viewing the jukebox, like printed out in vb_jukebox.php "There are * guests and * members browsing jukebox"

ericgtr
02-11-2005, 07:53 PM
I have this installed and seeming everything is okay, paths are correct and no errors. However, when I uploaded a song (manually) it will not play from the regular vb_jukebox.php page. It works fine in the admin after I uploaded it to the proper folder but when I click on it in the vb_jukebox.php page nothing happens, no errors, just nothing. I've also set my permissions.

Blam Forumz
02-11-2005, 08:10 PM
Is there anyway to have a small windows media player window open while playing sound tracks, instead of a big wiindow

S.Shady
02-11-2005, 08:58 PM
im stupid i didnt assign the files a genra

sooo. i just need to fix all myt links now.

any way to increase phps upload size to 10MB

S.Shady
02-11-2005, 08:59 PM
Is there anyway to have a small windows media player window open while playing sound tracks, instead of a big wiindow


not to take away from this mod you may want to check out vbradio its a flash window that plays music

Blam Forumz
02-11-2005, 09:00 PM
i've had a look, but this looks alot more promising and solid

S.Shady
02-11-2005, 09:05 PM
ok new problem . i get no sound. anyone else ?

ericgtr
02-11-2005, 09:31 PM
When I try to approve a song I get this error:


Database error in vBulletin 3.0.3:

Invalid SQL:
UPDATE forum
SET replycount = replycount + 1,
threadcount = threadcount + 1,
lastpost = 1108164446,
lastposter = 'ericgtr',
lastthread = 'Check out the new song in the jukebox!',
lastthreadid = 28850,
lasticonid = 0
WHERE forumid =

mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 9

Blam Forumz
02-11-2005, 09:35 PM
by the looks of it you ahvent spcified a forumid in the vb options

ericgtr
02-11-2005, 09:39 PM
Correct, I am not exactly sure what that means because it's not very clear. Will it announce it in a forum? I just want to test and not advertise ityet. Also, is this the reason the songs will not play when clicked on? Nothing happens, it acts like it's trying to open in a new window (popups allowed on my browser) but nothing happens.

trafix
02-11-2005, 11:54 PM
@WiseOwl - I will have to work out how to do a "WOL" for the juke.

@ericgtr - Yet you have to enter a forumid in the options for song announcenents ... and are you still having problems with the songs not playing? Can you give me a link to your jukebox and a test account... PM me if you want.

@Blam Forumz - yep you can change the size of the media player on line 411 of the vb_jukebox.php script you can edit the height and width there.

@S.Shady - again Can you give me a link to your jukebox and a test account... PM me if you want.

I think i answered everyone

trafix
02-12-2005, 12:32 AM
ericgtr could you please upload the latest 2.3 file :)

trafix
02-12-2005, 12:37 AM
As for viewing volume and controls please see page 15 .. yoyoyoyo has posted help on this

S.Shady
02-12-2005, 04:33 AM
page 15 ? im only on page 8 :(

im about to reinstall my forum from scratch
and reinstall this to tell you how it goes

S.Shady
02-12-2005, 06:19 AM
ok well a fresh install and im back up working again.
http://69.173.214.225:96/public/forums/vb_jukebox.php?

works perfect. videos too. beware the videos are adult orientated.

Hades666
02-12-2005, 07:10 AM
i went to usergroups manager and when i tried enabling jukebox got this sql error:

Database error in vBulletin 3.0.5:

Invalid SQL: UPDATE usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
title = 'Moderators',
description = '',
usertitle = 'Moderator',
opentag = '',
closetag = '',
passwordexpires = '0',
passwordhistory = '0',
candl = '1',
shoutview = '0',
shoutpost = '0',

:ermm:
Any ideas what is wrong???

trafix
02-12-2005, 08:15 AM
is that the whole error ... or have you edited it?

are you installing or upgrading?

trafix
02-12-2005, 10:53 AM
ok well a fresh install and im back up working again.
http://69.173.214.225:96/public/forums/vb_jukebox.php?

works perfect. videos too. beware the videos are adult orientated.
Congrats :)

spence2
02-12-2005, 11:35 AM
As an admin when a user uploads a song and I approve it ... is there any way for me to know what category the user intended for the song? Thanks.
No the user cant select the genre .... the songs are put into a genra called "A new song" so you can find new uploads easily ... you can hear the song by clicking on the title in the admin song list ... then decide for yourself
Might you consider making this a feature for a future version? (fingers-crossed).
In my particular instance, my users will be uploading both published songs and original compositions ... and there is no way for me to tell the diff without some way for them to designate which genre.
hmmm ok ... i will look at it

Trafix, might you have had a chance to yet to "look at it"? It certainly would be a nice enhancement to the jukebox. ;)

Thanks, again, for all of your continuing support for everyone.

S.Shady
02-12-2005, 05:00 PM
have the users name it categoryname- artist-title then you edit it later.

trafix
02-12-2005, 08:32 PM
i spost it wouldnt be to much to code

spence2
02-13-2005, 12:35 AM
i spost it wouldnt be to much to code

Sounds great, Trafix! :up:

trafix
02-14-2005, 07:27 PM
ill work on it as an addon .... maybe this weekend

spence2
02-14-2005, 07:38 PM
Thank you so much! Looking forward to it. :)

trafix
02-15-2005, 07:47 AM
I have updated the zip with the new uninstall.php file :)

Oh and by the way .... this hack has been nominated for Feb's HotM .... GO VOTE!

WiseOwl
02-15-2005, 08:30 AM
Hey T, how can I add a extra column to the table where all the songs are... I want a "Purchase" feature linking to amazon or some where you can purchase the artists CD... go check out what I've done.. http://bb.hiphop.org/vb_jukebox.php

spence2
02-15-2005, 10:57 AM
WiseOwl, that looks so cool!

Congratulations, trafix, on being nominated for Hack of the Month (https://vborg.vbsupport.ru/showthread.php?p=612051#post612051) ... I was going to push my luck by mentioning another sweet add-on request that would allow a second upload option in the pop-up window for an image file. My notion was that this image could then be displayed in the announcement thread entry for the new entry. Handy for displaying cd covers or sheet music or picture of artist, etc.

I'm off to vote now! Thanks again, trafix, for putting up with all of us and all of our "great" ideas!

Floris
02-15-2005, 01:27 PM
trafix,

You're up for HOTM, I've voted for you man :)

https://vborg.vbsupport.ru/showthread.php?t=76350

S.Shady
02-15-2005, 02:47 PM
I have updated the zip with the new uninstall.php file :)

Oh and by the way .... this hack has been nominated for Feb's HotM .... GO VOTE!


so how do we upgrade ? lmao and what changed.

i voted W00t
[ Audio / Visual ] - VB Mega Jukebox - Now with permissions to save bandwith 12 28.57%

yoyoyoyo
02-15-2005, 03:27 PM
so how do we upgrade ? lmao and what changed.

i voted W00t
[ Audio / Visual ] - VB Mega Jukebox - Now with permissions to save bandwith 12 28.57%

look up at the top:

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

congrats on the nomination Trafix!

S.Shady
02-15-2005, 06:11 PM
i knew that. but i thought hthat was the version i downloaded 5 days ago. :-\

S.Shady
02-15-2005, 06:18 PM
Warning: MAX_FILE_SIZE of -159383553 bytes exceeded - file [mediafile=Green Day - Greenday - When I Come Around.mp3] not saved in Unknown on line 0




Redirecting...



ERROR: The file is too big or you did not include a filename

Click here if your browser does not automatically redirect you.


fix that and i will love you forever. or atleast tell me how to fix it. is it in PHP's settings ? i run my own webserver so i got all the files :)

also multiple uploads or multiple add boxes in admincp would make this 10X better also

trafix
02-15-2005, 10:33 PM
is this in the user end or admincp?

S.Shady
02-16-2005, 02:50 PM
anytwere were you acan upload files user end is were that error came from

T3MEDIA
02-16-2005, 04:30 PM
Does this have pagenation? If not can some one show me how to have for example only 24 lists on a page?

T3MEDIA
02-16-2005, 05:01 PM
Wow read it all... but I didnt see answer for these questions or they were not clear to me... Please some one answer these for me.
the new updated file... can it...
protect folders (I dont want pepole downloading the mp3 files)
pagenation (you know page one page two)
what is the upload limit from the browser. I need to know. It is the only real reason for me to install it.
can users have a (radio station) like my own list. (play random or in order with in this list if it is possable)
can the player go thru random list or catagories. (keep playing)

I have installed wimpy on a customers site. I would like to know if I can use this instead of windowsmedia player.
Yes I know you do not know what it is or studdied it. but it takes a commandline. like winpy.php?www.somwhere.com/themp3.mp3
so if I got the line that goes to windowsmediaplayer this will make the site VERY powerfull since the site has it own custom player almost like lauch.yahoo.com but better.

Thank you.

Dennis Olson
02-16-2005, 05:06 PM
I have a unique situation, and I'd like to know how to implement my system configuration on this hack.

I have the forum servers behind a load-balancer. I have a separate server dedicated to emai, chat and music. That server is outside the load-balancer. I want to put the music (ALL music, not just midis) on the music server directly, and refernce them from the JB hack. I want users to be able to upload songs directly to the music server as well.

Can I do that, and if so how?

Thanks!

EDIT: My other server has it's own URL, like:

http://Server2.myDomain.com

NuclioN
02-16-2005, 06:37 PM
Can't figure out...admins and mods can give an url with "Change to manual data entry." to a mp3 elsewhere but how to let members do that. Great would be a swift access to a data entry for this for adjustable usergroups.

trafix
02-16-2005, 09:18 PM
Can't figure out...admins and mods can give an url with "Change to manual data entry." to a mp3 elsewhere but how to let members do that. Great would be a swift access to a data entry for this for adjustable usergroups.
im working on that :)

trafix
02-16-2005, 09:20 PM
I have a unique situation, and I'd like to know how to implement my system configuration on this hack.

I have the forum servers behind a load-balancer. I have a separate server dedicated to emai, chat and music. That server is outside the load-balancer. I want to put the music (ALL music, not just midis) on the music server directly, and refernce them from the JB hack. I want users to be able to upload songs directly to the music server as well.

Can I do that, and if so how?

Thanks!

EDIT: My other server has it's own URL, like:

http://Server2.myDomain.com
you could use one of the remote hosting option but then your members cant upload :(

Dennis Olson
02-16-2005, 09:26 PM
How about this:

Members upload the files to a "temp" directory on the database server. Then I run a CRON job every hour to copy new uploads over to the other server automatically, and delete them from the database server.

Can your hack be set to ONLY look to the second server to play, but allow upload to the primary server (as normal)?

trafix
02-16-2005, 09:35 PM
Wow read it all... but I didnt see answer for these questions or they were not clear to me... Please some one answer these for me.
the new updated file... can it...
protect folders (I dont want pepole downloading the mp3 files)
pagenation (you know page one page two)
what is the upload limit from the browser. I need to know. It is the only real reason for me to install it.
can users have a (radio station) like my own list. (play random or in order with in this list if it is possable)
can the player go thru random list or catagories. (keep playing)

I have installed wimpy on a customers site. I would like to know if I can use this instead of windowsmedia player.
Yes I know you do not know what it is or studdied it. but it takes a commandline. like winpy.php?www.somwhere.com/themp3.mp3
so if I got the line that goes to windowsmediaplayer this will make the site VERY powerfull since the site has it own custom player almost like lauch.yahoo.com but better.

Wow read it all... but I didnt see answer for these questions or they were not clear to me... Please some one answer these for me.
the new updated file... can it...

1. protect folders (I dont want pepole downloading the mp3 files)
ANSWER - i havent looked into this, but from memory there could be a .htaccess alteration that could prevent this.

2. pagenation (you know page one page two)
ANSWER - i spose page nation is possible but i decided to use the calapsable generes instead

3. what is the upload limit from the browser. I need to know. It is the only real reason for me to install it.
ANSWER - im actually not sure ..... i am using the same code as is used for uploading attachments etc, but it has issues with large media files.

4. can users have a (radio station) like my own list. (play random or in order with in this list if it is possable)
ANSWER - this is on my "to do" list

5. can the player go thru random list or catagories. (keep playing)
ANSWER - this is on my "to do" list

6. I have installed wimpy on a customers site. I would like to know if I can use this instead of windowsmedia player.
Yes I know you do not know what it is or studdied it. but it takes a commandline. like winpy.php?www.somwhere.com/themp3.mp3
so if I got the line that goes to windowsmediaplayer this will make the site VERY powerfull since the site has it own custom player almost like lauch.yahoo.com but better.
ANSWER - Your right ... i dont know the player ;) ... but if you knoe the HTML code feel free to edit the jb_JUKEBOX template as required.

T3MEDIA
02-17-2005, 12:00 AM
wow... THANK YOU for your responses! wow.
yes http://www.wimpyplayer.com/
flash player... this tiny thing is very very powerfull.

spence2
02-17-2005, 02:19 PM
trafix,

Have you heard from the admins how (or if) they plan to correct the vote tallies for those of us who voted for Jukebox for Hack of the Month, but now appear to have their votes credited to a different hack?

WiseOwl
02-18-2005, 07:13 PM
Hey T, how can I add a extra column to the table where all the songs are... I want a "Purchase" feature linking to amazon or some where you can purchase the artists CD... go check out what I've done.. http://bb.hiphop.org/vb_jukebox.php

Also is there anyway to prevent users from listening to songs, before they have a certain amount of posts....



PS: You got my vote for HotM February, everyone else that's got support and runs the mod needs to vote aswell, this jukebox has proven to be a very reliable and viewer friendly accepted feature at my site and I'm sure others aswell... so yeah vote

DavidatMPA
02-19-2005, 02:49 PM
I have a really stupid question. I will likely be shot for this but....what am i doing wrong:
I get this error:
The jukebox is currently turned off!
Home

I've set the permisions for the groups, and there is only one option under the Jukebox admin area:
vB Jukebox

Track List
and there is nothing in there to "turn it on"

I must be a dumbass, someone enlighten me lol.

DavidatMPA
02-19-2005, 02:51 PM
Hey!! Imagine that! if you read the readme it says you have to edit VB options area. Wow. Thats AMAZING!

trafix
02-19-2005, 08:23 PM
So does that means its working now?

hXc Radio
02-19-2005, 10:44 PM
Does this support files in mp3 format or only mpeg?

trafix
02-20-2005, 12:11 AM
:) ... the moto is

"If it plays in the media player it will play in the jukebox"

mp3 - wav - midi - mpeg - mpg etc

hXc Radio
02-20-2005, 07:16 AM
ok i'm about ready to install this! two last questions...

1) can it do something like this... http://www.frankyandminx.com/fmv3/topframelogo.htm start with a play list and play all songs rather then one and waiting for the next.. almost like a radio stream I guess..

2) can the MP3s be stored outside of the public folder and still work... like say /home/user/mp3s/file.mp3 instead of /home/user/www/mp3s/file.mp3 preventing someone from finding the folder and illegally downloading MP3s?

trafix
02-20-2005, 08:46 AM
ok i'm about ready to install this! two last questions...

1) can it do something like this... http://www.frankyandminx.com/fmv3/topframelogo.htm start with a play list and play all songs rather then one and waiting for the next.. almost like a radio stream I guess..

2) can the MP3s be stored outside of the public folder and still work... like say /home/user/mp3s/file.mp3 instead of /home/user/www/mp3s/file.mp3 preventing someone from finding the folder and illegally downloading MP3s?
1) ... i have been trying to work out how to do this. The link you provided is using a flash file to do the playlist.

2) ... see remote song hosting in the first post, as long as the relative path is entered it should work.

tanyeri24
02-25-2005, 05:48 PM
a demo jukebox to see it in action?

dnspixel
02-26-2005, 01:11 AM
Will this work fine with vB3.0.7?

WiseOwl
02-26-2005, 05:16 AM
Hey T, how can I add a extra column to the table where all the songs are... I want a "Purchase" feature linking to amazon or some where you can purchase the artists CD... go check out what I've done.. http://bb.hiphop.org/vb_jukebox.php

I've added the column, but I need more info on how to add this as a option to the overall modification.. so when I goto add a song, I can have a field to add the URL to purchase... any help be greatly appreciated trafix..

If maybe you could code it in for me, i'll send ya a little cash through paypal.. just lemme know

pete_brady
02-26-2005, 05:01 PM
Will this work fine with vB3.0.7?

Worked fine for me.

dnspixel
02-27-2005, 05:50 AM
I changed this
if ($fext == "mpg" or $fext == "mpeg")
{
$viewheight = "290";
$viewwidth = "320";
}
else
{
$viewheight = "45";
$viewwidth = "230";
}
to
if ($fext == "wmv")
{
$viewheight = "290";
$viewwidth = "320";
}
else
{
$viewheight = "45";
$viewwidth = "230";
}
And when I uploaded *.wmv, it was shown as a movie formatl however, when I click to see it, I worked like an audio file, no images... Please help!

I figured it out already...

T3MEDIA
02-27-2005, 05:53 PM
WiseOwl:
your site is tight.

I really want to install this but I need page 1, page 2 that long list is a killer. and is there a hack to have ftp uploads? that would be a solution to fix the upload php problem.

these two things are really prohibiting me.

WiseOwl
02-27-2005, 09:52 PM
WiseOwl:
your site is tight.

I really want to install this but I need page 1, page 2 that long list is a killer. and is there a hack to have ftp uploads? that would be a solution to fix the upload php problem.

these two things are really prohibiting me.

You dont have to upload through the script you can goto manual entry and add the link manually and upload the song via FTP, thanks for the compliment, trying to fix this purchase feature, trafix get at me

Justinlp
02-27-2005, 11:27 PM
I installed it!

Great work!!!

skorzguy
02-28-2005, 12:45 PM
Is there a way to play flash videos (swf) files? I have some music videos but they are .swf files. They are able to be uploaded but it only plays the audio and no video. Is it possible to change a piece of coding in VB Jukebox to make this work? Any help is appreciated.

yahoooh
02-28-2005, 07:19 PM
is there unlimited categories with unlimited subcategories which has the same style and features like forum categories and subforum?

WiseOwl
02-28-2005, 08:49 PM
Is there a way to play flash videos (swf) files? I have some music videos but they are .swf files. They are able to be uploaded but it only plays the audio and no video. Is it possible to change a piece of coding in VB Jukebox to make this work? Any help is appreciated.

If it is supported by the media player.. it will play

"If it plays in the media player it will play in the jukebox"

So no, I don't believe it is

WiseOwl
02-28-2005, 08:50 PM
is there unlimited categories with unlimited subcategories which has the same style and features like forum categories and subforum?

So far I have around 7 categories.. theres no limit set in the code.. so it should be unlimited.. but if you flood it with like thousands of categories.. that would be kinda pointless. how many do you need to create?

WiseOwl
02-28-2005, 09:46 PM
Oh and Trafix, don't worry about my question(s) a few pages back, my friend and I are taking care of adding another "option/feature" to the jukebox.. besides the default "Rating, Song Format, Uploaded By, Requests" features.... check it

http://bb.hiphop.org/vb_jukebox.php?styleid=1
http://bb.hiphop.org/vb_jukebox.php?styleid=3

http://www.hiphop.org
http://www.digitalmental.com

input and ideas needed....

PcCopat
03-01-2005, 04:10 PM
Warning: copy(): open_basedir restriction in effect. File(/tmp/php5S22ii) is not within the allowed path(s): (/usr/local/psa/home/vhosts/mysite.com/httpdocs) in /usr/local/psa/home/vhosts/mysite.com/httpdocs/forum/vb_jukebox.php on line 145

Fatal error: Call to undefined function: print_stop_message() in /usr/local/psa/home/vhosts/mysite.com/httpdocs/forum/vb_jukebox.php on line 149

i get an error like this when i have tried to upload mp3 to my jukebox. how can i solve this problem

spence2
03-01-2005, 04:41 PM
Warning: copy(): open_basedir restriction in effect. File(/tmp/php5S22ii) is not within the allowed path(s): (/usr/local/psa/home/vhosts/mysite.com/httpdocs) in /usr/local/psa/home/vhosts/mysite.com/httpdocs/forum/vb_jukebox.php on line 145

Fatal error: Call to undefined function: print_stop_message() in /usr/local/psa/home/vhosts/mysite.com/httpdocs/forum/vb_jukebox.php on line 149

i get an error like this when i have tried to upload mp3 to my jukebox. how can i solve this problem

Look here (https://vborg.vbsupport.ru/showpost.php?p=608475&postcount=280). It's nothing that trafix can "fix"; it's up to your host. Hope this helps you.

WiseOwl
03-02-2005, 02:32 AM
Hey T, where you at, can I get your help with this? be a huge favor for me.. I'm trying to get the categorys setup the way I need.. since I have such a large VOLUME of songs, I need to link to the categorys independently... if this is too much work, can you atleast tell me how I can set all the categorys so they arent all EXPANDED...

Thanks man, I'm sending you a few bucks via paypal sometime this month, get intouch with me, digitalmental@gmail.com...

http://bb.hiphop.org/vb_jukebox.php

spence2
03-02-2005, 03:00 AM
Hey T, where you at, can I get your help with this? be a huge favor for me.. I'm trying to get the categorys setup the way I need.. since I have such a large VOLUME of songs, I need to link to the categorys independently... if this is too much work, can you atleast tell me how I can set all the categorys so they arent all EXPANDED...

Thanks man, I'm sending you a few bucks via paypal sometime this month, get intouch with me, digitalmental@gmail.com...

http://bb.hiphop.org/vb_jukebox.php

Until trafix "comes back"...here's the way (https://vborg.vbsupport.ru/showpost.php?p=604621&postcount=229) I got the categories not to be expanded.
Hope it helps.

WiseOwl
03-02-2005, 03:58 AM
No doubt Spence you and I will hold it down for Trafix till he comes back

Thanks for that fix.. that was simple, kinda rigged but it works, thanks man. Really want to be able to link to individual category's, like stand alone

And I also want to work on a feature to block users without a certain amount of posts, its getting ridiculous how many ppl come and use the box but don't support the community..

what's your link to your JB? mines http://bb.hiphop.org/vb_jukebox.php

spence2
03-02-2005, 04:30 AM
I figure it's the least we can do since Trafix has been so much help to us! Mine's still in "production" so no link.

I'm hoping T will add the ability for the category the user wants the entry displayed in to be related to admin, so I won't have to guess when I approve them.

Best of luck (your site looks great). I'm sure we'll be meeting here often!

WiseOwl
03-02-2005, 05:03 AM
Thanks man, lots and lots and lots of work, I think the color scheme in style3 is amazing, check it out and tell me which one you'd prefer to use

http://bb.hiphop.org/vb_jukebox.php?styleid=3
http://bb.hiphop.org/vb_jukebox.php?styleid=1

SillyAlien
03-02-2005, 02:33 PM
Hi, excellent hack!

I am having trouble uploading larger files through the web upload feature. The upload process goes through, but at the end there is no file anywhere to be found. The upload feature through the Admincp ends up with "invalid file name". This does not happen with small files. Is there any workaround for this problem?

I also tried ftp'ng the file directly to the folder, but couldn't find a way to add it in. I tried adding the file through the admincp upload page, but it just said that the file was already uploaded.

Thanks again.

(P.S. Member since 2001 and you get my first post. I hope you feel privileged LOL! :D )

WiseOwl
03-02-2005, 05:32 PM
If possible use manual entry and upload via FTP.. search the topic, the fix for allowing php to upload larger files has been addressed somewhere...

RichieBoy67
03-02-2005, 05:59 PM
I installed VBJuke box today but I have not been able to get it to work. I believe the problem is with a querrie or a phrase. Both of which I totally suck at.

The problem I had at first was that I could not get my songs to paly. I tried changing the paths etc and still nothing. After that I tried to run the uninsatller so I could try to reinstall and I get a database error. Now when I go to the jukebox php file I get a blank page..

If anyone is familiar with this install and can help me get this going I'd appreciate it. If your not familiar with this particular please don't respond..

I don't have much money but I will paypal who ever can fix this a predetermined amount....

Thanks,

Rich

I'm sure I could figure this out if I spent the time but I have 2 kids due home soon... need I say more?? lol

RichieBoy67
03-02-2005, 08:06 PM
When I try to uninstall I get this


Warning: halt(./includes/functions_log_error.php): failed to open stream: No such file or directory in /home/talkandm/talkandmore-www/includes/db_mysql.php on line 391

Warning: halt(): Failed opening './includes/functions_log_error.php' for inclusion (include_path='./:/usr/local/lib/php') in /home/talkandm/talkandmore-www/includes/db_mysql.php on line 391

RichieBoy67
03-02-2005, 10:01 PM
OK-- UPDATE--

I manually typed in most of the querrys and now I am not getting errors. The problem is I see nothing in the controlpanel options. I did before when I first installed but now there is nothing. I see the option on the left side bar for tracks but that is it..

Can anyone help??

WiseOwl
03-03-2005, 04:42 AM
Richie you got aim, yahoo or msn? email me at digitalmental@gmail.com, i'll help ya out

RichieBoy67
03-03-2005, 01:53 PM
Is there anyone that can help me fix this? I even put in a paid service request and still nothing..

ok--forget it... I have nothing to pay anyone right now and I am totally broke..

I thought this was supposed to be the thread for support??

I followed install directions exactly... :disappointed:

-

RichieBoy67
03-04-2005, 02:30 AM
Well thats real mature.. How old are you? 14???

-

Polo
03-04-2005, 03:05 AM
suck ass
Did you just register to make those type of comments?

https://vborg.vbsupport.ru/showpost.php?p=620569&postcount=260

YOu are going to get yourself banned.... :ermm:

RichieBoy67
03-05-2005, 12:39 AM
I am really starting to get a little teed off. A few people have offered to help me and noone has followed through.

Trafix has told me 2 days in a row that he was going to take a look and I end up waiting for nothing......

why can't people just do what they say they are going to do? I followed the instructions exactly and I have a problem and there is no support!! This hack is like the megaone for my forum and I want it bad.... it is just too bad that people can't follow through....

Allan
03-05-2005, 10:33 PM
Cheer Traffix, it is super a hack, click install ;)

On the other hand, I will please like your assistance on certain points :)

- I has uploader file mp3 does not arrive, just WMV and SWF, can you indicate to me if the file mp3 are supported and possibly why I does not arrive has to listen to them, nor uploader ?

- Can you indicate all the formats to support by this hack please

- and a last thing:p, I have uploader a file WMV, but it does not open it with Windows media player, whereas normally, has the base is video, one hears just the sound.

Veiled, that do not make Traffix questions badly, but I still hold has to say a great cheer for this splendid hack :)

Lionel
03-05-2005, 10:56 PM
wonder if pagination A-z or 1-2-3 is available or would be?

Lionel
03-07-2005, 11:31 AM
Is there a way to make the genres collapsible by default? That should help with the long page problem.

spence2
03-07-2005, 11:44 AM
Is there a way to make the genres collapsible by default? That should help with the long page problem.
Here (https://vborg.vbsupport.ru/showpost.php?p=604621&postcount=229).

Lionel
03-07-2005, 11:56 AM
Thank you spence2

Lionel
03-07-2005, 12:50 PM
spence2, would it be possible to make the Genre clickable and expand it, instead of the icon?

never mind, the answer was under my nose...

Blam Forumz
03-07-2005, 02:38 PM
How do I remove all the Jukebox database entries without going into PHPMyAdmin (because i always mess up things there)

Thanks.

Lionel
03-08-2005, 01:43 AM
is there any reason why a 2.7 meg mpeg movie would play only half the file and then ends? On my desktop it plays the full movie.

Lionel
03-08-2005, 03:01 AM
First of all, this is not from me. I merely took the who's online arcade hack and made it for jukebox. I thought that was neat and I want to share.

step 1- create new template jb_jukebox_loggedinuser and put this in there

<a href="member.php?u=$loggedin[userid]">$loggedin[musername]</a>$loggedin[invisiblemark]$loggedin[buddymark]

Step 2 add this in template jb_JUKEBOX where you want to display it <br />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="thead" align=left>Users Currently Listening to Music ( Total Users: $totalonline, Members: <b>$numberregistered </b> | Visiting Guests: <b>$numberguest </b>&nbsp;
)</td>
</tr>
<tr>
<td class="alt1">$activeusers

</td>
</tr>
</table>

Step 3 put this in the php file before
// ###################### Start Main ###########################################

// ######################### BEGIN WHOIS ONLINE IN Jukebox #########################
$activeusers = '';
if ($vboptions['displayloggedin'])
{
$datecut = TIMENOW - $vboptions['cookietimeout'];
$numbervisible = 0;
$numberregistered = 0;
$numberguest = 0;
$forumusers = $DB_site->query("
SELECT
user.username, (user.options & $_USEROPTIONS[invisible]) AS invisible, user.usergroupid,
session.userid, session.inforum, session.lastactivity,
IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid
FROM " . TABLE_PREFIX . "session AS session
LEFT JOIN " . TABLE_PREFIX . "user AS user ON(user.userid = session.userid)
WHERE session.lastactivity > $datecut and session.location like '%vb_jukebox%'
" . iif($vboptions['displayloggedin'] == 1, "ORDER BY username ASC") . "
");
if ($bbuserinfo['userid'])
{
// fakes the user being online for an initial page view of arcade.php
$bbuserinfo['joingroupid'] = iif($bbuserinfo['displaygroupid'], $bbuserinfo['displaygroupid'], $bbuserinfo['usergroupid']);
$userinfos = array
(
$bbuserinfo['userid'] => array
(
'userid' => $bbuserinfo['userid'],
'username' => $bbuserinfo['username'],
'invisible' => $bbuserinfo['invisible'],
'inforum' => 0,
'lastactivity' => TIMENOW,
'usergroupid' => $bbuserinfo['usergroupid'],
'displaygroupid' => $bbuserinfo['displaygroupid'],
)
);
}
else
{
$userinfos = array();
}
$inforum = array();
while ($loggedin = $DB_site->fetch_array($forumusers))
{
$userid = $loggedin['userid'];
if (!$userid)
{ // Guest
$numberguest++;
$inforum["$loggedin[inforum]"]++;
}
else if (empty($userinfos["$userid"]) OR ($userinfos["$userid"]['lastactivity'] < $loggedin['lastactivity']))
{
$userinfos["$userid"] = $loggedin;
}
}
foreach($userinfos AS $userid => $loggedin)
{
$numberregistered++;
if ($userid != $bbuserinfo['userid'])
{
$inforum["$loggedin[inforum]"]++;
}
$loggedin['musername'] = fetch_musername($loggedin);
if (fetch_online_status($loggedin))
{
$numbervisible++;
eval('$activeusers .= ", ' . fetch_template('jb_jukebox_loggedinuser') . '";');
}
}

unset($userinfos, $loggedin);
$activeusers = substr($activeusers , 2);
$DB_site->free_result($loggedins);
$totalonline = $numberregistered + $numberguest;
$numberinvisible = $numberregistered - $numbervisible;
$maxusers = unserialize($datastore['aaamaxloggedin']);
if (intval($maxusers['aaamaxonline']) <= $totalonline)
{
$maxusers['aaamaxonline'] = $totalonline;
$maxusers['aaamaxonlinedate'] = TIMENOW;
build_datastore('aaamaxloggedin', serialize($maxusers));
}
$recordusers = $maxusers['aaamaxonline'];
$recorddate = vbdate($vboptions['dateformat'], $maxusers['aaamaxonlinedate'], true);
$recordtime = vbdate($vboptions['timeformat'], $maxusers['aaamaxonlinedate']);
$show['loggedinusers'] = true;
}
else
{
$show['loggedinusers'] = false;
}
// ###################### Start of getOnlineStatus #######################
function fetch_online_status(&$user, $setstatusimage = false)
{
global $bbuserinfo, $permissions, $vboptions, $stylevar, $vbphrase;
static $buddylist, $datecut;
// get variables used by this function
if (!is_array($buddylist))
{
$datecut = TIMENOW - $vboptions['cookietimeout'];
if ($bbuserinfo['buddylist'] = trim($bbuserinfo['buddylist']))
{
$buddylist = preg_split('/\s+/', $bbuserinfo['buddylist'], -1, PREG_SPLIT_NO_EMPTY);
}
else
{
$buddylist = array();
}
}
// is the user on bbuser's buddylist?
if (in_array($user['userid'], $buddylist))
{
$user['buddymark'] = '+';
}
else
{
$user['buddymark'] = '';
}
// set the invisible mark to nothing by default
$user['invisiblemark'] = '';
$onlinestatus = 0;
// now decide if we can see the user or not
if ($user['lastactivity'] > $datecut AND $user['lastvisit'] != $user['lastactivity'])
{
if ($user['invisible'])
{
if (($permissions['genericpermissions'] & CANSEEHIDDEN) OR $user['userid'] == $bbuserinfo['userid'])
{
// user is online and invisible BUT bbuser can see them
$user['invisiblemark'] = '*';
$onlinestatus = 2;
}
}
else
{
// user is online and visible
$onlinestatus = 1;
}
}
if ($setstatusimage)
{
eval('$user[\'onlinestatus\'] = "' . fetch_template('postbit_onlinestatus') . '";');
}
return $onlinestatus;

}
// ######### end of Get online Status
// ######################### END WHOIS ONLINE IN jukebox#####################


Next, since I have flashchat, I will make it clicking on username starts a chat.

TCB
03-08-2005, 05:42 AM
Wow! This really is a major addition! Excellent work :D

RichieBoy67
03-08-2005, 12:15 PM
By theway-- I finally got some help with mine and the problem was the installer. It was not making all the querrys....

-

J.C.
03-08-2005, 12:38 PM
I'm about to install this, but, do I have to install HIS and Dual Navigation first?

Can I install it without the two?

Thanks in advance. :)

qhoa
03-08-2005, 09:10 PM
I have set only members login can listen to vb jukebox, but after i login with my username i still have this msg
You are not permitted to listen to the Jukebox.
Please ask about upgrading your membership.

WiseOwl
03-10-2005, 07:55 PM
I have set only members login can listen to vb jukebox, but after i login with my username i still have this msg
You are not permitted to listen to the Jukebox.
Please ask about upgrading your membership.


Check your usergroups make sure there's nothing screwy going on, and re check members only, should work fine







I'm about to install this, but, do I have to install HIS and Dual Navigation first?

Can I install it without the two?

Thanks in advance. :)


HIS is what that installer? I dunno wtf dual navigation is, and it works for me so it should work for you

WiseOwl
03-10-2005, 07:58 PM
Anyone want to work on a coding a feature that only allows members with X amount of posts to be able to use the Jukebox???????

I'm in like dier need of this feature, I got so many people using my Jbox and not posting or contributing to the community.. they just register to bump music, LOL, so what's up Trafix...

If you can point me in the right direction with this feature i'm wanting to add, I would sure appreciate it bud, whenever you see this post, please email me: digitalmental@gmail.com

http://bb.hiphop.org/vb_jukebox.php


OH AND Lionel GOOD LOOOKIN ON WHO'S USING

qhoa
03-11-2005, 12:19 AM
Thanks WiseOwl,

I got its work now!

WiseOwl
03-16-2005, 12:41 AM
no prob

Gary King
03-16-2005, 08:10 PM
The Jukebox Installation Edits is blank for me. Is this supposed to happen?

deathemperor
03-21-2005, 02:54 AM
Suggestion:

All songs can be played without refreshing the page. Users just have to lick on the song link and the page will play that song.

it would reduce alot of bandwidth.

Wordplay
03-24-2005, 11:31 AM
as i understand it, with this script the songs are played in the browser. is it possible to just have the audios and videos played in windows media player?

Wordplay
03-24-2005, 07:00 PM
ok so i installed this hack, but... my videos dont play, uploaded wmv and mpg but both only play directly in the browser, and all you get is the audio to it, without the video file...

is it possible to have the files play in windows media player, or whatever other defeault media player the user is using.

DS MrSinister
04-01-2005, 03:58 AM
I cant see the admin settings any more.

So i cant turn on my juke box.


I tried to uninstalled i get this

Invalid SQL: DROP TABLE IF EXISTS " . TABLE_PREFIX . "vb_jukebox_trax


Warning: halt(./includes/functions_log_error.php): failed to open stream: No such file or directory in /forums/includes/db_mysql.php on line 389

Warning: halt(): Failed opening './includes/functions_log_error.php' for inclusion (include_path='.:/usr/local/lib/php') in /public_html/forums/includes/db_mysql.php on line 389

Brandon Sheley
04-02-2005, 10:06 PM
i get this error when i try to go to the file edits screem
and im isntalling this ona fresh board,, only thing i've done to it is added a skin

Parse error: parse error, unexpected T_STRING in /****/install/hacks/Jukebox/2/file_mods.php on line 18

why is this ? i uploaded the "upload" folder.. and ran the installer, made it to the file edits

thank you
-LM

Brandon Sheley
04-03-2005, 08:10 AM
ok the fix is in post #13 :) ... i will amend the instructions in th zip


^ if it was fixed i don't understand why i had the error too. on 2 fresh boards.

and now i made it to being able to add songs, and catagorues, but when you click a song at vb_jukebox.php page nothing happens :(

this is one of the last big hacks i need to add to my site, im only testing this on a demo board, and would like to get things wraped up..thank you
-LM

illusions
04-04-2005, 05:08 AM
just a quick question... is this hack competible with 3.07?

Brandon Sheley
04-04-2005, 04:39 PM
its been VERY buggy with me. and i use 3.0.7 :( and a bit hard to get support :(
but it should work with 3.0.7 :ermm: guess ill give my demo a 5th try with this one mod..wish me luck

Deviant++
04-07-2005, 09:56 AM
I tried to uninstall the hack but it gave me a db syntax error so I went in the dba dn dropped the table cause everything else was dropped..

thn I reran the installer, everything went fine but when I go to the acp area and the jukebox page I get this.... :( and trafix isnt around :(

Database error in vBulletin 3.0.6:

Invalid SQL:
SELECT *
FROM vb3_vb_jukebox_trax
ORDER BY genre

mysql error: Table 'dvdb.vb3_vb_jukebox_trax' doesn't exist

mysql error number: 1146

zim119
04-08-2005, 03:52 AM
I am trying to figure out how to have the medi player control come up when audio is being played.

This was rather easy to do for video, bat I cant figure out how to do it for the audio.

Thanks if anyone can help.

Brandon Sheley
04-09-2005, 02:52 AM
well iv installed this on 3 fresh boards, and tried on one live board. and none worked, and now i have 90 users that ill have to import to a new baord and start all over.. i do not recomend this hack to anyone. unless you have some special luck that i didn't ? im currently paying someone to convert ibp's unrealjukebox to vB guess i wont have music on my board untill then.. *uninstalls*

seangworld
04-09-2005, 07:48 PM
i just can't get the mp3 to play. it keeps telling me that it cannot play that filetype, which is a mp3.

what da problem is?

seangworld
04-10-2005, 12:11 AM
ok....

when manually putting in the songs because you ftp'd them into place...for filename, just put the actual file name - NO PATH OR URL, ETC. (ie: one of my songs is called +++++. i would put in filename: +++++.mp3) that was the main cause of my problems, the f'n path.

and also i THINK the player has a problem with us using ":" in the song title, but im not messing with it anymore to figure it out or not. it's working now so why mess with it....

clicks INSTALL.

FStop
04-15-2005, 01:58 PM
Ok, i'm probably the biggest newb here, as i'm kinda lost. Went through the install, as it just said: "enter values, etc" and enjoy. Ok, so next, next, next, and i'm done....

well, not really. i figured out how to get to the jukebox page, as there are no links in my forums, only the vb jukebox admin options in the general section, and for some reason, as administrator, i can't listen to music, much less upload.

so i read the readme, and saw this:


************************
Find
************************

if ($canmoderate)
{
construct_nav_group($vbphrase['moderation'], '<hr />', "$df");
construct_nav_spacer();

***********
Insert After
***********

// start vb jukebox hack by trafix

construct_nav_option($vbphrase['jb_track_list'], 'vb_jukebox_admin.php', '<br />');
construct_nav_group("$vbphrase[jb_vbjukebox]", '<hr />');
construct_nav_spacer();

// end vb jukebox hack by trafix


ok, find that string, paste the code in there after that..no dice. :( looked around the 31 pages some more, and saw things had to be done in the readme. (which i read, but everytime i follow instructions, the ending says "Enjoy!", not, oh, go do other stuff in another file....

so i open the readme file, and see this:


If you have installed the Dual Navigation hack https://vborg.vbsupport.ru/showthread.php?t=74043

************************
Find
************************

// ********************* Add hack nav function code above here *********************


************************
Else
************************

$printhr = false;
if (can_administer('canadminstyles'))
{



***********
Insert Before
***********

// start vb jukebox hack by trafix
if (can_administer('canadminstyles'))
{
$printhr = true;
construct_nav_option($vbphrase['jb_track_list'], 'vb_jukebox_admin.php', '<br />');
construct_nav_group("$vbphrase[jb_vbjukebox]", '<hr />');
}
// end vb jukebox hack by trafix


ok, well, i don't have the "Dual Navigation hack," whatever that is, so i look for


$printhr = false;
if (can_administer('canadminstyles'))
{


yeah, don't have that either. :(

after reading the rest of the readme, it's become apparent that i have no idea where to put all these strings of code, as my knowlege of the inner workings of vbulletin are fairly limited.

can anyone help clarify where to put the stuff from the readme into my own files? im all kinds of lost here. :(

thanks!!!

on edit: I really like the inteface of this system and am really looking forward to getting it going. Just a little frustrated :)

Lionel
04-17-2005, 06:02 PM
Is it my imagination or what? When I go to edit a song, all there is is the song name and genre. The file itself does not show.

Please see screenshot. The version says 1.0. The file that I just downloaded says 2.30. When I try to re-install, it tells me that I have version 2.0 and the file itself is 2.0 and will not install.

Back to the edit, I could have swear that I used to edit before.

Lionel
04-17-2005, 06:26 PM
To add to the confusion, the file I just downloaded says version 1.30 in the php

kamu
04-17-2005, 11:55 PM
Although the hack would have been great and is a good idea, it didn't work. I'm not a professional coder but I was wise enough to complete the sloppy installation procedures only to face issues with uploading files. The uninstallation caused sql errors to erupt in the process. Maybe ditching the HIS install?

Warning: halt(./includes/functions_log_error.php): failed to open stream: No such file or directory in /home/clanjcy/public_html/includes/db_mysql.php on line 389

Warning: halt(): Failed opening './includes/functions_log_error.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/clanjcy/public_html/includes/db_mysql.php on line 389
Invalid SQL: DROP TABLE IF EXISTS " . TABLE_PREFIX . "vb_jukebox_trax;
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '" . TABLE_PREFIX . "vb_jukebox_trax' at line 1

mgurain
04-17-2005, 11:58 PM
Hello,,

1. Can users SEARCH the Jukebox ?

2. Does it support Categories and Unlimited subcategories ?

3. How about adding custom fields to describe more the songs ?

thanks in advance,,

FStop
04-21-2005, 04:27 PM
ok, i uninstalled the hack (well, tried, it didn't complete for some reason, and upgraded to 3.0.7, and re-installed. now i have been able to upload a song, but the vb jukebox option in the general area of admincp is gone, and when i try to decipher this:


$printhr = false;
if (can_administer('canadminstyles'))
{



***********
Insert Before
***********

// start vb jukebox hack by trafix
if (can_administer('canadminstyles'))
{
$printhr = true;
construct_nav_option($vbphrase['jb_track_list'], 'vb_jukebox_admin.php', '<br />');
construct_nav_group("$vbphrase[jb_vbjukebox]", '<hr />');
}
// end vb jukebox hack by trafix


my admincp is no longer framed, and clicking links either do nothing, or open in a new window.

below is what my index.php file looks like straight from the download today:


// *************************************************

$printhr = false;
if (can_administer('canadminstyles'))
{
$printhr = true;
construct_nav_option($vbphrase['style_manager'], 'template.php?do=modify', '<br />');
construct_nav_option($vbphrase['search_in_templates'], 'template.php?do=search', '<br />');
construct_nav_option($vbphrase['replacement_variable_manager'], 'replacement.php?do=modify', '<br />');
construct_nav_option($vbphrase['download_upload_styles'], 'template.php?do=files', '<br />');
construct_nav_option($vbphrase['find_updated_templates'], 'template.php?do=findupdates', '<br />');
construct_nav_group("$vbphrase[styles] &amp; $vbphrase[templates]", '<hr />');
}
// ***


so where do i put the above code?!? so odd that before i couldn't get this to show up/work, and now i re-installed (3x) and get the opposite. lol, im so confused here. when i go to my jukebox, the song i uploaded before i can't see, because the general option is gone to turn the jukebox on. heh. :scratches head:

side note: does anyone know what happened to trafx?

Kaishi
04-24-2005, 03:16 AM
is support still provided for this? it seems like a good idea for a hack, yet i see so many people having problems and ya, i'm scared to install it if there's no support lol.

Borimikan
04-24-2005, 09:54 PM
oh crap ... thanks :)
Where exactly I have to go in admincp to fix this?!?!?

Mickey19781978
04-24-2005, 11:30 PM
First off

great hack m8

much appreciated and it does add another dimension to your forums
Now my problem is
I can upload songs from admin cp and it shows just fine
I tried to upload one from a users view on the actual jukebox page but nothing showed up
Also
My members are not able to listen to any of the songs
what could be the problem
It all seems to work for me though
Foum is on localhost so that would explain why i can listen to it
but my users?
and:
When users upload a song
where does it show in admin cp?

cheers

aloha
04-27-2005, 01:28 AM
Can someone tell me how did they solve their problem with the VBJukebox options not showing up in the ADMINCP... ??? :D That would be appreciated... I looked all in this thread... ugh...

xbaby
05-09-2005, 08:47 AM
How Can I play Flash with VBjuke box ?
help me

xbaby
05-09-2005, 12:25 PM
oh, phew, I have some idea to play flash with vb_jukebox


in admincp/style & Templates/
You find temple jb_JUKEBOX
==============================
find :

<if condition="$canplay == 1">
<center>

<object id="MediaPlayer1"
width=$viewwidth height=$viewheight
classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"
type="application/x-oleobject">
<param name="URL" value="$playsong">
<embed type="application/x-mplayer2"
name="MediaPlayer"
width=$viewwidth
height=$viewheight
src="$playsong"
showcontrols="0">

insert after that :
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
WIDTH="0" HEIGHT="0" id="{param}" ALIGN="">
<PARAM NAME=movie VALUE="{param}"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src="{param}" quality=high bgcolor=#FFFFFF WIDTH="0" HEIGHT="0" NAME="{param}" ALIGN=""
TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">

It' all !
I think it 's easy

Marco van Herwaarden
05-09-2005, 12:36 PM
@xbaby

Please enclose sources with [php] [html] [sql] or [code] tags.

xbaby
05-09-2005, 01:31 PM
okie , I have done it

drumforum
05-09-2005, 02:44 PM
I have a problem whilst installing the jukebox. I get these messages:


Warning: halt(./includes/functions_log_error.php): failed to open stream: No such file or directory in
/home/fhlinux200/d/drumforum.co.uk/user/htdocs/forum/includes/db_mysql.php on line 389

Warning: halt(): Failed opening './includes/functions_log_error.php' for inclusion (include_path='.:/usr/share/pear') in /home/fhlinux200/d/drumforum.co.uk/user/htdocs/forum/includes/db_mysql.php on line 389



There seems to have been a slight problem with the The Drum Forum database.
Please try again by pressing the refresh button in your browser.

An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

We apologise for any inconvenience.

Database error in vBulletin 3.0.7:

Invalid SQL: SELECT varname, text FROM vb_phrase WHERE varname IN () ORDER BY languageid DESC
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY languageid DESC' at line 1

mysql error number: 1064

Date: Monday 09th of May 2005 05:34:55 PM
Script: http://www.drumforum.co.uk/forum/install/hack_install.php
Referer: http://www.drumforum.co.uk/forum/install/hack_install.php?
Username: allstar
IP Address: 81.154.95.152


I have no idea what to do now?

Any help would be greatly appreciated!

Thanks

Adam

drumforum
05-11-2005, 04:18 PM
Hello?? :confused:

iceytdot
05-13-2005, 05:18 PM
Problem Fixed! Just Had To Read The Admin Documentation ;)


Great Hack --- works Perfect Now! *clicks install*

thekid1280
05-14-2005, 09:24 AM
I found the solution for this error at post 280 in this topic. Woot! I didnt search the topic, sorry you guys for my ignorance :)

Warning: copy(http://www.xxxxxxx.com/forums/midi/ame.mid): failed to open stream: HTTP wrapper does not support writeable connections. in /vb_jukebox.php on line 145

Fatal error: Call to undefined function: print_stop_message() in /usr/local/pem/vhosts/15001/webspace/httpdocs/forums/vb_jukebox.php on line 149

I got this weird notice when i was trying to upload a file. How to fix this ? :(

ranger2kxlt
05-19-2005, 04:13 PM
Ok, well i just installed this, and tried the manual add option, uploaded the files to the folder, and when i go to type in the "filename" and click upload it doesn't do anything, likes its disabled....if i delete what i entered in as the filename i click upload it gives me an error....if i click the browse button and search the song to upload it tells me its uploaded already.

So what are the steps to have the software read the files that are already in the folder? I have a ton of songs to upload and don't want to do each one via the broswer?

Any help

kien_r9
05-21-2005, 11:17 AM
I got problem when installing ...
Just right in the second step. When I tried to browse the url http://www.kien-r9.com/forum/jukebox/install/hack_install.php , there's 2 errors warning:

Warning: main(./global.php): failed to open stream: No such file or directory in /home/kien-r9c/public_html/forum/jukebox/install/his_files/hack_install_b3.php on line 31

Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/local/lib/php') in /home/kien-r9c/public_html/forum/jukebox/install/his_files/hack_install_b3.php on line 31


So ... how to fix it ?

Marco van Herwaarden
05-23-2005, 07:32 AM
I got problem when installing ...
Just right in the second step. When I tried to browse the url http://www.kien-r9.com/forum/jukebox/install/hack_install.php , there's 2 errors warning:

Warning: main(./global.php): failed to open stream: No such file or directory in /home/kien-r9c/public_html/forum/jukebox/install/his_files/hack_install_b3.php on line 31

Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/local/lib/php') in /home/kien-r9c/public_html/forum/jukebox/install/his_files/hack_install_b3.php on line 31


So ... how to fix it ?Do you maybe have your admincp directory renamed? If yes, change this in teh his configuration file.

mamboking
05-24-2005, 12:30 PM
I am trying to pull up one of the admin panels. You can see the one I'm referring to in the screen shots. It's the bottom left image in the screen shots.

Do I have to run setup again to access this? I am trying to turnoff the play song on page load. But would like admincp access to those options.

xbaby
06-01-2005, 03:04 AM
Upload song by jukebox is not easy , and sometime , it can't play music ( the link is good ) !
U can upload the music by Flash FXP or Cute FTP .... to the Folder U want .
After that , U creat the file like x.m3u , in this file , U write the link to the song U want to play !
and , now , in vb_jukebox admincp , U upload x.m3u ! It's very small , and plays well .

BOSS 302
06-04-2005, 05:35 AM
I installed, it works. BUT... for some reason "I" cant hear any songs! every one else can... It says playing. But i dont hear anything! I have tried everything i can think of.

I tried with mozilla and internet explorer! It says playing but i cant hear anything.

Osiris2k
06-05-2005, 09:41 PM
Hi i'm in the progress of setting up a new site and this hack looks exactly what we are looking for. I have one question though.

Can each member have a personal "gallery" of the songs they uploaded as well as have a limit of ex.3 song uploads?

looks like an awesome hack btw!

yoyoyoyo
06-05-2005, 10:48 PM
Hi i'm in the progress of setting up a new site and this hack looks exactly what we are looking for. I have one question though.

Can each member have a personal "gallery" of the songs they uploaded as well as have a limit of ex.3 song uploads?

looks like an awesome hack btw!
not in this version.. I am not sure if Trafix is supporting this anymore or if he is planning any updates, though

Osiris2k
06-05-2005, 11:42 PM
not in this version.. I am not sure if Trafix is supporting this anymore or if he is planning any updates, though


how come?

yoyoyoyo
06-06-2005, 08:19 AM
how come?I don't know- he is busy I guess. There was a flurry of activity from him in January, but he hasn't posted here since the end of February

FStop
06-08-2005, 11:47 AM
i give up. uninstall. :(

mrdragon
06-09-2005, 03:02 AM
uninstall too !!!
Bad !!

seangworld
06-09-2005, 03:59 AM
uninstall too !!!
Bad !!
works fine for me still. just checking back for any updates....none at the time of this reply.

phreak420
06-11-2005, 10:51 PM
hello i have an error im getting when i hit post from the admin cp

Database error in vBulletin 3.0.7:

Invalid SQL:
UPDATE forum
SET replycount = replycount + 1,
threadcount = threadcount + 1,
lastpost = 1118537574,
lastposter = 'KamikazeNoName',
lastthread = 'Check out the new song in the jukebox!',
lastthreadid = 151,
lasticonid = 0
WHERE forumid =

mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 9

mysql error number: 1064

Any idea what i can do?

EDIT: It is still giving me the error but the jukebox does work i just forgot to set the folder where the music is located...im not sure what this error will do it almost looks like i just wont get a post maybe im not sure im not to familiar with this one

congpine
06-12-2005, 03:05 PM
HELP ! HELP ! ....
Everything is OK until I Add permission for User Group ( ADMIN )

Database error in vBulletin 3.0.7:

Invalid SQL: UPDATE usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
title = 'Administrators',
description = '',
usertitle = 'Administrator',
opentag = '',
closetag = '',
passwordexpires = '180',
passwordhistory = '360',
canseehiddencustomfields = '0',
attachlimit = '0',
avatarmaxwidth = '80',
avatarmaxheight = '80',
avatarmaxsize = '20000',
profilepicmaxwidth = '100',
profilepicmaxheight = '100',
profilepicmaxsize = '65535',
pmquota = '50',
pmsendmax = '5',
uttstore_discount = '0',
forumpermissions = '4063231',
pmpermissions = '3',
calendarpermissions = '31',
wolpermissions = '31',
adminpermissions = '3',
genericpermissions = '262079',
genericoptions = '31',
jbjukebox = '7'
WHERE usergroupid=6
mysql error: Unknown column 'canseehiddencustomfields' in 'field list'

mysql error number: 1054



what should I do now ?
thanks

blakkboy
06-15-2005, 06:41 PM
Hrm, evertime i upload a song using ftp and manually add it ...it will show in the jukebox and even say now playing - Song title...but nothing plays ????


i uploaded the files to root/forums/midi
and then used the admincp to manually add it


I need help on this one :(

Note* im tryin to upload mp3 if that has anything to do with it.

ssabmud
06-20-2005, 08:30 AM
Why do i get Invalid File Specified when i try to upload an mp3 file??

zim119
06-25-2005, 01:47 PM
Is this hack portable to vB 3.5?

WiseOwl
06-25-2005, 02:19 PM
I have been running this hack since it just first came out with no problems but alot of members register at my site just for my jukebox and dont contribute to the community, does anyone currently running the jukebox see a way I can restrict members by the amount of posts they have ?????????????????????????

Any help would be greatly appreciated, I might even throw you some money if someone can help me out, I'm loosing the on going fight LOL, too many people just register for my jbox, again any help is greatly appreciated...

http://bb.hiphop.org/vb_jukebox.php

kadafi_alive
06-26-2005, 06:19 PM
How do you add a control bar (i.e. forward, play, stop, volume etc) for audio files?

kadafi_alive
06-26-2005, 10:42 PM
Also, is there a way to fix the:

Unknown Location
/vb_jukebox.php?do=main

in WhoisOnline?

subnet_rx
07-12-2005, 06:47 PM
what is the difference between this and vBulletin Radio?

Neal-UK
07-13-2005, 08:49 AM
i get this error when i try to go to the file edits screem
and im isntalling this ona fresh board,, only thing i've done to it is added a skin

Parse error: parse error, unexpected T_STRING in /****/install/hacks/Jukebox/2/file_mods.php on line 18

why is this ? i uploaded the "upload" folder.. and ran the installer, made it to the file edits

thank you
-LM
Nice to see support still working on this mod ;-(

Got the hack to work, but I can't hear songs

Neal-UK
07-13-2005, 09:09 AM
Nice to see support still working on this mod ;-(

Got the hack to work, but I can't hear songs
tried to uninstall this and it did the first bit before coming up with an error. Tried to reinstall it and it says it's already installed. Try to visit the vbjukebox via the forum and nothing shows now.

Any help before I lose my patience and wizz my computer through the window?