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

Reply
 
Thread Tools
[CM] Push'N'PopUp MP3-Player (Sidebar Button & Equalizer) Details »»
[CM] Push'N'PopUp MP3-Player (Sidebar Button & Equalizer)
Version: 1.00, by ChiNa ChiNa is offline
Developer Last Online: Feb 2023 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 3.8.7 Rating:
Released: 08-29-2012 Last Update: 09-12-2012 Installs: 5
Uses Plugins Auto-Templates
Additional Files Translations  
No support by the author.

This was brought to you by ChiNa-Man


First of all I am a free soul, So if one of you guys decided to post this on another forum or a website, I would be appreciated if you give some CREDITs to the Developer simply typing his name: Credits to: ChiNa-Man, and do not CHANGE or DELETE the ORIGINAL CONTENT! Thank you!

:::::::::::::::::::::::::::::::::::::::::::::

Get this player for vBulletin 4.x, CLICK HERE


This is my favorit ADDON, and I really have worked very hard to make this happen. Finally.. This is a simple MP3-Player, but a bit more fancier than any other player you have seen! The is a FLASH XML MP3PLAYER, and the reason why its called XML is because it has a customized playlist, which is build as XML! I have added a floadting side-bar button. With the letters scrolling "MP3 PLAYER"! Just a single click on the button then the Player pops-up on left side of your screen. Now please keep in mind, that there are 2 Products Files, One is for Logged in Members, and the other has Full View Permission! For everyone + Guests!

Credits for the free source player goes to
www.Developphp.com
Check out more about www.Developphp.com & their youtube channel for more flash tuts!

Thanks to JOSH my friend, and also the Admin of our site www.China-Cheats.com



Image of the Player itself



Image of the Both buttons on forumhome
Floating Button (Right)





Shiney & floating button on Forum Home!


Free Scroll Added

Push N PopUp Button Button in Navbar)





Notice:
A very important part, you have to ADD the exact name and letters for the song in the mp3_playlist.xml file to make it work. Make sure to use small amd big letters, uppercase and lowercase as the songtitle. If you upload a file/song called "elvis.mp3" then you have to name it "Elvis" as SONG-TITILE in the mp3_playlist.xml, you will see in the tutorial below! I just wanna make sure that you remember it.

Lets Start The Tutorial:

I will start with the XML playlist file called mp3_playlist.xml. And please notice the the "SongTitle" which is very important, because you will have to later add MP3 files exactly like the song titles!

Below is how the playlist looks like: (Song1 is for the song called "Song1.mp3" and etc....)

PLAY LIST EXAMPLE: (mp3_playlist.xml)
Code:
<?xml version="1.0" encoding="utf-8"?>
<XML>

<Song>
     <songTitle>Song1</songTitle>
     <songArtist>Artist1</songArtist>
</Song>

<Song>
     <songTitle>Song2</songTitle>
     <songArtist>Artist2</songArtist>
</Song>

<Song>
     <songTitle>Song3</songTitle>
     <songArtist>Artist3</songArtist>
</Song>

<Song>
     <songTitle>Song4</songTitle>
     <songArtist>Artist4</songArtist>
</Song>

<Song>
     <songTitle>Song5</songTitle>
     <songArtist>Artist5</songArtist>
</Song>

<Song>
     <songTitle>Song6</songTitle>
     <songArtist>Artis6</songArtist>
</Song>

<Song>
     <songTitle>Song7</songTitle>
     <songArtist>Artist7</songArtist>
</Song>

<Song>
     <songTitle>Song8</songTitle>
     <songArtist>Artist8</songArtist>
</Song>

<Song>
     <songTitle>Song9</songTitle>
     <songArtist>Artist9</songArtist>
</Song>

<Song>
     <songTitle>Song10</songTitle>
     <songArtist>Artist10</songArtist>
</Song>

</XML>


First, unzip the Upload.zip from the attachments, below! And upload all the content of the "UPLOAD.ZIP" file to your forum ROOT!

And then go a head and download the XML PRODUCTS, And remember there are 2 XML Products, one is called MP3Player_For_Logged-in-Users.xml and the other is called MP3Player_Full_View_Permission.xml.

Import one of them in your Plugins & Products section.

Go to your ADMINCP, Plugin & Products and then Product Manager. Scroll down and then click on Add/Import Product, and now click on browse, and look for the XML product and click IMPORT!


Where to Upload Mp3 files and songs:

I have already added an mp3 song as example "Song1.mp3", And you can Upload upto 10 songs! So start uploading your mp3 files to the folder called "mp3_files" which is in your forum ROOT. You can carry on adding more songs if you want, starting from "Song2.mp3" and "Song3.mp3" and ETC....You can also delete the example song, or replace it with another "Song1.mp3" file.

Remember, not to messup the songtitles and mp3 file names,, Its very important!

You can ENABLE and DISABLE the from ADMINPC! Go to vBULLETING OPTIONS, and then MP3 PLAYER (Push'N'Popup)
And then choose YES or NO for ENABLE or DISABLE

Thats it, Please make sure to CLICK on INSTALLED, and enjoy the MP3 PLAYER!

IMPORTANT NOTICE:

And always remember when you finish editing the mp3_playlist.xml file, or uploading a new mp3 file. The you MUST do these 2 things showen below:

1: Clean your browser cookies
2: Refresh Your Forum-Page, where your MP3 Button is.

So the flash player can read the new DATA from your browser and the xml file.
Else it wont work, and it already made me crazy befor knowing all this.. so I pass it to you guys..



Extra and Optional Tutorial


HOW TO ADD MORE USEGROUPS TO VIEW THE PLAYER

If you have many other USERGROUPS, and you want to add them as will in the list, then Open the file called MP3Player_For_Logged-in-Users.xml and ARROUND LINE 64....

Find this line
: <if condition="is_member_of($vbulletin->userinfo,2,3,5,6,7)">
And edit the RED numbers, which is the USERGROUP ID. Thats it.




HOW TO ADD MORE THAN 10 SONGS


If you wanted to add more than 10 songs, then first edit your "mp3_playlist.xml"! Just copy the 4 lines showen below for eact mp3 song.:
PHP Code:
<Song>
     <
songTitle>Song1</songTitle>
     <
songArtist>Artist1</songArtist>
</
Song
And then add it inside your mp3_playlist.xml file like the others.



Some Extra advice

The mp3player gave me lots of problems working! Once I forgot to clean my cookies, and the other thing was I forgot to name my songs EXACTLY as inside the XML file.. So remember, that I am sure you will also face these things, Just read the tutorial with an open mind, and do not ask for support, unless you know its really going bad. Because at the end, you have will realise the small mistakes..

Again, A big thanks to JOSH for helping me create the enable and disable options!

Download Now

File Type: zip Upload.zip (510.3 KB, 51 views)
File Type: xml MP3Player_Full_View_Permission.XML (3.8 KB, 31 views)
File Type: xml MP3Player_For_Logged-in-Users.xml (3.8 KB, 35 views)

Show Your Support

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

Comments
  #2  
Old 01-07-2013, 05:33 PM
matrex722's Avatar
matrex722 matrex722 is offline
 
Join Date: Jan 2007
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ChiNa-Man nice work
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 01:47 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.03743 seconds
  • Memory Usage 2,240KB
  • Queries Executed 16 (?)
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
  • (1)bbcode_code
  • (1)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (2)post_thanks_box
  • (2)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit_info
  • (1)postbit
  • (3)postbit_attachment
  • (2)postbit_onlinestatus
  • (2)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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete