Grey Matter Forums
« Character limit in author homepage field »

Welcome Guest. Please Login or Register.
May 21, 2013, 10:12am



Greymatter: Free Personal Blogging Software

About Greymatter (including System Requirements)

Greymatter on FreshMeat

Download current version from:

News: Greymatter 1.8.2 is released! Read the announcement.

Got a minute? We want to know what's your preferred site navigation?

Please read the security announcement regarding author passwords.

Next Greymatter release will be 1.8.3


Grey Matter Forums :: Development :: Bug Reports :: Character limit in author homepage field
   [Search This Thread] [Share Topic] [Print]
 AuthorTopic: Character limit in author homepage field (Read 5,795 times)
Chronic Cramps
New Member
*
member is offline

[avatar]

Love thy Fizzy Bubbly!


[homepage]

Joined: May 2007
Gender: Male
Posts: 14
Location: Los Angeles
Karma: 0
 Character limit in author homepage field
« Thread Started on May 4, 2009, 2:19pm »

There's a 30 character limit in the homepage field when editing authors. This bug appeared a few version releases ago, not sure exactly when.
Link to Post - Back to Top  IP: Logged
coldstone
Global Moderator
*****
member is offline

[avatar]


[homepage]

Joined: Aug 2006
Posts: 816
Karma: 18
 Re: Character limit in author homepage field
« Reply #1 on May 11, 2009, 5:00pm »

Good catch. It was probably a copy and paste error on my part when I tried to put some limits on the field lengths.
Link to Post - Back to Top  IP: Logged
scottlindberg
New Member
*
member is offline





Joined: Aug 2006
Gender: Male
Posts: 34
Karma: 1
 Re: Character limit in author homepage field
« Reply #2 on Aug 11, 2009, 8:54am »

This is a pretty easy fix. Just make the following two changes in the gm.cgi file ...


On line 963, change ...

maxlength="30" name="newauthorhomepage"
... to ...
maxlength="300" name="newauthorhomepage"

On line 1229, change ...

maxlength="30" name="editedhomepage"
... to ...
maxlength="300" name="editedhomepage"

I opted for a 300 character limit, but you can change this to whatever you want.
Link to Post - Back to Top  IP: Logged
Carlos Phelps
Global Moderator
*****
member is offline





Joined: Jan 2007
Gender: Male
Posts: 177
Karma: 30
 Re: Character limit in author homepage field
« Reply #3 on Aug 12, 2009, 11:09pm »

Scott,

Good find.
Link to Post - Back to Top  IP: Logged
   [Search This Thread] [Share Topic] [Print]

Click Here To Make This Board Ad-Free


This Board Hosted For FREE By ProBoards
Get Your Own Free Message Boards & Free Forums!
Terms of Service | Privacy Policy | Notice | FTC Disclosure | Report Abuse | Mobile