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

Reply
 
Thread Tools
The XEON Mp3 Player for vBulletin 3.6.X Integrated Details »»
The XEON Mp3 Player for vBulletin 3.6.X Integrated
Version: 4.0.1, by syrus.xl syrus.xl is offline
Developer Last Online: Apr 2016 Show Printable Version Email this Page

Category: Major Additions - Version: 3.6.11 Rating:
Released: 10-21-2006 Last Update: 09-20-2008 Installs: 335
DB Changes Uses Plugins Template Edits
Re-useable Code Additional Files Translations  
No support by the author.

The XEON Mp3 Player for vBulletin 3.6.X






Design: Syrus XL Media 2003-2007
Coding Update: vBmotion.com

Demo: www.digitalport.co.uk (Click Entertainment>XEON Mp3 Player)

Important: Supported only on Digital Port UK

Update Rev: 4.0.1 - Navbar code updated to work with vBadvanced CMPS outside the forum directory.
Updated Rev: 4.0.0 - All known bugs fixed in AdminCP, these include the Approve Mp3 issue and the Edit Mp3 problem.
Added: 21/04/07 - XEON Player in vB Custom Page Instructions.zip
Demo: http://www.digitalport.co.uk/digital...&template=Xeon

Version: 3.6.0 coding (Major UPDATE) *see below
Version: 3.5.1 coding (Product XML file updated)
Version: 3.0 XEON Player (Shuffle disabled) *Player Only Package* added.

Fully compatible and tested on vBulletin 3.6.0, 3.7 and up.

No example tracks are included in this version.

*IMPORTANT: About version 3.6!!*

If you have installed this modification prior to the latest version 3.6, it is recommended that you update to the latest version 3.6 immediately. Older versions contain a Security Hole in the admin section. All database errors have been fixed, special thanks to Code Monkey.

[high]External Data Pull[/high]
This modification is designed to pull data from internal and external servers. Check that you enter full urls to pull external data or the modification will fail to read.

[high]Features:[/high]
  • Can hold upto 500 mp3 tracks (5 playlists with 100 tracks in each)
  • Automatically cuts off access to playlists if 100 tracks are reached
  • All track data held in database
  • Volume & Pan(balance) Controls
  • Add mp3's through AdminCP or via Popup
  • PM system notifcation of new tracks submitted
  • Edit/Delete/Approve/Deny tracks via AdminCP
  • Usergroup Permissions for adding tracks and viewing of player
  • Multi-functional display on mp3 player
  • WOL Enabled - see who's using the mp3 player
  • Stream and Buffer parameters per track
  • Track pre-loading on display
This version is not compatible with the XML driven vbMp3 Player I released awhile ago (you may uninstall or leave in, as this version uses renamed files). The player, and all code have been changed, and now fully utilizes the vBulletin AdminCP for settings, mp3 playlist management, usergroup permissions.

[high]Known Issues:[/high]
None

UPDATING:
Overwrite all files with the new package XEON Mp3 Player v4.0.0
Import the Product XML file using the vBulletin Product Manager. Go to Mp3 Player Management and update settings and Save.

Template edit:
(required on new install or upgrade, unless you have installed other products from us.).
In the headinclude template -
Find:
Code:
<script type="text/javascript" src="clientscript/vbulletin_global.js?v=$vboptions[simpleversion]"></script>

Above add:

Code:
<script type="text/javascript" src="clientscript/flashobject.js"></script>
If this line of code already exists then DO NOT ADD IT!

End of Update


MAIN INSTALLATION

Installation:
Upload the contents of the ?Upload folder? to your forum root. Import the ?product-mp3player.xml? file via ?Plugins & Products? ? Manage Products ? Import Product in your AdminCP. Press F5 or refresh your browser window to view the Mp3 Player Management menu. Once you install this version make sure you Update the MP3 Management settings and click SAVE, failure to do so will result in an error if you enable the custom PM notification system.

Template Edits:
These edits are based on the default vBulletin style, you may need to change if you have a custom style.


AdminCP -> Styles & Templates -> Navigation / Breadcrumb Templates -> navbar

Find:
Code:
<td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
After add:
Code:
<!-- Mp3 Player Launch -->
<if condition="$show['member']">
<td class="vbmenu_control"><a href="javascript:NewWindow=window.open('$vboptions[bburl]/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 -->
Now, navigate to AdminCP -> Usergroups -> Usergroup Manager ? adjust usergroups permissions as required. Default is all usergroups have no access.

You now have the vbMp3 XEON player installed!

[high]Update notifications can only be sent out if you have clicked 'INSTALL'.[/high]

More players will available shortly.

Enjoy!

Show Your Support

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

Comments
  #242  
Old 11-12-2006, 10:13 PM
syrus.xl's Avatar
syrus.xl syrus.xl is offline
 
Join Date: Jun 2005
Location: In a cyber world...
Posts: 999
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hackindave View Post
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!
Reply With Quote
  #243  
Old 11-12-2006, 10:54 PM
desiforums desiforums is offline
 
Join Date: Mar 2006
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this is cool... Thanks.
**INSTALLED**
Reply With Quote
  #244  
Old 11-12-2006, 10:57 PM
syrus.xl's Avatar
syrus.xl syrus.xl is offline
 
Join Date: Jun 2005
Location: In a cyber world...
Posts: 999
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by desiforums View Post
this is cool... Thanks.
**INSTALLED**
You're welcome! I'm releasing another modification tomorrow!
Reply With Quote
  #245  
Old 11-13-2006, 05:58 PM
pds pds is offline
 
Join Date: Apr 2003
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cuphongle View Post
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.
Reply With Quote
  #246  
Old 11-14-2006, 02:18 AM
threat threat is offline
 
Join Date: Jul 2005
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #247  
Old 11-14-2006, 06:47 AM
syrus.xl's Avatar
syrus.xl syrus.xl is offline
 
Join Date: Jun 2005
Location: In a cyber world...
Posts: 999
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by threat View Post
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.
Reply With Quote
  #248  
Old 11-14-2006, 11:56 PM
Stavs16 Stavs16 is offline
 
Join Date: Nov 2006
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 = "progidXImageTransform.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??
Reply With Quote
  #249  
Old 11-15-2006, 12:25 AM
syrus.xl's Avatar
syrus.xl syrus.xl is offline
 
Join Date: Jun 2005
Location: In a cyber world...
Posts: 999
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Stavs16 View Post
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.
Reply With Quote
  #250  
Old 11-15-2006, 03:07 AM
Stavs16 Stavs16 is offline
 
Join Date: Nov 2006
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #251  
Old 11-15-2006, 04:21 AM
micheal332001 micheal332001 is offline
 
Join Date: Apr 2004
Posts: 1,112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Stavs16 View Post
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
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 12:28 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.13203 seconds
  • Memory Usage 2,394KB
  • 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
  • (4)bbcode_code
  • (3)bbcode_php
  • (7)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
  • (3)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