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 10-21-2006 10:00 PM

The XEON Mp3 Player for vBulletin 3.6.X Integrated
 
The XEON Mp3 Player for vBulletin 3.6.X




http://www.digitalport.co.uk/images/xeonplayer_beta.jpg

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!

syrus.xl 10-21-2006 10:01 PM

Updated: 16/04/07

Reserved...

wizardan 10-21-2006 10:10 PM

First download.
***Absolutely installed***:)

Forumi Shqiptar 10-21-2006 10:17 PM

Nice one thanks :)

Will install it tomorrow definetly :)

Draygonia 10-21-2006 10:22 PM

Installing ATM! I installed your other xeon, sadly I guess I have to reconfigure this playlist thing? Darn...

AMG021 10-21-2006 10:30 PM

Niceeeee

Draygonia 10-21-2006 10:30 PM

I got a question, my templates are different due to the fact that I have a custom template... how would I configure this so it displays the mp3 player as a popup? This is in my header:

<td width="70" height="22" align="left" valign="top"><a href="xeon.htm?s=$session[sessionhash]"><img src="$stylevar[imgdir_misc]/tren_z_header_vbplayer.gif" width="70" height="22" alt="" border="0" /></a></td>

Its tren_z style, half of the stuff in the navbar and half in the header and I dont know how to code it :(

syrus.xl 10-21-2006 10:30 PM

Quote:

Originally Posted by Draygonia
Installing ATM! I installed your other xeon, sadly I guess I have to reconfigure this playlist thing? Darn...

Yes, it will take time to convert the XML version urls into this version, however this version is more secure and no XML files exist. The player is populated using just a single PHP file, that cannot be read directly from a browser.:)

All playlists will hold 100 tracks, after which point the system will stop anymore adding of tracks. Just a fail-safe really.

Shazz 10-21-2006 10:34 PM

Should be named " The next generation " :)

syrus.xl 10-21-2006 10:43 PM

Quote:

Originally Posted by Draygonia
I got a question, my templates are different due to the fact that I have a custom template... how would I configure this so it displays the mp3 player as a popup? This is in my header:

<td width="70" height="22" align="left" valign="top"><a href="xeon.htm?s=$session[sessionhash]"><img src="$stylevar[imgdir_misc]/tren_z_header_vbplayer.gif" width="70" height="22" alt="" border="0" /></a></td>

Its tren_z style, half of the stuff in the navbar and half in the header and I dont know how to code it :(

Hi Dragonia,

Try this, I haven't tested it - but it should work.;)

Code:

<!?Mp3 Player Launch -->
<td width="70" height="22" align="left" valign="top">
<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);"><img src="$stylevar[imgdir_misc]/tren_z_header_vbplayer.gif" width="70" height="22" alt="" border="0" /></td>
</if>
</td>
<!?End Mp3 Player Launch -->


Greek76 10-21-2006 10:52 PM

Is this the actuall player? I thought the new was suppose to be a paid mod? Thanks..

syrus.xl 10-21-2006 10:57 PM

Quote:

Originally Posted by Greek76
Is this the actuall player? I thought the new was suppose to be a paid mod? Thanks..

No, this a free version and fully supported by my co-author and myself. There will be a commercial premium version, but this is along way off, and in very early development. ;)

Greek76 10-21-2006 10:58 PM

Quote:

Originally Posted by syrus.xl
No, this a free version and fully supported by my co-author and myself. There will be a commercial premium version, but this is along way off, and in very early development. ;)

Oh alright just curious thanks will install.

Gripemaster 10-21-2006 10:59 PM

Hi Syrus... thanks for all your hard work.

My question is about adding MP3 URL's... my music is in 4 folders on my server... does it require the FULL URL (with http://) or will it accept "/forum/music/playlist1.mp3"?

I have nearly 300 songs to add..LOL :)

syrus.xl 10-21-2006 11:03 PM

Quote:

Originally Posted by Gripemaster
Hi Syrus... thanks for all your hard work.

My question is about adding MP3 URL's... my music is in 4 folders on my server... does it require the FULL URL (with http://) or will it accept "/forum/music/playlist1.mp3"?

I have nearly 300 songs to add..LOL :)

It may work with a relative url, thats one thing I have not tried yet. Flash can be 'funny' with some relative urls, but it does work on occassions depending on the location of the main flash file. Worth a try though, if thats how you have them entered in the old XML files.

300..wow! Alot of work, to do manually!:ermm:

Gripemaster 10-21-2006 11:23 PM

Quote:

Originally Posted by syrus.xl
It may work with a relative url, thats one thing I have not tried yet. Flash can be 'funny' with some relative urls, but it does work on occassions depending on the location of the main flash file. Worth a try though, if thats how you have them entered in the old XML files.

300..wow! Alot of work, to do manually!:ermm:

It uses the full URL with http://

And yes, lots of work to do. I'm just leaving the old one intact until I have time to do the adds in the AdminCP. It's all good. :squareeyed:

