Molti forum non hanno un images hosting interno e normalmente lo spazio messo a disposizione degli utenti per i files attach è molto limitato, a tale proposito puo’ tornare utile inserire nel modulo creazione discussione e/o risposta un iframe di un images hosting esterno, in questo mini tutorial utilizzeremo il servizio imageshack.
Template da modificare: newthread e newreply
Ricercare: {vb:raw attachmentoption}
Aggiungere dopo:
Dopo modifica il codice risulta questoCodice PHP:<!-- add frame imageshack -->
<div class="blockrow">
<iframe src="http://imageshack.us/iframe.php?txtcolor=111111&type=forum&size=30" scrolling="no" allowtransparency="true" frameborder="0" width="280" height="70">Update your browser for ImageShack.us!</iframe>
</div>
<!-- / end frame imageshack -->
A livello utente il risultato è il seguente:Codice PHP:{vb:raw attachmentoption}
<!-- add frame imageshack -->
<div class="blockrow">
<iframe src="http://imageshack.us/iframe.php?txtcolor=111111&type=forum&size=30" scrolling="no" allowtransparency="true" frameborder="0" width="280" height="70">Update your browser for ImageShack.us!</iframe>
</div>
<!-- / end frame imageshack -->
Immagine ridotta
![]()



LinkBack URL
About LinkBacks

Rispondi citando

Segnalibri