vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Show Thread Enhancements - Limit (Whole) Signature Size (https://vborg.vbsupport.ru/showthread.php?t=244013)

Yellow Slider 06-04-2010 10:00 PM

Limit (Whole) Signature Size
 
1 Attachment(s)
Limit Signature Size

Description:
This modification, as opposed to other similar modifications,
lets you limit the size of signatures in your forum,
and not only images/lines of text in it, but the size of the whole signature.

Credit:
This mod was created for www.p8ntballer-forums.com and therefore it is by courtesy of them.

Installation:
The installation requires you to import an xml file via
the Admin Control Panel and to perform one template edit.

Version History:
1.0 05.06.2010: Initial release.

Skyrider 06-06-2010 09:20 AM

Awesome, was looking for this. If I may give a suggestion. Instead of replacing the signature with the new line, is it possible the whole signature gets cut off at a specific height? So you don't see the whole signature if it's too big?

Kraxell 06-06-2010 12:44 PM

Taggt for later (i wait some days for bug-alert or something else :D)

kingharrison 06-10-2010 10:35 AM

anyway to make this work for 4.0.2?

Skyrider 06-13-2010 06:45 AM

I think this is a bit bugged. I've set 200 pixels max, yet it lets a 265 height pixel signature stick around. I've toyed around with it, and it seems 150 seems to remove all the signatures, while 200 max height seems to allow them all again.

kingharrison 06-13-2010 04:45 PM

yeah, i am kinda noticing the same thing. this would be extremely powerful (and personally save me a bunch of time dealing with people who just do whatever they want with their signatures).

what can i do to help get this working?

Yellow Slider 06-13-2010 09:45 PM

Quote:

Originally Posted by FF|Skyrider (Post 2052849)
I think this is a bit bugged. I've set 200 pixels max, yet it lets a 265 height pixel signature stick around. I've toyed around with it, and it seems 150 seems to remove all the signatures, while 200 max height seems to allow them all again.

Which version of vbulletin are you running?
Which browser are you using?

Skyrider 06-14-2010 10:57 AM

Quote:

Originally Posted by Yellow Slider (Post 2053125)
Which version of vbulletin are you running?
Which browser are you using?

Chrome & vB 4.0.3 PL1. I do believe someone reported the same issue on FireFox as well. Would be great if too big signatures gets cut off though rather than text replaced.

COL NIL SATIS 06-14-2010 06:02 PM

tagged

funmasti 06-15-2010 09:19 AM

nice mod to prevent spam

Necrovaris 06-16-2010 11:44 PM

1 Attachment(s)
Try updating with the attached file.


In postbit_legacy Template

Revert the template back to default.

Find

Code:

<blockquote class="signature restore"><div class="signaturecontainer">{vb:raw post.signature}</div></blockquote>

Replace with

Code:

<blockquote class="signature restore"><div id="signature_{vb:raw post.postid}" style="display: inline-block;" class="signaturecontainer">{vb:raw post.signature}</div></blockquote>

Sparrow-Sean 06-17-2010 08:05 AM

Thank you,

Will see how this one goes - very useful.

mac47 07-13-2010 09:54 PM

This does not work on 4.0.4 PL1.

Skyrider 07-13-2010 11:40 PM

Yup, its not working on vB4.0.4

NathanLedet 07-30-2010 03:08 AM

No luck with vB 4.0.5

:(

General of the 07-31-2010 07:54 PM

Quote:

Originally Posted by NathanLedet (Post 2076639)
No luck with vB 4.0.5

:(

hes right, doesnt work

kingharrison 08-08-2010 11:10 AM

can this please be updated? this is a GREAT idea if it works. I would donate.

Skyrider 08-13-2010 01:57 PM

Any updates please?

HackSawed 11-19-2010 07:43 AM

Update please? :) Or is there a similar mod for this?

tanerokutan 01-03-2011 02:45 PM

update for 4.1.0 ?

OldSchoolDSL 01-03-2011 04:12 PM

Any update would be helpful

OldSchoolDSL 01-25-2011 12:20 AM

Quote:

Originally Posted by OldSchoolDSL (Post 2143406)
Any update would be helpful

Anyone picking this up or is this going soon into the modification graveyard ?

Uberguilds 03-26-2011 03:28 AM

1 Attachment(s)
Quote:

Originally Posted by HackSawed (Post 2123448)
Update please? :) Or is there a similar mod for this?

I modified a similar mod for 4.0.5. The attached version works with 4.0.5, not sure about after that. (Tested with PHP 5.2)

It relies on curl and your PHP memory limit being set correctly. The default limits are 500x100 and 50 kb, memory usage is ~4MB at most. Memory usage goes up as you allow larger images.

JAFRI 03-28-2011 01:07 PM

not work 4.1.2 ????

chjp 04-27-2011 01:24 PM

4.1.0 not work :(

yin9 04-30-2011 10:29 PM

Not work, update please.

akke 06-17-2011 09:08 AM

As it's using javascript it's not realy 'safe' as anyone could just disable javascript and upload a bigger signature...

Favori 07-31-2011 01:31 PM

Update please for 4.1.x

Scans007 11-01-2011 02:57 PM

I too would LOVE and update......such a bummer this doesn't work

ngphuc2k 11-10-2011 01:38 AM

Thanks

kaizokuhime 03-02-2012 06:03 PM

Had to uninstall since it's not working on 4.1.1. I hope this gets updated soon, and thank you to the developer for creating this.

Emeralda 04-04-2012 03:08 PM

In case it would ever get updated, how does it work with spoilers? Would it allow signatures to be opened and view, or would they be cut off?

cvalk 04-16-2012 03:00 PM

I really like this modification, but was looking for a simple way to make users aware of the height restriction so that they are not confused when their signature displays in the preview but are confronted with an error message in forum posts if their signature is too tall. I developed a simple template edit to display a height restriction warning on the Edit Signature page. I have included it below in case it is helpful to anyone else.

1) Add the following to modifysignature.css:

Code:

<h2 class="blockhead">{vb:rawphrase signature_height}</h2>
<div class="blockbody formcontrols settings_form_border1">
      {vb:rawphrase signature_restriction_text}       
</div>
<br>


2) Add the following to vbulletin-formcontrols.css:

Code:

.blockbody.settings_form_border1 {
        border-{vb:stylevar right}: {vb:stylevar formrow_border};
        border-{vb:stylevar left}: {vb:stylevar formrow_border};
        border-bottom: {vb:stylevar formrow_border};
        padding: 4px;
        padding-left: 10px;
}


3) Create global variables signature_height (for title text) and signature_restriction_text (for body text).

Place the additional code in modifysignature.css wherever you would like the box to appear
on the Edit Signature page. I placed it at the very beginning of the template. Here is what it looks like:
http://i799.photobucket.com/albums/y...IGNATURE-1.jpg

EDIT: Working on 4.1.12

Mr_Running 04-17-2012 04:47 PM

Not Working for me on 4.1.12
I set maximum signature height to 80
I managed to have an image 578 x 399

Dstephan 01-25-2014 12:11 AM

Quote:

Originally Posted by Uberguilds (Post 2177577)
I modified a similar mod for 4.0.5. The attached version works with 4.0.5, not sure about after that. (Tested with PHP 5.2)

It relies on curl and your PHP memory limit being set correctly. The default limits are 500x100 and 50 kb, memory usage is ~4MB at most. Memory usage goes up as you allow larger images.

This doesn't work either - I really need a mod like this.


All times are GMT. The time now is 04:57 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.01210 seconds
  • Memory Usage 1,780KB
  • 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
  • (4)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (35)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