Register Members List Search Today's Posts Mark Forums Read

Reply
 
Article Options
Post Quote Length Limit (vB3)
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: (5 votes - 5.00 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, BB Code Layout Templates, then double click on that, then find bbcode_quote and double click on that.

Once inside that template, find this bit of code:


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

And change it to this:

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, 36 views)
Views: 5026
Reply With Quote
Comments
  #2  
Old 18 Mar 2014, 02:06
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Installed and tested on my v3.8.7 installations and works flawlessly.

I like a really compressed showthread page and this really helps - I used 200px instead of 300 as the setting. It's really sweet.

Thanks Ozzy!
Reply With Quote
  #3  
Old 18 Mar 2014, 02:20
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
U da MAN!
Reply With Quote
  #4  
Old 18 Mar 2014, 02:21
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Real name: Chris
Not a problem, glad to help.
__________________
You can get access to my 180 mods for vB 3.6 - 4.x at The Admin Zone as well as the professional support you are used to. New vBulletin Spider Definitions, vBulletin Spiders List Hits 1000 Spiders! ​ OzzModz down. Site has had a data breach, checking how the intrusion happened. Change your PW if you use the same one on my site and others.
Reply With Quote
  #5  
Old 18 Mar 2014, 10:39
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Real name: Tim
This should have been a default part of vbulletin from day one. Nice edit!
__________________
LONG LIVE 3.8 SERIES
National Arcade Competition Club- NACC All arcade edits will work on vb4.
Check out my heavily modified ibproarcade with over 50,000 games for you, free of charge!
Exclusive arcade addons, edits and skins were made by stangger5 owner of Next Level Arcade
Reply With Quote
  #6  
Old 18 Mar 2014, 10:48
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Real name: Chris
Thanks, glad you like it. I just think it makes things look much nicer.
__________________
You can get access to my 180 mods for vB 3.6 - 4.x at The Admin Zone as well as the professional support you are used to. New vBulletin Spider Definitions, vBulletin Spiders List Hits 1000 Spiders! ​ OzzModz down. Site has had a data breach, checking how the intrusion happened. Change your PW if you use the same one on my site and others.
Reply With Quote
  #7  
Old 18 Mar 2014, 15:20
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Any way to make it not work in first post of the new thread?
Reply With Quote
  #8  
Old 19 Mar 2014, 00:20
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Real name: Chris
This should work, change:

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

To this:

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

__________________
You can get access to my 180 mods for vB 3.6 - 4.x at The Admin Zone as well as the professional support you are used to. New vBulletin Spider Definitions, vBulletin Spiders List Hits 1000 Spiders! ​ OzzModz down. Site has had a data breach, checking how the intrusion happened. Change your PW if you use the same one on my site and others.
Reply With Quote
  #9  
Old 19 Mar 2014, 00:44
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
I gotta do that in six styles.

Am I reading that right? The <if> conditional seems to make this work ONLY on postcount 1 of a thread?
Reply With Quote
  #10  
Old 19 Mar 2014, 02:38
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Real name: Chris
Nope, sadly conditionals can not be used in bbcode templates like that.
__________________
You can get access to my 180 mods for vB 3.6 - 4.x at The Admin Zone as well as the professional support you are used to. New vBulletin Spider Definitions, vBulletin Spiders List Hits 1000 Spiders! ​ OzzModz down. Site has had a data breach, checking how the intrusion happened. Change your PW if you use the same one on my site and others.
Reply With Quote
  #11  
Old 19 Mar 2014, 02:50
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Not a biggie.
Reply With Quote
  #12  
Old 19 Mar 2014, 10:39
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Real name: Tim
Originally Posted by ozzy47 View Post
This should work, change:

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

To this:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
Hey OzzY, This edit does not work at all, quoting post in threads shows all text as well as starting a thread using a quote. I switched back to the edit from first post.
__________________
LONG LIVE 3.8 SERIES
National Arcade Competition Club- NACC All arcade edits will work on vb4.
Check out my heavily modified ibproarcade with over 50,000 games for you, free of charge!
Exclusive arcade addons, edits and skins were made by stangger5 owner of Next Level Arcade
Reply With Quote
  #13  
Old 19 Mar 2014, 10:41
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Real name: Chris
Right, as I said in post #10, conditionals can not be used in bbcode templates.
__________________
You can get access to my 180 mods for vB 3.6 - 4.x at The Admin Zone as well as the professional support you are used to. New vBulletin Spider Definitions, vBulletin Spiders List Hits 1000 Spiders! ​ OzzModz down. Site has had a data breach, checking how the intrusion happened. Change your PW if you use the same one on my site and others.
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 02:21.

Layout Options | Width: Wide Color: