PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro How Do I...? (http://www.photopost.com/forum/photopost-pro-how-do-i/)
-   -   How I increase character limit in Announcement box? (http://www.photopost.com/forum/photopost-pro-how-do-i/113812-how-i-increase-character-limit-announcement-box.html)

adigicam May 8th, 2005 03:55 AM

How I increase character limit in Announcement box?
 
PP5
It's Only 200 Character how I can make it more?????

Chuck S May 9th, 2005 09:43 AM

I show in adm-cats.php this line

<td class=\"{$Style['tddetails']}\"><textarea name=\"introcopy-$id\" cols=\"30\" rows=\"10\">$introcopy</textarea></td></tr>


It is 30 columns and 10 rows. You can up that if you like.

adigicam May 9th, 2005 12:33 PM

Thanks omegatron :)

bluemi June 21st, 2005 04:27 AM

Hm, this doesn't seem to change the 200 character limit for me...

Chuck S June 21st, 2005 07:34 AM

There is no max limit placed on that entry other than the character or rows it has.

bluemi June 21st, 2005 11:08 AM

But in the admin area it says exactly this "200 character limit", and it does cut anything off beyond.

Michael P June 21st, 2005 11:10 AM

There was a 200 character limit with the first PP5, but the current release allows for an unlimited number as people wanted more space to use HTML.

bluemi June 21st, 2005 11:15 AM

Then I must have missed a file in the update, I'm using 5.11. Will check, thanks.

bluemi June 21st, 2005 11:22 AM

No, still can't change this. 200 character limit...

Michael P June 21st, 2005 11:23 AM

If you have phpmyadmin, check your categories table; is the introcopy field a "text" type and not a varchar(200)? You can change this using phpmyadmin or I can give you an SQL to try if it is still a varchar.

bluemi June 21st, 2005 11:46 AM

It's "text" type.

Michael P June 21st, 2005 12:37 PM

Okay, my apologies, I just went back and reread what you wrote the first time and you aren't talking about the category intros, you were talking about the announcement variable (which is set in the settings table) which is a global thing.

There is a 200 character limit for this field that I do not suggest you change the data type for.

bluemi June 21st, 2005 12:57 PM

Ok, thanks Michael. So no way to increase it?

Michael P June 21st, 2005 01:00 PM

I wouldn't recommend it; the settings table uses a varchar(200) for all the settings; to change it to text would probably have a negative impact on performance. I also am not sure if it would break anything else in the process as I've never tried it.

bluemi June 21st, 2005 01:35 PM

Ok, then I'll leave it. Thanks!


All times are GMT -5. The time now is 02:31 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97