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
  #122  
Old 10-25-2006, 08:35 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 Intex
I can confirm this is working on 3.5.4. Note however that there's still an issue with adding MP3's from AdminCP, so this is a general bug.

If you add MP3's via the jukebox itself - it's fine. The AdminCP options redirect also needs adjusting.
I'll note that it's compatible with 3.5.4. - and also update Known Issues.

Thanks!
Reply With Quote
  #123  
Old 10-25-2006, 09:35 PM
Kebbie Kebbie is offline
 
Join Date: Apr 2006
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Would it be possible for users to upload mp3s? Like instead of entering the URL, they could click "browse" and upload the file? My users are panicky at the idea of not being able to upload :lol
Reply With Quote
  #124  
Old 10-25-2006, 09:58 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 Kebbie
Would it be possible for users to upload mp3s? Like instead of entering the URL, they could click "browse" and upload the file? My users are panicky at the idea of not being able to upload :lol
There are numerous reasons why this approach was abandoned.

1. PHP upload restrictions on hosts normally set uploads via http using PHP to 2Mb. Some hosts allow the use of using a php.ini file to override this, but many don't.

2. If someone uploaded copyrighted material onto a server in a country where storing mp3's and streaming is illegal, you would be in violation of local laws.

3. Bandwidth would be high due to uploading and then streaming of one mp3 would be in effect doubling the mp3 usage. Not everyone has large bandwdith limits.

Since all this was considered before the design, it seemed an idea using links would be more useful.

Reply With Quote
  #125  
Old 10-25-2006, 10:01 PM
Kebbie Kebbie is offline
 
Join Date: Apr 2006
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks syrus!
Reply With Quote
  #126  
Old 10-26-2006, 04:40 AM
Intex Intex is offline
 
Join Date: Apr 2002
Posts: 576
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just a quick note on 3.5.4 compatibility. I'm not entirely sure why, but some songs just won't play after upload, even when submitted via the jukebox. You get the same issue as if you'd added them from the jukebox, i.e. title is there, but it just doesn't want to play.
Reply With Quote
  #127  
Old 10-26-2006, 09:51 AM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Biggles
Syrus, yes please. Let me know when you launch either or both of these video versions. Incidentally, it's great to know you're just up the road from me (I'm just south of Bristol near Cheddar). This Player is great. I've had your hack working since the first version. You're a star!

Snake, I'm not a coder's bootlace (retired airline pilot) but your problems seem to be unique in some respects. Not so in others. The 'MySQL' database error to which you refer is the one caused by syntax as I advised Boss 302. That's easy - take out any quotes (double or single) and any apostrophes. Look out for "I've" or "can't" or whatever and remove them.

I'll have a shot at some of these too, which you stated as follows:

-While adding a quote or multi quotes (such as: ' "), it should give you a mySQL page error. (See below.)
-Accessing the "http://www.yourdomain.com/mp3playerindex.php" page gives you a blank, white page.
-After editting the settings for the player, it gives me this error "Could not find phrase 'mp3player_cp_redirect'.".
-And finally, after adding a song/mp3 via the ACP, each time when you edit that song you will notice that the "Approve MP3" option automatically checks to "No" when it's supposed to say "Yes". It's kinda a pain in the ass to edit every song and set it to "Yes" inorder to get the song working in the player.


The first I've dealt with above. The second - try uploading the mp3playerindex.php file to your forum root again. It may have been corrupted during initial install. The third - it's been dealt with by Syrus for about three or four members. It is due to missing code BUT will not affect the player's operation. The code will be fixed by Syrus shortly.

Now the last. I had the same problem. Another similar snag is that if you use the buffer and set the buffer period to anything, say 5 or 10 seconds, you have to go back and check the box again when you return to approve. That is to say, once you've put in the track and its name (where you cannot approve or reject because the option's just not there until you click 'ADD') you MUST return via 'edit' on the playlist to approve AND to reset the buffer period. If you don't do this, nothing shows up on the playlist.

As for white pages, may I ask if you are running vBSEO? If so, I may have another clue for you.

Regards

Biggles
I have already reuploaded the mp3playerindex.php file and I still get the same result. And yes, I'm running on vBSEO as you can see. It that a problem or something I wonder?
Reply With Quote
  #128  
Old 10-26-2006, 10:35 AM
BOSS 302 BOSS 302 is offline
 
Join Date: Feb 2005
Location: USA
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I want to put this in my second navbar because my first one is way crowded. When I add the code to the second navbar template it doesn't even show up. How can I put this in my second navbar? Please help.

My forum is www.mustangmafia.com/index.php so you can look and see the top navbar I want it in.
Reply With Quote
  #129  
Old 10-26-2006, 11:06 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 BOSS 302
I want to put this in my second navbar because my first one is way crowded. When I add the code to the second navbar template it doesn't even show up. How can I put this in my second navbar? Please help.

My forum is www.mustangmafia.com/index.php so you can look and see the top navbar I want it in.
Is that a multiple navbar hack, or have you just coded a new navbar into the template? Either way because you are using a customized style, the table class would need to be changed to whatever your navbar class is.

Reply With Quote
  #130  
Old 10-26-2006, 01:50 PM
micheal332001 micheal332001 is offline
 
Join Date: Apr 2004
Posts: 1,112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Kebbie
Would it be possible for users to upload mp3s? Like instead of entering the URL, they could click "browse" and upload the file? My users are panicky at the idea of not being able to upload :lol
This maybe added to the commercial release at a later date.
I will also be adding in a multi upload or user option too.
Reply With Quote
  #131  
Old 10-26-2006, 01:58 PM
micheal332001 micheal332001 is offline
 
Join Date: Apr 2004
Posts: 1,112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BOSS 302
Never mind. It works when I add songs from the navbar. Just doesn't work when I go threw the admin cp.

Thanks fellas. Lovely hack.
it dose work in the admincp you just cannot change the id number that is set to that mp3 and cannot be changed.
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 04:22 AM.


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.09898 seconds
  • Memory Usage 2,329KB
  • 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
  • (6)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