Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
Who's Online
5 registered (alnadabi, DougMM, Island Piper, Ruben Rocha, Thelockman), 31 Guests and 21 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 08/28/07
Posts: 2
Top Posters (30 Days)
Ruben Rocha 185
Gizmo 110
Rick 101
Thelockman 83
driv 41
AllenAyres 35
ntdoc 28
Sirdude 27
Ian 24
ScriptKeeper 18
Latest Photos
My Home System
test photo gallery
Bernese Mountain Dogs
My Daimler
Dorado and shark
Page 1 of 2 1 2 >
Topic Options
Rate This Topic
#166339 - 10/16/06 03:02 PM [FIXED for 7.0.1] Signature Limit Bug...
Gizmo Moderator Offline

***

Registered: 06/04/06
Posts: 12007
Loc: Portland, OR; USA
As posted in the shoutbox... If your sig is EXACTLY at the limit (250 here) its "too long". As I later found out it's also saying I'm at my limit with as little as 249; yet trimming myself to 248 I get it to accept it...

The problem here is that 248 is not 250, where the limit IS 250 I should be able to enter in 250 characters...

Oh, and this was found HERE at UBBCentral...


Edited by Rick (10/16/06 03:53 PM)
_________________________
UGN Security, Elite Web Gamers & VNC Web Design Owner
Longtime UBB Supporter, UBB7 Beta Tester & Resident Post-A-Holic

Top
#166356 - 10/16/06 03:51 PM Re: Signature Limit Bug... [Re: Gizmo]
Rick Administrator Offline

*****

Registered: 06/04/06
Posts: 7904
Loc: Aberdeen, WA
Ok, it's counting the linebreaks as characters. So If your signature spans a couple lines that would be why. Line 335 of scripts/changebasic.inc.php looks like this:

if ( strlen($Signature) > $config['SIGNATURE_LENGTH'] ) {

Change that, to this:

$lengthcheck = preg_replace("#(\n|\r|<br />)#","",$Signature);
if ( strlen($lengthcheck) > $config['SIGNATURE_LENGTH'] ) {
_________________________
UBB.threads™ Developer
My Personal Website · StogieSmokers.com

Top
#166376 - 10/16/06 07:06 PM Re: Signature Limit Bug... [Re: Rick]
Gizmo Moderator Offline

***

Registered: 06/04/06
Posts: 12007
Loc: Portland, OR; USA
Ahh, I suppose breaks would have been counted huh lol
_________________________
UGN Security, Elite Web Gamers & VNC Web Design Owner
Longtime UBB Supporter, UBB7 Beta Tester & Resident Post-A-Holic

Top
#166384 - 10/16/06 10:58 PM Re: Signature Limit Bug... [Re: Gizmo]
jgeoff Offline
Pooh-Bah

Registered: 08/08/06
Posts: 1885
Loc: NJ
Not for nothing, but I definitely see breaks as counting as characters!

Nothing worse than saying "your sig is only allowed to have so-many characters", and then some smart aleck makes it really TALL with a bunch of breaks. lol

Actually - what'd be great is if we could distinguish characters displayed: that is, HTML code and URLs don't count toward the limit - only displayed characters. I'd vote for that (if we could vote ;))
_________________________
GangsterBB.NET (Ver. 7.3)
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Browsers: Firefox 3.0, Google Chrome, & Safari 3.1 (XP and iPhone)

Top
#166388 - 10/17/06 01:20 AM Re: Signature Limit Bug... [Re: jgeoff]
Gizmo Moderator Offline

***

Registered: 06/04/06
Posts: 12007
Loc: Portland, OR; USA
whats to stop them from just doing this and being under the limit?

Quote:
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z


Well under the limit in most cases, and it stilld oes what you say you want to not allow lol
_________________________
UGN Security, Elite Web Gamers & VNC Web Design Owner
Longtime UBB Supporter, UBB7 Beta Tester & Resident Post-A-Holic

Top
#166389 - 10/17/06 01:41 AM Re: Signature Limit Bug... [Re: Rick]
Panther Offline
stranger

Registered: 07/24/06
Posts: 22
It makes sense to me that linebreaks should count towards the limit, but what also makes sense is to limit the number of lines a signature can be.

Top
#199122 - 10/11/07 12:39 PM Re: Signature Limit Bug... [Re: Gizmo]
driv Offline
Pooh-Bah
****

Registered: 01/10/04
Posts: 1703
Loc: Essex, UK
 Originally Posted By: Gizmo
If your sig is EXACTLY at the limit (250 here) its "too long".


Where can I find the setting to alter the sig length? Or is this a code-hack?
_________________________
Oi Oi Saveloy!
(Courtesy of Sd - well known Anglophile...!?!)
My True star rating wink

Top
#200506 - 11/02/07 02:59 PM Re: Signature Limit Bug... [Re: driv]
driv Offline
Pooh-Bah
****

Registered: 01/10/04
Posts: 1703
Loc: Essex, UK
^^^^ polite bump \:\) ^^^^
_________________________
Oi Oi Saveloy!
(Courtesy of Sd - well known Anglophile...!?!)
My True star rating wink

Top
#200507 - 11/02/07 03:28 PM Re: Signature Limit Bug... [Re: driv]
Gizmo Moderator Offline

***

Registered: 06/04/06
Posts: 12007
Loc: Portland, OR; USA
CP -> Display Options -> General -> Primary Tab -> Topic Display Options Dropdown -> Maximum Signature Length
_________________________
UGN Security, Elite Web Gamers & VNC Web Design Owner
Longtime UBB Supporter, UBB7 Beta Tester & Resident Post-A-Holic

Top
#200509 - 11/02/07 03:32 PM Re: Signature Limit Bug... [Re: driv]
blaaskaak Offline

****

Registered: 08/30/06
Posts: 1299
Loc: Breda, NL
 Originally Posted By: driv
^^^^ polite bump \:\) ^^^^


Found it, nog on the most logical place imho \:\)

control panel > Display options > general > Topic display options > Maximum Signature Length (Characters):

I also vote for a max. line control. Heck, I even posted a hack for that on UBBDev \:D

Edit: Where gizmo says it is \:\)


Edited by blaaskaak (11/02/07 03:33 PM)
Edit Reason: toooo late :)
_________________________

Top
Page 1 of 2 1 2 >


Shout Box

Today's Birthdays
kimteague_5@msn.com, Trekkie, Trixie
Recent Topics
Issue mass-emailing
by Mitch P.
36 minutes 59 seconds ago
Inclusion of Locked/Closed thread capabilities
by QSS Tim
Today at 11:17 AM
Contact Page Problem
by David DelMonte
Today at 09:05 AM
FAQ bug,
by BreeOge
Today at 08:36 AM
I'm the Admin but.....
by David DelMonte
Yesterday at 11:12 AM
Forum Stats
4261 Members
33 Forums
30539 Topics
155007 Posts

Max Online: 978 @ 06/24/07 08:19 PM