PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro How Do I...?

Photopost Pro How Do I...? Wondering how to do things in PhotoPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old February 2nd, 2008, 04:40 PM   #1 (permalink)
Member
Verified Customer
 
xowi's Avatar
 
Join Date: Jul 2006
Location: florida gulf coast
Posts: 93
Question Announcement box

How can I increase the character limit for the announcement box?

Thanks.
xowi is offline   Reply With Quote
Old February 2nd, 2008, 08:13 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
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;
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old February 2nd, 2008, 08:20 PM   #3 (permalink)
Member
Verified Customer
 
xowi's Avatar
 
Join Date: Jul 2006
Location: florida gulf coast
Posts: 93
Sounds good.
Thanks Chuck.
xowi is offline   Reply With Quote
Old February 2nd, 2008, 08:23 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,676
Not a problem have a good one.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old March 16th, 2008, 04:11 PM   #5 (permalink)
Ultimate Member
 
Join Date: Jun 2007
Posts: 1,340
Quote:
Originally Posted by Chuck S View Post
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?
skidpics is offline   Reply With Quote
Old 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
skidpics is offline   Reply With Quote
Old March 16th, 2008, 04:19 PM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,676
Yep it has a max length of 255 which is the issue
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old 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.
skidpics is offline   Reply With Quote
Old March 16th, 2008, 05:05 PM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,676
yes text box means anything can be entered really
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old 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?
skidpics is offline   Reply With Quote
Old July 9th, 2008, 10:11 AM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
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" );
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


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.

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