Helpful Information
 
 
Category: vBulletin 3.5
Collapse Signatures and Avatars in Posts

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

Is it possible to have this work on a global, show/hide avatars policy. At the moment I have to collapse each avatar I don't want, but I would love to be able to turn all on or all off.

@theArchitect: To show/hide all signatures and/or avatars...

User CP > Edit Options > Thread Display Options > and uncheck Show Signatures & Show Avatars

Alternatively, and untested, but you could try the following instead. Find the following in step one:

$nested_vbcollapse_user_sig = "sig_userid_".$post['userid']."_";
$nested_vbcollapse_user_avt = "avt_userid_".$post['userid']."_";

And replace with the following, and then repeat step four.

$nested_vbcollapse_user_sig = "sig_userid_";
$nested_vbcollapse_user_avt = "avt_userid_";

@theArchitect: To show/hide all signatures and/or avatars...

User CP > Edit Options > Thread Display Options > and uncheck Show Signatures & Show Avatars

Alternatively, and untested, but you could try the following instead. Find the following in step one:

$nested_vbcollapse_user_sig = "sig_userid_".$post['userid']."_";
$nested_vbcollapse_user_avt = "avt_userid_".$post['userid']."_";

And replace with the following, and then repeat step four.

$nested_vbcollapse_user_sig = "sig_userid_";
$nested_vbcollapse_user_avt = "avt_userid_";


Cool, I will give it a go.

Basically I am not interested in removing avatars etc. but I wanted to use your hack for an alternate purpose. The user profile can get very large, and on my old board my users had the option of minimising the profile in the postbit.

This original hack doesn't work in 3.5.0 but yours was similar so I was intending to alter its use and achieve the same result.

I am only using the sig minimize and it works great :) Avatar collapse spacing is too ugly on postbit.

Also, it looks better if you use unobtrusive collapse buttons too.

will it work on 3.6.x ?

Running 3.6.4 and it works like a dream still :)

I can't tell you how much I CAN'T live without this one.

Only use it for sigs, and float the button on the left to collapse tho.

Is there a way to make the signature collapsed by default.. and then your cookies remember the signatures that you've expanded??

does this work on 3.7 forums?

if not are there any plans to make something similar that will work? this seems like a useful hack

does this work on 3.7 forums?

if not are there any plans to make something similar that will work? this seems like a useful hack

Yep. Sure does. Check the way I did it. I moved the selectables to the drop down ;)

The otions in the drop down only show if the user has a sig or an avatar showing.










privacy (GDPR)