Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/mybb-es.com/html/inc/plugins/avatarep.php on line 1102

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/mybb-es.com/html/inc/class_language.php on line 201
Problema BBCodes...
Páginas (3):    1 2 3   
nos   4 May, 2011, 5:20 am
#11
(4 May, 2011, 5:16 am)abdonroda escribió: Todo tal y como lo tienes, pero en vez de seguir el tutorial de añadir el MyCode, activas el plugin. Solo eso.

Y respecto a lo del theme... En cual es el que no te deja cambiarlo?

Ah vale, ya se a que te refieres, jejeje.

Pues en el que no me deja cambiar lo del "textarea" es en el Theme ApartSky

Lo que no entiendo es el por que...:S.
nentab   4 May, 2011, 5:21 am
#12
Que extraño, pon aquí el código de una de las tres plantillas a ver...
nos   4 May, 2011, 5:40 am
#13
(4 May, 2011, 5:21 am)abdonroda escribió: Que extraño, pon aquí el código de una de las tres plantillas a ver...


Te dejo el codigo de la Plantilla "newthread":

Cita:<html><head><title>{$lang->newthread_in}</title>{$headerinclude}<script type="text/javascript" src="jscripts/post.js?ver=1400"></script></head><body>{$header}{$preview}{$thread_errors}{$attacherror}<form action="newthread.php?fid={$fid}&amp;processed=1" method="post" enctype="multipart/form-data" name="input"><input type="hidden" name="my_post_key" value="{$mybb->post_code}" /><table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder"><tr><td class="thead" colspan="2"><strong>{$lang->post_new_thread}</strong></td></tr>{$loginbox}<tr><td class="trow2" width="20%"><strong>{$lang->thread_subject}</strong></td><td class="trow2">{$prefixselect}<input type="text" class="textbox" name="subject" size="40" maxlength="85" value="{$subject}" tabindex="1" /></td></tr>{$posticons}<tr><td class="trow2" valign="top"><strong>{$lang->your_message}</strong>{$smilieinserter}</td><td class="trow2"><textarea name="message" id="message" rows="20" cols="100" tabindex="2">{$message}</textarea>{$codebuttons}{$multiquote_external}</td></tr><tr><td class="trow1" valign="top"><strong>{$lang->post_options}</strong></td><td class="trow1"><span class="smalltext"><label><input type="checkbox" class="checkbox" name="postoptions[signature]" value="1" tabindex="7"{$postoptionschecked['signature']} /> {$lang->options_sig}</label>{$disablesmilies}</span></td></tr>{$modoptions}{$subscriptionmethod}{$pollbox}{$captcha}</table>{$attachbox}<br /><div style="text-align:center"><input type="submit" class="button" name="submit" value="{$lang->post_thread}" tabindex="4" accesskey="s" /> <input type="submit" class="button" name="previewpost" value="{$lang->preview_post}" tabindex="5" />{$savedraftbutton}</div><input type="hidden" name="action" value="do_newthread" /><input type="hidden" name="posthash" value="{$posthash}" /><input type="hidden" name="attachmentaid" value="" /><input type="hidden" name="attachmentact" value="" /><input type="hidden" name="quoted_ids" value="{$quoted_ids}" /><input type="hidden" name="tid" value="{$tid}" />{$editdraftpid}</form>{$forumrules}{$footer}</body></html>
nentab   4 May, 2011, 5:54 am
#14
Prueba con esto a ver:

Código:
<html>
<head>
<title>{$lang->newthread_in}</title>
{$headerinclude}
<script type="text/javascript" src="jscripts/post.js?ver=1400"></script>
</head>
<body>
{$header}
{$preview}
{$thread_errors}
{$attacherror}
<form action="newthread.php?fid={$fid}&amp;processed=1" method="post" enctype="multipart/form-data" name="input">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2"><strong>{$lang->post_new_thread}</strong></td>
</tr>
{$loginbox}
<tr>
<td class="trow2" width="20%"><strong>{$lang->thread_subject}</strong></td>
<td class="trow2">{$prefixselect}<input type="text" class="textbox" name="subject" size="40" maxlength="85" value="{$subject}" tabindex="1" /></td>
</tr>
{$posticons}
<tr>
<td class="trow2" valign="top"><strong>{$lang->your_message}</strong>{$smilieinserter}</td>
<td class="trow2">
<textarea name="message" id="message" rows="20" cols="70" tabindex="2">{$message}</textarea>
{$codebuttons}
{$multiquote_external}
</td>
</tr>
<tr>
<td class="trow1" valign="top"><strong>{$lang->post_options}</strong></td>
<td class="trow1"><span class="smalltext">
<label><input type="checkbox" class="checkbox" name="postoptions[signature]" value="1" tabindex="7"{$postoptionschecked['signature']} /> {$lang->options_sig}</label>
{$disablesmilies}</span></td>
</tr>
{$modoptions}
{$subscriptionmethod}
{$pollbox}
{$captcha}
</table>
{$attachbox}
<br />
<div style="text-align:center"><input type="submit" class="button" name="submit" value="{$lang->post_thread}" tabindex="4" accesskey="s" />  <input type="submit" class="button" name="previewpost" value="{$lang->preview_post}" tabindex="5" />{$savedraftbutton}</div>
<input type="hidden" name="action" value="do_newthread" />
<input type="hidden" name="posthash" value="{$posthash}" />
<input type="hidden" name="attachmentaid" value="" />
<input type="hidden" name="attachmentact" value="" />
<input type="hidden" name="quoted_ids" value="{$quoted_ids}" />
<input type="hidden" name="tid" value="{$tid}" />
{$editdraftpid}
</form>
{$forumrules}
{$footer}
</body>
</html>
nos   4 May, 2011, 6:11 am
#15
Nada...se me peta todo entero...me salen codigos HTML por todos los lados...:S.

