Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Collapsable Quotes Details »
Collapsable Quotes
Mod Version: 1.02, by Hellcat (Member) Hellcat is offline
Developer Last Online: Apr 2014 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.5.3 Rating: (2 votes - 5.00 average) Installs: 38
Released: 01 Feb 2006 Last Update: 03 Feb 2006 Downloads: 39
Not Supported Template Edits  

As requested in this thread

Collapsable Quote Mod

What does it do?
==================

Sometimes, when others post lots of quotes, or very long ones, you might get the wish to hide the quoted text and only read the new posted message.
Now you can
This little mod makes the quotes collapsable, like the categories on the forumhome or other areas of vBulletin.


Installation
==============

To apply this go to:
AdminCP -> Style Manager -> Edit templates -> "BB Code Layout Templates" group -> Template: "bbcode_quote"

Edit that template, cut out (=delete) EVERYTHING that's in there and paste this back in:



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


Hit "SAVE" and you're done


*** If you are one of the lucky folks that have the "Template Manager" installed: ***
You can simply take the template .XML also supplied as download and import it via the template manager -> even faster and more easy done
(you might have to check "overwrite templates" when importing)


What else?
============

By default this collapsable quotes start up collapsed!
So if a user wants to read the quoted text he has to uncollapse it.

If you want it the other way round, users can collapse quotes they do not want to waste space for the moment:
Remove (or leave out at install) the last three lines of the template:


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

If that part is removed/left out all quotes start up uncollapsed and visible.


That's it.

Have fun

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	colaplsedquotes.gif
Views:	892
Size:	36.5 KB
ID:	41960  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #16  
Old 02 Feb 2006, 09:36
Mudvayne's Avatar
Mudvayne Mudvayne is offline
 
Join Date: Dec 2005
Real name: Mudvayne
okiz...... I found a bug may b... Hellcats.. U better chk the link

http://www.golpo.net/forum/showpost....4&postcount=16
Reply With Quote
  #17  
Old 02 Feb 2006, 10:07
Zia's Avatar
Zia Zia is offline
 
Join Date: Dec 2005
Real name: Z.R.
helo hellcat..

seemd quote inside quote...
a post with previous quote is okay..when any one quote that one.... here comes the porblem........ "Paid Subscribers Link" shown....

http://www.golpo.net/forum/showthrea...=5024#post5024

this will show the full thread..1st quote is preffy nice...2nd quote ..its the problem...

is there any way that Quote will always Ignore Image & always ignore if there any previous quote...

Thnx
Reply With Quote
  #18  
Old 02 Feb 2006, 13:31
Gizmo999 Gizmo999 is offline
 
Join Date: Dec 2005
Real name: Michael
Originally Posted by Hellcat
The thing with the text is just a phrasing issue.
I changed it in the description and attached files to "click to expand/collapse".
The text doen't change when the quote is expaned or collapsed - it's not supposed to, at least at the moment



That's caused by vB's page caching.
But, like you already said, logging out and back in usually does the trick

thanks for new phrase wording.

Is there any cache setting I can change to stop this opening quotes in certain threads, logging out and in occasionally works but not enough times and even logging in on a different computer as a different user the thread still has same problem. I can't work out why only odd threads are affected, its just happened in a 2 page thread where the first page is perfect but the second opens expanded other than first quote on that page.
Reply With Quote
  #19  
Old 02 Feb 2006, 17:11
TosaInu's Avatar
TosaInu TosaInu is offline
 
Join Date: Jul 2004
Nice idea.
It doesn't fully work yet though.

