View Full Version : Show Thread Enhancements - Limit (Whole) Signature Size
Yellow Slider
06-04-2010, 10:00 PM
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
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
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
Try updating with the attached file.
In postbit_legacy Template
Revert the template back to default.
Find
<blockquote class="signature restore"><div class="signaturecontainer">{vb:raw post.signature}</div></blockquote>
Replace with
<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
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
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
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 ????
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:
<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:
.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/yy271/cvalk/SIGNATURE-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
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.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.