The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
I think we all have seen members who love to quote other members, especially the extremely long posts that some members like to make. I've already installed a mod to remove the quote button from the last post in a thread and that has solved one problem, but I was wondering if there was a mod to limit the number of characters that can appear in any quote. It drives me nuts seeing members quoting a long post and making a one like reply to it. I have looked but have not been able to find anything.
|
|
#3
|
|||
|
|||
|
Yes, I have toyed with those options but none of the basic settings have what I am looking for. What I would like would be a 'Quote character limit' kind of thing that would automatically edit a long quote down to a character limit set by the admin. This would be transparent to the member and automatically truncate a quote down to the limit set.
I considered lowering the character limit per post and including the quote in the character count, but I have a feeling that some people would get a character limit warning and just dump the post instead of figuring out what to remove. |
|
#4
|
||||
|
||||
|
Character count can get tricky, best way to do it is have the quote have a scroll bar, once it reaches a certain height.
Add this to your additional.css Code:
/* Start scroll bar in quotes */
.bbcode_container div.bbcode_quote div.message {
max-height:300px;
width:auto;
overflow:auto;
}
/* End scroll bar in quotes */
You can adjust the height by changing, 300px in the above.
|
| 2 благодарности(ей) от: | ||
| Barcham, Max Taxable | ||
|
#5
|
||||
|
||||
|
That gonna work in vB 3.8.7 too Ozzy?
|
|
#6
|
||||
|
||||
|
No as vB3 don't have additional.css
|
|
#7
|
||||
|
||||
|
It does in style manager.
![]() You should make this a product it's got MOTM written all over it. |
|
#8
|
||||
|
||||
|
But what you can do is edit the bbcode_quote template, and find this bit of code:
HTML Code:
<div style="font-style:italic">$message</div> Code:
<div style="font-style:italic; max-height:300px; width:auto; overflow:auto;">$message</div> |
|
#9
|
||||
|
||||
|
Quote:
Needs to be a product though that does the auto template edits! |
|
#10
|
||||
|
||||
|
Works SOOOO sweetly on my moderately modified vB 3.8.7!
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|