The Arcive of vBulletin Modifications Site. |
|
Alternate Quote Layouts Details »»
|
|||||||||||||||||||||||||||
If you don't like the current VBulletin Quote BBCode here are some other layouts. Simply replace the contents of bbcode_quote with one of these codes. The PM codes will only show the Quote layout in PMs only.
Email Look Code:
_________________________________________________________
<p><p>
<strong>$vbphrase[quote]:</strong>
<p><p>
<if condition="$show['username']">
<phrase 1="$username">$vbphrase[originally_posted_by_x]</phrase>:
<p><i>$message</i>
<p><p>
<else />
<p><p><i>$message</i>
</if><p><p>
_________________________________________________________
<br />
Code:
<fieldset> <legend> Quote: <if condition="$username != ''"> Originally posted by: <b>$username</b> <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> </span> </if> </legend> $message </fieldset> Show in PM only Email Look Code:
<if condition="THIS_SCRIPT=='private'">
_________________________________________________________
<p><p>
<strong>$vbphrase[quote]:</strong>
<p><p>
<if condition="$show['username']">
<phrase 1="$username">$vbphrase[originally_posted_by_x]</phrase>:
<p><i>$message</i>
<p><p>
<else />
<p><p><i>$message</i>
</if><p><p>
_________________________________________________________
<br />
<else />
<div style="margin:20px; margin-top:5px; <if condition="$show['iewidthfix']">width: 100%;</if>">
<div class="smallfont" style="margin-bottom:2px">$vbphrase[quote]:</div>
<table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%">
<tr>
<td class="alt2" style="border:1px inset">
<if condition="$show['username']">
<div>
<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="font-style:italic">$message</div>
<else />
$message
</if>
</td>
</tr>
</table>
</div>
</if>
Code:
<fieldset> <legend> Quote: <if condition="$username != ''"> Originally posted by: <b>$username</b> <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> </span> </if> </legend> $message </fieldset> <else /> <div style="margin:20px; margin-top:5px; <if condition="$show['iewidthfix']">width: 100%;</if>"> <div class="smallfont" style="margin-bottom:2px">$vbphrase[quote]:</div> <table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%"> <tr> <td class="alt2" style="border:1px inset"> <if condition="$show['username']"> <div> <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="font-style:italic">$message</div> <else /> $message </if> </td> </tr> </table> </div> </if> Screenshots
Show Your Support
|
|||||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
pics?
|
|
#3
|
||||
|
||||
|
same question,,,pics please...
|
|
#4
|
|||
|
|||
|
Screenshot added. The one with lines is email view and the one in the box is sleek view. I made multiple quotes using one with just a quote, one with just quote and username, and one with just quote, username, and post id.
|
|
#5
|
|||
|
|||
|
Much nicer then the default. there are quit a lot of things that are not looking so good...
thanks for your changes
|
|
#6
|
||||
|
||||
|
One small correction, hope you won''t mind it.
In vb 4 the template conditionals have changed. So instead of for ex HTML Code:
<if condition="$show['username']">
HTML Code:
<vb:if condition="$show['username']">
|
|
#7
|
|||
|
|||
|
Thanks
Would be nice if the Threadstarter would correct his code |
|
#8
|
|||
|
|||
|
Would like to use, but I he hasn't made the corrections yet.
|
|
#9
|
|||
|
|||
|
for his 'sleek look' I took the template code and added in the content producing bit from the original template. In other words.. it's really just stripped the design part of the template. I like it..
Code:
<fieldset>
<legend>
Quote:
<vb:if condition="$show['username']">
{vb:rawphrase originally_posted_by_x, {vb:raw username}}
<vb:if condition="$postid"><a href="showthread.php?{vb:raw session.sessionurl}p={vb:raw postid}#post{vb:raw postid}" rel="nofollow"><img class="inlineimg" src="{vb:stylevar imgdir_button}/viewpost-{vb:stylevar right}.png" alt="{vb:rawphrase view_post}" /></a></vb:if>
</vb:if>
</legend>
{vb:raw message}
</fieldset>
|
|
#10
|
|||
|
|||
|
Can you add the little " icon to this code too?
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|