Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Template Modifications

Reply
 
Thread Tools
Innovative Small MP3 Player BB Code Details »»
Innovative Small MP3 Player BB Code
Version: 0.0.1, by TheLastSuperman (Senior Member) TheLastSuperman is offline
Developer Last Online: Oct 2023 Show Printable Version Email this Page

Category: BB Code Enhancements - Version: 3.7.x Rating:
Released: 12-20-2008 Last Update: Never Installs: 24
Supported
Re-useable Code Additional Files  

Innovative Small mp3 Player BB Code

By:


This BB Code will allow users to have a small mp3 player in:
  • Posts in the forums
  • Signatures i.e. Song of the day/week etc.
  • anywhere you can use BB Code Tags

I found this while browsing: http://www.phpbb3bbcodes.com as I have some phpBB boards of my own and was tinkering as usual . It was rather simple to add as a BB Code to VBulletin and did not take much time to make it work in vB via the {param} tags etc!

Credit for the Code goes to phpbb3codes.com and the creator of the .swf player i.e. djgalix!

Time to install: 1-2 mins

Instructions:
  • Download the .zip and extract the SWF player
  • Upload the player_mp3.swf into your forum root folder
  • Add new BB code:

AdminCP --> Custom BB Codes --> Add New BB Code

Title: mp3
Tag: mp3
Replacement:
Code:
<object type="application/x-shockwave-flash"
        data="player_mp3.swf?mp3={param}" width="200" height="20" />
  <param name="movie" value="player_mp3.swf?mp3={param}" />
  <param name="wmode" value="transparent">
</object>
Use {option} = NO

*The Player .swf file HAS to be in your forums ROOT folder, this will make it NOT visible in AdminCP as that is another folder i.e. admincp folder BUT it will display FINE in the forums via FireFox and Internet Explorer! (Thanks for the catching that bug where it did not display joh!)

Now use the tags [mp3]Full Song URL Here![/mp3]

*Experienced Users can take the code replacement and hard code into forums where desired!

Demo

Enjoy!

TheLastSuperman
http://www.innovationbyinstinct.com

EDIT: If your looking for an MP3 Player that can handle a playlist please check out Macc's new release in April 09 --> https://vborg.vbsupport.ru/showthread.php?t=210115

Show Your Support

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

Comments
  #12  
Old 12-29-2008, 10:37 AM
chjp's Avatar
chjp chjp is offline
 
Join Date: Nov 2007
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you.
I have another file flash player mp3. Please help me change your flash player to my file flash.
Reply With Quote
  #13  
Old 12-29-2008, 11:30 AM
goxy63 goxy63 is offline
 
Join Date: Oct 2008
Location: its like another planet:D
Posts: 657
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can it be that mine is not working cuz I have 'passiveVid' installed
https://vborg.vbsupport.ru/showthrea...ght=passiveVid

Or Iam doing something wrong!?

Mp3 is just not displayed, just flickers and shows nothing, in bb code list player is there
In BB Code Manager player is not displayed if I use this code you gave us, but using
'soundbarrierpro' (post 3 here) it shows up in bb custom menager

But any of these two replacement cdes just dont work for me
Vb 3.7.4

Any Ideas ?
Thanks
Reply With Quote
  #14  
Old 12-29-2008, 06:23 PM
1320Nation 1320Nation is offline
 
Join Date: Sep 2008
Posts: 246
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have a heavily modified 3.7.3 board and this mod installed correctly works perfectly.

Thanks!
Reply With Quote
  #15  
Old 12-30-2008, 12:05 AM
ANGLICO's Avatar
ANGLICO ANGLICO is offline
 
Join Date: Dec 2008
Location: Tulsa
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Even though I'm not a programmer (last language I was proficient at was FORTRAN IV in the 70's) and very new to vBulletin, it worked for me.

THANK YOU very much.
Reply With Quote
  #16  
Old 12-30-2008, 09:23 PM
goxy63 goxy63 is offline
 
Join Date: Oct 2008
Location: its like another planet:D
Posts: 657
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Was wondering why this simple code didnt work out for me, the thing is that linked external mp3 cuz I was thinking ..... but this mod only supports internal mp3 files
Does anyone know how to modify this code for external, or is there any othe mode for mp3 similar to this one ? (for external linx of course)

Thanks a lot for any pointers
Reply With Quote
  #17  
Old 12-30-2008, 11:16 PM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by goxy63 View Post
Was wondering why this simple code didnt work out for me, the thing is that linked external mp3 cuz I was thinking ..... but this mod only supports internal mp3 files
Does anyone know how to modify this code for external, or is there any othe mode for mp3 similar to this one ? (for external linx of course)

Thanks a lot for any pointers
Ok, so you read the part about hard coding into your site and you do not want to use it as a bb code or?

Here's the breakdown...

It up as a simple bb code now per the instructions above. You can use this yourself after entering in the custom bb code via admincp by placing the songs url location INCLUDING the .mp3 extension in between the [mp3]http://www.thesitesnamethesongison.com/songname.mp3[/mp3] and it will play!

IF you want to hard code it you have to take the code back to it's roots i.e. remove the {param} and place the url of the song there, example:

BB Code Replacement:

Code:
<object type="application/x-shockwave-flash"
        data="player_mp3.swf?mp3={param}" width="200" height="20" />
  <param name="movie" value="player_mp3.swf?mp3={param}" />
  <param name="wmode" value="transparent">
</object>
For use if hard-coding into forums/templates etc:

Code:
<object type="application/x-shockwave-flash"
        data="player_mp3.swf?mp3=http://www.thesitesnamethesongison.com/songname.mp3" width="200" height="20" />
  <param name="movie" value="player_mp3.swf?mp3=http://www.thesitesnamethesongison.com/songname.mp3" />
  <param name="wmode" value="transparent">
</object>
Also, remember to upload the player swf file to your forum root and you should be done

If you were actually trying it as a bb code then delete what you have and read the above carefully and try again, it will work .

S-MAN
Reply With Quote
  #18  
Old 01-01-2009, 12:49 AM
CMGU CMGU is offline
 
Join Date: Mar 2007
Location: Central America
Posts: 213
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank u very much
Reply With Quote
  #19  
Old 01-01-2009, 02:23 AM
Bawtneez Bawtneez is offline
 
Join Date: Oct 2008
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed.

Any hope of this working on Safari or Google Chrome?
Reply With Quote
  #20  
Old 01-01-2009, 02:50 PM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bawtneez View Post
Installed.

Any hope of this working on Safari or Google Chrome?
Yeap

Quote:
Originally Posted by xXEsEtUlOnXx View Post
Thank you, installed!
Tested on Firefox, Safari and Camino (on Mac OS X) it works perfectly!
Reply With Quote
  #21  
Old 01-01-2009, 04:30 PM
Thelonius Beck's Avatar
Thelonius Beck Thelonius Beck is offline
 
Join Date: Jan 2008
Posts: 142
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

**Disregard**
Reply With Quote
Reply

Thread Tools

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:15 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.05244 seconds
  • Memory Usage 2,311KB
  • 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
  • (3)bbcode_code
  • (3)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
  • (2)pagenav_pagelink
  • (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