Music BBCode Database
BBCodes for embedding Music players
There is no support here! Only Read Access!
BBCode Bot
BBCoder IV
Posts: 239 Joined: 04 Mar 2010, 13:04
Location: bbcode table
Post
by BBCode Bot » 06 Mar 2010, 18:38
Simple Customizable MP3 Player
Author : halo2pac
Description : Simple MP3 Player. You can change it's colors to match your forum's style.
Attached file :
scmp3player.zip
Download, unzip and upload the file to your images folder.
BBCode:
HTML:
Code: Select all
<object type="application/x-shockwave-flash" data="images/scmp3player.swf" id="mp3player1" height="24" width="290">
<param name="movie" value="images/scmp3player.swf">
<param name="FlashVars" value="playerID=1&bg=0x9DA5BF&leftbg=0xeeeeee&lefticon=0x666666&rightbg=0x394670&rightbghover=0x999999&righticon=0xE7E7EF&righticonhover=0xffffff&text=0x666666&slider=0x666666&track=0xFFFFFF&border=0x666666&loader=0x9FFFB8&loop=no&autostart=no&soundFile={URL}">
<param name="quality" value="high">
<param name="menu" value="false">
<param name="wmode" value="transparent">
</object>
Helpline:
Example:
Code: Select all
[scmp3]http://music.incompetech.com/royalty-free/Stringed%20Disco.mp3[/scmp3]
Demo:
[scmp3]
images/1.mp3 [/scmp3]
You do not have the required permissions to view the files attached to this post.
Georgio
BBCoder II
Posts: 53 Joined: 06 Mar 2010, 17:10
Location: Cabanes, Spain
Post
by Georgio » 17 Apr 2010, 13:29
I can't add this BBcode; when i put the html i have this code:
Error General
Code: Select all
SQL ERROR [ mysqli ]
Out of range value adjusted for column 'bbcode_id' at row 1 [1264]
SQL
INSERT INTO phpbb_bbcodes (bbcode_tag, bbcode_match, bbcode_tpl, display_on_posting, bbcode_helpline, first_pass_match, first_pass_replace, second_pass_match, second_pass_replace, bbcode_id) VALUES ('scmp3', '[scmp3]{URL}[/scmp3]', '<object type=\"application/x-shockwave-flash\" data=\"images/scmp3player.swf\" id=\"mp3player1\" height=\"24\" width=\"290\">\n <param name=\"movie\" value=\"images/scmp3player.swf\">\n <param name=\"FlashVars\" value=\"playerID=1&bg=0x9DA5BF&leftbg=0xeeeeee&lefticon=0x666666&rightbg=0x394670&rightbghover=0x999999&righticon=0xE7E7EF&righticonhover=0xffffff&text=0x666666&slider=0x666666&track=0xFFFFFF&border=0x666666&loader=0x9FFFB8&loop=no&autostart=no&soundFile={URL}\">\n <param name=\"quality\" value=\"high\">\n <param name=\"menu\" value=\"false\">\n <param name=\"wmode\" value=\"transparent\">\n</object>', 0, 'SCMP3: [scmp3]Link to mp3[/scmp3]', '!\\[scmp3\\](?:([a-z][a-z\\d+\\-.]*:/{2}(?:(?:[a-z0-9\\-._~\\!$&\'()*+,;=:@|]+|%[\\dA-F]{2})+|[0-9.]+|\\[[a-z0-9.]+:[a-z0-9.]+:[a-z0-9.:]+\\])(?::\\d*)?(?:/(?:[a-z0-9\\-._~\\!$&\'()*+,;=:@|]+|%[\\dA-F]{2})*)*(?:\\?(?:[a-z0-9\\-._~\\!$&\'()*+,;=:@/?|]+|%[\\dA-F]{2})*)?(?:#(?:[a-z0-9\\-._~\\!$&\'()*+,;=:@/?|]+|%[\\dA-F]{2})*)?)|(www\\.(?:[a-z0-9\\-._~\\!$&\'()*+,;=:@|]+|%[\\dA-F]{2})+(?::\\d*)?(?:/(?:[a-z0-9\\-._~\\!$&\'()*+,;=:@|]+|%[\\dA-F]{2})*)*(?:\\?(?:[a-z0-9\\-._~\\!$&\'()*+,;=:@/?|]+|%[\\dA-F]{2})*)?(?:#(?:[a-z0-9\\-._~\\!$&\'()*+,;=:@/?|]+|%[\\dA-F]{2})*)?))\\[/scmp3\\]!ie', '\'[scmp3:$uid]\'.$this->bbcode_specialchars((\'${1}\') ? \'${1}\' : \'http://${2}\').\'[/scmp3:$uid]\'', '!\\[scmp3:$uid\\](?i)((?:[a-z][a-z\\d+\\-.]*:/{2}(?:(?:[a-z0-9\\-._~\\!$&\'()*+,;=:@|]+|%[\\dA-F]{2})+|[0-9.]+|\\[[a-z0-9.]+:[a-z0-9.]+:[a-z0-9.:]+\\])(?::\\d*)?(?:/(?:[a-z0-9\\-._~\\!$&\'()*+,;=:@|]+|%[\\dA-F]{2})*)*(?:\\?(?:[a-z0-9\\-._~\\!$&\'()*+,;=:@/?|]+|%[\\dA-F]{2})*)?(?:#(?:[a-z0-9\\-._~\\!$&\'()*+,;=:@/?|]+|%[\\dA-F]{2})*)?)|(?:www\\.(?:[a-z0-9\\-._~\\!$&\'()*+,;=:@|]+|%[\\dA-F]{2})+(?::\\d*)?(?:/(?:[a-z0-9\\-._~\\!$&\'()*+,;=:@|]+|%[\\dA-F]{2})*)*(?:\\?(?:[a-z0-9\\-._~\\!$&\'()*+,;=:@/?|]+|%[\\dA-F]{2})*)?(?:#(?:[a-z0-9\\-._~\\!$&\'()*+,;=:@/?|]+|%[\\dA-F]{2})*)?))(?-i)\\[/scmp3:$uid\\]!s', '<object type=\"application/x-shockwave-flash\" data=\"images/scmp3player.swf\" id=\"mp3player1\" height=\"24\" width=\"290\">\n <param name=\"movie\" value=\"images/scmp3player.swf\">\n <param name=\"FlashVars\" value=\"playerID=1&bg=0x9DA5BF&leftbg=0xeeeeee&lefticon=0x666666&rightbg=0x394670&rightbghover=0x999999&righticon=0xE7E7EF&righticonhover=0xffffff&text=0x666666&slider=0x666666&track=0xFFFFFF&border=0x666666&loader=0x9FFFB8&loop=no&autostart=no&soundFile=${1}\">\n <param name=\"quality\" value=\"high\">\n <param name=\"menu\" value=\"false\">\n <param name=\"wmode\" value=\"transparent\">\n</object>', 128)
BACKTRACE
FILE: includes/db/mysqli.php
LINE: 163
CALL: dbal->sql_error()
FILE: includes/acp/acp_bbcodes.php
LINE: 223
CALL: dbal_mysqli->sql_query()
FILE: includes/functions_module.php
LINE: 507
CALL: acp_bbcodes->main()
FILE: adm/index.php
LINE: 74
CALL: p_master->load_active()
cisco007
BBCoder VI
Posts: 1015 Joined: 16 Mar 2010, 16:14
Location: Don't really know!
Post
by cisco007 » 17 Apr 2010, 13:47
take a look here, and run the sql query posted on the topic and it should solve your problem!
http://www.phpbb.com/community/viewtopi ... 6&t=727515
Georgio
BBCoder II
Posts: 53 Joined: 06 Mar 2010, 17:10
Location: Cabanes, Spain
Post
by Georgio » 17 Apr 2010, 14:00
This SQL Query ?
Code: Select all
ALTER TABLE `phpbb_bbcodes` CHANGE `bbcode_id` `bbcode_id` SMALLINT( 3 ) NOT NULL DEFAULT '0'
[hrc=blue]1[/hrc]
Yes, that sql query! i solved the problem, thanks !
Last edited by Georgio on 17 Apr 2010, 14:03, edited 1 time in total.
cisco007
BBCoder VI
Posts: 1015 Joined: 16 Mar 2010, 16:14
Location: Don't really know!
Post
by cisco007 » 17 Apr 2010, 14:16
yeah, the problem is that the bbcodes table has tinynt in it and only allows a certain number of bbcodes, changing it to SMALLINT increases the number! I thought we had that here but, i guess it was in the previous forum!
Georgio
BBCoder II
Posts: 53 Joined: 06 Mar 2010, 17:10
Location: Cabanes, Spain
Post
by Georgio » 17 Apr 2010, 15:24
cisco007 » 17 Apr 2010, 16:16 wrote:yeah, the problem is that the bbcodes table has tinynt in it and only allows a certain number of bbcodes, changing it to SMALLINT increases the number! I thought we had that here but, i guess it was in the previous forum!
ohh my God, i don't now in phpbb3 there is a certain number of bbcodes.
now is fixed, but in future i'll get it again ?
Bonsley
BBCoder I
Posts: 2 Joined: 18 Apr 2010, 01:16
Post
by Bonsley » 18 Apr 2010, 01:24
Hi, guy's. You wonderful people.
If I said I'd like for this player to automatically start playing, and keep playing/looping forever, what would I do?
Sorry for my poor English.
Bonsley.
cisco007
BBCoder VI
Posts: 1015 Joined: 16 Mar 2010, 16:14
Location: Don't really know!
Post
by cisco007 » 18 Apr 2010, 02:27
use this as the html replacement
Code: Select all
<object type="application/x-shockwave-flash" data="images/scmp3player.swf" id="mp3player1" height="24" width="290">
<param name="movie" value="images/scmp3player.swf">
<param name="FlashVars" value="playerID=1&bg=0x9DA5BF&leftbg=0xeeeeee&lefticon=0x666666&rightbg=0x394670&rightbghover=0x999999&righticon=0xE7E7EF&righticonhover=0xffffff&text=0x666666&slider=0x666666&track=0xFFFFFF&border=0x666666&loader=0x9FFFB8&loop=yes&autostart=yes&soundFile={URL}">
<param name="quality" value="high">
<param name="menu" value="false">
<param name="wmode" value="transparent">
</object>
Bonsley
BBCoder I
Posts: 2 Joined: 18 Apr 2010, 01:16
Post
by Bonsley » 18 Apr 2010, 03:20
You sir, are as cool as this guy.>
Thank you.
Bonsley.
Jinger
BBCoder II
Posts: 16 Joined: 18 Apr 2010, 08:04
Post
by Jinger » 26 Apr 2010, 21:35
i want orange skin