[Imagen: oaVm4.png]

Última modificación: 4 May, 2011, 6:11 am por Romane.
nentab   4 May, 2011, 6:18 am
#16
Dios. :S
Parece que no te lee bien el código... :S

Y si la reviertes a la original?
darkenix   4 May, 2011, 6:51 am
#17
(Antes que me hagas caso haz un backup)
Si quieres prueba con mi código, aquí te lo dejo:
newthread
Código PHP:
<?php 
<html>
<
head>
<
title>{$lang->newthread_in}</title>
{
$headerinclude}
<
script type="text/javascript" src="jscripts/post.js?ver=1400"></script>
</
head>
<
body>
{
$header}
{
$preview}
{
$thread_errors}
{
$attacherror}
<
form action="newthread.php?fid={$fid}&amp;processed=1" method="post" enctype="multipart/form-data" name="input">
<
input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<
table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<
tr>
<
td class="thead" colspan="2"><strong>{$lang->post_new_thread}</strong></td>
</
tr>
{
$loginbox}
<
tr>
<
td class="trow2" width="23%"><strong>{$lang->thread_subject}</strong></td>
<
td class="trow2">{$prefixselect}<input type="text" class="textbox" name="subject" size="40" maxlength="85" value="{$subject}" tabindex="1" /></td>
</
tr>
{
$posticons}
<
tr>
<
td class="trow2" valign="top"><strong>{$lang->your_message}</strong>{$smilieinserter}</td>
<
td class="trow2">
<
textarea name="message" id="message" rows="20" cols="100" tabindex="2">{$message}</textarea>
{
$codebuttons}
{
$multiquote_external}
</
td>
</
tr>
<
tr>
<
td class="trow1" valign="top"><strong>{$lang->post_options}</strong></td>
<
td class="trow1"><span class="smalltext">
<
label><input type="checkbox" class="checkbox" name="postoptions[signature]" value="1" tabindex="7"{$postoptionschecked['signature']} /> {$lang->options_sig}</label>
{
$disablesmilies}</span></td>
</
tr>
{
$modoptions}
{
$subscriptionmethod}
{
$pollbox}
{
$captcha}
</
table>
{
$attachbox}
<
br />
<
div style="text-align:center"><input type="submit" class="button" name="submit" value="{$lang->post_thread}" tabindex="4" accesskey="s" /> <input type="submit" class="button" name="previewpost" value="{$lang->preview_post}" tabindex="5" />{$savedraftbutton}</div>
<
input type="hidden" name="action" value="do_newthread" />
<
input type="hidden" name="posthash" value="{$posthash}" />
<
input type="hidden" name="attachmentaid" value="" />
<
input type="hidden" name="attachmentact" value="" />
<
input type="hidden" name="quoted_ids" value="{$quoted_ids}" />
<
input type="hidden" name="tid" value="{$tid}" />
{
$editdraftpid}
</
form>
{
$forumrules}
{
$footer}
</
body>
</
html>

