Valutazione discussione:
  • 0 voti - 0 media
  • 1
  • 2
  • 3
  • 4
  • 5
Problema modifica messaggio
Autore Messaggio
mirko185 Offline
Utente
***

Messaggi: 129
Registrato: Feb 2010
Reputazione: 0
Versione: MyBB 1.6.5
Messaggio: #1
Problema modifica messaggio
Raga ho un'altro "piccolo problemino Confused"...
Praticamente quando faccio modifica messaggio invece di fammi andare nella pagina per modificare il messaggio mi manda sul sito di quello che ha fatto la skin: (http://www.onezure.altervista.org/forum/...php?pid=7) invece dovrebbe essere (http://www.techforo.com/forum/editpost.php?pid=7)!!!

VI posto l' editpost:

Codice:
<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->edit_post}</title>
{$headerinclude}
<script type="text/javascript" src="jscripts/post.js?ver=1400"></script>
</head>
<body>
{$header}
{$preview}
{$post_errors}
{$attacherror}
<form action="editpost.php" method="post" name="editpost">
<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="3"><strong>{$lang->delete_post}</strong></td>
</tr>
<tr>
<td class="trow1" style="white-space: nowrap"><input type="checkbox" class="checkbox" name="delete" value="1" tabindex="9" /> <strong>{$lang->delete_q}</strong></td>
<td class="trow1" width="100%">{$lang->delete_1}<br /><span class="smalltext">{$lang->delete_2}</span></td>
<td class="trow1"><input type="submit" class="button" name="submit" value="{$lang->delete_now}" tabindex="10" /></td>
</tr>
</table>
<input type="hidden" name="action" value="deletepost" />
<input type="hidden" name="pid" value="{$pid}" />
</form>
<br />
<form action="editpost.php?pid={$pid}&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->edit_post}</strong></td>
</tr>
{$loginbox}
<tr>
<td class="trow1"><strong>{$lang->subject}</strong></td>
<td class="trow1"><input type="text" class="textbox" name="subject" size="40" maxlength="85" value="{$subject}" tabindex="1" /></td>
</tr>
{$posticons}
<tr>
<td class="trow1" valign="top"><strong>{$lang->your_message}:</strong><br /><div style="text-align: center;">{$smilieinserter}</div></td>
<td class="trow1">
<textarea name="message" id="message" rows="20" cols="70" tabindex="3">{$message}</textarea>
{$codebuttons}
</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="6"{$postoptionschecked['signature']} /> {$lang->options_sig}</label>
{$disablesmilies}</span>
</td>
</tr>
{$subscriptionmethod}
{$pollbox}
</table>
{$attachbox}
<br />
<div align="center"><input type="submit" class="button" name="submit" value="{$lang->update_post}" tabindex="3" />  <input type="submit" class="button" name="previewpost" value="{$lang->preview_post}" tabindex="4" /></div>
<input type="hidden" name="action" value="do_editpost" />
<input type="hidden" name="posthash" value="{$posthash}" />
<input type="hidden" name="attachmentaid" value="" />
<input type="hidden" name="attachmentact" value="" />
</form>
{$footer}
</body>
</html>


Help Tongue
(Questo messaggio è stato modificato l'ultima volta il: 02-05-2010 22:07 da mirko185.)
02-05-2010 13:13
Visita il sito web di questo utente Trova tutti i messaggi di questo utente
Genius Offline
Assistenza MyBBoard Italia
****

Messaggi: 423
Registrato: Aug 2009
Reputazione: 9
Versione: MyBB 1.6.4
Messaggio: #2
Forse queste discussioni ti possono interessare

Di tutto, un bot...

1. Un robot non può recar danno a un essere umano né può permettere che, a causa del proprio mancato intervento, un essere umano riceva danno.
2. Un robot deve obbedire agli ordini impartiti dagli esseri umani, purché tali ordini non contravvengano alla Prima Legge.
3. Un robot deve proteggere la propria esistenza, purché questa autodifesa non contrasti con la Prima e con la Seconda Legge.
02-05-2010 13:13
Trova tutti i messaggi di questo utente
mirko185 Offline
Utente
***

Messaggi: 129
Registrato: Feb 2010
Reputazione: 0
Versione: MyBB 1.6.5
Messaggio: #3
RE: Problema modifica messaggio
Tutti sbagliati Tongue
02-05-2010 21:21
Visita il sito web di questo utente Trova tutti i messaggi di questo utente
mirko185 Offline
Utente
***

Messaggi: 129
Registrato: Feb 2010
Reputazione: 0
Versione: MyBB 1.6.5
Messaggio: #4
RE: Problema modifica messaggio
Risolto Tongue


Sto diventando "Esperto" di mybb xD
06-05-2010 17:09
Visita il sito web di questo utente Trova tutti i messaggi di questo utente
Trinit Offline
A Pirate is free
Moderatori

Messaggi: 1.288
Registrato: Sep 2008
Reputazione: 30
Versione: MyBB 1.6.1
Messaggio: #5
RE: Problema modifica messaggio
Ma secondo me fai prima a rifartelo da solo il tema visto che è tutto buggato

Temi personalizzati su richiesta - Goxema
Portfolio
06-05-2010 17:09
Visita il sito web di questo utente Trova tutti i messaggi di questo utente
mirko185 Offline
Utente
***

Messaggi: 129
Registrato: Feb 2010
Reputazione: 0
Versione: MyBB 1.6.5
Messaggio: #6
RE: Problema modifica messaggio
Eh lo so...ma non ho tempo ç_ç



ps.Abbiamo postato insieme xD
06-05-2010 17:13
Visita il sito web di questo utente Trova tutti i messaggi di questo utente


Vai al forum:


Utente(i) che stanno guardando questa discussione: 1 Ospite(i)