Register Members List Search Today's Posts Mark Forums Read

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

Just here to help out where I can.

USA
by ozzy47 ozzy47 is offline 18 Mar 2014
Rating: (2 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, CSS Templates, then double click on that, then find 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, 58 views)

Last edited by ozzy47 : 18 Mar 2014 at 02:07.
Views: 3677
Reply With Quote
Comments
  #2  
Old 18 Mar 2014, 02:04
ForceHSS's Avatar
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Used, might help with less load as well. Did you get my pm
Reply With Quote
  #3  
Old 18 Mar 2014, 02:08
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Real name: Chris
Yes I did, and I corrected it.
__________________
You can get access to my 180 mods for vB 3.6 - 4.x at OzzModz as well as the professional support you are used to. This will also include any new mods I make.
All my mods are updated on OzzModz to do the version checking there instead of here. You can follow us on Twitter, https://twitter.com/OzzModz
Reply With Quote
  #4  
Old 18 Mar 2014, 02:13
ForceHSS's Avatar
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Happy to help, you should sleep you work too hard
Reply With Quote
  #5  
Old 18 Mar 2014, 02:15
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
I may have over celebrated the holiday today a little, but I swear it looks like this works retro for all prior existing posts!

Too much green beer? If so it might also make me think maybe this reduces page load, which of course it doesn't.
__________________
I'm helping folks at OzzModz now and in the future. Will be watching for PMs here though.
Reply With Quote
  #6  
Old 18 Mar 2014, 02:16
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Real name: Chris
Right, I don't see it reducing page load, as all the same info is there.
__________________
You can get access to my 180 mods for vB 3.6 - 4.x at OzzModz as well as the professional support you are used to. This will also include any new mods I make.
All my mods are updated on OzzModz to do the version checking there instead of here. You can follow us on Twitter, https://twitter.com/OzzModz
Reply With Quote
  #7  
Old 18 Mar 2014, 02:20
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Real name: Chris
Originally Posted by ForceHSS View Post
Happy to help, you should sleep you work too hard
I do sleep, and this edit is a result of taking a nap.
__________________
You can get access to my 180 mods for vB 3.6 - 4.x at OzzModz as well as the professional support you are used to. This will also include any new mods I make.
All my mods are updated on OzzModz to do the version checking there instead of here. You can follow us on Twitter, https://twitter.com/OzzModz
Reply With Quote
  #8  
Old 18 Mar 2014, 15:20
Barcham Barcham is offline
 
Join Date: Jan 2014
Real name: Robert
Modified and working perfectly! Thanks so much, Chris!
Reply With Quote
  #9  
Old 18 Mar 2014, 16:16
tbworld tbworld is offline
 
Join Date: Oct 2008
Nice idea @Ozzy47, such a simple concept. Good work!
Reply With Quote
  #10  
Old 18 Mar 2014, 19:20
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Yes, it's a good idea.

I took it from BirdOPrey5 (http://www.qapla.com/mods/showthread...ike-XenForo-12).

Anyway, is there an easy way to have it more like it is on Xenforo? That at the end is text Show more (or something) and when you click on it, all of the text is shown? I think it would ask for a bit of javascript or something similar, not just simple CSS addition.
Reply With Quote
  #11  
Old 18 Mar 2014, 20:10
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Real name: Chris
Well If I knew Joe had already did this, I would have pointed everyone there.

As far as the show more, I can look into it, but not sure when.
__________________
You can get access to my 180 mods for vB 3.6 - 4.x at OzzModz as well as the professional support you are used to. This will also include any new mods I make.
All my mods are updated on OzzModz to do the version checking there instead of here. You can follow us on Twitter, https://twitter.com/OzzModz
Reply With Quote
  #12  
Old 18 Mar 2014, 20:11
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Real name: Richie
Originally Posted by ozzy47 View Post
Well If I knew Joe had already did this, I would have pointed everyone there.

As far as the show more, I can look into it, but not sure when.
Great minds think alike.

Now it is easier to find.
__________________

Let us take care of your forum, seo, seo reports, maintenance, what ever you need.

Reply With Quote
  #13  
Old 19 Mar 2014, 16:40
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Originally Posted by ozzy47 View Post
Well If I knew Joe had already did this, I would have pointed everyone there.

As far as the show more, I can look into it, but not sure when.
I too didn't knew till recently for his version, it was just a few days ago when I found it out.

If you could add show more option, maybe in your mod for quoting you already have... or somewhere else, as I think it would need a bit more coding.
Reply With Quote
  #14  
Old 19 Mar 2014, 21:12
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Real name: Chris
Yeah if I was to add the Show More deal, I might just turn it into a product.
__________________
You can get access to my 180 mods for vB 3.6 - 4.x at OzzModz as well as the professional support you are used to. This will also include any new mods I make.
All my mods are updated on OzzModz to do the version checking there instead of here. You can follow us on Twitter, https://twitter.com/OzzModz
Reply With Quote
  #15  
Old 22 Apr 2014, 00:20
fxdigi-cash fxdigi-cash is offline
 
Join Date: Jul 2012
great article as usual,

Thanks, ozzy47
__________________
Shoot me a PM if I didn't reply in your post when you needed help. I can't remember things easily
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
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 05:49.

Layout Options | Width: Wide Color: