![]() |
Yes, another signature limit hack. But with a little twist :). After installing PPN's excellent Sig Editor hack, I felt the "suspended" signature option needed to have an enforcer of some sort. I know from experience that when I edited signatures in the past (mostly for being rediculously long) the user just turns around and puts the old sig back up.
I search the board and one of the old signature limits hacks has been removed by the author and others were outdated, so here we go. This hack will limit the line breaks in the signature but also splits the image limit setting in 2, so you can have different image limits for posts and signatures. So the smilie limit in posts doesn't have to suffer if you are trying to curb signature image abuse :), and I believe it has been requested here as well in the past. Both settings can be configured in the Admin Control Panel. Don't forget to back up all the goods before installing:D |
Screenshot of the settings in the admin control panel
|
Is there any way to do a size-check on the images they have in their signature, and limit the size?
|
Hmm...a bit odd...I installed the hack and it seemed to work all right, but when I tried to edit my profile and push the sig limit, it gave me a blank template - i.e. there was no fetching of the template text to put in. I've attached a screenshot (I cropped it just to show the kind of screen I'm getting).
Any idea on what I might have done wrong? As far as I know I think I did everything correctly. EDIT: Well, I fixed the problem temporarily by making the function to fetch the template point to the "toomanyimages" template, which I know works. This makes me think I did something wrong when making my templates, but I can't figure out what. I'm all working now, but if someone could give me insight on what I may have done wrong with creating these new templates, that would be great. BTW, great hack ^_^ |
Maybe you made a typo in the name of the template when you created it?
|
This hack installed and worked perfectly! Great Hack! Thanx
|
I accidently installed this twice. So now there's 2 extra rows for the settings. Is there a way to fix this? Like uninstall or something?
|
This worked great! I installed this and managed to get the templates created and everything working. Thanks!
I've needed a way to limit the signatures and images. I appreciate this hack alot! |
Quote:
|
Great hack! I got it working perfectly on my forums.
I have a question though... is there a way to put a character limit on each line in the signature? I'm afraid that people will try to get around the line limit by having hundreds of characters on each line. |
It is perfectly possible to count characters of course, but the problem is that this will count characters in image URLs as well. Let's say you would put a 60 character limit per line and the user has 3 smilies on that line for example, that would be the limit of that line.
It would be very unpractical to first exclude all smilies URLs from the string in order to count characters. |
i installed the hack and it works great but is there a way I can update all the threads to make the Hack take control cause after installing it, i still seen alot of members with long signatures
|
Great job man! :)
|
Quote:
Definately beats going into the admin control panel and resetting users's sig one by one. |
Could I install this hack in conjunction with Signature-Editor hack?
|
If you are talking about PPN's hack, yes. As I mentioned I have both installed.
|
Not PPN's hack, the other is Signature Preview for users by Fryzid, it has lines limited too so I'm wondering if it'd work with yours.
|
Great hack! :)
Would there be any way to limit the signature by total height (ie in pixels)? Because if I allow, say, 4 rows, the user could still use 4 huge banners. I'd much rather be able to give them a certain amount of space that they could use whichever way they want. :) |
Quote:
Great Hack, BTW. |
I also would be intrested in the limiting of the banner in peoples sig!
|
I have a question. If you allow people to use HTML in their sigs, does this limit the number of lines of source code, or lines of text that the source code produce? I want to limit the lines of text, but sometimes it takes multiple lines to achieve a certain affect, i.e., glowing text. Also, do you have any updates to the previous questions?
|
I really would appreciate a check of the size (in bytes) for alle images (together) and if any of the images is above a defined size (in pixels).
I already put something together to read the size in pixels but I have no idea how to apply it to the images in the signature. |
Can someone answer my questions?
|
I'd love to have a check for sig filesize also ...
|
Great Hack
|
Quote:
|
Quote:
|
To all the people asking about image checks/limits. I don't allow images in sigs on my forum so I have never looked into the possiblity of limiting that in any shape or form. But if somebody wants to tackle that issue and modify this hack, be my guest.
|
thanks alot :)
|
This doesn't work on 2.2.2 for me. I set a limit, and it's just ignored when people change their sigs...
|
Wait, scratch that... *cough*uploads files*cough*
:D |
Using it now to limit the signature to only 5 lines.
|
It's not working for me either. I have it set to 3 images, but someone still manages to use 4.
|
Ok I found out why.
This hack has a flaw in it. If someone uses the [img] VB code or the <img> HTML it works. If someone uses <IMG> with capital letters, it doesn't work. :( |
Hum, doesnt work on 2.5.5/6 either, just ignores it all together. This would have really been usefull.
|
Quote:
I've got the same problem......any suggest? |
Working for me, now I'm wondering if it's possible to limit the physical dimensions...I would love to stop my users from using anything bigger than 100H by 500W.
Anyone? Beuller? |
I too am getting complaints about some users on my site using large sig pics. A size limit addition to this would be great.
|
Sorry, am using Version 2.2.4 and after installing the hack and modifying the .php Files the logout and login function of my board doesnt work anymore
marc |
Hm ... I want this for 2.2.6 ...
|
All times are GMT. The time now is 04:38 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|