PDA

View Full Version : Collapse Signatures and Avatars in Posts


calorie
06-22-2005, 10:00 PM
Users can go to their User CP and choose to show or hide all signatures and/or avatars, but how about on a per post basis? That's where this mod comes into play. It allows users to collapse signatures and/or avatars in the posts themselves, and upon refresh, the user's most recent selections are remembered. This mod works for those users who allow javascript and cookies. Check out the screenshots.

screenshot1: Show signature and Show avatar
screenshot2: Hide signature and Show avatar
screenshot3: Show signature and Hide avatar
screenshot4: Hide signature and Hide avatar

zell_11
07-05-2005, 09:59 PM
thanks my memebers loved this cos they are annoyed at some peoples Avatars and SIgs taking ages to load

Gutspiller
07-27-2005, 04:59 PM
You say "and upon refresh, the user's most recent selections are remembered"

Does this mean that if they return the next day, next week, etc. or logout, or use another computer their settings aren't saved?

calorie
07-31-2005, 11:33 PM
@Gutspiller: It means that this mod depends on JavaScript and cookies, so as long as JavaScript is on and the vbulletin_collapse cookie hangs around, "upon refresh, the user's most recent selections are remembered." :)

Milktruck
08-02-2005, 05:52 AM
Just throwing an idea out here- Is there a way to have all sigs and avatars in a certain forum automatically be off, and unabled to be changed?

Say if there's a forum called Latest News and you don't want sigs or avatars to be displayed in just that forum.

calorie
08-03-2005, 07:19 PM
@Milktruck: you could do that in templates...

// assume forumid 1 is Latest News
<if condition="$forumid != 1">
show sigs / avatars
</if>

Kwesi
08-22-2005, 11:53 AM
This is a cool hack. If I'm hiding a person's signature that has posted more than one time in the same thread, will the all the additional post that he/she made have signatures hidden as well? If so, what if the person has posted in another thread, will his/her signature be hidden there as well?

Xplorer4x4
08-24-2005, 01:00 PM
Once you colpase the user sig or av once it will be colapsed in every thread on your forum.

*uninstals because I upgraded to 3.5, just wanted to say thanks as this was greatly apreciated. :)*

calorie
09-03-2005, 08:46 PM
@Xplorer4x4: Thanks. If interested, there is a vB 3.5.0 version here (https://vborg.vbsupport.ru/showthread.php?t=90875).