newreply:
Código PHP:
<?php 
<html>
<
head>
<
title>{$lang->post_reply_to}</title>
{
$headerinclude}
<
script type="text/javascript" src="jscripts/post.js?ver=1400"></script>
</
head>
<
body>
{
$header}
{
$preview}
{
$maximageserror}
{
$attacherror}
{
$reply_errors}
<
form action="newreply.php?tid={$tid}&amp;processed=1" method="post" enctype="multipart/form-data" name="input">
<
input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<
table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<
tr>
<
td class="thead" colspan="2"><strong>{$lang->post_new_reply}</strong></td>
</
tr>
<
tr>
<
td class="tcat" colspan="2"><span class="smalltext"><strong>{$lang->reply_to}</strong></span></td>
</
tr>
{
$loginbox}
<
tr>
<
td class="trow2" width="20%"><strong>{$lang->post_subject}</strong></td>
<
td class="trow2"><input type="text" class="textbox" name="subject" size="40" maxlength="85" value="{$subject}" tabindex="1" /></td>
</
tr>
{
$posticons}
<
tr>
<
td class="trow2" valign="top"><strong>{$lang->your_message}</strong><br />{$smilieinserter}</td>
<
td class="trow2">
<
textarea id="message" name="message" rows="20" cols="100" tabindex="2" >{$message}</textarea>
{
$codebuttons}
{
$multiquote_external}
</
td>
te
</tr>
<
tr>
<
td class="trow1" valign="top"><strong>{$lang->post_options}</strong></td>
<
td class="trow1"><span class="smalltext">
<
label><input type="checkbox" class="checkbox" name="postoptions[signature]" value="1" tabindex="6"{$postoptionschecked['signature']} /> {$lang->options_sig}</label>
{
$disablesmilies}
</
span></td>
</
tr>
{
$modoptions}
{
$subscriptionmethod}
{
$captcha}
</
table>
{
$attachbox}
<
br />
<
div align="center"><input type="submit" class="button" name="submit" value="{$lang->post_reply}" tabindex="3" accesskey="s" /> <input type="submit" class="button" name="previewpost" value="{$lang->preview_post}" tabindex="4" />{$savedraftbutton}</div>
<
input type="hidden" name="action" value="do_newreply" />
<
input type="hidden" name="replyto" value="{$replyto}" />
<
input type="hidden" name="posthash" value="{$posthash}" />
<
input type="hidden" name="attachmentaid" value="" />
<
input type="hidden" name="attachmentact" value="" />
<
input type="hidden" name="quoted_ids" value="{$quoted_ids}" />
<
input type="hidden" name="tid" value="{$tid}" />
{
$editdraftpid}
</
form>
{
$forumrules}
{
$threadreview}
{
$footer}
</
body>
</
html>

El codigo que te puse esta limpio no le e dado modificacion, lo unico que le hice fue ancharlo que es lo que tu quieres, donde dice
Código PHP:
<?php 
<textarea id="message" name="message" rows="20" cols="100" tabindex="2" >{$message}
Donde dice 100 es el ancho que lo puedes modificar como te guste, saludos atte: Darkenix.
Última modificación: 4 May, 2011, 6:53 am por Nodsert.
Gypaete   4 May, 2011, 10:34 am
#18
Lo del primer mensaje es por tu resolución, yo en mi pc de mesa lo veo amontonado todo y en mi Laptop que tiene más resolución no se amontona nada y se ve bien Wink
nentab   4 May, 2011, 10:53 am
#19
(4 May, 2011, 10:34 am)Gypaete escribió: Lo del primer mensaje es por tu resolución, yo en mi pc de mesa lo veo amontonado todo y en mi Laptop que tiene más resolución no se amontona nada y se ve bien Wink

La resolución no tiene nada que ver con eso.
nos   4 May, 2011, 11:04 am
#20
(4 May, 2011, 6:51 am)darkenix escribió: (Antes que me hagas caso haz un backup)
Si quieres prueba con mi código, aquí te lo dejo:
newthread
Código PHP:
<?php 
<html>
<
head>
<
title>{$lang->newthread_in}</title>
{
$headerinclude}
<
script type="text/javascript" src="jscripts/post.js?ver=1400"></script>
</
head>
<
body>
{
$header}
{
$preview}
{
$thread_errors}
{
$attacherror}
<
form action="newthread.php?fid={$fid}&amp;processed=1" method="post" enctype="multipart/form-data" name="input">
<
input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<
table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<
tr>
<
td class="thead" colspan="2"><strong>{$lang->post_new_thread}</strong></td>
</
tr>
{
$loginbox}
<
tr>
<
td class="trow2" width="23%"><strong>{$lang->thread_subject}</strong></td>
<
td class="trow2">{$prefixselect}<input type="text" class="textbox" name="subject" size="40" maxlength="85" value="{$subject}" tabindex="1" /></td>
</
tr>
{
$posticons}
<
tr>
<
td class="trow2" valign="top"><strong>{$lang->your_message}</strong>{$smilieinserter}</td>
<
td class="trow2">
<
textarea name="message" id="message" rows="20" cols="100" tabindex="2">{$message}</textarea>
{
$codebuttons}
{
$multiquote_external}
</
td>
</
tr>
<
tr>
<
td class="trow1" valign="top"><strong>{$lang->post_options}</strong></td>
<
td class="trow1"><span class="smalltext">
<
label><input type="checkbox" class="checkbox" name="postoptions[signature]" value="1" tabindex="7"{$postoptionschecked['signature']} /> {$lang->options_sig}</label>
{
$disablesmilies}</span></td>
</
tr>
{
$modoptions}
{
$subscriptionmethod}
{
$pollbox}
{
$captcha}
</
table>
{
$attachbox}
<
br />
<
div style="text-align:center"><input type="submit" class="button" name="submit" value="{$lang->post_thread}" tabindex="4" accesskey="s" /> <input type="submit" class="button" name="previewpost" value="{$lang->preview_post}" tabindex="5" />{$savedraftbutton}</div>
<
input type="hidden" name="action" value="do_newthread" />
<
input type="hidden" name="posthash" value="{$posthash}" />
<
input type="hidden" name="attachmentaid" value="" />
<
input type="hidden" name="attachmentact" value="" />
<
input type="hidden" name="quoted_ids" value="{$quoted_ids}" />
<
input type="hidden" name="tid" value="{$tid}" />
{
$editdraftpid}
</
form>
{
$forumrules}
{
$footer}
</
body>
</
html>

newreply:
Código PHP:
<?php 
<html>
<
head>
<
title>{$lang->post_reply_to}</title>
{
$headerinclude}
<
script type="text/javascript" src="jscripts/post.js?ver=1400"></script>
</
head>
<
body>
{
$header}
{
$preview}
{
$maximageserror}
{
$attacherror}
{
$reply_errors}
<
form action="newreply.php?tid={$tid}&amp;processed=1" method="post" enctype="multipart/form-data" name="input">
<
input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<
table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<
tr>
<
td class="thead" colspan="2"><strong>{$lang->post_new_reply}</strong></td>
</
tr>
<
tr>
<
td class="tcat" colspan="2"><span class="smalltext"><strong>{$lang->reply_to}</strong></span></td>
</
tr>
{
$loginbox}
<
tr>
<
td class="trow2" width="20%"><strong>{$lang->post_subject}</strong></td>
<
td class="trow2"><input type="text" class="textbox" name="subject" size="40" maxlength="85" value="{$subject}" tabindex="1" /></td>
</
tr>
{
$posticons}
<
tr>
<
td class="trow2" valign="top"><strong>{$lang->your_message}</strong><br />{$smilieinserter}</td>
<
td class="trow2">
<
textarea id="message" name="message" rows="20" cols="100" tabindex="2" >{$message}</textarea>
{
$codebuttons}
{
$multiquote_external}
</
td>
te
</tr>
<
tr>
<
td class="trow1" valign="top"><strong>{$lang->post_options}</strong></td>
<
td class="trow1"><span class="smalltext">
<
label><input type="checkbox" class="checkbox" name="postoptions[signature]" value="1" tabindex="6"{$postoptionschecked['signature']} /> {$lang->options_sig}</label>
{
$disablesmilies}
</
span></td>
</
tr>
{
$modoptions}
{
$subscriptionmethod}
{
$captcha}
</
table>
{
$attachbox}
<
br />
<
div align="center"><input type="submit" class="button" name="submit" value="{$lang->post_reply}" tabindex="3" accesskey="s" /> <input type="submit" class="button" name="previewpost" value="{$lang->preview_post}" tabindex="4" />{$savedraftbutton}</div>
<
input type="hidden" name="action" value="do_newreply" />
<
input type="hidden" name="replyto" value="{$replyto}" />
<
input type="hidden" name="posthash" value="{$posthash}" />
<
input type="hidden" name="attachmentaid" value="" />
<
input type="hidden" name="attachmentact" value="" />
<
input type="hidden" name="quoted_ids" value="{$quoted_ids}" />
<
input type="hidden" name="tid" value="{$tid}" />
{
$editdraftpid}
</
form>
{
$forumrules}
{
$threadreview}
{
$footer}
</
body>
</
html>

El codigo que te puse esta limpio no le e dado modificacion, lo unico que le hice fue ancharlo que es lo que tu quieres, donde dice
Código PHP:
<?php 
<textarea id="message" name="message" rows="20" cols="100" tabindex="2" >{$message}
Donde dice 100 es el ancho que lo puedes modificar como te guste, saludos atte: Darkenix.

Acabo de probar y nada...sigue igual, con el Theme ese no se ensancha...lo que no entiendo es el por que :S.

¿Que puede ser...? Sad.
Páginas (3):    1 2 3   
  
Powered By MyBB, © 2002-2024 MyBB Group.
Made with by Curves UI.