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

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

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

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

Its back after a long time

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

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

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

General Features

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

Admin Features

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

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

Front End Features

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

Future Possible Functions

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

INSTRUCTIONS FOR REMOTE SONG HOSTING

OPTION 1

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

OPTION 2
In vb_jukebox.php find each instance of

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

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

Please Click install

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

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

Update
Fix Template and missing image

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

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

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

Show Your Support

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

Comments
  #122  
Old 01-21-2005, 04:15 AM
trafix's Avatar
trafix trafix is offline
 
Join Date: Dec 2002
Location: Australia
Posts: 1,021
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #123  
Old 01-21-2005, 05:03 AM
Deviant++'s Avatar
Deviant++ Deviant++ is offline
 
Join Date: Sep 2004
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@ 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..
Reply With Quote
  #124  
Old 01-21-2005, 05:06 AM
trafix's Avatar
trafix trafix is offline
 
Join Date: Dec 2002
Location: Australia
Posts: 1,021
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok open the JB_JUKEBOX template and look for the <embed> tag. it should look like this
HTML Code:
$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>
Reply With Quote
  #125  
Old 01-21-2005, 05:15 AM
trafix's Avatar
trafix trafix is offline
 
Join Date: Dec 2002
Location: Australia
Posts: 1,021
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Deviant++
@ 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
Reply With Quote
  #126  
Old 01-21-2005, 05:39 AM
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
Location: USA
Posts: 1,612
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 get
Quote:
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



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.
Code:
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.
Reply With Quote
  #127  
Old 01-21-2005, 05:45 AM
trafix's Avatar
trafix trafix is offline
 
Join Date: Dec 2002
Location: Australia
Posts: 1,021
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #128  
Old 01-21-2005, 09:07 AM
The Realist's Avatar
The Realist The Realist is offline
 
Join Date: Oct 2001
Location: UK
Posts: 842
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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


Quote:
Originally Posted by trafix
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!
Reply With Quote
  #129  
Old 01-21-2005, 09:09 AM
trafix's Avatar
trafix trafix is offline
 
Join Date: Dec 2002
Location: Australia
Posts: 1,021
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by The Realist
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
Reply With Quote
  #130  
Old 01-21-2005, 09:13 AM
Deviant++'s Avatar
Deviant++ Deviant++ is offline
 
Join Date: Sep 2004
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I give this mod a LICENSE TO PWN :P
Reply With Quote
  #131  
Old 01-21-2005, 09:14 AM
The Realist's Avatar
The Realist The Realist is offline
 
Join Date: Oct 2001
Location: UK
Posts: 842
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes I have.

Quote:
Originally Posted by trafix
Have you put each song into a genre? .... they wont show if they arnt in a grnre category
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:00 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05493 seconds
  • Memory Usage 2,346KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (1)bbcode_html
  • (2)bbcode_php
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete