vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Collapse Signatures and Avatars in Posts (https://vborg.vbsupport.ru/showthread.php?t=90850)

calorie 06-22-2005 10:00 PM

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

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...
Code:

// 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.


All times are GMT. The time now is 06:08 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01113 seconds
  • Memory Usage 1,725KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete