 | |  | | | Photopost Pro How Do I...? Wondering how to do things in PhotoPost? |
February 2nd, 2008, 04:40 PM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Jul 2006 Location: florida gulf coast
Posts: 93
| Announcement box
How can I increase the character limit for the announcement box?
Thanks.
|
| |
February 2nd, 2008, 08:13 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,676
|
That is not something you can do unless altering your settings table and changing the settings field from a varchar to text.
ALTER TABLE pp_settings CHANGE setting setting TEXT;
|
| |
February 2nd, 2008, 08:20 PM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Jul 2006 Location: florida gulf coast
Posts: 93
|
Sounds good.
Thanks Chuck.
|
| |
February 2nd, 2008, 08:23 PM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,676
|
Not a problem have a good one.
|
| |
March 16th, 2008, 04:11 PM
|
#5 (permalink)
| | Ultimate Member
Join Date: Jun 2007
Posts: 1,340
| Quote:
Originally Posted by Chuck S That is not something you can do unless altering your settings table and changing the settings field from a varchar to text.
ALTER TABLE pp_settings CHANGE setting setting TEXT; | since it us setup as a varchar(250), can you just not change it to something like 500?
|
| |
March 16th, 2008, 04:15 PM
|
#6 (permalink)
| | Ultimate Member
Join Date: Jun 2007
Posts: 1,340
|
never mind - just answered my own question..
Values in VARCHAR columns are variable-length strings. The length can be specified as a value from 0 to 255 |
| |
March 16th, 2008, 04:19 PM
|
#7 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,676
|
Yep it has a max length of 255 which is the issue |
| |
March 16th, 2008, 04:21 PM
|
#8 (permalink)
| | Ultimate Member
Join Date: Jun 2007
Posts: 1,340
|
IC - I just changed it to 500 to see what it does, and mysql converts it to a text field instead
Good news is, html can still show in it.
|
| |
March 16th, 2008, 05:05 PM
|
#9 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,676
|
yes text box means anything can be entered really
|
| |
July 8th, 2008, 11:58 PM
|
#10 (permalink)
| | Ultimate Member
Join Date: Jun 2007
Posts: 1,340
|
I tried some variations, but how would be use an 'include' to just include a file for announcements in that block?
I tried: <?php include("http://skidpics.com/announcewithuploader.html"); ?>
and <!--#include virtual="insertthisfile.html" -->
both with no luck - any suggestions or is this not possible?
|
| |
July 9th, 2008, 10:11 AM
|
#11 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,676
|
You cant that I know of its not a php file
You could try just this of course using the proper path
include( "/var/www/html/announcewithuploader.html" );
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | |
Similar Threads | | Thread | Thread Starter | Forum | Replies | Last Post | | announcement box | Knight Rider | Photopost Pro How Do I...? | 2 | December 13th, 2007 09:12 AM | | announcement box | mattselley | Photopost Pro How Do I...? | 1 | October 27th, 2007 06:34 PM | | Announcement Box | Fingertips | Photopost Pro How Do I...? | 1 | August 29th, 2007 07:09 AM | | Announcement Box | bdub | Photopost Pro How Do I...? | 1 | May 1st, 2007 07:34 AM | | Announcement box help | rmnapa | Classifieds How do I...? | 2 | June 5th, 2006 11:52 AM | All times are GMT -5. The time now is 02:15 AM. | |