Foros del Web » Creando para Internet » Sistemas de gestión de contenidos »

Problema con un Mod para phpbb2

Estas en el tema de Problema con un Mod para phpbb2 en el foro de Sistemas de gestión de contenidos en Foros del Web. Pues eso tengo un problemin con un mod para agregar un bbcode de video dentro de cada publicacion. el problema surge por que , previamente ...
  #1 (permalink)  
Antiguo 09/06/2005, 21:55
Avatar de Larc  
Fecha de Ingreso: octubre-2003
Ubicación: Mexico
Mensajes: 259
Antigüedad: 20 años, 6 meses
Puntos: 0
Problema con un Mod para phpbb2

Pues eso tengo un problemin con un mod para agregar un bbcode de video dentro de cada publicacion.

el problema surge por que , previamente agrege un mod que se llama Multi bbcode que necesitaba para agregar el mod de flash el codigo del multi bbcode es este :

Código:
## easymod compliant
############################################################## 
## MOD Title:    Multiple BBCode MOD
## MOD Author:   Nuttzy99 < [email protected] > (n/a) http://www.blizzhackers.com
## MOD Author, Secondary: wGEric < [email protected] > (Eric Faerber) http://mods.best-dev.com/
##
## MOD Description:  Allows you to install BBCode MODs that
##    add quick BBCode buttons in post edits.  Without this
##    MOD, there is no standard way of installing BBCode MODs.
## MOD Version:  1.4.0c
## 
## Installation Level:  EASY
## Installation Time:   2 minutes
## Files To Edit:       posting.php
##                      templates/subSilver/posting_body.tpl
## Included Files:      n/a
############################################################## 
## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the 
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code 
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered 
## in our MOD-Database, located at: http://www.phpbb.com/mods/
############################################################## 
##
## Author Notes:
##     + if Multi BBCode MOD v1.0.1 is already installed, use the update to 1.2.0 MOD
##          and do NOT install this MOD script
##     + Works with phpBB 2.0.2 thru 2.0.10
##     + installable with EasyMOD
##
##	Version 1.4.0 makes it so MOD Authors don't have to set a hotkey for their BBCodes.
##
##	I have added instructions to the MOD that tell MOD Authors what to do in the language files
##	This isn't required but I heavily recommend that you do it anyways just in case the MOD Authors
##	use something in what I have added as their FIND.
##
############################################################## 
##
## MOD History:
##
##    2004-09-26 - Version 1.4.0
##	   + Sets hot key automatically
##	   + Adds it to Private Messages (version b)
##	   + Fixes a help line bug (version c)
##
##    2003-09-25 - Version 1.2.1
##         + improved MOD Template compliance
##
##    2003-08-15 - Version 1.2.0
##         + updated for 2.0.6
##         + allows additional hotkeys - Xore did most of the work ;-)
##         + made EasyMOD compatiable
##
##    2003-02-03 - Version 1.0.1
##         + updated for 2.0.4
##         + no code changes required, just updated the header info
##
##    2002-08-31 - Version 1.0.0
##         + initial release
##
############################################################## 
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD 
############################################################## 


# 
#-----[ OPEN ]---------------------------------
# 
posting.php


