Visualizzazione Stampabile
-
Modifica stile quotaggio
Vorrei che quando quoto un messaggio lo stile del quote sia questo:
http://img247.imageshack.us/img247/350/63330389vb9.jpg
Ecco il codice dello stile del quotaggio:
Codice:
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="75" valign="bottom">
<table border="0" cellpadding="0" cellspacing="0" width="50">
<tr>
<td width="28" valign="top">
<img src="http://www.p2pforum.it/forum/images/misc/quotes/quot-top-left.gif" alt="" /></td>
<td width="100%" style="background-image: url('http://www.p2pforum.it/forum/images/misc/quotes/quote-bg.gif'); background-position: center;" valign="middle">
<span class="smallfont">Cita:</span></td>
<td valign="top">
<img src="http://www.p2pforum.it/forum/images/misc/quotes/quot-top-right.gif" alt="" /></td>
</tr>
</table>
</td>
<td align="left" style="background-image: url('http://www.p2pforum.it/forum/images/misc/quotes/quot-lr-bg.gif')" valign="bottom">
</td>
<td width="0" align="left" valign="bottom">
<table border="0" cellpadding="0" cellspacing="0" width="200">
<tr>
<td valign="top">
<img src="http://www.p2pforum.it/forum/images/misc/quotes/quot-by-left.gif" alt="" /></td>
<td width="100%" style="background-image: url('http://www.p2pforum.it/forum/images/misc/quotes/quot-bye-bg.gif')" align="left" valign="middle" nowrap="nowrap">
<span class="smallfont">
Scritto in origine da <strong>NomeUtente</strong> </span></td>
<td valign="top">
<img src="http://www.p2pforum.it/forum/images/misc/quotes/quot-by-right.gif" alt="" /></td>
</tr>
</table>
</td>
<td width="100%" align="right" valign="bottom">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="100%">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td style="background-image: url('http://www.p2pforum.it/forum/images/misc/quotes/quot-top-bg.gif')" width="100%" valign="middle">
</td>
<td align="left" valign="top">
<img src="http://www.p2pforum.it/forum/images/misc/quotes/quot-top-right-10.gif" alt="" /></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="10" style="background-image: url('http://www.p2pforum.it/forum/images/misc/quotes/quoting-left.gif')">
</td>
<td width="100%" valign="top" bgcolor="#ffffff"></td>
<td width="10" style="background-image: url('http://www.p2pforum.it/forum/images/misc/quotes/quoting-right.gif')">
</td>
</tr>
<tr>
<td width="10" style="background-image: url('http://www.p2pforum.it/forum/images/misc/quotes/quot-left-bg.gif')">
</td>
<td width="100%" valign="top" bgcolor="#ffffff" class="smallfont">
<i>Testo Quotaggio</i>
</td>
<td width="10" style="background-image: url('http://www.p2pforum.it/forum/images/misc/quotes/quot-right-bg.gif')">
</td>
</tr>
<tr>
<td width="10" valign="bottom">
<img src="http://www.p2pforum.it/forum/images/misc/quotes/quot-bot-left.gif" alt="" /></td>
<td width="100%" style="background-image: url('http://www.p2pforum.it/forum/images/misc/quotes/quot-bot-bg.gif')">
</td>
<td width="10" valign="bottom">
<img src="http://www.p2pforum.it/forum/images/misc/quotes/quot-bot-right.gif" alt="" /></td>
</tr>
</table>
</td>
</tr>
</table>
Ho provato ad addatarlo per farlo andare bene con il template bbcode_quote ma non ci riesco...qualcuno può aiutarmi? please...
-
Ci incolli l'immagine come ti viene?
-
Quello che vedi come codice l'ho trovato guardando il sorgente della pagina...mentre nel templates ci sono variabili ed altre cose...che sinceramente non saprei dove mettere nel codice che vedi...
-
Allegati: 1
prova con questo codice e le immagini che allego.
Codice PHP:
<div style="margin:20px; margin-top:5px; <if condition="$show['iewidthfix']">width: 100%;</if>">
<div style="background:url(images/63330389vb9_04.png) repeated-y;">
<div style="background:url(images/63330389vb9_01.png) no-repeat; width:15; height:21; float:left;"></div>
<div style="background:url(images/63330389vb9_02.png) fixed; width:54px; height:21px; float:left; padding-left:9px; font:smaller;">$vbphrase[quote]:</div>
<if condition="$show['username']">
<div style="background:url(images/63330389vb9_03.png) fixed; width:236px; height:21px; float:left; padding-left:9px; font:smaller;"><phrase 1="$username">$vbphrase[originally_posted_by_x]</phrase> <if condition="$postid"><a href="showthread.php?$session[sessionurl]p=$postid#post$postid" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/viewpost.gif" border="0" alt="$vbphrase[view_post]" /></a></if></div>
<div style="background:url(images/63330389vb9_05.png) fixed; width:15px; height:21px; float:right;"></div>
</div>
<div style="border-left:1px #865785 solid; border-right:1px #865785 solid; clear:left; padding-left:9px; font-style:italic,">
$message
<else />
<div style="background:url(images/63330389vb9_03.png) fixed; width:236px; height:21px; float:left; padding-left:9px; font:smaller;"> </div>
<div style="background:url(images/63330389vb9_05.png) fixed; width:15px; height:21px; float:right;"></div>
</div>
<div style="border-left:1px #865785 solid; border-right:1px #865785 solid; clear:left; padding-left:9px; font-style:italic,">
$message
</if>
</div>
<div style="background:url(images/63330389vb9_09.png) repeat-y;">
<div style="background:url(images/63330389vb8_08.png) fixed; width:15px; height:11px;"></div>
<div style="background:url(images/63330389vb9_10.png) fixed; width:15px; height:11px; float:right;"></div>
</div>
</div>
il codice non è ottimizzato al 100%, intanto vediamo se funziona, poi ci dedichiamo alla formattazione ideale.
-
-
le immagini le hai messe nella cartella giusta (images all'interno della root del forum)?
-
-
vediamo come viene se metti questi div al posto di quelli elencati sopra:
<div style="background:url(images/63330389vb9_02.png); width:54px; height:21px; float:left; padding-left:9px; font-size:9px;">
<div style="background:url(images/63330389vb9_03.png); width:236px; height:21px; float:left; padding-left:9px; font-size:9px;">
<div style="background:url(images/63330389vb9_05.png); width:15px; height:21px; float:right;"></div>
-
-
ci siamo avvicinando...
prova con questo codice:
Codice PHP:
<div style="margin:20px; margin-top:5px; <if condition="$show['iewidthfix']">width: 100%;</if>">
<div style="background:url(images/63330389vb9_04.png) repeat-x;">
<div style="background:url(images/63330389vb9_01.png) no-repeat; width:15; height:21; float:left;"></div>
<div style="background:url(images/63330389vb9_02.png) no-repeat; width:54px; height:21px; float:left; padding-left:9px; font-size:9px;">$vbphrase[quote]:</div>
<if condition="$show['username']">
<div style="background:url(images/63330389vb9_03.png) no-repeat; width:236px; height:21px; float:left; padding-left:9px; font-size:9px;"><phrase 1="$username">$vbphrase[originally_posted_by_x]</phrase> <if condition="$postid"><a href="showthread.php?$session[sessionurl]p=$postid#post$postid" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/viewpost.gif" border="0" alt="$vbphrase[view_post]" /></a></if></div>
<div style="background:url(images/63330389vb9_05.png) no-repeat; width:15px; height:21px; float:right;"></div>
</div>
<div style="background:#FFFFFF; border-left:2px #CCCCCC solid; border-right:1px #CCCCCC solid; padding-left:9px; font-style:italic;">
$message
<else />
<div style="background:url(images/63330389vb9_03.png) fixed; width:236px; height:21px; float:left; padding-left:9px; font-size:9px;"> </div>
<div style="background:url(images/63330389vb9_05.png) fixed; width:15px; height:21px; float:right;"></div>
</div>
<div style="background:#FFFFFF; border-left:2px #CCCCCC solid; border-right:1px #CCCCCC solid; padding-left:9px; font-style:italic;">
$message
</if>
</div>
<div style="background:url(images/63330389vb9_09.png) repeat-x;">
<div style="background:url(images/63330389vb8_08.png) no-repeat; width:15px; height:11px;"></div>
<div style="background:url(images/63330389vb9_10.png) no-repeat; width:15px; height:11px; float:right;"></div>
</div>
</div