View Full Version : [MINOR RELEASE] Signature Length
MrBlunt
Mon 19th Feb '01, 11:06pm
evoir
Tue 24th Apr '01, 11:30pm
Too funny eva :)
will try this hack.
Rosevalley
Thu 31st May '01, 4:24am
nice hack !! its working real nice and a real easy install :) Tnx mate!
Dakota
Wed 6th Jun '01, 9:05pm
Great hack. I have really been needing something like this.
Thanks
mrlister
Wed 6th Jun '01, 9:46pm
good job. i was meaning to get something like this!
VirtueTech
Thu 7th Jun '01, 12:59am
First off thanks for the hack...been looking for something like this...Second..I had a small problem with the hack because the template error_siglength gets put into templateset ID #1
My default template set ID was 4...so anyone else who might have the same issue...just use phpMyAdmin to correct the template's "templatesetid" field.
Just a heads up for users in my boat. :)
Thanks again for the hack.
Oh and I remember a ways back Ed Sullivan created a way to only show 6 lines of the signature on the showthread.php script for v1.13...anyone know how to do that here?
MarkG
Wed 20th Jun '01, 1:36pm
excellent hack, great implementation!
Thomas P
Wed 20th Jun '01, 2:59pm
Works perfect,
thanks to VirtueTech, too for the hint,
-Tom
Sire
Tue 10th Jul '01, 8:14am
$signaturelength doesn't seem to contain a value for me.. ( v 2.0.1 ). Any idea ?
kchii
Wed 25th Jul '01, 6:10pm
This is a great hack, but needs to limit characters as well. If not, a user can simply not use any breaks and they can still have a huge sig, since it's technically only 1 really really long line.
Bad_Madman
Thu 26th Jul '01, 11:38am
Originally posted by kchii
This is a great hack, but needs to limit characters as well. If not, a user can simply not use any breaks and they can still have a huge sig, since it's technically only 1 really really long line. Update: Sorry, there was an error:
wrong: if ($sigcount > $signaturelength and $signaturelength)
right:if (strlen($sigcount) > $signaturelength and $signaturelength)
now it is correct (see below)
replace in member.php and register.php:
// ####### SIG LENGTH HACK #######
$sigcount = count(split("\n", $signature));
if ($sigcount > $signaturelength) {
eval("standarderror(\"".gettemplate("error_siglength")."\");");
exit;
}
// ####### SIG LENGTH HACK #######
with
// ####### SIG LENGTH HACK #######
if (strlen($sigcount) > $signaturelength and $signaturelength) {
eval("standarderror(\"".gettemplate("error_siglength")."\");");
exit;
}
// ####### SIG LENGTH HACK #######
... and now 'Signature Length' (in User and registration options) the characters instead of lines ...
Madman
atrl
Tue 31st Jul '01, 8:56pm
It Wont Work For Me Any Help I can Enter All I Want To and it wont limit it?
Bad_Madman
Wed 1st Aug '01, 2:28pm
Originally posted by atrl
It Wont Work For Me Any Help I can Enter All I Want To and it wont limit it? with or without my changes?
Madman
atrl
Thu 2nd Aug '01, 12:04am
I think i fixed it but somehow it is now on the CP options twice? How Do I take one out?
Thomas P
Thu 2nd Aug '01, 6:51pm
Hi,
works great in 2.0.3, to upgrade I took that piece
// ####### SIG LENGTH HACK #######
$sigcount = count(split("\n", $signature));
if ($sigcount > $signaturelength) {
eval("standarderror(\"".gettemplate("error_siglength")."\");");
exit;
}
// ####### SIG LENGTH HACK #######
and pasted it into member.php and register.php as stated above.
I do like wo work it this way, i.e. to limit the lines.
Some of my users tend to make ~5 lines which is too much imo.
Limiting the chars won't limit the lines, too.
So I like it!
-Tom
atrl
Sun 5th Aug '01, 2:36pm
It wont work and i added the charter limit please help me?
bigsoccer tech
Wed 22nd Aug '01, 2:54pm
Um where is the first post with the hack?
Lordmusic
Wed 22nd Aug '01, 5:20pm
:confused: I need this hack! Can someone put it back up???
TurboFC3S
Sun 26th Aug '01, 1:11am
This is a good hack, and a great idea! One I've been needing for some time. My problem is that people make image sigs that are too big ... how can this be modified to empose restriction on signature image filesize and dimensions? It would also be cool to take away the ability to have signature for individual members - the ones who abuse the rules.
thanks hack dudes
MrBlunt
Sun 26th Aug '01, 2:56am
Please DO NOT use this hack. Doing so will remove the possibility of receiving support from Jelsoft for your vBulletin.
If you could remove the link I would appreciate it eva.
Thanks.
bigsoccer tech
Mon 27th Aug '01, 10:50am
Can you please explain why for those of us who just installed it? Thanks.
MrBlunt
Tue 28th Aug '01, 3:47am
There is no problem I am aware of in the implementation of the "hack'. However according to Jelsoft any "hacked" board is not eligible for their support. You could still get answers to questions on the forums but not "officially" from Jelsoft.
Again this is my understanding and I could be wrong. I would suggest people get clarification from Jelsoft for themselves regarding support issues.
bigsoccer tech
Tue 28th Aug '01, 7:53am
Jeez, you had me scared there.
Tom Dooley
Sun 23rd Sep '01, 12:15pm
Hi,
can i get this hack ? ore is there somethin simullar to limit the signatur.
Typhon
Mon 1st Oct '01, 3:50pm
So.. where is this hack? I have some members that are goign a bit overboard with their signatures.. and I think this would solve the problem.. hands down. :) can someone please put it back up?
DarkReaper
Mon 1st Oct '01, 9:17pm
Originally posted by MrBlunt
Please DO NOT use this hack. Doing so will remove the possibility of receiving support from Jelsoft for your vBulletin.
If you could remove the link I would appreciate it eva.
Thanks.
Um..I'll be nice to you since you're a n00b :)
Hacks are un-supported. You use them at your own risk to add features you want to your boards. No-one is making you use this, and there's no reason to flip out and say nobody is allowed to use hacks, because that's just plain wrong. Why do you think there's a whole section on these boards for hacks? :)
hacker
Mon 1st Oct '01, 9:43pm
Originally posted by Typhon
So.. where is this hack? I have some members that are goign a bit overboard with their signatures.. and I think this would solve the problem.. hands down. :) can someone please put it back up?
Me too, I need to control the length of the sigs....
MrBlunt
Mon 1st Oct '01, 10:22pm
Originally posted by DarkReaper
Um..I'll be nice to you since you're a n00b :)
I guess I should TRY and be nice to you since you obviously haven't learned to fully read yet. My post following that explained my reasons. You only reiterated it. Believe it or not reading an entire thread can sometimes be helpful...you should try it.
Yes no one is making me use it since I wrote it. I was asking that it be removed.
vBulletin® v3.8.0 Beta 1, Copyright ©2000-2008, Jelsoft Enterprises Ltd.