# 
#-----[ FIND ]---------------------------------
#
#  NOTE - the full line to look for is:
# make_jumpbox('viewforum.'.$phpEx);
#
make_jumpbox(


# 
#-----[ AFTER, ADD ]---------------------------------
#
Multi_BBCode();

# 
#-----[ OPEN ]---------------------------------
# 
privmsg.php


# 
#-----[ FIND ]---------------------------------
#
	generate_smilies('inline', PAGE_PRIVMSGS);


# 
#-----[ AFTER, ADD ]---------------------------------
#
Multi_BBCode();

# 
#-----[ OPEN ]---------------------------------
#
includes/bbcode.php
# 
#-----[ FIND ]---------------------------------
#
$bbcode_tpl = null;
# 
#-----[ AFTER, ADD ]---------------------------------
#

// MULTI BBCODE-begin
function Multi_BBCode()
{
	global $template, $lang;

	// DO NOT CHANGE THIS ARRAY
	$hotkeys = array('', 'd', 'e', 'g', 'h', 'j', 'k', 'm', 'n', 'r', 't', 'v', 'x', 'y', 'z', '1', '2', '3', '4', '5', '6', '7', '8', '9', '0');

	//NOTE: the first element of each array must be ''   Add new elements AFTER the ''
	$EMBB_widths = array('') ;
	$EMBB_values = array('') ;
	for ($i=1; $i<count($EMBB_values); $i++)
	{
		// load BBcode MODs info
		$val = ($i*2)+16 ;
		$help_lang = ( !empty($lang['bbcode_help'][(strtolower($EMBB_values[$i]))]) ) ? $lang['bbcode_help'][(strtolower($EMBB_values[$i]))] : $lang['bbcode_help'][$EMBB_values[$i]];
		$template->assign_block_vars('MultiBB', array(
			'KEY' => $hotkeys[$i],
			'NAME' => "addbbcode$val",
			'HELP' => sprintf($help_lang, $hotkeys[$i]),
			'WIDTH' => $EMBB_widths[$i],
			'VALUE' => $EMBB_values[$i],
			'STYLE' => "bbstyle($val)")
		);
	}
}
// MULTI BBCODE-end

# 
#-----[ OPEN ]---------------------------------
# 
templates/subSilver/posting_body.tpl


#
#-----[ FIND ]---------------------------------
#
f_help = "{L_BBCODE_F_HELP}";

# 
#-----[ AFTER, ADD ]---------------------------------
#
<!-- BEGIN MultiBB -->
{MultiBB.VALUE}_help = "{MultiBB.HELP}";
<!-- END MultiBB -->

#
#-----[ FIND ]---------------------------------
#
#  NOTE - the full line to look for is:
#			  <input type="button" class="button" accesskey="w" name="addbbcode16" value="URL" style="text-decoration: underline; width: 40px" onClick="bbstyle(16)" onMouseOver="helpline('w')" />
#			  </span></td>
#
	name="addbbcode16"
	</td>

# 
#-----[ AFTER, ADD ]---------------------------------
#

			<!-- BEGIN MultiBB -->
			<td><span class="genmed">
			  <input type="button" class="button" accesskey="{MultiBB.KEY}" name="{MultiBB.NAME}" value="{MultiBB.VALUE}" style="width: {MultiBB.WIDTH}px" onClick="{MultiBB.STYLE}" onMouseOver="helpline('{MultiBB.VALUE}')" />
			  </span></td>
			<!-- END MultiBB -->
# 
#-----[ FIND ]---------------------------------
#
#  NOTE - the full line to look for is:
#					<select name="addbbcodefontcolor" onChange="bbfontstyle('[color=' + this.form.addbbcodefontcolor.options[this.form.addbbcodefontcolor.selectedIndex].value + ']', '[/color]')" onMouseOver="helpline('s')">
#
	name="addbbcode18"


# 
#-----[ IN-LINE FIND ]---------------------------------
#
name="addbbcode18"


# 
#-----[ IN-LINE REPLACE WITH ]---------------------------------
#
name="addbbcodefontcolor"


# 
#-----[ IN-LINE FIND ]---------------------------------
#
this.form.addbbcode18.options


# 
#-----[ IN-LINE REPLACE WITH ]---------------------------------
#
this.form.addbbcodefontcolor.options


# 
#-----[ IN-LINE FIND ]---------------------------------
#
this.form.addbbcode18.selectedIndex


# 
#-----[ IN-LINE REPLACE WITH ]---------------------------------
#
this.form.addbbcodefontcolor.selectedIndex


# 
#-----[ FIND ]---------------------------------
#
#  NOTE - the full line to look for is:
#					</select> &nbsp;{L_FONT_SIZE}:<select name="addbbcodefontsize" onChange="bbfontstyle('[size=' + this.form.addbbcodefontsize.options[this.form.addbbcodefontsize.selectedIndex].value + ']', '[/size]')" onMouseOver="helpline('f')">
#
	name="addbbcode20"

# 
#-----[ IN-LINE FIND ]---------------------------------
#
name="addbbcode20"


# 
#-----[ IN-LINE REPLACE WITH ]---------------------------------
#
name="addbbcodefontsize"


# 
#-----[ IN-LINE FIND ]---------------------------------
#
this.form.addbbcode20.options


# 
#-----[ IN-LINE REPLACE WITH ]---------------------------------
#
this.form.addbbcodefontsize.options


# 
#-----[ IN-LINE FIND ]---------------------------------
#
this.form.addbbcode20.selectedIndex


# 
#-----[ IN-LINE REPLACE WITH ]---------------------------------
#
this.form.addbbcodefontsize.selectedIndex

# 
#-----[ OPEN ]---------------------------------
#
language/lang_english/lang_main.php

# 
#-----[ FIND ]---------------------------------
#
#  NOTE - the full line to look for is:
#	$lang['bbcode_f_help'] = 'Font size: [size=x-small]small text[/size]';
#
$lang['bbcode_f_help']

# 
#-----[ AFTER, ADD ]---------------------------------
#

//
// bbcode help format goes like this
// $lang['bbcode_help']['value'] = 'BBCode Name: Info (Alt+%s)';
//
// value is what you put in $EMBB_values in posting.php
// %s gets replaced with the automatic hotkey that the bbcode gets assigned
//
$lang['bbcode_help']['value'] = 'BBCode Name: Info (Alt+%s)';

#
#-----[ SAVE/CLOSE ALL FILES ]---------------------------------
#
# EoM
__________________
Quien parte de las sombras y se levanta como un muerto brillando como una estrella sobre èl (towlen), entre la oscuridad congelante y la luz.
LÄRÇ :serio:
  #2 (permalink)  
Antiguo 09/06/2005, 21:56
Avatar de Larc  
Fecha de Ingreso: octubre-2003
Ubicación: Mexico
Mensajes: 259
Antigüedad: 20 años, 6 meses
Puntos: 0
el del flash es este :

Código:
##############################################################
## MOD Title: Flash MOD 2.0.11
## MOD Author: smithy_dll < davidls14 AT yahoo DOT com DOT au > (David Smith) http://phpbbstuff.ddblog.org/
## MOD Description: Flash BBcode tag MOD, with quick access buttons.
## MOD Version: 2.0.11
## 
## Installation Level: Easy
## Installation Time: 12 minutes
## Files To Edit: includes/bbcode.php
##                language/lang_english/lang_main.php
##                templates/subSilver/bbcode.tpl    
##                templates/subSilver/posting_body.tpl
## Included Files: 
## Generator: MOD Studio 3.0 Beta 1 [mod functions 0.4.1721.37118]
##############################################################
## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the 
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code 
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered 
## in our MOD-Database, located at: http://www.phpbb.com/mods/ 
##############################################################
## Author Notes: 
## You must have Multiple BBCode MOD installed for this to work.
## Get it here: http://www.phpbb.com/phpBB/viewtopic.php?t=74705
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD 
##############################################################

#
#-----[ OPEN ]------------------------------------------
#
includes/bbcode.php

#
#-----[ FIND ]------------------------------------------
#
$EMBB_widths = array(''

#
#-----[ IN-LINE FIND ]------------------------------------------
#
 array(''

#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
,'50'

#
#-----[ FIND ]------------------------------------------
#
$EMBB_values = array(''

#
#-----[ IN-LINE FIND ]------------------------------------------
#
$EMBB_values = array(''

#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
,'Flash'

#
#-----[ FIND ]------------------------------------------
#
	$bbcode_tpl['email'] = str_replace('{EMAIL}', '\\1', $bbcode_tpl['email']);
#
#-----[ AFTER, ADD ]------------------------------------------
#
	
	//Begin Flash Mod for 2.0.11
	$bbcode_tpl['flash'] = str_replace('{WIDTH}', '\\1', $bbcode_tpl['flash']);
	$bbcode_tpl['flash'] = str_replace('{HEIGHT}', '\\2', $bbcode_tpl['flash']);
	$bbcode_tpl['flash'] = str_replace('{LOOP}', '\\3', $bbcode_tpl['flash']);
	$bbcode_tpl['flash'] = str_replace('{URL}', '\\4', $bbcode_tpl['flash']);
	$bbcode_tpl['cf'] = str_replace('{URL}', '\\1', $bbcode_tpl['cf']);
	//End Flash Mod for 2.0.11
	
#
#-----[ FIND ]------------------------------------------
#
	$replacements[] = $bbcode_tpl['email'];
#
#-----[ AFTER, ADD ]------------------------------------------
#
	
	//Begin Flash Mod for 2.0.11
	//[flash width= height= loop= ]and[/flash]code.. 
	$patterns[] = "#\[flash width=([0-9]?[0-9]?[0-9]) height=([0-9]?[0-9]?[0-9]) loop=(true|false):$uid\](.*?)\[/flash:$uid\]#si"; 
	$replacements[] = $bbcode_tpl[flash];
	//[flash]and[/flash]code.. 
	$patterns[] = "#\[flash:$uid\](.*?)\[/flash:$uid\]#si"; 
	$replacements[] = $bbcode_tpl[cf];
	//End Flash Mod for 2.0.11
	
#
#-----[ FIND ]------------------------------------------
#
# Note, the find is much longer:
# 	$text = preg_replace("#\[img\]((http|ftp|https|ftps)://)([^ \?&=\#\"\n\r\t<]*?(\.(jpg|jpeg|gif|png)))\[/img\]#sie", "'[img:$uid]\\1' . str_replace(' ', '%20', '\\3') . '[/img:$uid]'", $text);
# 
	$text = preg_replace("#\[img\]((
#
#-----[ AFTER, ADD ]------------------------------------------
#
	
	//Begin Flash Mod for 2.0.11
	//[flash width= heigth= loop=] and[ /flash ]
	$text = preg_replace("#\[flash width=([0-9]?[0-9]?[0-9]) height=([0-9]?[0-9]?[0-9]) loop=(true|false)\](([a-z]+?)://([^, \n\r]+))\[\/flash\]#si","[flash width=\\1 height=\\2 loop=\\3:$uid\]\\4[/flash:$uid]", $text); 
	$text = preg_replace("#\[flash width=([0-9]?[0-9]?[0-9]) height=([0-9]?[0-9]?[0-9])\](([a-z]+?)://([^, \n\r]+))\[\/flash\]#si","[flash width=\\1 height=\\2 loop=false:$uid\]\\3[/flash:$uid]", $text); 
	$text = preg_replace("#\[flash\](([a-z]+?)://([^, \n\r]+))\[\/flash\]#si","[flash:$uid\]\\1[/flash:$uid]", $text); 
	//End Flash Mod for 2.0.11
	
#
#-----[ OPEN ]------------------------------------------
#
language/lang_english/lang_main.php

#
#-----[ FIND ]------------------------------------------
#
# NOTE: the full line to look for is:
# $lang['bbcode_f_help'] = "Font size: [size=x-small]small text[/size]";
# 
$lang['bbcode_f_help'] =

#
#-----[ AFTER, ADD ]------------------------------------------
#

$lang['bbcode_help']['flash'] = 'Flash: [flash width=000 height=000 loop=(true|false)]url to swf file[/flash] (alt+%s)';

#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/bbcode.tpl
    
#
#-----[ FIND ]------------------------------------------
#
<!-- BEGIN email --><a href="mailto:{EMAIL}">{EMAIL}</A><!-- END email -->
#
#-----[ AFTER, ADD ]------------------------------------------
#

<!-- BEGIN flash -->
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="{WIDTH}" height="{HEIGHT}">
  <param name="allowScriptAccess" value="never" />
  <param name="movie" value="{URL}" />
  <param name="loop" value="{LOOP}" />
  <param name="quality" value="high" />
  <param name="scale" value="noborder" />
  <param name="wmode" value="transparent" />
  <param name="bgcolor" value="#000000" />
  <embed allowScriptAccess="never" src="{URL}" loop="{LOOP}" quality="high" scale="noborder" wmode="transparent" bgcolor="#000000" width="{WIDTH}" height="{HEIGHT}" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></embed> 
</object><!-- END flash --> 

<!-- BEGIN cf -->
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0">
  <param name="allowScriptAccess" value="never" />
  <param name="movie" value="{URL}" />
  <param name="quality" value="high" />
  <param name="scale" value="noborder" />
  <param name="wmode" value="transparent" />
  <param name="bgcolor" value="#000000" />
  <embed allowScriptAccess="never" src="{URL}" quality="high" scale="noborder" wmode="transparent" bgcolor="#000000" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></embed> 
</object><!-- END cf -->

#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/posting_body.tpl

#
#-----[ FIND ]------------------------------------------
#
# NOTE: the actual line to find is MUCH longer, containing all the bbcode tags
# 
bbtags = new Array(

#
#-----[ IN-LINE FIND ]------------------------------------------
#
'',''

#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
,'[flash]','[/flash]'

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
y hasta ahi todo jala muy bien , los colque para quien le sirva y los quiera usar funcionan a la perfeccion .
__________________
Quien parte de las sombras y se levanta como un muerto brillando como una estrella sobre èl (towlen), entre la oscuridad congelante y la luz.
LÄRÇ :serio:
  #3 (permalink)  
Antiguo 09/06/2005, 21:57
Avatar de Larc  
Fecha de Ingreso: octubre-2003
Ubicación: Mexico
Mensajes: 259
Antigüedad: 20 años, 6 meses
Puntos: 0
este es el de Video :

Código:
#Author: NTT Team (www.nguontrithuc.com)
#Email Author: [email protected]
#Version: phpBB2.0.5 or phpBB2.0.6
#Mod: Video BBcode
#Des: adds a video bbcode tag to your forum for the windows media player plugin, following file formats are supported with the wmp plugin. (wma, wmv, DAT...)
#Installation Level: very easy 
#Installation Time: 2 minute
#Files To Edit: bbcode.tpl, bbcode.php, posting.php, lang_main.php, posting_body.tpl


# 
#-----[ OPEN ]------------------------------------------ 
# 
includes/bbcode.php 
# 
#-----[ FIND ]------------------------------------------ 
# 
   $bbcode_tpl['email'] = str_replace('{EMAIL}', '\\1', $bbcode_tpl['email']); 
# 
#----[ AFTER, ADD ]----------------------------------------- 
# 
   //www.nguontrithuc.com
   $bbcode_tpl['video'] = str_replace('{URL}', '\\1', $bbcode_tpl['video']); 
# 
#-----[ FIND ]------------------------------------------ 
# 
   // [email protected] code.. 
   $patterns[5] = "#\[email\]([a-z0-9\-_.]+?@[\w\-]+\.([\w\-\.]+\.)?[\w]+)\[/email\]#si"; 
   $replacements[5] = $bbcode_tpl['email']; 
# 
#----[ AFTER, ADD ]----------------------------------------- 
# Note: you may need to change array number if used with other BBcode mods 
# 
   //[ video ]and[ /video ]for videoing audio. 
   $patterns[6] = "#\[video:$uid\](.*?)\[/video:$uid\]#si"; 
   $replacements[6] = $bbcode_tpl['video']; 
# 
#-----[ FIND ]------------------------------------------ 
# 
   // [img]image_url_here[/img] code.. 
   $text = preg_replace("#\[img\](http(s)?://)([a-z0-9\-\.,\?!%\*_\#:;~\\&$@\/=\+]+)\[/img\]#si", "[img:$uid]\\1\\3[/img:$uid]", $text); 
# 
#----[ AFTER, ADD ]----------------------------------------- 
# 
   //[ video]image_url_here[/video ]code.. 
   $text = preg_replace("#\[video\](([a-z]+?)://([^, \n\r]+))\[/video\]#si", "[video:$uid]\\1[/video:$uid]", $text); 
# 
#-----[ OPEN ]------------------------------------------ 
# 
templates/subSilver/bbcode.tpl 
# 
#-----[ FIND ]------------------------------------------ 
# 
<!-- BEGIN email --><a href="mailto:{EMAIL}">{EMAIL}</A><!-- END email --> 

# 
#----[ AFTER, ADD ]----------------------------------------- 
# 
<!-- BEGIN video --><object id="wmp" width=300 height=300 classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" 
codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,0,0" 
standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject"> 
<param name="FileName" value="{URL}"> 
<param name="ShowControls" value="1"> 
<param name="ShowDisplay" value="0"> 
<param name="ShowStatusBar" value="1"> 
<param name="AutoSize" value="1"> 
<param name="autoplay" value="0"> 
<embed type="application/x-mplayer2" 
pluginspage="http://www.microsoft.com/windows95/downloads/contents/wurecommended/s_wufeatured/mediaplayer/default.asp" 
src="{URL}" name=MediaPlayer2 showcontrols=1 showdisplay=0 showstatusbar=1 autosize=1 autoplay=0 visible=1 animationatstart=0 transparentatstart=1 loop=0 height=300 width=300> 
</embed> 
</object><!-- END video --> 


#open: posting.php

#find:
'L_BBCODE_F_HELP' => $lang['bbcode_f_help'],
#After add:
'L_BBCODE_Z_HELP' => $lang['bbcode_z_help'],

#open: lang_main.php 

#find:
$lang['bbcode_f_help'] = "Font size: [size=x-small]small text[/size]";
#After add:
$lang['bbcode_z_help'] = "Video online: [video]http://link_of_video[/video]";

#open: templates/xxx/posting_body.tpl

#find:
f_help = "{L_BBCODE_F_HELP}";
#After add:
z_help = "{L_BBCODE_Z_HELP}";

#find:
bbtags = new Array('','','','','','','
Cita:
','
','
Código:
','
','
  • ','
','
  • ','
','[img]','[/img]','',''); #Replace with( note if you hack other bbcode ): bbtags = new Array('','','','','','','
Cita:
','
','
Código:
','
','
  • ','
','
  • ','
','[img]','[/img]','','','[video]','[/video]'); #find: <td><span class="genmed"><input type="button" class="button" accesskey="w" name="addbbcode16" value="URL" style="text-decoration: underline; width: 40px" onClick="bbstyle(16)" onMouseOver="helpline('w')" /></span></td> #After add ( note: +2 if you hack other bbcode ): <td><span class="genmed"><input type="button" class="button" accesskey="z" name="addbbcode18" value="Video" style="width: 50px" onClick="bbstyle(18)" onMouseOver="helpline('z')" /></span></td>
y no me funciona por que cuando le doy clic para colocar las etiquetas dentro del foro me muestra las del flash . Yo supongo que tengo que modificar este Mod de video a una sintaxis similar a la de flash pero pus no me ha salido alguien tiene alguna idea ?
__________________
Quien parte de las sombras y se levanta como un muerto brillando como una estrella sobre èl (towlen), entre la oscuridad congelante y la luz.
LÄRÇ :serio:
  #4 (permalink)  
Antiguo 10/06/2005, 05:04
Avatar de xenogearsifm  
Fecha de Ingreso: julio-2004
Ubicación: 404 Not Found
Mensajes: 324
Antigüedad: 19 años, 9 meses
Puntos: 0
El problema seguramente lo tengas en tu template, en el archivo posting_body.tpl

Fijate en las lineas con este formato:

Código HTML:
<input type="button" class="button" accesskey="w" name="addbbcode16" value="URL" style="text-decoration: underline; width: 40px" onClick="bbstyle(16)" onMouseOver="helpline('w')" /> 
Asegurate que el numero que esta tras el "addbbcode" coincida con la posicion el la linea de la cadena de BBCode que corresponda al tag en cuestion. Seguramente ambos mods que has instalados estaban preparados para ocupar el mismo lugar, el ultimo predeterminado, por eso los dos tendran el mismo numero por lo que generan el mismo tag.
  #5 (permalink)  
Antiguo 10/06/2005, 05:25
Avatar de Larc  
Fecha de Ingreso: octubre-2003
Ubicación: Mexico
Mensajes: 259
Antigüedad: 20 años, 6 meses
Puntos: 0
mm buena idea amigo, lo que estoy chekando es que el mod para multi bbcode renombra algunos como este :

this.form.addbbcode20.options a> this.form.addbbcodefontsize.options

ahora mi cuestion seria con que nombre renombrar el de video de :

addbbcode18 a> cual ?
__________________
Quien parte de las sombras y se levanta como un muerto brillando como una estrella sobre èl (towlen), entre la oscuridad congelante y la luz.
LÄRÇ :serio:
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 16:16.