vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - The XEON Mp3 Player for vBulletin 3.6.X Integrated (https://vborg.vbsupport.ru/showthread.php?t=129641)

syrus.xl 11-12-2006 10:13 PM

Quote:

Originally Posted by hackindave (Post 1115209)
syrus.xl,
Sorry for posting that it wasn't working on my site. I made a dumb mistake. I had it turned off in that Admin center. Working fine for me...

Thanks for such a cool item

Ok, PM's deleted for security. You're welcome!;)

desiforums 11-12-2006 10:54 PM

this is cool... Thanks.
**INSTALLED**

syrus.xl 11-12-2006 10:57 PM

Quote:

Originally Posted by desiforums (Post 1115788)
this is cool... Thanks.
**INSTALLED**

You're welcome! I'm releasing another modification tomorrow! :D

pds 11-13-2006 05:58 PM

Quote:

Originally Posted by cuphongle (Post 1107487)
kool, and it be nice to be able to change the name of playlist to whatever we want

Agreed, looking forward to that as well. Otherwise nice mod...I'll have to run it on the dev server for awhile as I have some concerns about server load on a pretty large forum.

Hope to heck it pans out as my members would like this hack.

threat 11-14-2006 02:18 AM

I have 3.6.3 and its now working on mine...the player shows but the song does not and I get this error when I try to edit the mp3 and approve the mp3, then I hit update and get this error. Maybe its not ready for 3.6.3 yet. I will wait patiently. :)

Quote:

Database error in vBulletin 3.6.3:

Invalid SQL:
update mp3playlist set

id='2',

url_product='http://coruffryders.com/music/noway.mp3',

url_product_stream='true',

url_product_buffer='0',

mp3name='DMX - Ain't No Way',

approvemp3='1'

where id='2';

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 't No Way',

approvemp3='1'

where id='2'' at line 11
Error Number : 1064
Date : Monday, November 13th 2006 @ 11:17:41 PM
Script : http://coruffryders.com/home/admincp...edit_playlist1
Referrer : http://coruffryders.com/home/admincp...playlist1&id=2
IP Address :
Username :
Classname : vb_database

UPDATE,,,,Now it works...I just reloaded files and uploaded product again

syrus.xl 11-14-2006 06:47 AM

Quote:

Originally Posted by threat (Post 1116806)
I have 3.6.3 and its now working on mine...the player shows but the song does not and I get this error when I try to edit the mp3 and approve the mp3, then I hit update and get this error. Maybe its not ready for 3.6.3 yet. I will wait patiently. :)




UPDATE,,,,Now it works...I just reloaded files and uploaded product again

This is an issue due to any mp3 track title having either a single or double quote in the title. An update will soon be available which fixes this problem.

Stavs16 11-14-2006 11:56 PM

this is what my navbar looks like for my custom template:

<script type="text/javascript">
<!--
function log_out()
{
ht = document.getElementsByTagName("html");
ht[0].style.filter = "progid:DXImageTransform.Microsoft.BasicImage(gray scale=1)";
if (confirm('$vbphrase[sure_you_want_to_log_out]'))
{
return true;
}
else
{
ht[0].style.filter = "";
return false;
}
}
//-->
</script>

<br />

<!-- breadcrumb, login, pm info -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt1" width="100%">
<if condition="is_array($navbits)">
<table cellpadding="0" cellspacing="0" border="0">
<tr valign="bottom">
<td><a href="#" onclick="history.back(1); return false;"><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt="$vbphrase[go_back]" border="0" /></a></td>
<td>&nbsp;</td>
<td width="100%"><span class="navbar"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1">$vboptions[bbtitle]</a></span> $navbits[breadcrumb]</td>
</tr>
<tr>
<td class="navbar" style="font-size:10pt; padding-top:1px" colspan="3"><if condition="$_SERVER['REQUEST_METHOD'] == 'POST'"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt="" border="0" /><else /><a href="$scriptpath"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt="$vbphrase[reload_this_page]" border="0" /></a></if> <strong>$navbits[lastelement]</strong></td>
</tr>
</table>
<else />
<div class="navbar" style="font-size:10pt"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <strong>$vboptions[bbtitle]</strong></div>
</if>
</td>

<if condition="$show['member']">

<td class="alt2" valign="top" nowrap="nowrap">
<div class="smallfont">
<strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br />
<phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>
<if condition="$show['pmstats']"><br /><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></if>
<if condition="$show['pmwarning']"><br /><strong><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></strong></if>
</div>
</td>

<else />

<td class="alt2" nowrap="nowrap" style="padding:0px">

<!-- login form -->
<form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
<script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<tr>
<td class="smallfont"><label for="navbar_username">$vbphrase[username]</label></td>
<td><input type="text" class="bginput" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" /></td>
<td class="smallfont" colspan="2" nowrap="nowrap"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" />$vbphrase[remember_me]</label></td>
</tr>
<tr>
<td class="smallfont"><label for="navbar_password">$vbphrase[password]</label></td>
<td><input type="password" class="bginput" style="font-size: 11px" name="vb_login_password" id="navbar_password" size="10" tabindex="102" /></td>
<td><input type="submit" class="button" value="$vbphrase[log_in]" tabindex="104" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" /></td>
</tr>
</table>
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="login" />
<input type="hidden" name="vb_login_md5password" />
<input type="hidden" name="vb_login_md5password_utf" />
</form>
<!-- / login form -->

</td>

</if>

