Pages:
Author

Topic: Dealing with Signature spam ? (Here's my today's irrevelant post) (Read 4674 times)

newbie
Activity: 37
Merit: 0
You can easily switch off signatures in profile. There should be some rules about signature size though.
legendary
Activity: 1652
Merit: 1128
sr. member
Activity: 266
Merit: 250
It's not THAT bad, is it?
full member
Activity: 121
Merit: 100
I guess the best solution would be some kind of “expand” button that makes the sig full size when clicked, but that'd probably be more complicated than a simple CSS style change. Thanks for considering, though!
administrator
Activity: 5222
Merit: 13032
Actually, overflow:auto is annoying because my cursor occasionally ends up in a signature while I'm scrolling down a page and then my browser thinks that I want to scroll through the signature instead of the page. So I removed that.
administrator
Activity: 5222
Merit: 13032
OK, I made it 4em and overflow:auto.
legendary
Activity: 1358
Merit: 1002
I think max-height: 3em should normally match 3 lines. For some reason, 4em seems to come closer to exactly three lines in this case. Might be a good idea to test in a few different browsers to make sure it's consistent. But whatever the em value is, it should automatically scale to match the overall font size in use.

3em should be 3 lines of text, the extra 1em is for the line spacing probably.

Or not... Tongue
full member
Activity: 121
Merit: 100
I think max-height: 3em should normally match 3 lines. For some reason, 4em seems to come closer to exactly three lines in this case. Might be a good idea to test in a few different browsers to make sure it's consistent. But whatever the em value is, it should automatically scale to match the overall font size in use.
administrator
Activity: 5222
Merit: 13032
Please consider making it overflow : auto rather than overflow : hidden. That way if someone wants to view the rest of the signature, they can (it adds scrollbars as needed without losing the advantage of the size being limited). Just because someone doesn't want to see the whole signature doesn't mean everyone else doesn't.

Also, I'd make the height relative (e.g. em or ex units), not absolute. Pixel units do not take into account the user's screen size and discriminate against people with visual impairments who may need to use a larger font size. Relative units allow the size to remain reasonable under different conditions.

I'm not very familiar with Web length units. What should I use to make it about 3 lines of default-sized text?
member
Activity: 65
Merit: 10
why u got an advert in your sig then?
full member
Activity: 121
Merit: 100
Please consider making it overflow : auto rather than overflow : hidden. That way if someone wants to view the rest of the signature, they can (it adds scrollbars as needed without losing the advantage of the size being limited). Just because someone doesn't want to see the whole signature doesn't mean everyone else doesn't.

Also, I'd make the height relative (e.g. em or ex units), not absolute. Pixel units do not take into account the user's screen size and discriminate against people with visual impairments who may need to use a larger font size. Relative units allow the size to remain reasonable under different conditions.
donator
Activity: 1731
Merit: 1008
...
Edit: oh and Transisto - your sig you made for that exact advert that you dislike, is now truncated, so you should be disbarred from the competition IMO Smiley
I'm following the contest rules, I really hope to win the Quad miner.

 Grin
member
Activity: 112
Merit: 10
strongly agree
hero member
Activity: 770
Merit: 502
AdBlockPlus w/ Adblock Plus Pop-up Addon, click adblock plus icon, select element to hide, then select the "signature field"  then click add element hiding rule.

https://www.dropbox.com/s/b2hrkwrz688a5ta/Untitled.jpg

That is, if the signatures bother you.

legendary
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
So ... anyone know how to make a 3 line table that doesn't get screwed up as mine is?

Yeah my sig code is WAY larger now - more work for the forum software Tongue

(I'm using 8pt which seems to be the same size as a normal sig)

Edit: oh and Transisto - your sig you made for that exact advert that you dislike, is now truncated, so you should be disbarred from the competition IMO Smiley
hero member
Activity: 952
Merit: 1009
I increased the allowed number of characters in signatures to 2000.

administrator
Activity: 5222
Merit: 13032
Since size is no longer a problem, I increased the allowed number of characters in signatures to 2000.

I strongly disapprove of the signature change.  I have my own threads I would like to advertise in my signature and I can't because there is not enough room now.

Use a smaller font.
sr. member
Activity: 457
Merit: 250
Look for the bear necessities!!
I strongly disapprove of the signature change.  I have my own threads I would like to advertise in my signature and I can't because there is not enough room now.
administrator
Activity: 5222
Merit: 13032
It's a standard CSS2 property, and http://www.w3schools.com/cssref/pr_dim_max-height.asp claims that it's supported in all the major browsers (though not in IE6 or earlier). If it's not supported, the only side-effect is that you see the entire signature instead of just the top 30pt.

This seems to work well. I added it. I used 42px instead of 30pt -- the same height limit as ads. Thanks!
full member
Activity: 152
Merit: 100
Why bother parsing the signature markup when you can just put this in the CSS?

Is that widely-supported?

It's a standard CSS2 property, and http://www.w3schools.com/cssref/pr_dim_max-height.asp claims that it's supported in all the major browsers (though not in IE6 or earlier). If it's not supported, the only side-effect is that you see the entire signature instead of just the top 30pt.
Pages:
Jump to: