The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
The XEON Mp3 Player for vBulletin 3.6.X Integrated Details »» | |||||||||||||||||||||||||||
The XEON Mp3 Player for vBulletin 3.6.X Integrated
Developer Last Online: Apr 2016
The XEON Mp3 Player for vBulletin 3.6.X 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]
[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> 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> 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 --> 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
|
Comments |
#42
|
||||
|
||||
Quote:
|
#43
|
|||
|
|||
What does this "mass populating the player" mean?
|
#44
|
|||
|
|||
Quote:
But this hack is well worth it, in my humble opinion. :rambo: |
#45
|
||||
|
||||
Quote:
So, 'mass populating' can be done by using a SQL query, by entering all the tracks into a notepad document, and then copy and paste this data into either the AdminCP - SQL Query or directly into your database using phpMyAdmin. For SQL queries to be done in vBulletin you need to enable this feature in the includes/config.php file. |
#46
|
||||
|
||||
Quote:
|
#47
|
|||
|
|||
Quote:
I wondered about doing it through the database, but I barely feel comfortable with code... I don't mess with the database unless I absolutely have to. I am the only admin and yes I can run queries, I just don't so I don't break something. :up: |
#48
|
|||
|
|||
Great Hack!
Any way to change 'PlayList 1' to something more meaningfull like 'JAZZ'?? Thanks |
#49
|
||||
|
||||
Quote:
Or are you refering to the names it shows in vBulletin? If this is the case, it's not that hard to change, but the player buttons would also require changes. |
#50
|
|||
|
|||
For those interested, I have created a little PERL shell script to create the playlist SQL insert statement automatically.
Here u go. You do need to know PERL to run it Code:
1. Create the file list LIST.txt needs to be in this format file1.mp3 file2.mp3 file3.mp3 you can do a dir or ls (in unix) and save the list to LIST.txt (or whatever) 2. Create a Perl script . Name it what you like i.e. list.pl ------------ cut here ------------------ #!D:/xampp/perl/bin/perl.exe #update this to the location of your perl executable #!/usr/bin/perl or whatever # Open file $data_file="LIST.txt"; my $url = "http://yourmp3_files_URL/"; open(FILE, $data_file) || die("Could not open file!"); @raw_data=<FILE>; close (FILE); # Data stored in VB this way #Playlist 1 = 'vb_mp3playlist' #Playlist 2 = 'vb_mp3playlist1' #Playlist 3 = 'vb_mp3playlist2' #Playlist 4 = 'vb_mp3playlist3' #Playlist 5 = 'vb_mp3playlist4' # Insert rows like this #INSERT INTO `vb_mp3playlist` VALUES (1, 'mp3 1 url goes here', 'true', 1, 'artist and song number 1 goes here', 1); #INSERT INTO `vb_mp3playlist` VALUES (2, 'mp3 2 url goes here', 'true', 1, 'artist and song number 2 goes here', 1); #INSERT INTO `vb_mp3playlist` VALUES (3, 'mp3 3 url goes here', 'true', 1, 'artist and song number 3 goes here', 1); my $i = 0; # or whatever you want the list to start at foreach $line (@raw_data) { chop($line); #Split name and extension ($w_name,$temp)=split(/\./,$line); #build full url my $mp3url= $url . $line; #build songname my $songname = $w_name; #insert statement print "INSERT INTO vb_mp3playlist VALUES ($i, '$mp3url', 'true', 1, '$songname', 1);\n"; $i++; } exit (0); --------------------- cut here --------------- 3. Run scrit and pipe the results list.pl > list.txt 4. Run the the SQL 5. Voila! |
#51
|
|||
|
|||
sorry, I may be ignorant but can this work as a popup?
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|