En realidad es una nueva etiqueta BBCode, que permite escuchar mensajes
Lo pongo aquí? para que mirí?©is si hay errores o para que lo desarrollí?©is
La versií?³n actual es la 2.0.1
Y el mod es este:
Código: Seleccionar todo
#######################################################################
##
## MOD Title: Texto Hablado [voz]..[/voz]
## MOD Author: Torcuato Jam (thedestroyer)http://usuarios.lycos.es/beonecorp
## MOD Description: Un nuevo BBCode para hablar tus mensajes
## MOD Version: 2.0.1
##
## Installation Level: EASY
## Installation Time: 2 minutes
## Files To Edit: includes/bbcode.php,
## templates/xxx/bbcode.tpl,
## templates/xxx/posting_body.tpl,
## language/lang_english/lang_main.php
## posting.php
## privmsg.php
##
## Included Files: n/a
## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2
##############################################################
## For security purposes, please check: http://www.phpbb.com/mods/
## for the latest version of this MOD. Although MODs are checked
## before being allowed in the MODs Database there is no guarantee
## that there are no security problems within the MOD. No support
## will be given for MODs not found within the MODs Database which
## can be found at http://www.phpbb.com/mods/
##############################################################
## Author Notes:
## - Ahora puedes escoger el sexo de la voz desde el formulario cuando ## posteas un mensaje o tambií?©n poniendo [voz] o [female]
##
##############################################################
## MOD History:
##
## 2005-12-14 - Version 1.0.0
## - First Beta in Spanish
##
## 2006-1-4 - Version 1.0.1
## - Changed some things about the form
##
## 2006-1-28 - Version 1.1.0
## - Translated to English
## - Added Download Button
##
## 2006-1-29 - Version 1.1.1
## - Transparency to textarea
## - Fixed some bugs, now you can't modify the text on the form
##
## 2006-1-31 - Version 2.0.0
## - Added female voice
## - Removed Download Button
## - Added Select form to the posting BBCode tags
##
## 2006-1-31 - Version 2.0.0
## - Traducido de nuevo al espaí?±ol
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ OPEN ]------------------------------------------
#
# includes/bbcode.php
#
#-----[ FIND ]------------------------------------------
#
// [i] and [/i] for italicizing text.
$text = str_replace("[i:$uid]", $bbcode_tpl['i_open'], $text);
$text = str_replace("[/i:$uid]", $bbcode_tpl['i_close'], $text);
#
#-----[ AFTER, ADD ]------------------------------------------
#
// [voice] and [/voice] for spoken text.
$text = str_replace("[voice:$uid]", $bbcode_tpl['voice_open'], $text);
$text = str_replace("[/voice:$uid]", $bbcode_tpl['voice_close'], $text);
// [female] and [/female] for spoken text.
$text = str_replace("[female:$uid]", $bbcode_tpl['female_open'], $text);
$text = str_replace("[/female:$uid]", $bbcode_tpl['female_close'], $text);
#
#-----[ FIND ]------------------------------------------
#
// [i] and [/i] for italicizing text.
$text = preg_replace("#\[i\](.*?)\[/i\]#si", "[i:$uid]\\1[/i:$uid]", $text);
#
#-----[ AFTER, ADD ]------------------------------------------
#
// [voice] and [/voice] for spoken text.
$text = preg_replace("#\[voice\](.*?)\[/voice\]#si", "[voice:$uid]\\1[/voice:$uid]", $text);
// [female] and [/female] for spoken text.
$text = preg_replace("#\[female\](.*?)\[/female\]#si", "[female:$uid]\\1[/female:$uid]", $text);
#
#-----[ OPEN ]------------------------------------------
#
# templates/xxx/bbcode.tpl
#
#-----[ FIND ]------------------------------------------
#
#
#-----[ AFTER, ADD ]------------------------------------------
#
#
#
#-----[ OPEN ]------------------------------------------
#
# templates/xxx/posting_body.tpl
#
#-----[ FIND ]------------------------------------------
#
# NOTE: La linea actual es mucho mí?¡s larga, conteniendo todas las etiquetas BBCode
#
bbtags = new Array(
#
#-----[ IN-LINE FIND ]------------------------------------------
#
'[url]','[/url]'
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
,'[voz]','[/voz]','[female]','[/female]'
#
#-----[ FIND ]------------------------------------------
#
# NOTE: el trozo de texto es mucho mí?¡s largo, pero así? se encuentra mí?¡s fí?¡cilmente
#
{L_FONT_SIZE}:
#
#-----[ IN-LINE FIND ]------------------------------------------
#
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
{L_SPOKEN}:
{L_MALE}
{L_FEMALE}
#
#-----[ OPEN ]------------------------------------------
#
# posting.php
#
#-----[ FIND ]------------------------------------------
#
'L_BBCODE_B_HELP' =>
#
#-----[ BEFORE, ADD ]------------------------------------------
#
'L_SPOKEN' => $lang['spoken'],
'L_MALE' => $lang['spoken_male'],
'L_FEMALE' => $lang['spoken_female'],
#
#-----[ OPEN ]------------------------------------------
#
# privmsg.php
#
#-----[ FIND ]------------------------------------------
#
'L_BBCODE_B_HELP' =>
#
#-----[ BEFORE, ADD ]------------------------------------------
#
'L_SPOKEN' => $lang['spoken'],
'L_MALE' => $lang['spoken_male'],
'L_FEMALE' => $lang['spoken_female'],
#
#-----[ OPEN ]------------------------------------------
#
# language/lang_english/lang_main.php
#
#-----[ FIND ]------------------------------------------
#
//
// That's all, Folks!
//
#
#-----[ BEFORE, ADD ]------------------------------------------
#
$lang['spoken'] = "Texto Hablado";
$lang['spoken_male'] = "Hombre";
$lang['spoken_female'] = "Mujer";
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
Lo podí?©is probar aquí?Â: http://usuarios.lycos.es/beonecorp
Gracias por la atencií?³n
