The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#21
|
|||
|
|||
I had no problem following all the steps but it's not limiting signatures to two lines for me. I logged into one of our test accounts and was able to place several sentences in that account's signature (no carriage returns) that far exceeded two lines, which is the limit I set in the new profile option. Can someone help me figure it out please? :nervous:
|
#22
|
||||
|
||||
Well, if there are no line-breaks it is just one line - even if it is displayed in more then 1 line on your screen (which just means that it is not wide enough )
Or in other words: It is not possible to determine which text length is "one line", as this depends on screen width. The only way would to specify what "one line" shold be is to specify that it should be max. xx characters. But one has to keep in mind that if this is based on a 1024x768 resolution, it will be much less then "one line" for somebody using 1600x1200 for example. |
#23
|
|||
|
|||
Quote:
*Sigh* I wish I could find a reasonble solution to this. |
#24
|
||||
|
||||
Well, one could strip the code before checking the length
|
#25
|
|||
|
|||
How would one do that?
|
#26
|
||||
|
||||
PHP Code:
|
#27
|
|||
|
|||
Great! Where would I place that?
|
#28
|
||||
|
||||
Yea...I've ran into the same issue. Without a character count restriction, you can cut and paste a whole paragraph into the siggy and get away with it. lol
We currently have our character limit set to 500, and we may have to go smaller. |
#29
|
|||
|
|||
Kirby, I have a thought that perhaps you can help with. Could this be applied to the existing setup for the signature character limit feature in vB3? That way I could place a character limit that would count only the true characters and ignore vBcode. Is it possible to place this same code somewhere to have that effect in the character count?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|