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)
-   -   User info collapsable table on left side of postbit_legacy (https://vborg.vbsupport.ru/showthread.php?t=68043)

Steve St.Lauren 08-05-2004 10:00 PM

User info collapsable table on left side of postbit_legacy
 
******* User info collapse on postbit_legacy v.9 **********


I had a number of users complaining about how much "white space" there was on posts where the person had only entered 1 line of text because of the size of the user information below the username on the left hand side.

This hack puts the user information (online/offline status, location, post count, join date, etc) in the postbit_legacy template (only works if you are using the legacy postbit) into a collapsable table like many of the other collapsable tables in vB3. Users can collapse/expand this information at will while viewing a thread and the status is saved in the cookie.

This is the very first javascript code I've ever written so go easy on me ;) .

Please click on install if you use this hack!

insanctus 08-06-2004 09:20 AM

Does this collpase all or just the ones you choose ?

Steve St.Lauren 08-06-2004 09:29 AM

It collapses all. You can see it here if you want - http://www.turbodieselregister.com/f...d.php?t=105948 . Just click on the up arrow below any of the names. It does it on the fly so you can switch back and forth at any time.

Gaffer 08-06-2004 09:34 AM

oh this is SOOO being installed.... our postbits are so damn long.

thats steve i needed this.

Floris 08-06-2004 12:37 PM

Quote:

Originally Posted by Gaffer
oh this is SOOO being installed.... our postbits are so damn long.

thats steve i needed this.

Does this remember which threads have it collapsed, or does it remember at all if you have it collapsed or do you need to set it each time?

Steve St.Lauren 08-06-2004 12:43 PM

Quote:

Originally Posted by floris
Does this remember which threads have it collapsed, or does it remember at all if you have it collapsed or do you need to set it each time?

They are collapsed or uncollapsed for all threads. Once you change it, it's that way for everything until you change it back.

Hiro 08-06-2004 12:45 PM

Great, Thanks steve ima have a fiddle.

alkatraz 08-06-2004 06:19 PM

nice idea! thx

Polo 08-06-2004 07:39 PM

Wow, maybe with this mod I will be back to the traditional postbit_legacy!

Steve St.Lauren 08-06-2004 07:58 PM

Please click on install if you guys use this that way I know how many are running it! I use that to judge when to go full release.


All times are GMT. The time now is 11:21 PM.

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.00990 seconds
  • Memory Usage 1,729KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete