Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
1 registered (capnbob), 34 Guests and 18 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 05/13/08
Posts: 596
Top Posters (30 Days)
Ruben 49
Gizmo 24
DennyP 24
Dunny 17
SteveS 14
AllenAyres 12
dbremer 10
drkknght00 9
SD 9
driv 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Page 1 of 2 1 2 >
Topic Options
#166339 - 10/16/06 06:02 PM [FIXED for 7.0.1] Signature Limit Bug...
Gizmo Offline

Registered: 06/05/06
Posts: 14994
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 06:53 PM)
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#166356 - 10/16/06 06:51 PM Re: Signature Limit Bug... [Re: Gizmo]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
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'] ) {
Top
#166376 - 10/16/06 10:06 PM Re: Signature Limit Bug... [Re: Rick]
Gizmo Offline

Registered: 06/05/06
Posts: 14994
Loc: Portland, OR; USA
Ahh, I suppose breaks would have been counted huh lol
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#166384 - 10/17/06 01:58 AM Re: Signature Limit Bug... [Re: Gizmo]
jgeoff Offline
Pooh-Bah
Registered: 08/08/06
Posts: 1922
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.5.6)
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Browsers: Chrome, Firefox, & Safari (Win7 and iPhone); No IE, ever!
Top
#166388 - 10/17/06 04:20 AM Re: Signature Limit Bug... [Re: jgeoff]
Gizmo Offline

Registered: 06/05/06
Posts: 14994
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
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#166389 - 10/17/06 04:41 AM Re: Signature Limit Bug... [Re: Rick]
Panther Offline
stranger
Registered: 07/25/06
Posts: 24
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 03:39 PM Re: Signature Limit Bug... [Re: Gizmo]
driv Offline

Pooh-Bah
Registered: 01/10/04
Posts: 2377
 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?
_________________________
Using version :: 7.5.6
Top
#200506 - 11/02/07 05:59 PM Re: Signature Limit Bug... [Re: driv]
driv Offline

Pooh-Bah
Registered: 01/10/04
Posts: 2377
^^^^ polite bump \:\) ^^^^
_________________________
Using version :: 7.5.6
Top
#200507 - 11/02/07 06:28 PM Re: Signature Limit Bug... [Re: driv]
Gizmo Offline

Registered: 06/05/06
Posts: 14994
Loc: Portland, OR; USA
CP -> Display Options -> General -> Primary Tab -> Topic Display Options Dropdown -> Maximum Signature Length
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#200509 - 11/02/07 06:32 PM Re: Signature Limit Bug... [Re: driv]
Yarp™ Offline
Registered: 08/30/06
Posts: 1513
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 06:33 PM)
Edit Reason: toooo late :)
_________________________
Top
Page 1 of 2 1 2 >



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Ability to "like" individual posts (not Facebook "likes)
by doug
09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Custom forum permissions
by ntdoc
05/18/12 02:07 PM
Forum Stats
10489 Members
36 Forums
33840 Topics
181693 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image