Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vJukebox - Song and Video Management System Details »»
vJukebox - Song and Video Management System
Version: 0.9.0, by Cole2026 Cole2026 is offline
Developer Last Online: Jul 2020 Show Printable Version Email this Page

Version: 3.5.3 Rating:
Released: 12-08-2005 Last Update: 01-30-2006 Installs: 119
DB Changes Uses Plugins Template Edits
Additional Files Is in Beta Stage  
No support by the author.

vJukebox v 0.9.0 Alpha

What does this do?
This is a Jukebox system, you can add and listen to/play videos/songs, users can rate the media, comment it, and much more!
Updates:

0.9.0 - Total Rewrite, several new features, template overhall.
0.8.1 - Fixed several bugs that I overlooked at first distribution.

Known Bugs:

File Writing Error - Fix by Replicators, See this post.

To Install:
1. Import the product xml file in this folder.
2. Upload all files in the upload folder.
3. Create a folder named media in your forumroot (or another name, you can edit the name of the folder you want to upload media in, in the ACP settings. CHMOD 777
3. Enjoy.

Please note:
I will not officially support this until we get into the beta phases.

If you want to add a link to this in the navbar:
In the template: navbar
=============================
FIND:
=============================
<td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
=============================
BELOW THIS, ADD:
=============================
<td class="vbmenu_control"><a href="jukebox.php?$session[sessionurl_q]">Jukebox</a></td>
=============================

Bug Reporting:
Please report all bugs to:
http://www.digitalsupremacy.com/forums/vbugs.php


Please Donate if you want the product to grow. I'll donate 15% of all donations I get for this project to Unicef as well.

Supporters / CoAuthors

Show Your Support

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

Comments
  #432  
Old 07-27-2006, 11:27 PM
Guest210212002
Guest
 
Posts: n/a
Default

Nah, Microstats just tosses the server load at the bottom of your page. For some reason your page output in that particular template has no whitespace where the actual applet code is.

If the template is at all customized, try reverting it. If not, it looks like something's up with the way it imported. Try pasting this code in jukebox_mediadisplay - this is my un-edited default template for it.

Code:
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vboptions[bbtitle] - $vbphrase[jukebox] - $vbphrase[jukebox_view_media]: $media[title]</title>
</head>
<body>
$header
$navbar

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat" width="100%" colspan="2">$vbphrase[jukebox_view_media]<span class="normal"> $media[title] by $media[author]<if condition="$bbuserinfo['usergroupid'] ==6"> | <a href="$vboptions[bburl]/$admincpdir/jukeboxadmin.php?do=editmedia&amp;mid=$media[mediaid]">Edit</a> | <a href="$vboptions[bburl]/$admincpdir/jukeboxadmin.php?do=deletemedia&amp;mid=$media[mediaid]">Delete</a></if></span></td> 
        <if condition="$can['rate']">
<td id="mediarate" class="vbmenu_control" nowrap="nowrap"><a href="#mediarate"><if condition="$mediarating==0">Rate This Song/Video<else />Rating: <img src="$stylevar[imgdir_rating]/rating_$mediarating.gif" border="0" alt="" /></if></a> <script type="text/javascript"> vbmenu_register("mediarate"); </script></td>
</if>
</tr>
</table>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="thead" width="50%" colspan="2">Now Playing:</td>
      <td class="thead" width="50%" colspan="2">Other Information:</td>
</tr>
<tr>
	<td class="panelsurround" align="center" colspan="2">
	<div class="panel">
		<div align="center">
			<fieldset class="fieldset"><legend>$media[title] by $media[author]</legend>
				<if condition="$media[type]=='adobe_flash'">
					<!-- Abode Flash -->
					<object data="$media[url]" type="$media[mime]" width="$media[width]" height="$media[height]" class="player_mozilla">
		 			 <param name="play" value="$media[autoplay]" />
		  		 <param name="wmode" value="opaque" />
		  		 <param name="quality" value="high" />
					</object>
					<!--[if IE]>
					<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="$media[width]" height="$media[height]">
		 				<param name="movie" value="$media[url]" />
		  			<param name="play" value="$media[autoplay]" />
		  			<param name="wmode" value="opaque" />
		  			<param name="quality" value="high" />
					</object>
					<![endif]-->
				</if>
				<if condition="$media[type]=='quick_time'">
				<!-- Quick Time -->
				<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" width="$media[width]" height="$media[height]">
		  		<param name="autoplay" value="$media[autoplay]" />
		  		<param name="src" value="$media[url]" />
				</object>
				</if>
				<if condition="$media[type]=='real_media'">
				<!-- Real Media -->
				<!-- IE or Mozilla -->
				<object classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" width="$media[width]" height="$media[height]">
		  		<param name="src" value="$media[url]" />
		  		<param name="controls" value="Imagewindow" />
		  		<param name="console" value="clip$media[mediaid]" />
		 		 <param name="autostart" value="$media[autoplay]" />
		  		<embed src="$media[url]" type="$media[mime]" autostart="$media[autoplay]" console="clip$media[mediaid]" width="$media[width]" height="$media[height]" controls="Imagewindow"></embed><br /> 
				</object>
				<object classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" width="$media[width]" height="42">
		  		<param name="src" value="$media[url]" />
		  		<param name="controls" value="ControlPanel" />
		  		<param name="console" value="clip$media[mediaid]" />
		 		  <param name="autostart" value="$media[autoplay]" />
		  		<embed src="$media[url]" type="$media[mime]" autostart="$media[autoplay]" console="clip$media[mediaid]" width="$media[width]" height="42" controls="ControlPanel"></embed> 
				</object>
				</if>
				<if condition="$media[type]=='windows_media'">
				<!-- Windows Media -->
					<object classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" width="$media[width]" height="$media[height]">
		  			<param name="autoplay" value="$media[autoplay]" />
		  			<param name="filename" value="$media[url]" />
					</object>
				</if>
                      <div class="smallfont"><a href="jukebox.php?$session[sessionurl]do=view&amp;type=media&amp;mid=$media[mediaid]&amp;full=1">View in Full Version/Popup</a></div>
			</fieldset>
			</div>
		</div>
		</td>
	<td class="panelsurround" align="center" colspan="2">
	<div class="panel" style="height:100%; display:block;">
		<div align="$stylevar[left]">
		   <fieldset class="fieldset"><legend>Description:</legend>	
                   $media[description]
               </fieldset>
		</div>
	</div>
	</td>
</tr>
</table>
<br />

<div align="center" class="smallfont">
    <a href="jukebox.php?$session[sessionurl]do=view&amp;type=media&amp;mid=$prem">? Previous Item</a>&nbsp;|&nbsp;<a href="jukebox.php?$session[sessionurl]do=view&amp;type=media&amp;mid=$nextm">Next Item ?</a>
</div>

<br />

<if condition="$can['comment']">
<div style="padding-bottom:2px">
   <a href="jukebox.php?$session[sessionurl_q]do=add&amp;type=comment&amp;mid=$media[mediaid]" rel="nofollow"><img src="$stylevar[imgdir_button]/addcomment.gif" border="0" alt="Add Comment" /></a>
</div>
</if>

<table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" border="0" width="100%">
<thead>  
     <tr>
          <td class="tcat" colspan="2">Comments on $media[title]</td>
     </tr>
</thead>
<tbody>
     $commentbits
</tbody>
</table>


<if condition="$can['comment']">
<div style="padding-top:2px">
   <a href="jukebox.php?$session[sessionurl_q]do=add&amp;type=comment&amp;mid=$media[mediaid]" rel="nofollow"><img src="$stylevar[imgdir_button]/addcomment.gif" border="0" alt="Add Comment" /></a>
</div>
</if>

<br />

<if condition="$can['comment']">
$vBeditTemplate[clientscript]
<div id="posts" style="display: none"></div>

<form action="jukebox.php" method="post" name="vbform" onsubmit="return qr_prepare_submit(this, $vboptions[postminchars]);" id="qrform">

<input type="hidden" id="qr_postid" name="postid" value="1" />
<input type="hidden" name="preview" value="" />
<input type="hidden" name="do" value="insert" />
<input type="hidden" name="type" value="comment" />
<input type="hidden" name="mid" value="$media[mediaid]" />

<table class="tborder" align="center" cellspacing="$stylevar[cellspacing]" cellpadding="$stylevar[cellpadding]" border="0" width="100%">
    <thead><tr>
               <td class="tcat" colspan="2"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('quickreply');"><img id="collapseimg_quickreply" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_quickreply].gif" alt="" border="0" /></a>Add a Comment (Quick Reply)</td>
    </tr></thead>
   <tbody id="collapseobj_quickreply" style="$vbcollapse[collapseobj_quickreply]">
<tr>
	<td class="panelsurround" align="center">
		<div class="panel">	
			<table cellpadding="0" cellspacing="0" border="0" align="center">
			<tr>
				<td class="smallfont" align="$stylevar[left]">$vbphrase[message]:</td>
			</tr>
			<tr>
				<td id="$editorid" class="vBulletin_editor" align="$stylevar[left]">$messagearea</td>
			</tr>
			</table>
		</div>	
<div style="margin-top:$stylevar[cellpadding]px">
<input type="submit" class="button" value="Submit Reply" accesskey="s" title="(Alt + S)" name="sbutton" tabindex="2" id="qr_submit" onclick="clickedelm = this.value" />
</div>
</tr>
</td>
</tbody>
</table>
</form>
</if>
<br />

<!-- Popup Menus -->
<div class="vbmenu_popup" id="mediarate_menu" style="display:none">
<form action="jukebox.php?do=ratemedia" method="post">
<if condition="$show['voteform']">
<table cellpadding="4" cellspacing="1" border="0">
	<tr>
		<td class="thead">Rate $media[title]</td>
	</tr>
<tr>
		<td class="vbmenu_option" title="nohilite">
		<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_5.gif" alt="$vbphrase[excellent]" /><label for="5"><input type="radio" name="rating" id="vote5" value="5" $votechecked[5] />$vbphrase[excellent]</label></div>
		<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_4.gif" alt="$vbphrase[good]" /><label for="4"><input type="radio" name="rating" id="vote4" value="4" $votechecked[4] />$vbphrase[good]</label></div>
		<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_3.gif" alt="$vbphrase[average]" /><label for="3"><input type="radio" name="rating" id="vote3" value="3" $votechecked[3] />$vbphrase[average]</label></div>
		<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_2.gif" alt="$vbphrase[bad]" /><label for="2"><input type="radio" name="rating" id="2" value="vote2" $votechecked[2] />$vbphrase[bad]</label></div>
		<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_1.gif" alt="$vbphrase[terrible]" /><label for="1"><input type="radio" name="rating" id="vote1" value="1" $votechecked[1] />$vbphrase[terrible]</label></div>
		</td>
	</tr>
        <tr>
		<td class="vbmenu_option" title="nohilite" align="center">
			<input type="hidden" name="s" value="$session[dbsessionhash]" />
			<input type="submit" class="button" value="$vbphrase[vote_now]" />
                        <input type="hidden" name="mid" value="$media[mediaid]" />
		</td>
	</tr>
</table>
</form>
<else />
<table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0">
<tr>
		<td class="vbmenu_option" title="nohilite">
                     You have already voted or cannot vote on this item
                </td>
</tr>
</table>
</if>
</div>
<!-- / Popup Menus -->

$footer

</body>
</html>
Reply With Quote
  #433  
Old 07-28-2006, 01:04 PM
Guest210212002
Guest
 
Posts: n/a
Default

Just want to add again, this hack really, really needs a definable limit on # of files uploaded per Usergroup.

Right now if I allow regular members to upload, there's nothing stopping someone from registering to my site and chain-uploading 100 gigs of files 10MB at a time.
Reply With Quote
  #434  
Old 07-28-2006, 01:59 PM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nope, still ain't working Chris. I really don't know what's going on in here.
Reply With Quote
  #435  
Old 07-29-2006, 01:37 PM
Guest210212002
Guest
 
Posts: n/a
Default

Hrm. Do a view source on your page - something is still killing all of the line breaks and whitespaces. Here's a snippet of the code:

Code:
ass="normal"> testest by tsetstset</span></td> <td id="mediarate" class="vbmenu_control" nowrap="nowrap"><a href="#mediarate">Rate This Song/Video</a> <script type="text/javascript"> vbmenu_register("mediarate"); </script></td> </tr> </table> <table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center"> <tr> <td class="thead" width="50%" colspan="2">Now Playing:</td> <td class="thead" width="50%" colspan="2">Other Information:</td> </tr> <tr> <td class="panelsurround" align="center" colspan="2"> <div class="panel"> <div align="center"> <fieldset class="fieldset"><legend>testest by tsetstset</legend>  <object data="http://www.finalfantasyforums.net/players/mp3player.swf?file=http%3A%2F%2Fwww.finalfantasyforums.net%2Fmedia%2F1-wwe+-+undertaker+bells+and+thunder.mp3&amp;autoPlay=true" type="application/x-shockwave-flash" width="220" height="20" class="player_mozilla"> <param name="play" value="true" /> <param name="wmode" value="opaque" /> <param name="quality" value="high" /> </object> <!--[if IE]> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="220" height="20"> <param name="movie" value="http://www.finalfantasyforums.net/players/mp3player.swf?file=http%
Note how it's all one big line, no breaks. It looks like your CSS renders properly, but as soon as the actual page code is parsed something goes nuts. Do you have any header mods installed? And have you tried it on the default/unedited skin?
Reply With Quote
  #436  
Old 07-29-2006, 05:30 PM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well I got the welcome headers hack but I don't think that's the problem which is causing here. And yes I have tried on the default vB skin, still same result.
Reply With Quote
  #437  
Old 07-29-2006, 08:56 PM
LadyHoney LadyHoney is offline
 
Join Date: Jul 2006
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ReadOrDie
I can't wait till people start complaining that their site has been shut down. All I'll say is "I told you so!"
Ive been reading thru this for a long time today.. My head hurts trying to find MY problem so i can try to fix it without bugging the coders... I expect each person that has a problem tries to research it themselves before posting.. but enuff is enuff. ... this person continually complained time after time after time after. . ( u get the pic) about getting the jukebox going.. and updates and whatever else... theeeeen... complains about being shut down if he uses it... HELLLLO its a JUKEBOX.. that means MUSIC.. what the heck else did u expect it to do... i strongly suggest since you have so many issues regarding this product that u simply take it off ur forums... and let those of us that want it ihave that much less bs to plow thru to get legitimate questions and concerns answered... ok im done ... im back to researching how to fix the problems on my site.. thanks for all the helpful threads.. from the rest of you


I have personally tried everything here.. with no success.. as an amateur I throw in the towel and sadly un install.. this was a favorite hackon our 3.09 board.. but i cant make it work on 3.5.4 ill be checking back tho to see if it makes more progress.
Reply With Quote
  #438  
Old 07-30-2006, 02:16 PM
Guest210212002
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by ReadOrDie
I can't wait till people start complaining that their site has been shut down. All I'll say is "I told you so!"
This is exactly why I'm waiting patiently with my fingers crossed for Cole to at least post in this thread about usergroup permissions. If you have members you trust, you can install this hack. Blindly leaving it wide open to standard users however is a bad move.
Reply With Quote
  #439  
Old 08-04-2006, 04:03 PM
Harley-Heaven Harley-Heaven is offline
 
Join Date: Jun 2006
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As a newbie I had a request from a number of my members for an MP3 Jukebox, I loaded this up with the amended code changes and the system works fine... i can upload MP3's, I can see the MP3's .... I just can't play the MP3's...... there is no MP3 Player present.

Does anyone know what code is needed to install a Flash MP3 Player and where I need to add it????

Thanks
Reply With Quote
  #440  
Old 08-05-2006, 03:01 PM
Guest210212002
Guest
 
Posts: n/a
Default

The flash player is just an option in the ACP options for vJukebox.

ACP -> Jukebox -> Flash MP3 Player
Reply With Quote
  #441  
Old 08-06-2006, 02:37 AM
TheBlackPoet's Avatar
TheBlackPoet TheBlackPoet is offline
 
Join Date: May 2006
Location: Pasadena, Texas, USA
Posts: 577
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Harley-Heaven
As a newbie I had a request from a number of my members for an MP3 Jukebox, I loaded this up with the amended code changes and the system works fine... i can upload MP3's, I can see the MP3's .... I just can't play the MP3's...... there is no MP3 Player present.

Does anyone know what code is needed to install a Flash MP3 Player and where I need to add it????

Thanks
unless you JUST WANT FLASH PLAYER..... the jukebox works fine.. without it...

there are some bugs in it though.. minor.... still i like it
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 01:05 AM.


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.15669 seconds
  • Memory Usage 2,337KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (6)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