Quotes prior to the hack, are still old style (granted that's probably because of post cache in html).

When a user makes a post with a single quote in a topic and then another post with a single quote, only the first one can be un/collapsed. The second one is uncollapsed from the start and can't be collapsed. Even worse, collapsing it just collapses the quote in the first post.

http://forums.totalwar.org/colquote.gif

Quotes from different users work fine, as long as they are the first one by that user.
__________________
Ja mata
TosaInu
Reply With Quote
  #20  
Old 02 Feb 2006, 17:14
Gizmo999 Gizmo999 is offline
 
Join Date: Dec 2005
Real name: Michael
Thank you for explaining that better than I could.


Originally Posted by TosaInu
Nice idea.
It doesn't fully work yet though.

Quotes prior to the hack, are still old style (granted that's probably because of post cache in html).

When a user makes a post with a single quote in a topic and then another post with a single quote, only the first one can be un/collapsed. The second one is uncollapsed from the start and can't be collapsed. Even worse, collapsing it just collapses the quote in the first post.

http://forums.totalwar.org/colquote.gif

Quotes from different users work fine, as long as they are the first one by that user.
Reply With Quote
  #21  
Old 02 Feb 2006, 18:55
TosaInu's Avatar
TosaInu TosaInu is offline
 
Join Date: Jul 2004
Originally Posted by Gizmo999
Thank you for explaining that better than I could.
That would be the first time Gizmo999 English is not my native language.
__________________
Ja mata
TosaInu
Reply With Quote
  #22  
Old 02 Feb 2006, 19:18
Gizmo999 Gizmo999 is offline
 
Join Date: Dec 2005
Real name: Michael
Originally Posted by TosaInu
That would be the first time Gizmo999 English is not my native language.
its meant to be mine but I'm from the far north, almost into Scotland so my dialect is different
Reply With Quote
  #23  
Old 02 Feb 2006, 19:26
Hellcat Hellcat is offline
 
Join Date: May 2003
Real name: Michael
I might have an idea why this happens....
I'll look into this tonight and keep you posted!
__________________
<?php eval('$post["signature"] = "' . fetch_template('hellcats_sig') . '";'); ?>

Check this:
[ WMail - vBulletin WebMailer || PM-Auto-Reply || Countdown-Timer for signature ] * [ more ]
[ Realtime Page Compressor || The allmighty IRC /me action ]
Reply With Quote
  #24  
Old 02 Feb 2006, 19:39
Zia's Avatar
Zia Zia is offline
 
Join Date: Dec 2005
Real name: Z.R.
Thumbs up

Originally Posted by Hellcat
I might have an idea why this happens....
I'll look into this tonight and keep you posted!
thankx man...we are waiting.....
plz give a thought about ignore image in quote...


thnx
Reply With Quote
  #25  
Old 02 Feb 2006, 20:24
Hellcat Hellcat is offline
 
Join Date: May 2003
Real name: Michael
Originally Posted by Zia
thankx man...we are waiting.....
plz give a thought about ignore image in quote...

thnx
You want [img] tags in quotes striped?
Or (IMO better) converted to [url] tags?

Hmm.... that would be a different thing, but should be possible to do pretty easy with a plugin at the right hook....

/me thinks
__________________
<?php eval('$post["signature"] = "' . fetch_template('hellcats_sig') . '";'); ?>

Check this:
[ WMail - vBulletin WebMailer || PM-Auto-Reply || Countdown-Timer for signature ] * [ more ]
[ Realtime Page Compressor || The allmighty IRC /me action ]
Reply With Quote
  #26  
Old 02 Feb 2006, 20:30
Zia's Avatar
Zia Zia is offline
 
Join Date: Dec 2005
Real name: Z.R.
thnx man...
did u figured out the probs..describe last post..

quote-inside a quote it showd the "paid subscriber link" ?

: give a deep deep think...
/me offers hellcat a chilled bear & a cigar...
Reply With Quote
  #27  
Old 03 Feb 2006, 00:40
Hellcat Hellcat is offline
 
Join Date: May 2003
Real name: Michael
No clue where a subscription link could come from.

But I (hopfully) solved the "Later quote collapses/expands quote from earlier post" problem.

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

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

Instsructions and attachments have already been updated, hopfully that does the trick, let me know if there are still issues
__________________
<?php eval('$post["signature"] = "' . fetch_template('hellcats_sig') . '";'); ?>

Check this:
[ WMail - vBulletin WebMailer || PM-Auto-Reply || Countdown-Timer for signature ] * [ more ]
[ Realtime Page Compressor || The allmighty IRC /me action ]
Reply With Quote
  #28  
Old 03 Feb 2006, 07:50
Gizmo999 Gizmo999 is offline
 
Join Date: Dec 2005
Real name: Michael
Sorry

I applied the code change but its still the same only now the first quote opens "expanded" and has same problem - subsequent quotes are "expanded" clicking collapse closes the very first one

Thanks for the time and effort on this
Reply With Quote
  #29  
Old 03 Feb 2006, 07:58
Hellcat Hellcat is offline
 
Join Date: May 2003
Real name: Michael
Originally Posted by Gizmo999
Sorry

I applied the code change but its still the same only now the first quote opens "expanded" and has same problem - subsequent quotes are "expanded" clicking collapse closes the very first one

Thanks for the time and effort on this
That might most likely be caused by vB's caching....
I experienced that myself during my experiments and didn't find a way (yet) to counteract it.

Try this:
On a post that seems to "ignore" the last modification to the template, edit and save that post and try again - should work now.

Try to post some some quote-posts in a test thread and look if everythings works there.
If it does -> it's the vB cache still pulling the old version of the template.

That cache is EVIL!
I disabled it on my boards....
__________________
<?php eval('$post["signature"] = "' . fetch_template('hellcats_sig') . '";'); ?>

Check this:
[ WMail - vBulletin WebMailer || PM-Auto-Reply || Countdown-Timer for signature ] * [ more ]
[ Realtime Page Compressor || The allmighty IRC /me action ]
Reply With Quote
  #30  
Old 03 Feb 2006, 09:09
Gizmo999 Gizmo999 is offline
 
Join Date: Dec 2005
Real name: Michael
Originally Posted by Hellcat
That might most likely be caused by vB's caching....
I experienced that myself during my experiments and didn't find a way (yet) to counteract it.

I disabled it on my boards....
Is that the post caching in admin Cp>server settings/optimisation ?? sorry, I'm new to all this
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod 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 21:57.

Layout Options | Width: Wide Color: