vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   vJukebox - Song and Video Management System (https://vborg.vbsupport.ru/showthread.php?t=102555)

Guest210212002 07-27-2006 11:27 PM

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>


Guest210212002 07-28-2006 01:04 PM

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.

Snake 07-28-2006 01:59 PM

Nope, still ain't working Chris. I really don't know what's going on in here.

Guest210212002 07-29-2006 01:37 PM

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?

Snake 07-29-2006 05:30 PM

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.

LadyHoney 07-29-2006 08:56 PM

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.

Guest210212002 07-30-2006 02:16 PM

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.

Harley-Heaven 08-04-2006 04:03 PM

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

Guest210212002 08-05-2006 03:01 PM

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

ACP -> Jukebox -> Flash MP3 Player

TheBlackPoet 08-06-2006 02:37 AM

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


All times are GMT. The time now is 02:31 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01683 seconds
  • Memory Usage 1,822KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete