Register Members List Search Today's Posts Mark Forums Read

Reply
 
Article Options
Post Quote Length Limit (vB5)
ozzy47
Join Date: Jul 2009
Posts: 10,929

Just here to help out where I can.

USA
by ozzy47 ozzy47 is offline 18 Mar 2014
Rating: (6 votes - 4.83 average)

As some of you know, when someone quotes a post, sometimes they are long posts. This can make the post hard to read, and IMO, not look as good as it can.

Sure you could limit the characters of the quote one way or another, but this is not the best approach. Someone may actually want to see all the quoted text in the post.

So I have come up with the solution, of adding a scroll bar in the quote bubble. This way you can keep the post looking neat, with out loosing functionality. So here we go wit the tutorial.

Take for example this post, [OzzModz] Classifieds

Now if someone were to quote that, and reply something like, " Thanks for sharing Ozzy. " the post would look bad, because the amount of info in the quote would overwhelm the reply.

So what you can do is go to your ACP --> Styles & Templates --> Style Manager, then choose Edit Templates for your style.

Now in the scroll box find, CSS Templates, then double click on that, then find css_additional.css and double click on that.

Once inside that template, paste the following code at the very end of the template, below everything else:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Then click on the Save button. This will have to be done for each of your styles.

Now when someone quotes a post that is longer that 300px high, it will add a scroll bar inside the quote bubble. This allows anyone viewing the post, to be able to still see all the original quoted text, but without making the post longer than it needs to be. In the attached image, is this post quoted, [OzzModz] Classifieds but as you can see, it is much shorter.
Attached Images
File Type: jpg scroll quote 2.jpg (69.8 KB, 104 views)
Views: 6389
Reply With Quote
Comments
  #2  
Old 20 Mar 2014, 01:11
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
 
Join Date: Sep 2008
Real name: Michael Miller Jr
Ahh nice nice! Make sure to post this here as well (imo) - http://www.vbulletin.com/forum/forum...in-5-tutorials
__________________
Daddy Does Dios and Figs!
*I no longer provide vBulletin Services (No PM's, please).

Search - Use the search feature to find similar issues/answers.
Information - Include screenshots, copy/pasted error codes, url etc.
Fixed - Please return to your thread/post and let us know how it was fixed!
Thanks - For participating! Click the "Like" on a post if someone helped you!
Reply With Quote
  #3  
Old 20 Mar 2014, 01:16
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Real name: Chris
Done.
Reply With Quote
  #4  
Old 20 Mar 2014, 01:19
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
 
Join Date: Sep 2008
Real name: Michael Miller Jr
Cool

Originally Posted by ozzy47 View Post
Done.
You must 'Like' someone else's post before liking any more by ozzy47.

^ Sometimes I feel like Scottie on Star Trek telling Kirk "Aye ya she can't take much more Captain!"
__________________
Daddy Does Dios and Figs!
*I no longer provide vBulletin Services (No PM's, please).

Search - Use the search feature to find similar issues/answers.
Information - Include screenshots, copy/pasted error codes, url etc.
Fixed - Please return to your thread/post and let us know how it was fixed!
Thanks - For participating! Click the "Like" on a post if someone helped you!
Reply With Quote
  #5  
Old 20 Mar 2014, 01:24
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Real name: Chris
I know, many users have expressed their concern over that, but the powers to be say, it will not be changed. So I feel like "Bones" Dammit Jim I am only a doctor, I cant change the like requirements.
Reply With Quote
  #6  
Old 18 Jan 2016, 07:46
shimei shimei is offline
 
Join Date: Feb 2015
Works great with 5.1.9 patch 3. Was wondering if there would be a way to use CSS for "click to expand" rather the scroll bar? If not, do you know how to any other way? For example, this is for VB3: http://www.vbulletin.org/forum/showthread.php?t=106878

Last edited by shimei; 18 Jan 2016 at 08:11.
Reply With Quote
  #7  
Old 25 Jan 2016, 08:06
IggyP IggyP is offline
 
Join Date: May 2012
is this suddenly not working in 5.2?

im having a few odd issues but seemed to didnt work suddenly...

nope it works nvm...

Last edited by IggyP; 01 Mar 2016 at 07:58.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Article Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 18:16.

Layout Options | Width: Wide Color: