vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3 Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=187)
-   -   Dealing with long signatures (https://vborg.vbsupport.ru/showthread.php?t=67896)

Abe Babe 10-11-2004 09:31 AM

I finally got it working, I typed my post too soon ... but I tried again with your code and it worked fine. I compared it to the other code I had come across elsewhere and they were missing the px [just had the numeric value]. I guess Mozilla can recognize that and IE cannot. I should have picked that up myself, but I always get frustrated with CSS and miss the little things. Thanks for your help! :)

Abe Babe...

Erwin 10-11-2004 12:12 PM

Mmm... strictly speaking... this is not a hack at all. :)

Logikos 10-11-2004 08:40 PM

Nope its a template mod. I posted this ay vBt a long time ago. Back in the vB2 days.

Reverend 10-15-2004 11:15 PM

Thanks for the postbit mod Live Wire.Works a treat.

Is there anyway to apply this to the User CP and the profile page. Its a bit confusing for some of our members when their "oversized" sigs are displayed in full in their User CP,and profile pages,but are then chopped in the postbit.

Logikos 10-16-2004 02:21 AM

You would just edit the appropeaite template and add the same thing where you find the signature variable.

Michael Morris 10-16-2004 03:09 PM

Another approach is to let the users decide what's too long and what's not

https://vborg.vbsupport.ru/showthread.php?t=69897

bejetta wrote the vb2 original hack and I transposed it to vb3. The vb3 install file includes the text of the original hack.

Spinball 10-16-2004 08:22 PM

Quote:

Originally Posted by Live Wire
I find this more useful, its what i use on my forums. Cuts long sigs out.

HTML Code:

<div style="width: 500px; height: 135px; overflow: hidden;">
                                $post[signature]
</div>


While this is an elegant solution, by fixing the size of signatures, for people with shorter signatures, it is counter productive because it unnecessarily uses up screen space.
I tried it and decided not to keep it.
What we need is a way to truncate the signature only if it's bigger than 500x50 or so pixels.

Logikos 10-18-2004 02:09 AM

Quote:

Originally Posted by Spinball
While this is an elegant solution, by fixing the size of signatures, for people with shorter signatures, it is counter productive because it unnecessarily uses up screen space.
I tried it and decided not to keep it.
What we need is a way to truncate the signature only if it's bigger than 500x50 or so pixels.

If there is no signature, there will be no unused screen space.

Spinball 10-18-2004 05:31 AM

Quote:

Originally Posted by Live Wire
If there is no signature, there will be no unused screen space.

Yes, but if people respond to my request to keeps sigs short, and create sigs like mine at http://www.avforums.com/forums/showt...50#post1224350 then there wil be.

skinny 02-07-2005 11:43 PM

Yes, I have introduced this on my forum. I guess as has been mentioned, the only problem is that say for instance, I have a max height of 500px, yet some members only have small sigs, there will be quite a bit of blank space underneath their sigs.


All times are GMT. The time now is 02:34 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.01093 seconds
  • Memory Usage 1,739KB
  • 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_html_printable
  • (3)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