Code: Select all
<!DOCTYPE html>
<html lang=ru>
<head>
<!-- SIMPLE AUDIO PLAYER MOD BEGIN -->
<script language="javascript" type="text/javascript" src="{BOARD_URL}audioplayer/swfobject.js"></script>
<!-- SIMPLE AUDIO PLAYER MOD END -->
<link href="{T_STYLESHEET_LINK}" rel="stylesheet" type="text/css" media="screen, projection" />
</head>
<div class="forabg">
<div class="inner"><span class="corners-top"><span></span></span>
<!-- Div that contains player. -->
<table width="100%">
<tr>
<td align="center">
<div id="player">
<h3>{L_SIMPLE_AUDIO_INFO_1}</h3>
<h3>{L_SIMPLE_AUDIO_INFO_2} <br/><a href="http://www.macromedia.com/go/getflashplayer" target="_blank">{L_SIMPLE_AUDIO_INFO_3} </a><br/> {L_SIMPLE_AUDIO_INFO_4}</h3>
</div>
</td>
</tr>
<tr>
<td align="center">
<br/>
<p class="sapcenter">{L_SIMPLE_AUDIO_PLAYER_MOD_LINK}<br/><a href="{U_SIMPLE_AUDIO_PLAYER_MOD_INFO}">{L_SIMPLE_AUDIO_PLAYER_MOD_INFO}</a><br/><a href="{U_SIMPLE_AUDIO_PLAYER_MOD_FMP_INFO}">{L_SIMPLE_AUDIO_PLAYER_MOD_FMP_INFO}</a><br/>{L_SIMPLE_AUDIO_PLAYER_MOD_PAGE_TITLE}</p>
</td>
</tr>
</table>
<!-- Script that embeds player. -->
<script language="javascript" type="text/javascript">
var so = new SWFObject("flashmp3player.swf", "player", "320", "247", "9"); // Location of swf file. You can change player width and height here (using pixels or percents).
so.addParam("quality", "high");
so.addVariable("content_path","audioplayer_files"); // Location of a folder with mp3 files (relative to php script).
so.addVariable("color_path","{BOARD_URL}audioplayer/default.xml"); // Location of xml file with color settings.
so.addVariable("script_path","flashmp3player.php"); // Location of php script.
so.write("player");
</script>
<span class="corners-bottom"><span></span></span></div></div>
</html>
Code: Select all
<?php
/**
*
* contact [Russian] Pthelovod
* @package language
* @version 1.0.0 2013-03-24
* @copyright(c) 2013 TheBX.net
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
**/
/**
* DO NOT CHANGE!
*/
if (!defined('IN_PHPBB'))
{
exit;
}
if (empty($lang) || !is_array($lang))
{
$lang = array();
}
// DEVELOPERS PLEASE NOTE
//
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
//
// Placeholders can now contain order information, e.g. instead of
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
// translators to re-order the output of data while ensuring it remains correct
//
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
// equally where a string contains only two placeholders which are used to wrap text
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
//
// Some characters you may want to copy&paste (Unicode characters):
// ’ » “ ” …
//
$lang = array_merge($lang, array(
// Simple Audio Player Mod
'SIMPLE_AUDIO_PLAYER_MOD_PAGE_HEADER' => 'Аудио плеер',
'SIMPLE_AUDIO_PLAYER_MOD_LINK' => 'Аудио плеер',
'SIMPLE_AUDIO_PLAYER_MOD_LINK2' => 'Аудио плеер2',
'SIMPLE_AUDIO_PLAYER_MOD_LINK_EXPLAIN' => 'Слушайте музыку, звуковое сопровождение и т.д.',
'SIMPLE_AUDIO_PLAYER_MOD_PAGE_TITLE' => 'Музыкальное сопровождение форума',
'SIMPLE_AUDIO_PLAYER_MOD_INFO' => 'Создан на плагине v1.0 By Keith',
'SIMPLE_AUDIO_PLAYER_MOD_FMP_INFO' => 'Используется Flash MP3 Player',
'SIMPLE_AUDIO_PLAYER_MOD_WMP_INFO' => 'Используется Music Player',
'SIMPLE_AUDIO_INFO_1' => '<b style="color: #FFFFFF;">У вас нет флеш плагина к браузеру! Или он не сработал! Повторите через некоторое время!</b>',
'SIMPLE_AUDIO_INFO_2' => '<b style="color: #FFFFFF;">Пожалуйста, установите дополнительный флеш плагин для вашего браузера.</b>',
'SIMPLE_AUDIO_INFO_3' => '<b style="color: #FF0000;">Нажмите здесь</b>',
'SIMPLE_AUDIO_INFO_4' => '<b style="color: #FFFFFF;">И следуйте инструкции.</b>',
));
?>
I just checked your site... It's working for me. The default player is working and the 2nd audio player.Pthelovod wrote:Additional player is not working. White window and all.
What to do?
Code: Select all
// SIMPLE AUDIO PLAYER MOD BEGIN
$user->add_lang('mods/simple_audio_player_lang'),
'U_SIMPLE_AUDIO_PLAYER_MOD_LINK' => append_sid("{$phpbb_root_path}audioplayer.$phpEx"),
'U_SIMPLE_AUDIO_PLAYER_MOD_LINK2' => append_sid("{$phpbb_root_path}audioplayer2.$phpEx"),
'U_SIMPLE_AUDIO_PLAYER_MOD_INFO' => 'http://www.thebx.net/info/_business_phpbb.php',
'U_SIMPLE_AUDIO_PLAYER_MOD_FMP_INFO' => 'http://www.flashmp3player.org/',
'U_SIMPLE_AUDIO_PLAYER_MOD_WMP_INFO' => 'http://www.websitemusicplayer.com/',
// SIMPLE AUDIO PLAYER MOD END
Code: Select all
// SIMPLE AUDIO PLAYER MOD BEGIN
$user->add_lang('mods/simple_audio_player_lang'),
'U_SIMPLE_AUDIO_PLAYER_MOD_LINK' => append_sid("{$phpbb_root_path}audioplayer.$phpEx"),
'U_SIMPLE_AUDIO_PLAYER_MOD_LINK2' => append_sid("{$phpbb_root_path}audioplayer2.$phpEx"),
'U_SIMPLE_AUDIO_PLAYER_MOD_FLASH_INFO' => 'http://www.macromedia.com/go/getflashplayer',
'U_SIMPLE_AUDIO_PLAYER_MOD_INFO' => 'http://thebx.net/info/_free_software_phpbb.php',
'U_SIMPLE_AUDIO_PLAYER_MOD_FMP_INFO' => 'http://www.flashmp3player.org/',
'U_SIMPLE_AUDIO_PLAYER_MOD_WMP_INFO' => 'http://www.websitemusicplayer.com/',
// SIMPLE AUDIO PLAYER MOD END
I saw your post late (after I already made the changes and my last post)muggins wrote:OK. Please package another with a different version number? Maybe the multiple revisions are creating problems?
I have had trouble with only 2.5 of the versions do far...
Yes. I'm sure it will! Thank you!keith10456 wrote:@ Pthelovod - Please look at the new language file and post your updated language file so I can include it.
Code: Select all
<li class="icon-faq"><a href="{U_FAQ}" title="{L_FAQ_EXPLAIN}">{L_FAQ}</a></li>
Code: Select all
<!-- SIMPLE AUDIO PLAYER MOD BEGIN --><!-- IF S_USER_LOGGED_IN --><li class="icon-sap"><a href="{U_SIMPLE_AUDIO_PLAYER_MOD_LINK2}" onclick="window.open('{U_SIMPLE_AUDIO_PLAYER_MOD_LINK2}','','toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, width=350, height=400, left=20, top=10'); return false;" title="{L_SIMPLE_AUDIO_PLAYER2_TITLE}">{L_SIMPLE_AUDIO_PLAYER_MOD_LINK2}</a></li><!-- ENDIF --><!-- SIMPLE AUDIO PLAYER MOD END -->
<!-- SIMPLE AUDIO PLAYER MOD BEGIN --><!-- IF S_USER_LOGGED_IN --><li class="icon-sap"><a href="{U_SIMPLE_AUDIO_PLAYER_MOD_LINK}" onclick="window.open('{U_SIMPLE_AUDIO_PLAYER_MOD_LINK}','','toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, width=350, height=380, left=20, top=10'); return false;" title="{L_SIMPLE_AUDIO_PLAYER_TITLE}">{L_SIMPLE_AUDIO_PLAYER_MOD_LINK}</li><!-- ENDIF --><!-- SIMPLE AUDIO PLAYER MOD END -->
Code: Select all
<!DOCTYPE html>
<html lang=en>
<head>
<!-- SIMPLE AUDIO PLAYER MOD BEGIN -->
<script language="javascript" type="text/javascript" src="{BOARD_URL}audioplayer/swfobject.js"></script>
<!-- SIMPLE AUDIO PLAYER MOD END -->
<link href="{T_STYLESHEET_LINK}" rel="stylesheet" type="text/css" media="screen, projection" />
</head>
<div class="forabg">
<div class="inner"><span class="corners-top"><span></span></span>
<br/>
<!-- Div that contains player. -->
<table width="100%">
<tr>
<td align="center">
<div id="player">
<h3>{L_SIMPLE_AUDIO_PLAYER_MOD_NO_FLASH}</h3>
<h3>{L_SIMPLE_AUDIO_PLAYER_MOD_NO_FLASH_DSCR}<br/><a href="{U_SIMPLE_AUDIO_PLAYER_MOD_FLASH_INFO}">{L_SIMPLE_AUDIO_PLAYER_MOD_NO_FLASH_INFO}</h3>
</div>
</td>
</tr>
<tr>
<td align="center">
<br/>
<p class="sapcenter">{L_SIMPLE_AUDIO_PLAYER_MOD_LINK}<br/>{L_SIMPLE_AUDIO_PLAYER_MOD_PAGE_TITLE}<br/><a href="{U_SIMPLE_AUDIO_PLAYER_MOD_INFO}">{L_SIMPLE_AUDIO_PLAYER_MOD_INFO}</a><br/><a href="{U_SIMPLE_AUDIO_PLAYER_MOD_FMP_INFO}">{L_SIMPLE_AUDIO_PLAYER_MOD_FMP_INFO}</a></p>
</td>
</tr>
</table>
<!-- Script that embeds player. -->
<script language="javascript" type="text/javascript">
var so = new SWFObject("flashmp3player.swf", "player", "320", "247", "9"); // Location of swf file. You can change player width and height here (using pixels or percents).
so.addParam("quality", "high");
so.addVariable("content_path","audioplayer_files"); // Location of a folder with mp3 files (relative to php script).
so.addVariable("color_path","{BOARD_URL}audioplayer/default.xml"); // Location of xml file with color settings.
so.addVariable("script_path","flashmp3player.php"); // Location of php script.
so.write("player");
</script>
<span class="corners-bottom"><span></span></span></div></div>
</html>
Code: Select all
<!DOCTYPE html>
<html lang=en>
<head>
<link href="{T_STYLESHEET_LINK}" rel="stylesheet" type="text/css" media="screen, projection" />
</head>
<div class="forabg">
<div class="inner"><span class="corners-top"><span></span></span>
<table width="100%">
<tr>
<td align="center">
<script language='JavaScript' src='{ROOT_PATH}audioplayer2/musicplayer.js' type='text/javascript'></script>
<p class="sapcenter">{L_SIMPLE_AUDIO_PLAYER_MOD_LINK2}<br/>{L_SIMPLE_AUDIO_PLAYER_MOD_PAGE_TITLE}<br /><a href="{U_SIMPLE_AUDIO_PLAYER_MOD_INFO}">{L_SIMPLE_AUDIO_PLAYER_MOD_INFO}</a><br/><a href="{U_SIMPLE_AUDIO_PLAYER_MOD_WMP_INFO}">{L_SIMPLE_AUDIO_PLAYER_MOD_WMP_INFO}</a></p>
</td>
</tr>
</table>
<span class="corners-bottom"><span></span></span></div></div>
</html>
Code: Select all
'SIMPLE_AUDIO_PLAYER2_TITLE' => '??????????????????????????????.',
'SIMPLE_AUDIO_PLAYER_TITLE' => '???????????????????????????.',
Code: Select all
<?php
/**
*
* contact [Russin] Pthelovod
* @package language
* @version 1.0.0 2013-03-24
* @copyright(c) 2013 TheBX.net
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
**/
/**
* DO NOT CHANGE!
*/
if (!defined('IN_PHPBB'))
{
exit;
}
if (empty($lang) || !is_array($lang))
{
$lang = array();
}
// DEVELOPERS PLEASE NOTE
//
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
//
// Placeholders can now contain order information, e.g. instead of
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
// translators to re-order the output of data while ensuring it remains correct
//
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
// equally where a string contains only two placeholders which are used to wrap text
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
//
// Some characters you may want to copy&paste (Unicode characters):
// ’ » “ ” …
//
$lang = array_merge($lang, array(
// Simple Audio Player Mod
'SIMPLE_AUDIO_PLAYER_MOD_PAGE_HEADER' => 'Аудио MP3 плеер',
'SIMPLE_AUDIO_PLAYER_MOD_LINK' => 'Flash MP3 Player',
'SIMPLE_AUDIO_PLAYER_MOD_LINK2' => 'Website MP3 Player',
'SIMPLE_AUDIO_PLAYER_MOD_LINK_EXPLAIN' => 'Слушайте музыку, звуковое сопровождение и т.д.',
'SIMPLE_AUDIO_PLAYER_MOD_PAGE_TITLE' => 'Музыкальное сопровождение форума',
'SIMPLE_AUDIO_PLAYER_MOD_INFO' => 'К автору мода плеера By Keith',
'SIMPLE_AUDIO_PLAYER_MOD_FMP_INFO' => 'Создан на базе Flash Music Player',
'SIMPLE_AUDIO_PLAYER_MOD_WMP_INFO' => 'Используется Website Music Player',
'SIMPLE_AUDIO_PLAYER_MOD_NO_FLASH' => 'Упсс.. Не работает Flash MP3 плеер!',
'SIMPLE_AUDIO_PLAYER_MOD_NO_FLASH_DSCR' => 'Не установлен необходимый для работы этого плеера Flash-плагин для вашего Браузера.',
'SIMPLE_AUDIO_PLAYER_MOD_NO_FLASH_INFO' => 'Нажмите здесь для установки необходимого плагина.',
'SIMPLE_AUDIO_PLAYER2_TITLE' => 'Просмотр форума под музыкальное сопровождение песен Российской эстрады.',
'SIMPLE_AUDIO_PLAYER_TITLE' => 'Просмотр форума под музыкальное сопровождение инструментальной музыки.',
));
?>
Code: Select all
Test_№_01
Code: Select all
Test_№_011
[size=100]RASTAFARIAN LOVE, Lovers For All Justice, JUSTICE MUST BE DONE ![/size]