PDA

View Full Version : Quote Boxes Fit To Content


Developer
14 Jan 2006, 19:28
this is a simple template modification was requested here (http://www.vbulletin.org/forum/showthread.php?t=105319)
"see screenshots"
open templates:bbcode_quote
and replace all content with this
<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">
<tr>
<td class="alt2" style="border:1px inset">
<if condition="$show['username']">
<div><phrase 1="$username">$vbphrase[originally_posted_by_x]</phrase></div>
<div style="font-style:italic">$message</div>
<else />
$message
</if>
</td>
</tr>
</table>
</div>
then open:bbcode_quote_printthread
and replace all content with
<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">
<tr>
<td class="alt2">
<hr />
<if condition="$show['username']">
<div><phrase 1="$username">$vbphrase[originally_posted_by_x]</phrase></div>
<div style="font-style:italic">$message</div>
<else />
$message
</if>
<hr />
</td>
</tr>
</table>
</div>
Donation::.
Feel Free To https://www.vbulletin.org/forum/external/2010/09/1.gif (https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=filmahosting%40gmail%2ecom&item_name=DEVELOPER&item_number=1&no_shipping=0&no_note=1&tax=0&currency_code=USD&bn=PP%2dDonationsBF&charset=UTF%2d8)

Evil X
14 Jan 2006, 19:37
doesnt seem to work eh

EDIT: nvm... this works, but how do I do it for the code tags?

LEAD_WEIGHT
14 Jan 2006, 19:58
Was going to make that for this one I made? but was side tracked for awhile.
http://www.vbulletin.org/forum/showthread.php?t=104355

Developer
14 Jan 2006, 20:05
doesnt seem to work eh

EDIT: nvm... this works, but how do I do it for the code tags?

it isn't template modification, i will look for it

Developer
14 Jan 2006, 20:08
Was going to make that for this one I made? but was side tracked for awhile.
http://www.vbulletin.org/forum/showthread.php?t=104355
use mine :) good luck

hawksisdead
14 Jan 2006, 21:03
doesnt seem to work eh

EDIT: nvm... this works, but how do I do it for the code tags?

Style -> All Style Options

change Code Block Width (pixels) to a smaller number, 500px seems to work fine for mine.

ammarcom004
24 Jan 2006, 22:12
good work i like this

Zia
01 Feb 2006, 05:14
thats good ieda...cant u made this one "collasp" the quote too,after clik it will xpand & readable...

nasser71
19 Feb 2006, 00:39
thanks

mashkooor

Nathan2006
09 Apr 2006, 09:13
Thank you Developer

This is great and works really well:cool:

Install:D

ArabSQuad
10 Jul 2006, 12:24
Nice hack Bro

Good luck


Shokran ;)