vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   [ Audio / Visual ] - VB Mega Jukebox - Now with permissions to save bandwith (https://vborg.vbsupport.ru/showthread.php?t=74170)

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
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>


trafix 01-21-2005 05:15 AM

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

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 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.

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 :)


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!


trafix 01-21-2005 09:09 AM

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 :)

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.

Quote:

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



All times are GMT. The time now is 02:06 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.01845 seconds
  • Memory Usage 1,777KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_html_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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