View Full Version : [ Audio / Visual ] - VB Mega Jukebox - Now with permissions to save bandwith
trafix
01-10-2005, 10:00 PM
I want to thank everyone who has supported the original release of this hack and for all the suggestions to make this hack even better :)
I have spent days on adding all these new features and would like to thank the people who have assisted me to get some of these function to work.
Its back after a long time :)
This hack will add a whole new dimention to your forums with a Jukebox
3 file edit
1 template edit
1 new db table
1 db table alteration
This hack uses and includes a copy of the [HIS] Hack Installer System (Build 3)
released by Link14716 and can be found here --> https://vborg.vbsupport.ru/showthread.php?t=71542
My thanks to Link for his one on one time in building the install files for the VB Jukebox :)
General Features
* The ability to play audio and movie formats - The script will detect both .mpg or .mpeg files and open the media player. If an audio format is played then the media player will stay invisable.
Admin Features
* Upload songs from your browser.
* Unlimited genres.
* Manual data entery for when the uploader fails or for large files.
* At a click will automaticly generate a new thread announcing a song in the jukebox.
* Usergroup permissions for:
--> 1) Who can listen to songs.
--> 2) Who can upload songs.
--> 3) Who can rate songs.
Front End Features
*Members can upload songs, these songs are not available in the jukebox until admin aproval (optional email notification available).
* Callapsable genres (only displays genres that have active songs in them).
* Members can rate songs.
Future Possible Functions
* members favs, this will allow members to add songs to their own favs list and if i can work it out i will try to make it so they can play their favs from start to finish.
INSTRUCTIONS FOR REMOTE SONG HOSTING
OPTION 1
In the admin options where it asks for the folder name enter the full path to the where the songs are stored eg "www.something.com/music folder" NO backslash after.
The Downside to this is that your members canrt upload or add songs to the jukebox and movie files will not work.
OPTION 2
In vb_jukebox.php find each instance of
$playsong = "$vboptions[jb_media_folder]/$playthisong
replace with
$playsong = "$playthisong"
Then enter the full url into the song file field for each song.
A Tutorial for manual install can be found here https://vborg.vbsupport.ru/showthread.php?t=76050 (https://vborg.vbsupport.ru/showthread.php?t=76050)
Please Click install :)
This hack will always be free however you can donate to paypal@petnshow.com
Jukebox Feedback Please
I would love to hear some feeback from your members there is a feedback thread here https://vborg.vbsupport.ru/showthread.php?t=76124
Update
Fix Template and missing image
Update 2.1
includes whos online code by Murphinator, i have changed the varname of the phrase to conform with the perfix ;)
also includes instructions for adding admin to the modcp
Update 2.2
Just a file edit here that will stop the media player desplaying a long narrow strip .. just upload the new vb_jukebox.php file
Update 2.3
Major bug fix ... negative song count for songs
just upload the new vb_jukebox.php file
GoTTi
01-11-2005, 02:29 AM
your screen shots are so small dude...
btw, welcome back trafix :)
HiDeo
01-11-2005, 03:31 AM
Nice job but the screens are too little :s
theArchitect
01-11-2005, 04:17 AM
Nice job but the screens are too little :s
Yeah, thanks for this one. I have a forum coming up that I might use it on.
Lionel
01-11-2005, 06:19 AM
A-Z navigation or categories would be nice. If you have too many songs, page could be long.
WiseOwl
01-11-2005, 06:47 AM
Nice hack, installed perfectly, one thing though...
how do I cut it on? "The jukebox is currently turned off! "
yinyang
01-11-2005, 07:12 AM
is there an easy way to make it so only certain usergroups are allowed access?
trafix
01-11-2005, 07:21 AM
Nice hack, installed perfectly, one thing though...
how do I cut it on? "The jukebox is currently turned off! "
these settings are located in the vb options list in the admin area
trafix
01-11-2005, 07:24 AM
is there an easy way to make it so only certain usergroups are allowed access?
currently you can set for:
freeplay for everybody
freeplay for members only
paid plays using credits (vb trader credits)
im sure someone will code an intergration hack so members can pay using uShop money
these settings can also be found in the vb options
WiseOwl
01-11-2005, 07:37 AM
Thank you, knew it was somewhere, just couldn't find it, workin fine.. I had just installed about 8 modifications, jukebox was the last to be installed.
No conflicts except with "who was online in last 24 hour" modification.. I don't know if this was a conflict with jukebox and that mod or not, but after installing jukebox it is not showing the members usernames that have visited
Also there is TABLE tag that has not been closed.. view http://digitalmental.com/bb/vb_jukebox.php for refrence, bottom of the page..
http://digitalmental.com/bb
Other than those minor things A+
Thanks Again,
Owl
trafix
01-11-2005, 07:45 AM
Thank you, knew it was somewhere, just couldn't find it, workin fine.. I had just installed about 8 modifications, jukebox was the last to be installed.
No conflicts except with "who was online in last 24 hour" modification.. I don't know if this was a conflict with jukebox and that mod or not, but after installing jukebox it is not showing the members usernames that have visited
Also there is TABLE tag that has not been closed.. view http://digitalmental.com/bb/vb_jukebox.php for refrence, bottom of the page..
http://digitalmental.com/bb
Other than those minor things A+
Thanks Again,
Owlwho was online in last 24 hour does reset its self ... but in not sure when that time is .... i cant see the jukebox having any conflict there.
trafix
01-11-2005, 07:53 AM
A-Z navigation or categories would be nice. If you have too many songs, page could be long.
i can aleo look at that
reteep
01-11-2005, 08:07 AM
Little bug in edits of admincp.php:
Original (readme.txt):
***********
Insert Before
***********
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 />
}
That has to be:
***********
Insert Before
***********
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 />');
}
You forgot a ');.
Nice hack, thanks!
reteep
01-11-2005, 08:18 AM
But one more question:
The midi directory doesn't have any special function yet, right? It's just for uploading songs and pointing the URL to that folder(no code specific use of that folder yet?)
trafix
01-11-2005, 08:24 AM
But one more question:
The midi directory doesn't have any special function yet, right? It's just for uploading songs and pointing the URL to that folder(no code specific use of that folder yet?)
yep thats right ... make a folder in your forum directory and ftp the songs into it from your pc, then when you add a song to the juke include the url to the folder, the relative path should work.
the next version will have an upload feature where you can use the web browser to upload the songs .... this will also be in the main jukebox area so members can upload songs ... the admin will have to approve the song before they appear in the jukebox list :) ....
you will notice at the moment that that have not been activated are listed in red ;)
trafix
01-11-2005, 08:26 AM
Little bug in edits of admincp.php:
Original (readme.txt):
That has to be:
You forgot a ');.
Nice hack, thanks!
oh crap ... thanks :)
reteep
01-11-2005, 09:10 AM
For those who are interested, here's a german language file attached ;)
agiacosa
01-11-2005, 10:22 AM
Sorry to bring this up, but what are the legalities of doing this?
trafix
01-11-2005, 10:24 AM
Sorry to bring this up, but what are the legalities of doing this?
well .... there are no issues with using midi files in your jukebox
you can use other files at your own risk
reteep
01-11-2005, 10:25 AM
Sorry to bring this up, but what are the legalities of doing this?
In Germany you may not play Songs which are licensed under the GEMA. If you act like a radio you'd have to pay for broadcasting those songs. It's kinda the same in most of the states. So are probably only able to add selfmade stuff there from friends or yourself which aren't licensed.
NuclioN
01-11-2005, 01:13 PM
We want to use this with mp3 files. How to adjust code Trafix?
reteep
01-11-2005, 01:57 PM
We want to use this with mp3 files. How to adjust code Trafix?
It works with mp3 files just like that.
yinyang
01-11-2005, 06:32 PM
Sorry to bring this up, but what are the legalities of doing this?
i'm not an expert on copyright laws and protection, but i've been in the entertainment world here in wollyhood for over 10 years and this is what i think (only worth $.02).
trafix has coded a jukebox, not unlike a person's own personal walkman. how they get their music that goes into their walkman is outside the jurisdiction of the walkman.
therefore, as long as trafix doesn't offer/promote a way to trade copyrighted songs, i think the legalities are fine.
Kliqster
01-11-2005, 07:01 PM
Thanks, installed successfully.
Just wondering, how compatible is this with streaming videos aswell? I run a wrestling forum and the idea of being able to stream matches via the jukebox is very appealing. Are there any specific file formats that will work so that the users can see video aswell?
trafix
01-11-2005, 08:15 PM
Thanks, installed successfully.
Just wondering, how compatible is this with streaming videos aswell? I run a wrestling forum and the idea of being able to stream matches via the jukebox is very appealing. Are there any specific file formats that will work so that the users can see video aswell?
Yep .... easy .... add your mpeg files and in the jb_JUKEBOX template find the media embedding tag and add a hight and width to it and thats all you need to do i think :)
kisersose
01-12-2005, 06:24 AM
Database error in vBulletin 3.0.5:
Invalid SQL:
SELECT *
FROM vb_jukebox_trax
ORDER BY plays
DESC LIMIT 1
mysql error: Table 'emceepla_forums.vb_jukebox_trax' doesn't exist
mysql error number: 1146
im getting this message when I enter the jukebox, what course of action should I take?
trafix
01-12-2005, 07:03 AM
Database error in vBulletin 3.0.5:
Invalid SQL:
SELECT *
FROM vb_jukebox_trax
ORDER BY plays
DESC LIMIT 1
mysql error: Table 'emceepla_forums.vb_jukebox_trax' doesn't exist
mysql error number: 1146
im getting this message when I enter the jukebox, what course of action should I take?
hmm .... looks like the install didnt complete as the Table 'emceepla_forums.vb_jukebox_trax' doesn't exist
trafix
01-12-2005, 07:05 AM
do you have access to your phpmyadmin? do you feel confident with using it
trafix
01-12-2005, 10:03 PM
Thank you, knew it was somewhere, just couldn't find it, workin fine.. I had just installed about 8 modifications, jukebox was the last to be installed.
No conflicts except with "who was online in last 24 hour" modification.. I don't know if this was a conflict with jukebox and that mod or not, but after installing jukebox it is not showing the members usernames that have visited
Also there is TABLE tag that has not been closed.. view http://digitalmental.com/bb/vb_jukebox.php for refrence, bottom of the page..
http://digitalmental.com/bb
Other than those minor things A+
Thanks Again,
Owl
Im about to upgrade the zip to fix the reported bugs ..... can you please post the edited template where the table has not been closed ... i cant see you JB as i need to be registered ... tnx
Any other bug reports or issues that i havnt addressed before i upgrade the zip?
trafix
01-12-2005, 10:06 PM
Database error in vBulletin 3.0.5:
Invalid SQL:
SELECT *
FROM vb_jukebox_trax
ORDER BY plays
DESC LIMIT 1
mysql error: Table 'emceepla_forums.vb_jukebox_trax' doesn't exist
mysql error number: 1146
im getting this message when I enter the jukebox, what course of action should I take?
Hmmm, tnx for the heads up on the table prefix ... i actually found a few that didnt have it
WiseOwl
01-13-2005, 03:34 AM
https://vborg.vbsupport.ru/external/2005/01/4.gif
that's what it looks like, don't know exactly what template... hope that helps, ill explore later on tomorrow if you haven't found it..
trafix
01-13-2005, 03:40 AM
http://digitalmental.com/images/tabletag.gif
that's what it looks like, don't know exactly what template... hope that helps, ill explore later on tomorrow if you haven't found it..
hmmm .... possibly the vb_JUKEBOX template ... i will have a look soon
i deved the hack here http://www.usodja.com/forums/vb_jukebox.php?
and there is no problem there for your intrest here is the template from that site
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<title>$vboptions[bbtitle] ~ $vbphrase[jb_jukebox] - powered by vBulletin</title>
$headinclude
</head>
<body>
$header
$navbar
<script LANGUAGE="Javascript">
<!--
function showwin(name,size)
{
attrbts = size + ",resizable=yes,toolbar=no,location=no,directories= no,status=no,menubar=no,scrollbars=yes"
window.open(name, "jukebox", attrbts);
}
//-->
</script>
<if condition="$canplay == 1">
<object id="MediaPlayer1"
width=0 height=0
classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"
type="application/x-oleobject">
<param name="URL" value="$playsong">
<embed type="application/x-mplayer2"
name="MediaPlayer"
width=0
height=0
src="$playsong"
showcontrols="0">
</embed>
</object>
</if>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="panelsurround" align="center" colspan="2">
<div class="panel">
<div style="width:$stylevar[formwidth]" align="$stylevar[left]">
<fieldset class="fieldset">
<legend><strong>$vbphrase[jb_now_playing] ..... <i>$songdetails</i></strong></legend>
<table align="center" cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<tr>
<td>
<center>
<if condition="$vboptions[jb_mode] == 1">
$vbphrase[jb_free_for_members_guests]
</if>
<if condition="$vboptions[jb_mode] == 2">
$vbphrase[jb_free_for_members_only]
</if>
<if condition="$vboptions[jb_mode] == 3">
$jb_credit_for_members_only
</if>
<br /><br />
$mostpopular
<br />$vbphrase[jb_top10_note]
<br /><a href="javascript:showwin('vb_jukebox.php?$session[sessionurl]do=top10', 'width=450,height=400')"><b>$vbphrase[jb_view_top10]</b></a>
<br /><br />
$vbphrase[jb_instructions]
<if condition="$warning == 1">
<br /><br />
$warningdesc
</if>
</center>
</td>
</tr>
</table>
</fieldset>
</div>
</div>
<tr>
</tr>
<tr>
<td class="thead">
<b>$vbphrase[jb_song]</b>
</td>
<td class="thead">
<b>$vbphrase[jb_requests]</b>
</td>
</tr>
$playlist
</td>
</tr>
</table>
</td></tr>
<tr>
<td><center>Powered By: <b>$vboptions[bbtitle]</b>
<br>vB Jukebox 1.0 By Trafix</center></td>
</tr>
</table>
$footer
</body>
</html>
let me know it that works
the next version will have an upload feature where you can use the web browser to upload the songs ....
Most MP3 Songs are more than 3 MB is size. how will you handle the PHP restrictions on upload sizes?
trafix
01-13-2005, 08:47 PM
i have by-passed the size limiting .... hmmm ... something to ponder
yoyoyoyo
01-14-2005, 06:56 AM
very nice! I am especially looking forward to this feature:
* The ability for members to upload songs to the site the songs wont be active on the jukebox until the admin activates them for security issues
trafix
01-14-2005, 08:20 AM
I have to get some work done on the vb trader however i will get to these features soon :)
Kyoko
01-14-2005, 11:27 AM
Great work
*applauds*
trafix
01-14-2005, 09:06 PM
* trafix takes a bow
Great work
*applauds*
ambrosious
01-15-2005, 01:09 AM
Ok, I'm completely stupid here, can someone tell me where to upload music files to?
I have tried three locations. Server/midi, then public_html/midi folder then public_html/vbulletin/midi and no songs ever show up? Is there something I missed?
trafix
01-15-2005, 06:20 AM
ok ... usong you ftp ... make a new folder in the same area as your vb root area ... then upload your songs to it.
to add the songs to the jukebox click on "Add" and enter the name of the song in the first line and then the url of the song in the second
kisersose
01-15-2005, 06:47 AM
Hmmm, tnx for the heads up on the table prefix ... i actually found a few that didnt have it
I thought I came back and posted what I did to fix this but I don't see that post any longer. I just had to go in and edit the table prefix's. Took a little while to figure out how to do it, and off the top of my head I can't remember what file it was I changed. This was 4 days ago and at about 3am. LOL
thanx for the hack though, my members love this feature.
trafix
01-15-2005, 07:57 AM
I thought I came back and posted what I did to fix this but I don't see that post any longer. I just had to go in and edit the table prefix's. Took a little while to figure out how to do it, and off the top of my head I can't remember what file it was I changed. This was 4 days ago and at about 3am. LOL
thanx for the hack though, my members love this feature.
great stuff :) ... thats what i like to hear
ambrosious
01-15-2005, 09:19 AM
Ok, thanks for the tip. I'm not seeing the "add" button. Where do I find that? In the admin CP I get the settings you describe in the install file. "Audio Settings, Default Song Title, etc."
Am I doing something wrong?
trafix
01-15-2005, 09:25 AM
if you edited the admin file properly you should see a menu block the looks like the others in the left hand side that says "vB Jukebox" if the phrases wernt installed properly it could be blank ..... but unlikley
when you expand the menu block click on where is says "Track list" .... the "Add" button is on that page .... see screen shots
ambrosious
01-15-2005, 09:30 AM
I didn't add the admin CP file in, I don't guess, because that whole block is missing from the options on the left. I have to run to work now, will tackle this one as soon as I get home.
THANKS!
trafix
01-15-2005, 11:20 PM
I didn't add the admin CP file in, I don't guess, because that whole block is missing from the options on the left. I have to run to work now, will tackle this one as soon as I get home.
THANKS!
How did you get on?
pelican
01-16-2005, 05:31 AM
currently it seems that the directory where the songs are stored is publicly accessible if you know the direct url. is it possible to put the songs files above the /public_html/ where it cannot be accessible by typing the usl into the browser but still accessible by vbulletin script ?
trafix
01-16-2005, 07:14 AM
I am not sure if this can be done? Perhaps someone else can advise?
JAYEMULE
01-16-2005, 07:27 PM
First off I hope this is the correct place to post this. If not please do forgive me.
I just installed the VBJukebox and and triple checked everything. I get one problem I don't understand. After I ran the install and it asked if I wanted to sign into my admincp I clisked yes and got this message
Parse error: parse error, unexpected T_STRING in /home/muleskin/public_html/Board/admincp/index.php on line 552
I guess I need to know what this mesage means and what to do to correct it ? I am going to be looking again while I wait for your response. Thanks kindly for the help. Looks like just what I have been wanting for a long time, never had the courage to add a hack :)
I am currently testing to add hacks on a closed, non public test board as I had read you are allowed to do. I figure this way if I mess up too bad the forum keeps on working ;) I don't have a large membership but even 300 + emails of " The forum is down !!" gets to be a handful of replies ;)
Thanks again.
Jaye
Well, just went to check the template and now I can't log into my admin cp at all. I just get the above message.
trafix
01-16-2005, 08:12 PM
ok the fix is in post #13 :) ... i will amend the instructions in th zip
JAYEMULE
01-16-2005, 08:39 PM
OK Thank you, I did get that fixed. But now here I am. I can see the JB in my admincp but I don't see it on my forum home page. Just where should it be showing up again ?
I am sorry to be so dim with this. I am learning.
Jaye
trafix
01-16-2005, 08:45 PM
did you do the template edit? ... if so the link for your jukebox will appear in the quick links menu :)
yoyoyoyo
01-16-2005, 08:57 PM
Doing a fresh install on 3.0.5 and this is the error I am getting when I am at the step looking for the file modifications at /forums/install/hack_install.php?do=genreadme&hacks=Jukebox&build=1:
Parse error: parse error, unexpected T_STRING in /home/site/public_html/forums/install/hacks/Jukebox/1/file_mods.php on line 18
This is my file_mods.php:
<?php
// File Modifications
$i = 0;
$file_mod['/forum/admincp/index.php'][$i]['find'] = '************************
If you have installed the Dual Navigation hack https://vborg.vbsupport.ru/showthread.php?t=74043
************************
// ********************* Add hack nav function code above here *********************
************************
Else
************************
$printhr = false;
if (can_administer('canadminstyles'))
{';
$file_mod['/forum/admincp/index.php'][$i]['type'] = "Add Before";
$file_mod['/forum/admincp/index.php'][$i]['mod'] = '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 />');
}
';
$i = 0;
?>
the buggy line 18 is:
if (can_administer('canadminstyles'))
What code should be there instead to avoid that error?
JAYEMULE
01-16-2005, 09:36 PM
did you do the template edit? ... if so the link for your jukebox will appear in the quick links menu :)
Yes I am sure I did but I will go check again. I had thought that might be where I needed to be looking. TY
Jaye
JAYEMULE
01-16-2005, 09:58 PM
Double checked the template and I did all that correctly it seems. Still no evidence that I have installed in when I go to the board. I know I it has to be something simple I have missed along the way but just can't figure out what that could be. I have walked through it each step and all looks as it should. Until I go to the board. What do you suggest next ?
Jaye
lost on the trail ;)
trafix
01-16-2005, 10:07 PM
Double checked the template and I did all that correctly it seems. Still no evidence that I have installed in when I go to the board. I know I it has to be something simple I have missed along the way but just can't figure out what that could be. I have walked through it each step and all looks as it should. Until I go to the board. What do you suggest next ?
Jaye
lost on the trail ;)
can you PM me with your url and a test account info
yoyoyoyo
01-16-2005, 10:18 PM
What code should be there instead to avoid that error?
or maybe you could just post or PM the file mods to me instead of worrying about that file_mods.php file since I did nothing to alter it, etc..?
edit: nevermind - I fixed it
JAYEMULE
01-16-2005, 10:34 PM
did you do the template edit? ... if so the link for your jukebox will appear in the quick links menu :)
well don't ya know, it's right where it should be after all ;)
Sorry again to be a trouble and I have learned to look around more closely. Now to go test it's operation
Jaye
Oh one more thing, so now when I download this to install on my public forum will I still need to do the fix as in post # 13 or will the ffiles be fixed in the download.
Thanks again,
I admire ya'lls talent with this stuff :)
Jaye
trafix
01-16-2005, 10:44 PM
i have fixed the install instructions in the readme file :)
trafix
01-16-2005, 11:14 PM
or maybe you could just post or PM the file mods to me instead of worrying about that file_mods.php file since I did nothing to alter it, etc..?
edit: nevermind - I fixed it
Glad we all sorted it out :) and everything is working
Enjoy!
yoyoyoyo
01-16-2005, 11:55 PM
Glad we all sorted it out :) and everything is working
Enjoy!
not exactly working, in fact quite messed up. I installed it by going to the read me to find the template edits, and I put all of the settings in via the admin cp, and when I checked it out I did not see any songs in the "midi" folder listed, and it looked different than the screen shots (blank areas with no text). I figured it must have not installed all the way since it hung up at the template/file edits, but I wasn't too worried since those are usually the last steps. I went to uninstall it and try again, and that is when things got worse - I got this error:
These are the hacks you have selected to uninstall:
There is no record of Jukebox being installed. It cannot be uninstalled.
We're sorry you didn't like these hacks. Running this script will remove all settings and templates created.
so the install must never have finalized with the HIS. I ran the installer again to check if it was installed and got this:
Jukebox: Added Setting Group - Vb Jukebox
Jukebox: Added Setting - Audio Settings
Jukebox: Added Setting - Defult Song Title
Jukebox: Added Setting - Defult Song URL
Jukebox: Added Setting - Jukebox Mode
Jukebox: Added Setting - Jukebox Cost
Jukebox: Added Setting - Announcment Forum
then this:
Jukebox: Added/Updated Phrase - jb_is_active
Jukebox: Added/Updated Phrase - jb_posttitle
Jukebox: Added/Updated Phrase - jb_new_song_called
Jukebox: Added/Updated Phrase - jb_jukebox
Jukebox: Added/Updated Phrase - jb_song
Jukebox: Added/Updated Phrase - jb_requests
Jukebox: Added/Updated Phrase - jb_list
Jukebox: Added/Updated Phrase - jb_add_new_x
Jukebox: Added/Updated Phrase - jb_title
Jukebox: Added/Updated Phrase - jb_url
Jukebox: Added/Updated Phrase - jb_edit_x_y
Jukebox: Added/Updated Phrase - jb_reset_all_stats
Jukebox: Added/Updated Phrase - jb_nothing
Jukebox: Added/Updated Phrase - jb_most_played_x_with_y
Jukebox: Added/Updated Phrase - jb_not_permitted
Jukebox: Added/Updated Phrase - jb_need_credits
Jukebox: Added/Updated Phrase - jb_now_playing
Jukebox: Added/Updated Phrase - jb_free_for_members_guests
Jukebox: Added/Updated Phrase - jb_free_for_members_only
Jukebox: Added/Updated Phrase - jb_credits_needed_x_amount
Jukebox: Added/Updated Phrase - jb_top10_note
Jukebox: Added/Updated Phrase - jb_view_top10
Jukebox: Added/Updated Phrase - jb_instructions
Jukebox: Added/Updated Phrase - jb_deleted_x_successfully
Jukebox: Added/Updated Phrase - jb_reset_x_stats_successfully
Jukebox: Added/Updated Phrase - jb_x_announced
Jukebox: Added/Updated Phrase - jb_jukebox_off
Jukebox: Added/Updated Phrase - jb_track_list
Jukebox: Added/Updated Phrase - jb_vbjukebox
then this:
Jukebox: Created/Updated Template - jb_JUKEBOX
Jukebox: Created/Updated Template - jb_jukebox_bit
Jukebox: Created/Updated Template - jb_top10
Jukebox: Created/Updated Template - jb_top10_bit
but when I click on the "DONE" button at the "Rebuild Style Information" screen I am taken to a screen that says:
Warning: halt(): Failed opening './includes/functions_log_error.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/site/public_html/forums/includes/db_mysql.php on line 389
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
again, not too worried because it is a duplicate name - that means it is there and all should be well....Not so. Attached is a screenshot of how my jukebox looks.
I want to completely uninstall this, so I can start over again, but the HIS does not think I have it installed. Is there a way to "trick" the uninstaller into removing the phrasegroups etc., so I can try to reinstall? If not, how can I remove it/fix it?
trafix
01-17-2005, 12:11 AM
ok I just had the same problem when i installed the jukebox on my new dev forum do code the next version ..... (members can upload their own songs)
go to your phrasemanager and search for jb_jukebox and select edit ..... then save it without actually making any changes .... all the other phrases should also apper :)
yoyoyoyo
01-17-2005, 12:19 AM
ok I just had the same problem when i installed the jukebox on my new dev forum do code the next version ..... (members can upload their own songs)
go to your phrasemanager and search for jb_jukebox and select edit ..... then save it without actually making any changes .... all the other phrases should also apper :)
that did it! thanks!
now.. how do I get more songs to appear in my jukebox? I added a few to the "midi" folder I created, but nothing.
************
New Folder:
************
Make a new folder in the root directory of your server "midi" to upload your jukebox songs to.
when you say "root directory of your server do you mean:
/home/site/public_html/forums/
or do you mean root meaning
/home/site/ ?
I put "midi" folders everywhere I could think of, but nothing shows up
any ideas?
trafix
01-17-2005, 12:34 AM
ok put your folder
/home/site/public_html/forums/midi
so the url to the song will be www.xxx.com/forums/midi/song.mid
or using a relative path /midi/song.mid
yoyoyoyo
01-17-2005, 12:52 AM
ok put your folder
/home/site/public_html/forums/midi
so the url to the song will be www.xxx.com/forums/midi/song.mid
or using a relative path /midi/song.mid
I did that, and it plays my default song just fine, however it doesn't see any of the other songs in that folder. How do I add more songs?
edit: I am an idiot. I didn't upload the admincp/index.php file edits!
Thanks for your patience and help!
trafix
01-17-2005, 03:20 AM
I did that, and it plays my default song just fine, however it doesn't see any of the other songs in that folder. How do I add more songs?
edit: I am an idiot. I didn't upload the admincp/index.php file edits!
Thanks for your patience and help!
No problem ;) glad you got it working
trafix
01-17-2005, 09:38 AM
Update ....
Yep we are goung well :) ... now you can upload your songs direct from the admincp :)
Now im starting to work on the members upload area ;)
trafix
01-17-2005, 12:34 PM
Update .....
Ok uploading of songs can now be done from the admin area. Members can also upload their songs straight to the jukebox folder ...... BUT requires admin to aprove it before the song shows up in the jukebox :)
i have a few loose ends to tie up however tomorrow i will start coding the genre categories, as like forum home the genre sections will be calapsable :)
aloha
01-18-2005, 06:36 PM
Update .....
Ok uploading of songs can now be done from the admin area. Members can also upload their songs straight to the jukebox folder ...... BUT requires admin to aprove it before the song shows up in the jukebox :)
i have a few loose ends to tie up however tomorrow i will start coding the genre categories, as like forum home the genre sections will be calapsable :)
Can't wait. You got my donations!
aloha
01-18-2005, 07:51 PM
Suggestion... Maybe it can post reply's to the first post when it announces everyone a new song is on the site... Save some space and it would be a bit more tidy.
The Realist
01-18-2005, 08:47 PM
Well done M8.
Looking forward to it.
trafix
01-18-2005, 08:55 PM
Suggestion... Maybe it can post reply's to the first post when it announces everyone a new song is on the site... Save some space and it would be a bit more tidy.
I thought of that, however i feel that once the jukebox announces a song it would become a thread all to its self so ppl can discuss that song.
I am also working on song rating so that your members can rate a song in the same way as they rate a thread :)
This next version is going to be MEGA
Thanks to everyone for the suggestions and encouragement!
aloha
01-18-2005, 09:20 PM
I think if the song is worthy of them talking about it, they would post about it all on their own, or you can allow comments for songs and make that seperate from the forums.
Different categories would be nice.
Random play so that it just keeps playing on the same page...
Dupe Killer...
And if it automatically made the additions, lol that would own. hehe
I'm inspired. Thanks for the add-on.
trafix
01-18-2005, 09:43 PM
I think if the song is worthy of them talking about it, they would post about it all on their own, or you can allow comments for songs and make that seperate from the forums.
Different categories would be nice.
Random play so that it just keeps playing on the same page...
Dupe Killer...
And if it automatically made the additions, lol that would own. hehe
I'm inspired. Thanks for the add-on.
yep genres (categories) will be in the next upgrade
i will look at the random play
And if it automatically made the additions, lol that would own. hehe ..... more info pls
trafix
01-19-2005, 08:51 AM
We are getting closer to the next release ......
now i have coded
* upload songs from both admin and user end
* added unlimited genres
* members can rate songs in the jukebox
* usergroup permissions for
1) can listen to song.
2) can rate song.
3) can upload song.
The last thing i have to do is to code the new jukebox page to set out the playlist in categories of genre and make them calapsable.
trafix
01-19-2005, 09:10 AM
just a thought ... i will code in a function that if you upload an .mpeg the script will automaticly detect it and open the viewer ..... otherwise if it is just an audio file it will stay closed :)
JAYEMULE
01-19-2005, 02:37 PM
I really like this hack, thanks kindly for offering it. It was easy enough to install, love that hack installer ;)
I do seem to have one thing going wrong. It seems that now that I have installed on my public forum the entire forum moves slower than sa snails pace. Moving from page to page seems to take forever. Even working in the admin cp is slower than molases. Any ideas if VB Jukebox could have caused this ? Jukebox works fine, not a prblem with that. Unless it is the reason we have shifted into slow motion. Everything else in my domain site works as normal. And I am on cable connection so if it is slow enough to frustrate me I can only imagine what it feels like to members still on dial up. Poor babies ;)
Thanks for any ideas.
Oh and if I need to ask this in another place just direct me and I will .
Thanks Kindly,
Jaye
ambrosious
01-19-2005, 04:52 PM
How did you get on?
It's working great! I plan on using the jukebox for audio stories recorded by our members and am feeling the anticipation!
Thanks for this!
trafix
01-19-2005, 09:28 PM
@JAYEMULE umm, i cant see the tse jukebox would be an issue here .... i supose it could slow if all your members are trying to listed to media .... but i am not sure.
@ambrosious Thats good news :) ... expect the next version in a few days :)
trafix
01-19-2005, 10:57 PM
Ok email notification can now be sent to the admin once a song is uploaded to the jukebox by a member .... i have made this function optional
trafix
01-20-2005, 10:21 AM
Well you asked for it and here it is ...... the upgrade you have been on the edge of your seats for ;)
I hope the new screenies are better ;)
Deviant++
01-20-2005, 10:52 AM
@JAYEMULE umm, i cant see the tse jukebox would be an issue here .... i supose it could slow if all your members are trying to listed to media .... but i am not sure.
@ambrosious Thats good news :) ... expect the next version in a few days :)
Give us n approx when we can expect the next version, caues I've jsut installed a fresh bo, n would rather install that new one than this then upgrade :)
trafix
01-20-2005, 10:57 AM
Its there now :) ... uploaded it before
let me know how you go :)
Deviant++
01-20-2005, 11:13 AM
oooooh, goodie.
Deviant++
01-20-2005, 12:05 PM
The whole install seems to have gone on perfectly but I don't see any block on the left..
this is what I see in the forum windows..
is there supposed to be a line like that ?
Deviant++
01-20-2005, 12:50 PM
I reinstalled... no change... :(
quachvu
01-20-2005, 01:28 PM
how to rate the song? i dont see the link to do that, by the way, music box cant display correctly, how can i fix it? http://www.vietphim.com/forum/vb_jukebox.php?
thanks!
i receive a email informing a new upload of file, but in Subject of email there is the following message : "Could not find phrase 'jb_emailadmin'."
yoyoyoyo
01-20-2005, 01:57 PM
Well you asked for it and here it is ...... the upgrade you have been on the edge of your seats for ;)
I hope the new screenies are better ;)
can I click install again? :D
thanks much!
yoyoyoyo
01-20-2005, 02:00 PM
can you add an option in the next version to not allow uploads, but only allow submission of a valid URL to the jukebox? I have none of the songs actually on my server - I just enter valid mp3 and midi links and it plays them just fine. I do not want to fill up the server with songs (or use my bandwidth doing so) so a URL only submit option would be excellent!! (and also may be even more "legal" than serving them yourself)
Deviant++
01-20-2005, 02:21 PM
Me wants to get my jukey running :cry:
The Realist
01-20-2005, 03:17 PM
Just upgraded to the new version and I can upload the songs ok but none show up in the jukebox on the forum?
Also the rate etc links dont work.
Laters
spence2
01-20-2005, 05:27 PM
trafix, thanks for the hack!
Two questions that may seem dumb, but I don't mind that:
Does this hack use vB attachments in any way?
Are there players involved in playing either the music or the video? Like Real Player or Windows media?
Thanks. Just trying to understand the layout of this before installing.
yoyoyoyo
01-20-2005, 05:42 PM
Just upgraded to the new version and I can upload the songs ok but none show up in the jukebox on the forum?
Also the rate etc links dont work.
Laters
the songs must be approved and posted by the admin, I am not sure if there is an option to "auto approve" but it seems to me that there is...
edit: there doesn't seem to be that option, but maybe trafix can add it to the wish list :D (the top of my wish list is the "submit URL only" feature I requested).
Boy we are sure keeping him busy ... thanks trafix for all of the hard work!
lanc3lot
01-20-2005, 07:00 PM
A quick question, just before install...
How legit is this? I mean, can the user download the songs right? This is bad i think:(
Apart from that, excellent hack
trafix
01-20-2005, 08:10 PM
Ok im awake after a sleep to answer your q's
@ Deviant
The whole install seems to have gone on perfectly but I don't see any block on the left..
this is what I see in the forum windows..
is there supposed to be a line like that ?
No .... did you have the previous version installed? ... if yes clear your chache, i had the same problem when i upgraded a clients site.
@ quachvu
how to rate the song? i dont see the link to do that, by the way, music box cant display correctly, how can i fix it? http://www.vietphim.com/forum/vb_jukebox.php?
Click on the rating stars :)
i receive a email informing a new upload of file, but in Subject of email there is the following message : "Could not find phrase 'jb_emailadmin'."
please search for 'jb_emailadmin' in your phrase manager there should be 2 of them, 1 in the email body and the other in the email subject phrase groups
@ yoyoyoyo
can you add an option in the next version to not allow uploads, but only allow submission of a valid URL to the jukebox? I have none of the songs actually on my server - I just enter valid mp3 and midi links and it plays them just fine. I do not want to fill up the server with songs (or use my bandwidth doing so) so a URL only submit option would be excellent!! (and also may be even more "legal" than serving them yourself)
yes the installer will run as an upgrade and will install fine, i tested that in a client site and all worked well, as for the url link ... i will look at it in the next version :)
@ The Realist
Just upgraded to the new version and I can upload the songs ok but none show up in the jukebox on the forum?
Also the rate etc links dont work.
Yes all songs uploaded from the user end by default are not active ... i added this cos i wanna know what ppl are lostening to ... in the admin track list you can preview a song by clicking on its title. .... there is NO auto aprove here cos i dont think its safe ;)
@ spence2
Two questions that may seem dumb, but I don't mind that:
Does this hack use vB attachments in any way?
Are there players involved in playing either the music or the video? Like Real Player or Windows media?
1) NO it dosnt use the attachment system at all, because we are using media files i dont think the sql database could handle it so all media is uploaded to a folder in your forums root folder
2) The jukebox uses embeded tag and by defult the windows media player is used to play the media ;)
@lanc3lot
A quick question, just before install...
How legit is this? I mean, can the user download the songs right? This is bad i think
Apart from that, excellent hack
Its up to your own descression here ;) .... all midi files are fine to use in your jukebox
Original material that has not been released is also fine as long as you get permission from the artist ... IE ... the next door neighbour who plays piano before you upload it;)
@ all
Ist great to see all these replies, dont forget to click install ;) ... i would love to see this one on next months HOTM ;)
trafix
The Realist
01-20-2005, 08:58 PM
How do you pre approve tunes in the new version?
They work by clicking the title in admin, but dont work via the forum.
Laters
Also
how can a user upload from there end?
trafix
01-20-2005, 09:39 PM
How do you pre approve tunes in the new version?
They work by clicking the title in admin, but dont work via the forum.
Laters
Also
how can a user upload from there end?
in the admin song list ... click on "Edit" and there you can apporve a song :)
For users to upload songs you must set the usergroup permissions by going to the admin area ... expand the usergroup menu select the usergroup manager. From there edit each usergroup for what pernissions you want them to have.
Enjoy!
trafix
01-20-2005, 09:59 PM
A quick question, just before install...
How legit is this? I mean, can the user download the songs right? This is bad i think:(
Apart from that, excellent hackSorry i miss read the second part of your post :(
If you dont want your members to upload songs ... set the permission accordingly, this will make it so that songs can only be uploaded in the admin area.
With that being said .... all songs uploaded by your members WILL NOT be added to the jukebox playlist until you activate it, you can listen to songs in the admin area just by clicking on the songs title ;)
givemeplain
01-21-2005, 12:04 AM
Hey,
I love this mod! It looks like it is very good! I got it installed and everything, but when I FTP a song to my music folder and then try to add it through the admin cp it says "This song file already exists". How else can I FTP the song and then add it to the playlist?
Thanks.
trafix
01-21-2005, 12:16 AM
Hey,
I love this mod! It looks like it is very good! I got it installed and everything, but when I FTP a song to my music folder and then try to add it through the admin cp it says "This song file already exists". How else can I FTP the song and then add it to the playlist?
Thanks.
if you decide to upload the song with your FTP client then you have to manually enter the data into the db ... at the top of the "Add" page in the admin area there is a link that says "Change to manual data entry"
and enter as normal
givemeplain
01-21-2005, 12:20 AM
Wow, I'm really stupid for not noticing that!
Thanks a bunch for this mod, my members will love it =).
trafix
01-21-2005, 12:23 AM
:) ... great to here ... dont forget to click "Install"
givemeplain
01-21-2005, 12:29 AM
Does this work in firefox? It's not playing for some of my members Actually, it's not working in internet explorer either. It says the song is playing, but no sound comes out
trafix
01-21-2005, 12:57 AM
have you set the "Media Folder" on your vb options? ... you only need to enter the name of your folder without any backslashes :) ... and the folder MUST be in the forum root folder
givemeplain
01-21-2005, 12:59 AM
Yup, I set the folder as "music" (which is in root dir) and added the song Hikari.mp3 to it. In the add song in admincp i set song filename as Hikari.mp3 . Doesn't play though =(
http://www.shiburaonline.com/vb_jukebox.php
*you dont have to register*
Edit: I'm stupid, all right it works, just has to completely load to work?
trafix
01-21-2005, 01:13 AM
interesting .... i put the full url into the address line http://www.shiburaonline.com/music/Hikari.mp3 ... in theory the song should play
did you upload in binary?
the other thing is it looks like the jb_jukebox_bit isnt right ... please change it to
<tr>
<td align="center" $backcolor>
$rateimage
</td>
<td align="left" $backcolor>
<a href="vb_jukebox.php?$session[sessionurl]do=main&mysong=$songlist[songid]">$songlist[title]</a>
</td>
<td align="center" $backcolor>
$mediatype
</td>
<td align="center" $backcolor>
$songlist[username]
</td>
<td align="center" $backcolor>
$songlist[plays]
</td>
</tr>
I will fix the zip
givemeplain
01-21-2005, 01:23 AM
I updated the template, looks a lot better =). I uploaded the songs in auto transfer type using smartFTP, it works if you goto the url and download the song (For Me).
trafix
01-21-2005, 01:28 AM
oh crap .... looks like i also forgot to include the image
I updated the template, looks a lot better =). I uploaded the songs in auto transfer type using smartFTP, it works if you goto the url and download the song (For Me).Ill update the zip again ... here it is ... put in your images/rating folder
givemeplain
01-21-2005, 01:30 AM
Thanks =)
Any idea still why the music doesn't play until after around 15 minutes of it being clicked? I have dsl so I know it shouldn't take that long.
trafix
01-21-2005, 01:32 AM
Thanks for you persistance :)
Yep ... the time delay is because of it being an mp3 ... they are larger files and the media player uses a buffer so it has to download a % of the song before it will statr playing
givemeplain
01-21-2005, 01:37 AM
Hehe, cool thanks for explaining it =).
Does it support all audio types? like m4a or just mp3 and midi?
trafix
01-21-2005, 01:43 AM
Hehe, cool thanks for explaining it =).
Does it support all audio types? like m4a or just mp3 and midi?
if it plays in windows media player ... it will play in the jukebox :)
givemeplain
01-21-2005, 01:45 AM
Thanks for the great support man, your awesome! (So is this mod).
*Installs*
trafix
01-21-2005, 01:47 AM
Glad you love it :)
Murphinator
01-21-2005, 02:09 AM
did you include my add on hack? :P
trafix
01-21-2005, 02:10 AM
nope ... but i will now ... i presume the phrase goes in the GLOBAL phrasegroup
Murphinator
01-21-2005, 02:11 AM
hey i had another idea, moving it to the modcp, ive already done this, but it doesnt include permissions because i didnt know how to make it ask for moderator permissions instead of admin so i just deleted it :P
trafix
01-21-2005, 02:13 AM
hey i had another idea, moving it to the modcp, ive already done this, but it doesnt include permissions because i didnt know how to make it ask for moderator permissions instead of admin so i just deleted it :P
i will look at it for you :)
givemeplain
01-21-2005, 02:20 AM
Hey,
For future versions I have some suggestions
- See a status bar of buffer; how far you are in song (very simple looking)
- Users can comment on songs
- When posting "new songs in jukebox" the title of thread is based on the song that is being posted, Also can specify what you want to be written on post (like when you press post button in admin cp, there is a text box you can type in").
Also, is the visual part of this mod active? Or is it just a jukebox.. cause then maybe you could add the ability to upload music videos and things =).
trafix
01-21-2005, 02:25 AM
Hey,
For future versions I have some suggestions
- See a status bar of buffer; how far you are in song (very simple looking)
- Users can comment on songs
- When posting "new songs in jukebox" the title of thread is based on the song that is being posted, Also can specify what you want to be written on post (like when you press post button in admin cp, there is a text box you can type in").
Also, is the visual part of this mod active? Or is it just a jukebox.. cause then maybe you could add the ability to upload music videos and things =).
yep you can already upload movie files in either .mpg or .mpeg
The script will detect this and automaticly open the madia player so thethe user can see the movie ;)
As for the other suggestions i can look at them as well
trafix
01-21-2005, 04:15 AM
vB jukebox Update 2.1
includes whos online code by Murphinator, i have changed the varname of the phrase to conform with the perfix
also includes instructions for adding admin to the modcp
Deviant++
01-21-2005, 05:03 AM
@ Deviant
Quote:
The whole install seems to have gone on perfectly but I don't see any block on the left..
this is what I see in the forum windows..
is there supposed to be a line like that ?
No .... did you have the previous version installed? ... if yes clear your chache, i had the same problem when i upgraded a clients site.
I didn't have any previous version installed.. and I Cleared my browzer caches.. no change.. :(
trafix
01-21-2005, 05:06 AM
ok open the JB_JUKEBOX template and look for the <embed> tag. it should look like this
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<title>$vboptions[bbtitle] ~ $vbphrase[jb_jukebox] - powered by vBulletin</title>
$headinclude
</head>
<body>
$header
$navbar
<script LANGUAGE="Javascript">
<!--
function showwin(name,size)
{
attrbts = size + ",resizable=yes,toolbar=no,location=no,directories= no,status=no,menubar=no,scrollbars=yes"
window.open(name, "jukebox", attrbts);
}
//-->
</script>
<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">
</embed>
</object>
</center>
</if>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="panelsurround" align="center" colspan="5">
<div class="panel">
<div style="width:$stylevar[formwidth]" align="$stylevar[left]">
<fieldset class="fieldset">
<legend><strong>$vbphrase[jb_now_playing] ..... <i>$songdetails</i></strong></legend>
<table align="center" cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<tr>
<td>
<center>
<if condition="$vboptions[jb_mode] == 1">
$vbphrase[jb_free_for_members_guests]
</if>
<if condition="$vboptions[jb_mode] == 2">
$vbphrase[jb_free_for_members_only]
</if>
<if condition="$vboptions[jb_mode] == 3">
$jb_credit_for_members_only
</if>
<br /><br />
$mostpopular
<br />$vbphrase[jb_top10_note]
<br /><a href="javascript:showwin('vb_jukebox.php?$session[sessionurl]do=top10', 'width=450,height=400')"><b>$vbphrase[jb_view_top10]</b></a>
<br /><br />
$vbphrase[jb_instructions]
$canupload
<if condition="$warning == 1">
<br /><br />
$warningdesc
</if>
</center>
</td>
</tr>
</table>
</fieldset>
</div>
</div>
<tr>
</tr>
<tr>
<td class="thead">
<b><center>$vbphrase[jb_rating]</center></b>
</td>
<td class="thead">
<b><center>$vbphrase[jb_song]</center></b>
</td>
<td class="thead">
<b><center>$vbphrase[jb_format]</center></b>
</td>
<td class="thead">
<b><center>$vbphrase[jb_upload_by]</center></b>
</td>
<td class="thead">
<b><center>$vbphrase[jb_requests]</center></b>
</td>
<tr>
$genrelist
</tr>
</table>
</td></tr>
<tr>
<td><center>Powered By: <b>$vboptions[bbtitle]</b>
<br>$trafixfoot</center></td>
</tr>
</table>
$footer
</body>
</html>
trafix
01-21-2005, 05:15 AM
@ Deviant
Quote:
The whole install seems to have gone on perfectly but I don't see any block on the left..
this is what I see in the forum windows..
is there supposed to be a line like that ?
No .... did you have the previous version installed? ... if yes clear your chache, i had the same problem when i upgraded a clients site.
I didn't have any previous version installed.. and I Cleared my browzer caches.. no change.. :(
what is the url to your juke? ... PM me if you want to keep pvt
yoyoyoyo
01-21-2005, 05:39 AM
I had the previous version of the hack installed, and wen to update it and got an error When I hit the "DONE" button in the "Rebuild Style Information" box. This is the error I getWarning: halt(./includes/functions_log_error.php): failed to open stream: No such file or directory in /home/site/public_html/forums/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/site/public_html/forums/includes/db_mysql.php on line 389
There seems to have been a slight problem with the XXXXX Forums 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.5:
Invalid SQL: ALTER TABLE language ADD `phrasegroup_jukebox` MEDIUMTEXT NOT NULL
mysql error: Duplicate column name 'phrasegroup_jukebox'
mysql error number: 1060
Date: Friday 21st of January 2005 01:27:16 AM
Script: http://mysite.com/forums/install/hack_install.php?do=install&step=dodatabasequeries&hacks=Jukebox
Referer: http://mysite.com/forums/install/hack_install.php?do=install&step=dotemplates&hacks=Jukebox
Username: yoyoyoyo
IP Address: 12.34.567.890
is this anything to worry about? I was afraid that it may not be adding all of the phrasegroups since it halted at that one, and was not sure if the phrasegroups had changed,a dn am also worried since the installer didn't cache anything saying the hack had been installed.
trafix
01-21-2005, 05:45 AM
interesting ... i didnt encounter that problem at all ..... the only thing that might not have worked it the 2 db table alterations .... test it if you get an error adding a genre let me know
The Realist
01-21-2005, 09:07 AM
Thanks for the below info. Permissions have been set but the songs still do not play?
My Jukebox looks wrong, see pic.
There is no list of songs (yes they have been approved) the song shows in the text and also the rating, song and format etc dont work?
HELP :)
in the admin song list ... click on "Edit" and there you can apporve a song :)
For users to upload songs you must set the usergroup permissions by going to the admin area ... expand the usergroup menu select the usergroup manager. From there edit each usergroup for what pernissions you want them to have.
Enjoy!
trafix
01-21-2005, 09:09 AM
Thanks for the below info. Permissions have been set but the songs still do not play?
My Jukebox looks wrong, see pic.
There is no list of songs (yes they have been approved) the song shows in the text and also the rating, song and format etc dont work?
HELP :)
Have you put each song into a genre? .... they wont show if they arnt in a grnre category :)
Deviant++
01-21-2005, 09:13 AM
I give this mod a LICENSE TO PWN :P
The Realist
01-21-2005, 09:14 AM
Yes I have.
Have you put each song into a genre? .... they wont show if they arnt in a grnre category :)
trafix
01-21-2005, 09:17 AM
Yes I have.
ok check that you have 7 new jb_xxx templates
The Realist
01-21-2005, 09:21 AM
Cannot see them?
ok check that you have 7 new jb_xxx templates
trafix
01-21-2005, 09:21 AM
I give this mod a LICENSE TO PWN :P
Deviant++ requested to make the media player view the controls when playing audio formats ... here is how its done ...
open vb_jukebox.php and look for
if ($fext == "mpg" or $fext == "mpeg")
{
$viewheight = "290";
$viewwidth = "320";
}
else
{
$viewheight = "0";
$viewwidth = "0";
}
and replace with
if ($fext == "mpg" or $fext == "mpeg")
{
$viewheight = "290";
$viewwidth = "320";
}
else
{
$viewheight = "45";
$viewwidth = "230";
}
you can play with these dimentions to suit your needs :)
trafix
01-21-2005, 09:22 AM
Cannot see them?
how many jb_xxx templates are in the there ... can you name them for me?
trafix
01-21-2005, 09:25 AM
You should have these templates
jb_home_genre_bit
jb_rate
jb_upload
jb_JUKEBOX
jb_jukebox_bit
jb_top10
jb_top10_bit
The Realist
01-21-2005, 09:26 AM
I must be blind, found them :)
jb_home_genre_bit
jb_JUKEBOX
jb_jukebox_bit
jb_rate
jb_top10
jb_top10_bit
jb_upload
7 in total.
how many jb_xxx templates are in the there ... can you name them for me?
trafix
01-21-2005, 09:29 AM
did you have v1 installed?
can you PM me the ulr to your jukebox so i can have a look
trafix
01-21-2005, 10:01 AM
I give this mod a LICENSE TO PWN :P
dont forget to click INSTALL ;)
Deviant++
01-21-2005, 12:39 PM
duuuuuuuuuun :P
trafix
01-21-2005, 03:48 PM
Apart from a couple of small issues when ppl upgrade from v1 --> v2 (which we can work through) .... all new installs are working well :) and the hack is proving to be stable.
Thanks to all for the reports, this is realy turning out to be a great hack :)
yoyoyoyo
01-21-2005, 03:52 PM
Apart from a couple of small issues when ppl upgrade from v1 --> v2 (which we can work through) .... all new installs are working well :) and the hack is proving to be stable.
Thanks to all for the reports, this is realy turning out to be a great hack :)
I still haven't gotten v2 installed. I am still hanging up at the install, and this is the error I get when attempting to access it via the URL:
Invalid SQL:
SELECT * FROM vb_jukebox_trax
WHERE active = 1
ORDER BY genre
mysql error: Unknown column 'genre' in 'order clause'
mysql error number: 1054
but I agree that it is an awesome hack. v1 was working fine, and I am sure v2 will be soon, also.
trafix
01-21-2005, 04:35 PM
ahhhh, the genre was only added in v2 .... so you will have to run the update install and see what happens ...
The Realist
01-21-2005, 04:36 PM
Any ideas on my problem M8?
trafix
01-21-2005, 04:40 PM
did you have v1 installed?
can you PM me the ulr to your jukebox so i can have a look
i think ineed to have a look if possible
trafix
01-21-2005, 09:30 PM
I still haven't gotten v2 installed. I am still hanging up at the install, and this is the error I get when attempting to access it via the URL:
but I agree that it is an awesome hack. v1 was working fine, and I am sure v2 will be soon, also.
How did you go with the upgrade yoyoyoyo?
yoyoyoyo
01-21-2005, 10:32 PM
How did you go with the upgrade yoyoyoyo?
not very well, but that is not your fault, or a fault of the hack, but rather operator error :) I had no luck with the upgrade and am going to start from scratch on a new database in my test forum. I installed a few buggy hacks inthe old database, and also have learned a lot here in the past few days, so I am at a point where I want to start over again fresh. In my test forum I was using UCash/Ustore, as well as trying to get the Petz running , which I was never able to do (permission problems). My actual forum is not that interested in petz or ucash stuff, and those hacks are so monstrous, etc., that I decided to start fresh with a new database, etc., and only use things that I can incorporate in to the actual forum (what a concept). The VB Mega Jukebox will be one of the first installs, though, and I will not hesitate to come to you for guidance if there are install problems! :D
ambrosious
01-21-2005, 10:39 PM
How difficult is the upgrade? Is it seamless? I am LUVIN the original jb hack and want this upgrade BAD! lol
trafix
01-21-2005, 10:48 PM
not very well, but that is not your fault, or a fault of the hack, but rather operator error :) I had no luck with the upgrade and am going to start from scratch on a new database in my test forum. I installed a few buggy hacks inthe old database, and also have learned a lot here in the past few days, so I am at a point where I want to start over again fresh. In my test forum I was using UCash/Ustore, as well as trying to get the Petz running , which I was never able to do (permission problems). My actual forum is not that interested in petz or ucash stuff, and those hacks are so monstrous, etc., that I decided to start fresh with a new database, etc., and only use things that I can incorporate in to the actual forum (what a concept). The VB Mega Jukebox will be one of the first installs, though, and I will not hesitate to come to you for guidance if there are install problems! :D
@ yoyoyoyo
:) .... there have been many that have said there is no issues with fresh instilations of the jukebox :)
@ ambrosious
I upgraded a clients board and the process was seemless ... however there has been 2 that have not worked so well, part of that was my mistake as the new templates.php had old templates in it but i have fixed that problem .... go ahead if you have any problems i will lend a hand :)
ProDjForums.com
01-21-2005, 11:00 PM
Does this work fine with VB 3.0.6. I am very interested in it for my site.
trafix
01-21-2005, 11:12 PM
yep it will work for 3.0.6 :)
ambrosious
01-21-2005, 11:20 PM
Thanks!
ProDjForums.com
01-21-2005, 11:20 PM
Great I am finishing the upgrade and then some other things....and I will try it out if it is not too difficult.....I am a noob..... :confused:
yoyoyoyo
01-22-2005, 01:10 AM
yep it will work for 3.0.6 :)
I am happy to report that it installed like a charm for me in a new fresh virgin version of 3.0.6 :)
trafix
01-22-2005, 02:07 AM
Great job :)
Roxie
01-22-2005, 03:03 AM
Is there a way to manually add the modifications? This hack seems to have issues with either the vbookie hack or the group read content hack.
pelican
01-22-2005, 04:58 AM
is it possible to have sub-categories? else the song list will be very long.
can we choose which directory to store the mp3? it would be better if the directory is out of /public_html/ so people cannot just download or access the media files except by logging into your forum and access through the forum.
Despite the above questions, this hack PWNZ !!!!
trafix
01-22-2005, 08:25 AM
is it possible to have sub-categories? else the song list will be very long.
can we choose which directory to store the mp3? it would be better if the directory is out of /public_html/ so people cannot just download or access the media files except by logging into your forum and access through the forum.
Despite the above questions, this hack PWNZ !!!!
@ Roxie
hmmm the only possible issue could be either the same phrasegroupid is being used for both hacks ..... are the phrases for both hacks in the same phrasegroup section of your phrase manager? .... exactly what is happening roxie?
@ pelican
1) it already has categories ... they are called generes ;)
2) i presume that you can put the media folder in that area as long as you add the relative path to that folder in the vb options where is asks for the foldername ... the current code is
[PHP]
$path/
[PHP]
$path = what is entered in the options folder
please report back if you have success ;)
NuclioN
01-22-2005, 08:31 AM
Installed but can't upload any mp3 file at all. It seems it doesn't recognize the filetype? How to fix this?
trafix
01-22-2005, 08:38 AM
ok if they are large files the uploader may be having problems ... i only tested it with midis ;)
Alternativly
step 1 - you can use your ftp client to upload the songs to the folder.
step 2 - in the admin "add" screen you will see a link that says "Change to manual date entry" select that and enter the info required including the exact filename of the song that you uploaded ....
done :)
NuclioN
01-22-2005, 09:13 AM
Ok tnx :) Is it possible to stream/open mp3 trough a link to another location? You can imagine that it is to much work when members want their mp3 in your upload dir and you have to upload them all the time.
trafix
01-22-2005, 09:25 AM
hmmmm ... gotta think about that ... the original juke was set up that way but i changed all the code to incorporate the uploader ..... i think i am going to have to find different uploading code if its possible
NuclioN
01-22-2005, 09:29 AM
Tnx trafix, it would be awesome :)
trafix
01-22-2005, 09:35 AM
what size files are you trying to upload with the browser?
NuclioN
01-22-2005, 09:41 AM
2 mb+ trafix. I know there is a php limit in uploading so a bypass looks difficult. To handle the amount of data that is uploaded to the server we had in mind to make a weekly top 10 and after that week all ten mp3 files will then be deleted to make place for another ten mp3's.
There is a system called 'Andromeda' that is capable to set a complete dir open and available for streaming mp3 but that's not free.
ambrosious
01-22-2005, 10:28 PM
You rock, installed, working perfectly so far... Did I mention you rock?
ambrosious
01-22-2005, 10:33 PM
Ok, when I upload, from the jukebox.php page, where does it go? Can I upload big songs, say 5.0 mb or so?
ambrosious
01-22-2005, 10:41 PM
Also, the one song I had in there from the old version is now missing, but it will list in the Top 10 list?
trafix
01-23-2005, 06:50 AM
ok if they are large files the uploader may be having problems ... i only tested it with midis ;)
Alternativly
step 1 - you can use your ftp client to upload the songs to the folder.
step 2 - in the admin "add" screen you will see a link that says "Change to manual date entry" select that and enter the info required including the exact filename of the song that you uploaded ....
done :)
yep ... follow these instructions for large files
where do they go? ... into the folder that you created in the root folder of your forum :)
trafix
01-23-2005, 06:52 AM
Also, the one song I had in there from the old version is now missing, but it will list in the Top 10 list?
hmmmm .... if its not a big deal just delete it from the admin area and re upload it.
ambrosious
01-23-2005, 07:19 AM
yep ... follow these instructions for large files
where do they go? ... into the folder that you created in the root folder of your forum :)
What is the max file size for uploads?
trafix
01-23-2005, 07:20 AM
when you use you ftp client ... there is no limitation
The Realist
01-23-2005, 10:53 AM
Still not got this running after the update?
trafix
01-23-2005, 11:00 AM
Still not got this running after the update?
ok i tried to look back at your prev posts .... but they are all spred out over too many pages ..... can you bring me up to speed on what is and isnt working ... errors ... whatever
The Realist
01-23-2005, 11:08 AM
Ok.
Installed the first version and that worked 100%.
I upgraded to your latest version and now it does not work. I can install songs via the admin panel, they show up in the jukebox but none play. Also the links on the bottom of the jukebox dont work as well.
Laters
ambrosious
01-23-2005, 05:40 PM
when you use you ftp client ... there is no limitation
How about when you upload from the jukebox function?
WiseOwl
01-23-2005, 05:57 PM
Nevermind... i was having similar problems as others in this thread, after upgrading from v1 to v2... all are fixed and hack runs correctly...
Had the same problem as Deviant++ , where the embeded codec or plugin whateva its called wouldnt show how to play, stop, pause, after making the following change in vb_jukebox.php it shows/works fine
if ($fext == "mpg" or $fext == "mpeg")
{
$viewheight = "290";
$viewwidth = "320";
}
else
{
$viewheight = "45";
$viewwidth = "230";
}
Had the same problem as yoyoyoyo, after installing and hitting "done" would return this error, didn't effect the install
Warning: halt(./includes/functions_log_error.php): failed to open stream: No such file or directory in /home/site/public_html/forums/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/site/public_html/forums/includes/db_mysql.php on line 389
Oh and someone posted reguarding audios showing in "Top 10" but not in vb_jukebox.php, you need to click "edit" on the song in vb_jukebox_admin.php and select a genre
Marco van Herwaarden
01-23-2005, 06:36 PM
Did you did an uninstall through the installer first?
Murphinator
01-23-2005, 11:33 PM
how do you host songs from a remote source?
yoyoyoyo
01-23-2005, 11:35 PM
how do you host songs from a remote source?
just enter a URL in to the jukebox via the ACP. I am still keeping my fingers crossed for the option to allow users to submit urls as well as upload files, since none of the songs on my juke are on my server :D
Murphinator
01-23-2005, 11:38 PM
vBulletin Message
Please Complete All Required Fields
thats what i get when i enter a url :(
Murphinator
01-23-2005, 11:58 PM
did i install wrong?
trafix
01-24-2005, 12:45 AM
the first version did allow for remote hosting where as v2 does not.
it seems that i will have to provied an upgrade so that remote hosting is an option.
Zaeolos
01-24-2005, 01:14 AM
I just installed this and everything works great except I had problems with the ratings image. I use vbPortal and the $stylevar[imagesfolder] variable pointed to the wrong directory, actually it was a directory that was not even there so what I had to do was change it in the vb_jukebox.php to $stylevar[imgdir_rating]. It seems this would be a better choice for everybody. I just wanted to let you know. Great hack, I am clicking install.
Z
trafix
01-24-2005, 01:18 AM
I just installed this and everything works great except I had problems with the ratings image. I use vbPortal and the $stylevar[imagesfolder] variable pointed to the wrong directory, actually it was a directory that was not even there so what I had to do was change it in the vb_jukebox.php to $stylevar[imgdir_rating]. It seems this would be a better choice for everybody. I just wanted to let you know. Great hack, I am clicking install.
Z
Thanks for the input :) ... and thanks for installing
Murphinator
01-24-2005, 02:09 AM
the first version did allow for remote hosting where as v2 does not.
it seems that i will have to provied an upgrade so that remote hosting is an option.
hmm, are you already working on it, because i need it at the moment, can i just change the file to some other code? cus im not on top of all of this
trafix
01-24-2005, 02:37 AM
yes, i can do a quick moification the will alow you to host songs from another server ... however .mpg's will still have to go on yours :) .. how does that sound?
Zaeolos
01-24-2005, 02:40 AM
I am not sure if it is just me or not, but I am running VB3.0.6 and when I upload from the user upload, it will not tell me if the file is too big, or if the file has already been uploaded. It just goes back to the Main screen. If the file meets the correct parameters, it does upload though. Also, I am not sure of the correct value to put in the Max file size. I tried 1, 1000, and 1000000 and still could not upload a file that was 500Kb. I have my php.ini file set to upload up to 20M so that is not an issue. Could the way VB changed the way they are doing their sessions in 3.0.6 be a cause of my problems? Please advise.
Z
Murphinator
01-24-2005, 02:47 AM
it sounds great, im only using mine for music any ways :) thank you!
yoyoyoyo
01-24-2005, 03:02 AM
yes, i can do a quick moification the will alow you to host songs from another server ... however .mpg's will still have to go on yours :) .. how does that sound?
perfect! can guests submit URL's? :D
trafix
01-24-2005, 03:08 AM
hmm, are you already working on it, because i need it at the moment, can i just change the file to some other code? cus im not on top of all of this
ok ... good news :) ... i inspected the script and no code needs to be changed
in the admin options where it asks for the folder name enter the full path to the where the songs are stored eg "www.something.com/music folder" NO backslash after.
The downside to this is you cant play movie files and all songs have to be put in the host server.
trafix
01-24-2005, 03:15 AM
in the admin options where it asks for the folder name enter the full path to the where the songs are stored eg "www.something.com/music folder" NO backslash after.
The downside to this is you cant play movie files and all songs have to be put in the host server.
NO it wont work as described above
trafix
01-24-2005, 03:18 AM
I am not sure if it is just me or not, but I am running VB3.0.6 and when I upload from the user upload, it will not tell me if the file is too big, or if the file has already been uploaded. It just goes back to the Main screen. If the file meets the correct parameters, it does upload though. Also, I am not sure of the correct value to put in the Max file size. I tried 1, 1000, and 1000000 and still could not upload a file that was 500Kb. I have my php.ini file set to upload up to 20M so that is not an issue. Could the way VB changed the way they are doing their sessions in 3.0.6 be a cause of my problems? Please advise.
Z
i dout it .... i think there may be other issues involved ... however i added the manual data enter for large files etc ... although is ok for you to upload with ftp, it dosnt help your members.
I only tested the uploader with midi files ;)
Zaeolos
01-24-2005, 03:23 AM
i dout it .... i think there may be other issues involved ... however i added the manual data enter for large files etc ... although is ok for you to upload with ftp, it dosnt help your members.
I only tested the uploader with midi files ;)
Well, as I sit here playing with it, it is not letting me know of any of the phrases that are put in. Like when I upload and it is successful, it does not let me know that it is successful. Or when it is the same file, it does not let me know that.
trafix
01-24-2005, 03:38 AM
If you have set in your admincp options to "no redirection" then you wont see it and will go back to the same screen .... maybe i should change them to stop messages instead of redirection messages as most admin will turn off redirection messages
Zaeolos
01-24-2005, 03:43 AM
Yep, you hit the nail on the head. I had my redirects turned off. I didn't even think about that. I am really liking this hack. There are just a few more things I am having trouble with. The main thing right now is that I can't seem to make the Max File Size option work for me. I want to restrict the file size to 10MB. I have already tested uploading a 10MB file and it works when the option is set to zero, but if I change it from zero, I cannot upload anything.
trafix
01-24-2005, 03:48 AM
immm interesting i will have to look into it further when i get a chance
Zaeolos
01-24-2005, 03:56 AM
Not a big deal, I know you are busy. One thing to think about also as an option would be to give the user the ability to choose multiple songs either as a play list or maybe a check box on the side to choose all the songs they want and then a play button to start it. Just an idea...
Z
trafix
01-24-2005, 06:04 AM
Not a big deal, I know you are busy. One thing to think about also as an option would be to give the user the ability to choose multiple songs either as a play list or maybe a check box on the side to choose all the songs they want and then a play button to start it. Just an idea...
Z
yep its on my Future Possible Functions list in my first post ;)
The Realist
01-24-2005, 01:20 PM
Anyone?
Ok.
Installed the first version and that worked 100%.
I upgraded to your latest version and now it does not work. I can install songs via the admin panel, they show up in the jukebox but none play. Also the links on the bottom of the jukebox dont work as well.
Laters
NuclioN
01-24-2005, 01:40 PM
Trafix i can't make it up out of your reply...is the link to external mp3/midi files in there already???
yoyoyoyo
01-24-2005, 01:42 PM
Trafix i can't make it up out of your reply...is the link to external mp3/midi files in there already???
just enter the full URL with no final backslash via the ACP, it should work.
ProDjForums.com
01-24-2005, 04:05 PM
I want to post a poll on my site to see if my member base would like this on the site. Would it be ok for me to post your screen shots (of the user side) in the body of the post?
NuclioN
01-24-2005, 04:14 PM
just enter the full URL with no final backslash via the ACP, it should work.
----but it doesn't :) I linked it to a mp3 file on our server but no succes.
yoyoyoyo
01-24-2005, 04:20 PM
----but it doesn't :) I linked it to a mp3 file on our server but no succes.
I know it's not quite the same thing as version 1. I think what he is referring to is when you specify the folder, instead of "midi" as per the instructions you can enter a remote server to upload to (example: h*tp://anothersite.com/songs). This does not support the adding of songs via URL, as in version 1, and for that reason I prefer version 1 at this point since I prefer not to host any of the songs, so these are really 2 different hacks in that sense.
trafix
01-24-2005, 10:30 PM
Anyone?
i am willing to help you, I have requested a link to you jukebox on 3 occasions now ... for me to assist what is is going on i need to see it, you can mp the url if you like
trafix
01-24-2005, 10:32 PM
Trafix i can't make it up out of your reply...is the link to external mp3/midi files in there already???
Did yoyoyoyo anser your question? ... i have included remote hosting instruction in the first post
mekro
01-25-2005, 09:09 AM
Hi
Ok i am trying link to an external source for the music, however nothing i do works for example in the options i leave it blank for where the folder is and in the add track i enter the full path but it just just keeps linking to for example:
h**p://www.mysite.com/forum//www.othersite.com/mike/AheadOfTheGame.mp3
No matter what i do i can not get it to link to an off site link.
Please help.
Kirk
trafix
01-25-2005, 09:21 AM
in the options "folder" put
h**p://www.othersite.com/mike
and just the file name the song filename
NuclioN
01-25-2005, 09:39 AM
Now i'm confused to. I can't find the field where members can put an url. :)
mekro
01-25-2005, 01:36 PM
Hi
Thaks for the response but that does not help i did as you said and did the following:
In the jukebox options under the vbulletin options i placed the following link in the folder box: h**p://www.othersite.com/mike
Then in the add a song section i just placed the song name: AheadOfTheGame.mp3
Now the link looks like this: http://mysite.com/forum/http://www.getitfido.com/mike/AheadOfTheGame.mp3
Any help please as it keeps adding the http://mysite.com/forum/ part to the beginning of every song.
Thanks
Kirk
trafix
01-26-2005, 04:09 AM
hmmm, i just tested it on my forum and it does work
I changed the vb options "Media Folder" to "h**p://srv01.orpbus.com/~admin152/upload/midi"
mekro
01-26-2005, 06:03 AM
Sorry for the trouble and yes it does work i was just impatinat for the song to load.
My bad and thanks for the hack it brilliant.
By the way anyway of letting the user know how much of the song is loadded as it can take up to 5 minutes for a song to load and many members think its not loading.
Kirk
trafix
01-26-2005, 06:13 AM
ummm i did post a code alteration that would show just the meadia player tool bar ... bun in not sure what page its on
yoyoyoyo
01-26-2005, 07:10 AM
ummm i did post a code alteration that would show just the meadia player tool bar ... bun in not sure what page its on
People can always play with the PARAM name "uiMode" settings.
With the following setting Windows Media Player is embedded with the status window, seek bar, play/pause, stop, mute, next, previous, fast forward, fast reverse, and volume controls in addition to the video or visualization window:
<PARAM Name = "uiMode" Value = "full">
With the following example Windows Media Player is embedded without any visible user interface (controls, video or visualization window):
<PARAM
NAME="uiMode" VALUE="invisible">
With this example Windows Media Player is embedded with the status window, play/pause, stop, mute, and volume controls shown in addition to the video or visualization window:
<PARAM NAME="uiMode" VALUE="mini">
With this mode Windows Media Player is embedded without controls, and with only the video or visualization window displayed:
<PARAM NAME="uiMode" VALUE="none">
you can also make sure that these are set:
<param name="ShowControls" value="true">
<param name="ShowDisplay" value="true">
If you want to be nice you can let your users choose. The following example creates an HTML SELECT element that allows the user to change the user interface for an embedded Player object (The Player object was created with ID = "Player"):
<!-- Create an HTML SELECT element. -->
<SELECT ID = UI LANGUAGE="JScript"
/* Specify the UI mode the user selects. */
onChange = "Player.uiMode = UI.value">
/* These are the four UI mode options. */
<OPTION VALUE="invisible">Invisible
<OPTION VALUE="none">No Controls
<OPTION VALUE="mini">Mini Player
<OPTION VALUE="full">Full Player
</SELECT>
trafix
01-26-2005, 08:02 AM
hmm, i was aware of being able to edit the paramaters but as i dont know enough about it i wasnt willing to quote .... tnx for the input yoyoyoyo .... do i have too many yo's ??? lol
yoyoyoyo
01-26-2005, 08:08 AM
hmm, i was aware of being able to edit the paramaters but as i dont know enough about it i wasnt willing to quote .... tnx for the input yoyoyoyo .... do i have too many yo's ??? lol
no .. I do.. my son is the one who actually signed up me up at the forum here and that is the name he chose.. lucky, eh? I was thinking of joining the "Please change my nick" thread, soon! :D
glad to help! I can't do much original with php at this point, but I do know a bit of html ;D
WiseOwl
01-27-2005, 12:38 AM
<a href="http://digitalmental.com/bb/vb_jukebox.php" target="_blank">http://digitalmental.com/bb/vb_jukebox.php</a> why are the TOTALS going negative, ie: "-140" for the 50 Cent song... ?
indie
01-27-2005, 03:00 AM
Can this be used as a video gallery?
I need something where memebers can upload video clips, and tother members can watch them. Will they play in the browser, or have to be downloaded? Also, if it can be dome, then can "jukebox" be change in the phreases since it would be used for video?
Also can file types be specified? .mov ,etc.
Thanks.
mekro
01-27-2005, 05:33 AM
People can always play with the PARAM name "uiMode" settings.
With the following setting Windows Media Player is embedded with the status window, seek bar, play/pause, stop, mute, next, previous, fast forward, fast reverse, and volume controls in addition to the video or visualization window:
<PARAM Name = "uiMode" Value = "full">
With the following example Windows Media Player is embedded without any visible user interface (controls, video or visualization window):
<PARAM
NAME="uiMode" VALUE="invisible">
With this example Windows Media Player is embedded with the status window, play/pause, stop, mute, and volume controls shown in addition to the video or visualization window:
<PARAM NAME="uiMode" VALUE="mini">
With this mode Windows Media Player is embedded without controls, and with only the video or visualization window displayed:
<PARAM NAME="uiMode" VALUE="none">
you can also make sure that these are set:
<param name="ShowControls" value="true">
<param name="ShowDisplay" value="true">
If you want to be nice you can let your users choose. The following example creates an HTML SELECT element that allows the user to change the user interface for an embedded Player object (The Player object was created with ID = "Player"):
<!-- Create an HTML SELECT element. -->
<SELECT ID = UI LANGUAGE="JScript"
/* Specify the UI mode the user selects. */
onChange = "Player.uiMode = UI.value">
/* These are the four UI mode options. */
<OPTION VALUE="invisible">Invisible
<OPTION VALUE="none">No Controls
<OPTION VALUE="mini">Mini Player
<OPTION VALUE="full">Full Player
</SELECT>
Hi
yoyoyoyo could you explain more as i would like to show the buffering bar etc etc to my members as each song loads, and i can not figure out where to place the codes etc.
I have searched this thread but can not find out any info on this.
Thanks
Kirk
spence2
01-28-2005, 04:47 AM
Trafix,
Thank you so much! Easy install and so far no glitches.
One question:
Since I anticipate my song list growing I'm a bit concerned about the length of the entry page. Could you tell me if it is possible to load the page with the categories collapsed instead of opened?
Would it be a matter of modding the template? If so, how?
Thanks again for sharing your work with all of us ... and for your support as well.
trafix
01-28-2005, 10:22 AM
Your welcome :)
i have been flat out with other client sites and projects (not to mention the thunder storms) that i have been able to provide much support the tast couple of day ;)
As for calapsed categories on page open ... im not sure maybe post the question in the mod discussion forum.
trafix
01-29-2005, 08:19 AM
Can this be used as a video gallery?
I need something where memebers can upload video clips, and tother members can watch them. Will they play in the browser, or have to be downloaded? Also, if it can be dome, then can "jukebox" be change in the phreases since it would be used for video?
Also can file types be specified? .mov ,etc.
Thanks.
sorry for not answering sooner ;)
Basicly if the movie file will play in the media player then it will play in the jukebox :)
bluesteel
01-29-2005, 08:27 AM
http://digitalmental.com/bb/vb_jukebox.php why are the TOTALS going negative, ie: "-140" for the 50 Cent song... ?
I'm having the same problem with the total plays giving negative figures,
Any ideas anyone?
Thanx in advance.
trafix
01-29-2005, 08:49 AM
I'm having the same problem with the total plays giving negative figures,
Any ideas anyone?
Thanx in advance.
The only possible reason for getting minus plays is if you have the jukebox mode in the admin options set for members only - credits required.
spence2
01-29-2005, 10:38 AM
Basicly if the movie file will play in the media player then it will play in the jukebox :)
I believe you advised earlier that the height and width should be changed in some way to accomodate video ... could you be a little more specific about this?
Is it a change to the template or to the code?
Thank you for your support.
trafix
01-29-2005, 03:55 PM
I believe you advised earlier that the height and width should be changed in some way to accomodate video ... could you be a little more specific about this?
Is it a change to the template or to the code?
Thank you for your support.
In version 2.x + of the jukebox this i done automaticly when the script sees a file with the extension .mpg or .mpeg we can include other file extensions if you need to :)
pelican
01-29-2005, 04:40 PM
it is possible to upload/download/manage normal files eg. .zip, .exe, .doc, .txt, etc.
trafix
01-29-2005, 05:08 PM
it is possible to upload/download/manage normal files eg. .zip, .exe, .doc, .txt, etc.
Umm Yes, what do you have in mind?
spence2
01-29-2005, 09:46 PM
One question:
Since I anticipate my song list growing I'm a bit concerned about the length of the entry page. Could you tell me if it is possible to load the page with the categories collapsed instead of opened?
I found this easy to do by changing this line of code in the JUKEBOX template:
<tbody id="collapseobj_forumbit_$jbgenre" style="$jbcollapse1">
TO:
<tbody id="collapseobj_forumbit_$jbgenre" style="display:none;">
BTW, I have installed this on two boards. 'Wish I could click the install button twice! :) Thanks, again.
NuclioN
01-29-2005, 10:17 PM
Did yoyoyoyo anser your question? ... i have included remote hosting instruction in the first post
A bit. All we want to have is that a member just give an url to any songfile on different servers. xxx.anywhere.org/test.mp3 or xxx.somewhere-else.com/test2.mp3 for example :)
trafix
01-29-2005, 10:36 PM
ok This is what you do .....
in vb_jukebox.php find
$playsong = "$vboptions[jb_media_folder]/$playthisong[url]";
replace with
$playsong = "$playthisong[url]";
Then enter the full url into the song file field for each song :)
let me know how you get on
yoyoyoyo
01-29-2005, 10:54 PM
ok This is what you do .....
in vb_jukebox.php find
$playsong = "$vboptions[jb_media_folder]/$playthisong[url]";
replace with
$playsong = "$playthisong[url]";
Then enter the full url into the song file field for each song :)
let me know how you get on
cool! can you have it as an option, instead of a replacement? perhaps a different entry field fpr URL's?
trafix
01-29-2005, 11:07 PM
cool! can you have it as an option, instead of a replacement? perhaps a different entry field fpr URL's?
hmm, i could do that and add a new setting in the options .....
NuclioN
01-30-2005, 12:01 AM
Works ok :) Only we have to login in admin or mod cp and can only add an url if choosen 'manual data entry'
Now it would be ideal when members could do this to since there is an aproval by admins or mods to prevent troubles. :)
trafix
01-30-2005, 12:36 AM
yeah, i could look at that
skinwalker
01-31-2005, 04:00 AM
ok i installed this hack
and no where can i find this part
go to your usergroup manager and set the following for each usergroup
1) who can listen to the jukebox
2) who can upload songs to the jukebox
3) who can rate other songs
can someone help me
trafix
01-31-2005, 04:53 AM
the permissions groups are located in the usergroup menu of your admin panel.
Expland the usergroup mane in the admin navigation and click on "Usergroup Manager" from there edit each usergroup setting the jukebox permissions that are listed near the bottom of the list
Done!
yoyoyoyo
01-31-2005, 12:06 PM
hmm, i could do that and add a new setting in the options .....yippee! :)
WiseOwl
01-31-2005, 07:07 PM
The only possible reason for getting minus plays is if you have the jukebox mode in the admin options set for members only - credits required.
I'm set to members only.. not the "credits required" setting and im still getting minus plays.. it has to be something where they go over a certain ammount of plays, because I get over 200 to 500 plays per song..
spence2
01-31-2005, 09:06 PM
Okay, I know we never seemed satisfied ... always asking for more :nervous: ... so, forgive my audacity, Trafix. But would there be any possibility of you adding the capacity for Flash files to be uploaded and played?
I know it's a whole different player. There is a hack by Erwin to display flash movies; however, it does not include an uploader for users. And the file extension must be truncated to drop the .SWF on all file names.
I think it would be a great addition to the Jukebox, so I hope you will consider it.
===========
On different issue regarding current video file extensions ... you said:
...we can include other file extensions if you need to.
how about .avi,.asf,.wmv,.mov?
Thanks!
el diablo
02-01-2005, 09:55 PM
I've got a problem... i've tried to figure this out for hours now :(
I've installed a fresh version of the Jukebox and finally figured out how to work with it - but the songs do not play... i know they're in the right place and everything is set up - but they're just NOT playing????
also i've never installed the older version but in the footer it says version 1.2 ...
am i missing something here?
el diablo
02-01-2005, 10:00 PM
also i've tried to uninstall and reinstall and now i get this:
Database error in vBulletin 3.0.6:
Invalid SQL: ALTER TABLE language ADD `phrasegroup_jukebox` MEDIUMTEXT NOT NULL
mysql error: Duplicate column name 'phrasegroup_jukebox'
mysql error number: 1060
how can i drop that info so i can reinstall?
also: Parse error: parse error, unexpected T_STRING in /home/thesirk/public_html/forum/install/hacks/Jukebox/2/file_mods.php on line 18
aloha
02-02-2005, 01:40 AM
hmmm... I forgot I was upgrading, and goofed. I uploaded all the files, didn't delete folder #1, and did steps 1 - 4, by the time I realized it, hmmm... its too late.
How can I undo this stupidity? lol
el diablo
02-02-2005, 04:15 AM
i just need to know how to undo this DB situation :(
trafix
02-02-2005, 06:17 AM
i just need to know how to undo this DB situation :(
umm, i dont think you have a db situation .... the quiries are run last so you should be safe, does everything work ok?
el diablo
02-02-2005, 06:53 AM
no it wouldn't play the songs at all... i checked over everything a million times... i read all of the posts in here and everything. I'm not sure what the problem is... i uninstalled and reinstalled...
but when i try to reinstall it gives me the DB error saying "duplicate field" or whatever - which is expected... i just can't remember how to drop those specific fields...
anyways, yeah everything is there - it shows up... and the songs as well - but nobody can hear the songs =\
trafix
02-02-2005, 07:00 AM
can you pm or post a link to you instilation
el diablo
02-02-2005, 07:22 AM
i sent you a PM...
ONIMUSHA1140
02-03-2005, 12:59 AM
im having a big problem for some reason the songs are not playing at all...i installed everything right...and they are still not working..yes i typed in the right path for the song uplaods and it is still not playing and i changed the usergroup so that i could hear it but im still not
aloha
02-03-2005, 07:03 PM
hmmm... I forgot I was upgrading, and goofed. I uploaded all the files, didn't delete folder #1, and did steps 1 - 4, by the time I realized it, hmmm... its too late.
How can I undo this stupidity? lol
I searched this thread, and obviously noone did what I did... lol But I think I was too excited when installing this, so if anyone can help me fix my fing-a-majinger, that would be great!
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.