vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Signature Cutoff... (Limit Dimensions not content) (https://vborg.vbsupport.ru/showthread.php?t=76546)

Wasim 02-18-2005 05:39 AM

Signature Cutoff... (Limit Dimensions not content)
 
I used to frequently post at Gamespot forums, and their signature limitations are quite nice and effective.

Basically, the signature setting has two limitations:

1. Limit character length of signature (already built into vb)
2. Dimensions of signature as a whole are limited.

For example, you can put whatever you want in your signature, be it a 800x600 image.

But when you look at the forum post, the picture is there, but it is cutoff, because it does not lie within the limits. Same thing with the width.
This includes text as well.

This basically forces people to resize their signatures to the appropriate size if they want people to view them fully.

Does this kind of hack already exist? If not, is this hard to make?

Abe Babe 02-21-2005 01:06 AM

I've been looking for something like this forever. Such a hack would be welcome on our forums, as we have a lot of members who tend to add too large images, and it's just a pain for our moderators to keep up with them all.

I did manage to fix the width issue by adding the overflow attribute into a div that displays the signature ::

<div style="width: 500px; overflow: hidden">$signature</div>

But that won't work for the length [which is now our biggest issue] because the div is a fixed amount, so adding a height would cause large gaps under user signatures that are small.

I saw it once on an Invisionfree board where it used javascript, but their example never worked. And my javascript knowledge is very limited to try to do it myself. I too hope that someone out there is interested in taking on this idea.

Abe Babe...

Wasim 02-21-2005 08:18 PM

Glad Im not the only one who thinks so. :)

Digma 03-03-2005 04:55 PM

Seems to be in high-demand. There are already two other threads on this topic.. Which is kinda good exposure for the problem as I want to get rid of it as well :)


All times are GMT. The time now is 07:14 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.01022 seconds
  • Memory Usage 1,708KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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