Gripemaster 10-21-2006 11:29 PM

I don't suppose there's a "mass add mp3's" option hiding anywhere? LOL

No worries... it'll be well worth the time. :)

DementedMindz 10-21-2006 11:33 PM

is there anyway we could stream a radio station from it?

Draygonia 10-21-2006 11:33 PM

Quote:

Originally Posted by syrus.xl
Hi Dragonia,

Try this, I haven't tested it - but it should work.;)

Code:

<!—Mp3 Player Launch -->
<td width="70" height="22" align="left" valign="top">
<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);"><img src="$stylevar[imgdir_misc]/tren_z_header_vbplayer.gif" width="70" height="22" alt="" border="0" /></td>
</if>
</td>
<!—End Mp3 Player Launch -->


Thanks, but the image seems to drop out of place... www.chasm-online.com. Perhaps that is normal? Thanks for the great support!

It doesnt seem to care to work on my portal vbacmps:

Code:

Warning: main(./global.php) [function.main]: failed to open stream: No such file or directory in /home/chasmonl/public_html/mp3playerindex.php on line 33

Fatal error: main() [function.require]: Failed opening required './global.php' (include_path='.:/usr/local/lib/php:/usr/lib/php') in /home/chasmonl/public_html/mp3playerindex.php on line 33

Thats the error I get :( I believe my paths are right

EDIT Again: The window comes up blank, it doesnt appear to load anything.

emtee 10-21-2006 11:49 PM

Really nice! If you can have mass mp3s adding it would be a killer mod!
Thanks and click install!

syrus.xl 10-22-2006 12:04 AM

Quote:

Originally Posted by Draygonia
Thanks, but the image seems to drop out of place... www.chasm-online.com. Perhaps that is normal? Thanks for the great support!

It doesnt seem to care to work on my portal vbacmps:

Code:

Warning: main(./global.php) [function.main]: failed to open stream: No such file or directory in /home/chasmonl/public_html/mp3playerindex.php on line 33

Fatal error: main() [function.require]: Failed opening required './global.php' (include_path='.:/usr/local/lib/php:/usr/lib/php') in /home/chasmonl/public_html/mp3playerindex.php on line 33

Thats the error I get :( I believe my paths are right

EDIT Again: The window comes up blank, it doesnt appear to load anything.

Hi,

I look into launching the player from an image in the navbar.

As for the player working in the vBa CMPS, it doesn't use a straight forward method. I will post the vBa center module, probably tomorrow as an addon. The 'mp3playerindex.php cannot be accessed directly it requires a 'do' in the url, this will vary depending on the required function.

Here's a demo I used to test it in a vBa CMPS center block.

syrus.xl 10-22-2006 12:10 AM

Quote:

Originally Posted by DementedMindz
is there anyway we could stream a radio station from it?

At the moment, the player is not coded to stream a radio station. This might be an addition we may implement in the Commercial Premium version, which also supports video as well as mp3 streaming. ;)

syrus.xl 10-22-2006 12:12 AM

Quote:

Originally Posted by emtee
Really nice! If you can have mass mp3s adding it would be a killer mod!
Thanks and click install!

This could be done, but this feature is not available in the current modification.

Draygonia 10-22-2006 12:17 AM

Quote:

Originally Posted by syrus.xl
Hi,

I look into launching the player from an image in the navbar.

As for the player working in the vBa CMPS, it doesn't use a straight forward method. I will post the vBa center module, probably tomorrow as an addon. The 'mp3playerindex.php cannot be accessed directly it requires a 'do' in the url, this will vary depending on the required function.

Here's a demo I used to test it in a vBa CMPS center block.

What I mean is it wont work in the header :(

And thanks for help ^.^ Im sure the members wont be angry if they dont have thier music for a day or few.

syrus.xl 10-22-2006 01:02 AM

Quote:

Originally Posted by Draygonia
What I mean is it wont work in the header :(

And thanks for help ^.^ Im sure the members wont be angry if they dont have thier music for a day or few.

Ah right..

The link would need to changeover in vBa CMPS, this is due to your vBa CMPS being installed outside the forum root. The actual 'call' url from the forum root to the popup is 'mp3playerindex.php?do=viewmp3playerpopup'. The popup is using a vBulletin template, which is nothing like the old XML version.

So, what you would need is the navbar code to change from when launched in the forum, to when its launched in the CMPS. I will go into this change-over sequence when I release the vBa CMPS block, there will be a few options available to code it correctly to your forum.

:)

Draygonia 10-22-2006 01:19 AM

Yah, because my extremepixels template is old, not for 3.6.2, its for like 3.0 -.-

Hate it! But I love it...

Anyways, thanks for help, ill wait it out :)

fly 10-22-2006 01:23 AM

as an idea, I'm wanting a user submitted radio station. If I could point this hack at a directory and just let it stream the MP3s in it randomly, that would be awesome. Until then, I think I'll have to setup shoutcast...

teedizz 10-22-2006 02:09 AM

any plans on releasing a smaller version like you initially had with the ipod nano looking one? This one is a bit " bulky ".

G_Man 10-22-2006 02:31 AM

Quote:

Originally Posted by syrus.xl
Ah right..

The link would need to changeover in vBa CMPS, this is due to your vBa CMPS being installed outside the forum root. The actual 'call' url from the forum root to the popup is 'mp3playerindex.php?do=viewmp3playerpopup'. The popup is using a vBulletin template, which is nothing like the old XML version.

So, what you would need is the navbar code to change from when launched in the forum, to when its launched in the CMPS. I will go into this change-over sequence when I release the vBa CMPS block, there will be a few options available to code it correctly to your forum.

:)

