Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
2 registered (Mike L, capnbob), 32 Guests and 17 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
#200520 - 11/02/07 07:26 PM Re: Signature Limit Bug... [Re: Yarp™]
driv Offline

Pooh-Bah
Registered: 01/10/04
Posts: 2377
Gentlemen! Both of you!

Thank you very much for that - I had been going around and around, looking for the solution.

I'm not sure why I couldn't find it?
I have a theory that if you are looking too hard, you get 'snow blind' or solution blind (in this case).

Kind of like.... "You can't see the wood for the trees" if you are familiar with the expression.

That's always going to be a problem with something as feature-rich as this baby! \:\) \:D

Thanks again \:\)
d.
_________________________
Using version :: 7.5.6
Top
#200522 - 11/02/07 07:28 PM Re: Signature Limit Bug... [Re: Yarp™]
driv Offline

Pooh-Bah
Registered: 01/10/04
Posts: 2377
 Originally Posted By: blaaskaak
Edit: Where gizmo says it is \:\)


Don'tcha just hate it when that happens ;\)
_________________________
Using version :: 7.5.6
Top
#200529 - 11/02/07 07:40 PM Re: Signature Limit Bug... [Re: driv]
Yarp™ Offline
Registered: 08/30/06
Posts: 1513
Loc: Breda, NL
 Originally Posted By: driv
Don'tcha just hate it when that happens ;\)


My only string of hope is that Gizomo also had to wade through the entire control panel to find it \:D
_________________________
Top
#200532 - 11/02/07 07:47 PM Re: Signature Limit Bug... [Re: Yarp™]
driv Offline

Pooh-Bah
Registered: 01/10/04
Posts: 2377
Gizomo would be Gizmos Italian spamming relative ??? ;\) ;\) \:D
_________________________
Using version :: 7.5.6
Top
#200538 - 11/02/07 10:42 PM Re: Signature Limit Bug... [Re: driv]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
This will be a group based permission in 7.3 ;\)
Top
#200551 - 11/03/07 01:23 AM Re: Signature Limit Bug... [Re: Yarp™]
Gizmo Offline

Registered: 06/05/06
Posts: 14994
Loc: Portland, OR; USA
:flex: Gizmo to save the day, again? 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
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
Yesterday at 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