</tr>
</table>
<!-- / breadcrumb, login, pm info -->

<br/>
<if condition="THIS_SCRIPT == 'index'">
<script type="text/javascript"><!--
google_ad_client = "pub-4071418295268632";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel = "";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</if>

<br />

where would i add:
<!?Mp3 Player Launch -->
<if condition="$show['member']">
<td class="vbmenu_control"><a href="javascript:NewWindow=window.open('mp3playeri ndex.php?do=viewmp3playerpopup','newWin','width=50 0,height=500,left=0,top=0, toolbar=No,location=No,scrollbars=1,status=No,resi zable=No,fullscreen=No');
NewWindow.focus(); void(0);">vbMp3 Player</a></td>
</if>
<!?End Mp3 Player Launch -->


ANYONE??

syrus.xl 11-15-2006 12:25 AM

Quote:

Originally Posted by Stavs16 (Post 1117564)
this is what my navbar looks like for my custom template:

where would i add:
<!?Mp3 Player Launch -->
<if condition="$show['member']">
<td class="vbmenu_control"><a href="javascript:NewWindow=window.open('mp3playeri ndex.php?do=viewmp3playerpopup','newWin','width=50 0,height=500,left=0,top=0, toolbar=No,location=No,scrollbars=1,status=No,resi zable=No,fullscreen=No');
NewWindow.focus(); void(0);">vbMp3 Player</a></td>
</if>
<!?End Mp3 Player Launch -->


ANYONE??

Hi Stavs16,

Because you are using a custom style - the navbar link would not go in your navbar template. It is more than likely to be in your header template. You need to find where your Calendar 'call' code is situated.

If you can give me the name of the style I maybe able to tell you where the code is.
:)

Stavs16 11-15-2006 03:07 AM

sure no problem thanks, the name of my style is called visual depth. You can download it from minerskinz.com, it is situated in the 3.6 styles and templates

micheal332001 11-15-2006 04:21 AM

Quote:

Originally Posted by Stavs16 (Post 1117663)
sure no problem thanks, the name of my style is called visual depth. You can download it from minerskinz.com, it is situated in the 3.6 styles and templates


Hi there

Syrus is right if you are using a style other than vbulletins you would find the navbar links in the template called header

And would like some thing like this

PHP Code:

<center>
<
table width="100%" border="0" cellspacing="0" cellpadding="0">
  <
tr>
    <
td width="48" valign="top" background="$stylevar[imgdir_misc]/border_left_bg.gif"><img src="$stylevar[imgdir_misc]/border_left.gif" width="48" height="251"></td>
    <
td>
 
<
table width="100%" border="0" cellspacing="0" cellpadding="0">
  <
tr>
    <
td bgcolor="#000000"><div align="left"><img src="$stylevar[imgdir_misc]/header_banner.jpg" width="707" height="175"></div></td>
  </
tr>
</
table>
<
table width="100%" border="0" cellspacing="0" cellpadding="0">
  <
tr>
    <
td background="$stylevar[imgdir_misc]/header_banner_under_bg.gif"><div align="left"><img src="$stylevar[imgdir_misc]/header_banner_under.jpg" width="676" height="44"></div></td>
  </
tr>
</
table>
<
table width="100%" border="0" cellpadding="0" cellspacing="0" background="$stylevar[imgdir_misc]/links_bg.gif">
  <
tr>
    <
td width="151"><img src="$stylevar[imgdir_misc]/links_left.gif" width="151" height="39"></td>
    <
td><div align="center"><a href="index.php"><img src="$stylevar[imgdir_misc]/links_home.gif" width="55" height="39" border="0"></a></div></td>
    <
td><div align="center"><a href="usercp.php"><img src="$stylevar[imgdir_misc]/links_usercp.gif" width="75" height="39" border="0"></a></div></td>
    <
td><div align="center"><a href="register.php"><img src="$stylevar[imgdir_misc]/links_register.gif" width="88" height="39" border="0"></a></div></td>
    <
td><div align="center"><a href="calendar.php"><img src="$stylevar[imgdir_misc]/links_calendar.gif" width="92" height="39" border="0"></a></div></td>
    <
td><div align="center"><a href="search.php"><img src="$stylevar[imgdir_misc]/links_search.gif" width="80" height="39" border="0"></a></div></td>
    <
td width="151"><img src="$stylevar[imgdir_misc]/links_right.gif" width="151" height="39"></td>
  </
tr>
</
table>
<
table width="100%" border="0" cellspacing="0" cellpadding="0">
  <
tr>
    <
td height="24" background="$stylevar[imgdir_misc]/links_under.gif">&nbsp;</td>
  </
tr>
</
table>
 
 

<!-- 
content table -->
$spacer_open
$_phpinclude_output 

then you would find
PHP Code:

<td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td

then add after
PHP Code:

<!?Mp3 Player Launch -->
<if 
condition="$show['member']">
<
td class="vbmenu_control"><a href="javascript:NewWindow=window.open('mp3playerindex.php?do=viewmp3playerpopup','newWin','width=500,height=500,left=0,top=0, toolbar=No,location=No,scrollbars=1,status=No,resizable=No,fullscreen=No');
NewWindow.focus(); void(0);"
>vbMp3 Player</a></td>
</if>
<!?
End Mp3 Player Launch --> 

hope this helps you


All times are GMT. The time now is 08:53 AM.

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.02080 seconds
  • Memory Usage 1,833KB
  • 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
  • (3)bbcode_php_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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