If I am understanding this right... I changed the template edit, adding theforum
to the call...

like this...

'/theforum/mp3playerindex.php?do=viewmp3playerpopup'


Works fine from the CMPS page for me. I am using an extremepixels style also, although you'd never recognize it!! LOL

GrendelKhan{TSU 10-22-2006 02:34 AM

can't wait!! (I'm gunna install, as recommended,after the cmps module add-on is released :))

ShadowOne 10-22-2006 03:06 AM

Which One Is Better...This One Or Your Other One... Whats The Major Differences? And I Hear THat MP3 Players On VBulletin Will Crash If Too Many Users Use It At One Time...

Neutral Singh 10-22-2006 03:13 AM

I think the beauty of this great piece of coding is that you dont necessarily have to host the mp3s on your own server... post the url and there you are!!

Intex 10-22-2006 06:08 AM

Very nice syrus.xl. Will this run on 3.5.x?

syrus.xl 10-22-2006 07:55 AM

Quote:

Originally Posted by Intex
Very nice syrus.xl. Will this run on 3.5.x?

I've only tested it on vBulletin 3.6.0 upto 3.6.2 - I don't have any vBulletin 3.5.4 test installs to check if it works.:ermm:

syrus.xl 10-22-2006 08:13 AM

Quote:

Originally Posted by ShadowOne
Which One Is Better...This One Or Your Other One... Whats The Major Differences? And I Hear THat MP3 Players On VBulletin Will Crash If Too Many Users Use It At One Time...

There are major differences between the old XML version and this full vBulletin integration.

Changes since the original vbMp3 Player
  • Fully compatible with the 'vBulletin Product System'
  • Use database population as opposed to XML (more secure)
  • Uses Usergroup permissions (2 options per usergroup)
  • Settings for playlist Mp3 Management
  • Mp3's can now be moderated via AdminCP
  • Add/Delete Mp3's in the AdminCP
  • Approve/Deny new Mp3's (uploaded via members)
  • Enable/Disable PM system (used for informing you of new Mp3's added)
  • 100 track 'forced' per playlist (preventing an unstable issue)

As for mp3 players crashing vBulletin, I've never heard of it...:confused: I can't see how this would happen.

syrus.xl 10-22-2006 08:21 AM

Quote:

Originally Posted by flypaper
as an idea, I'm wanting a user submitted radio station. If I could point this hack at a directory and just let it stream the MP3s in it randomly, that would be awesome. Until then, I think I'll have to setup shoutcast...

Currently, in this package I have only included one player, but there are variations that I plan to add - these will include:
  • AutoStart Enabled
  • Shuffle Enabled
  • AutoStart Enabled
  • Shuffle Disabled
  • AutoStart Disabled
  • Shuffle Enabled
  • AutoStart Disabled
  • Shuffle Disabled

Yesterday, I had a busy day and didn't have time to compile the required new players. But they will follow.:)

Snake 10-22-2006 09:09 AM

Oh my god! Thank you very much. I'm going to install this right away! :D

micheal332001 10-22-2006 11:00 AM

Quote:

Originally Posted by emtee
Really nice! If you can have mass mp3s adding it would be a killer mod!
Thanks and click install!

This is a very good idea and i will work on this for the Premium version.

micheal332001 10-22-2006 11:02 AM

Quote:

Originally Posted by Draygonia
What I mean is it wont work in the header :(

And thanks for help ^.^ Im sure the members wont be angry if they dont have thier music for a day or few.

Hi there

Try this

PHP Code:

<!?Mp3 Player Launch -->
<
tr>
<
td width="70" height="22" align="left" valign="top">
<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);"
><img src="$stylevar[imgdir_misc]/tren_z_header_vbplayer.gif" width="70" height="22" alt="" border="0" /></td>
</if>
</
td>
</
tr>
<!?
End Mp3 Player Launch --> 

This should work for you

micheal332001 10-22-2006 11:05 AM

Quote:

Originally Posted by Intex
Very nice syrus.xl. Will this run on 3.5.x?

For this to work on 3.5.x there would have to be a change in the product.xml file and will sort out soon


All times are GMT. The time now is 06:27 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.02031 seconds
  • Memory Usage 1,873KB
  • 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
  • (8)bbcode_code_printable
  • (1)bbcode_php_printable
  • (19)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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