The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
QUOTE with scroll bar
How do I get the QUOTE with scroll bar?
Hugs --------------- Added [DATE]1465405126[/DATE] at [TIME]1465405126[/TIME] --------------- Already got it, thanks. |
#2
|
|||
|
|||
It would have been more helpful for others looking if you had posted the answer rather that "got it" update.....just saying.
How I'd do it.... bbcode_quote template find (first line): Code:
<div style="margin:20px; add class: Code:
<div class="quotewithscrollbar" style="margin:20px; Open style manager and scroll down to near bottom in "Additional CSS Definitions" (second box) add: Code:
.quotewithscrollbar { max-height:200px; overflow:auto; } |
2 благодарности(ей) от: | ||
blind-eddie, MarkFL |
#3
|
||||
|
||||
Or change one line of code in the bbcode_quote template
Default bbcode_quote template Code:
<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> Edited bbcode_quote template Code:
<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; max-height:300px; width:auto; overflow:auto;">$message</div> <else /> $message </if> </td> </tr> </table> </div> |
#4
|
|||
|
|||
Inline styling is not best practice but vbulletin is riddled with it so I suppose not really much of an issue, just different peoples views.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|