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 > ReviewPost Pro Support Forums > ReviewPost How do I...?

ReviewPost How do I...? Wondering how to do something in ReviewPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old April 17th, 2009, 03:52 AM   #1 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,217
RP 4.1: Maximum number of letter in extra fields and line break

Hi

RP 4.1

When I enter a lot of text into an extra field of RP, it does not show every letter later on (see attachment the red circles)

a) How do I increase the number of letters allowed in the extra fields?


The extra fields have very early a line-break. The column for the predefinded text within the extra field is very small (see attachment the red arrow).

b) How do I enlarge this columns/ let the line break later happen in the text?

Thanks in advance
Attached Images
File Type: gif reviewpost_extra_fields_formatting2.gif (15.1 KB, 9 views)
snoopy5 is offline   Reply With Quote
Old April 17th, 2009, 08:32 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,667
What is missing? There is no ine break there the description is limited to like 10% or something in the showproduct tempate leaving room for the data

I am not sure what your trying to show in your example as there is no max length field to my knowledge here other than possibly 255 characters on a varchar field in the database.
__________________
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 April 17th, 2009, 09:13 AM   #3 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,217
Quote:
Originally Posted by Chuck S View Post
What is missing? There is no ine break there the description is limited to like 10% or something in the showproduct tempate leaving room for the data
...
Where is this 10% defined (in which file and with which code). I would then change it i.e. to 50%..



Quote:
Originally Posted by Chuck S View Post
....
I am not sure what your trying to show in your example as there is no max length field to my knowledge here other than possibly 255 characters on a varchar field in the database.
mmmhhh

But there must be a reason why it does not show the whole text. The 2 fields I have market in red have bot below 60 letters (incl. blank spaces). So what could be then the reason that it is deleting text of those fields. Maybe the number of lines?
snoopy5 is offline   Reply With Quote
Old April 17th, 2009, 09:20 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,667
The extra fields all have 10% defined in the showproduct template which you can change. There is no size restriction on the additional extras we print the title and then the data

Code:
Content visible to verified customers only.
__________________
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 April 17th, 2009, 10:01 AM   #5 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,217
o.k., I got it with the change of the 10%. Looks better now.

But there is still the problem with the deleted text of the extra fields. Even now, when I add a few words in the fields and save it, the new words added do neither appear on the front end, nor when I go back in ACP in the category field itself. It is as I would have never entered them.

It is never above 100 letters incl. blank spaces. There is now also enough space to display within the template.

What could be the reason for this?
snoopy5 is offline   Reply With Quote
Old April 17th, 2009, 10:12 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,667
test - Omegatron.net Reviews

There are no limits I am seeing?

Post descriptions I posted are longer than yours the field is a varchar field limited in mysql to 255 characters.
__________________
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 April 17th, 2009, 10:57 AM   #7 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,217
Quote:
Originally Posted by Chuck S View Post
test - Omegatron.net Reviews

There are no limits I am seeing?

Post descriptions I posted are longer than yours the field is a varchar field limited in mysql to 255 characters.
mmmmhhh

are these the normal extra fields 1-6 or the additional fields?

When I made the same test, the normal extra fields seem to have a restriction, the additional fields not. See my screenshots.

Could be the reason for the normal extra fields, that in the upload window is not more space without a linebreak? See screenshot
Attached Images
File Type: gif reviewpost_extra_fields_max_letters.gif (13.9 KB, 5 views)
File Type: gif reviewpost_extra_fields_max_letters2.gif (7.4 KB, 4 views)
snoopy5 is offline   Reply With Quote
Old April 17th, 2009, 11:37 AM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,667
The regular extra fields are VARCHAR 64 character fields. You would need to modify those to be bigger like this

ALTER TABLE rp_products CHANGE extra1 extra1 VARCHAR(255) DEFAULT NULL;
ALTER TABLE rp_products CHANGE extra2 extra2 VARCHAR(255) DEFAULT NULL;
ALTER TABLE rp_products CHANGE extra3 extra3 VARCHAR(255) DEFAULT NULL;
ALTER TABLE rp_products CHANGE extra4 extra4 VARCHAR(255) DEFAULT NULL;
ALTER TABLE rp_products CHANGE extra5 extra5 VARCHAR(255) DEFAULT NULL;
ALTER TABLE rp_products CHANGE extra6 extra6 VARCHAR(255) DEFAULT NULL;
__________________
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 April 17th, 2009, 12:13 PM   #9 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,217
Quote:
Originally Posted by Chuck S View Post
The regular extra fields are VARCHAR 64 character fields. You would need to modify those to be bigger like this

ALTER TABLE rp_products CHANGE extra1 extra1 VARCHAR(255) DEFAULT NULL;
ALTER TABLE rp_products CHANGE extra2 extra2 VARCHAR(255) DEFAULT NULL;
ALTER TABLE rp_products CHANGE extra3 extra3 VARCHAR(255) DEFAULT NULL;
ALTER TABLE rp_products CHANGE extra4 extra4 VARCHAR(255) DEFAULT NULL;
ALTER TABLE rp_products CHANGE extra5 extra5 VARCHAR(255) DEFAULT NULL;
ALTER TABLE rp_products CHANGE extra6 extra6 VARCHAR(255) DEFAULT NULL;
o.k., thanks.

If I would change this and next year a new RP version comes out, would this then give problems with the upgarde to the new version?
snoopy5 is offline   Reply With Quote
Old April 17th, 2009, 12:38 PM   #10 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,217
update:

I made a backup and then did this mysql query successfully. Now the appearance in the uplaod screen is better (see screenshot the added space A.).

But the field is still limited to 64 letters.

What else could be responsible for the 64 restriction? Is there anywhere in the code something hidden that limits the regular extra fields to 64 letters?
Attached Images
File Type: gif reviewpost_extra_fields_max_letters_aftermysql.gif (17.2 KB, 5 views)
snoopy5 is offline   Reply With Quote
Old April 17th, 2009, 12:42 PM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,667
The 64 limit is not going to change old entered data

You need to edit those to what you wish after changing the database fields.
__________________
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 April 17th, 2009, 01:25 PM   #12 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,217
Quote:
Originally Posted by Chuck S View Post
...

You need to edit those to what you wish after changing the database fields.
I did that, but it still does not show the added words
snoopy5 is offline   Reply With Quote
Old April 17th, 2009, 01:34 PM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,667
ALTER TABLE rp_categories CHANGE extra1 extra1 VARCHAR(255) DEFAULT NULL;
ALTER TABLE rp_categories CHANGE extra2 extra2 VARCHAR(255) DEFAULT NULL;
ALTER TABLE rp_categories CHANGE extra3 extra3 VARCHAR(255) DEFAULT NULL;
ALTER TABLE rp_categories CHANGE extra4 extra4 VARCHAR(255) DEFAULT NULL;
ALTER TABLE rp_categories CHANGE extra5 extra5 VARCHAR(255) DEFAULT NULL;
ALTER TABLE rp_categories CHANGE extra6 extra6 VARCHAR(255) DEFAULT NULL;
__________________
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 April 17th, 2009, 02:00 PM   #14 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,217
Quote:
Originally Posted by Chuck S View Post
ALTER TABLE rp_categories CHANGE extra1 extra1 VARCHAR(255) DEFAULT NULL;
ALTER TABLE rp_categories CHANGE extra2 extra2 VARCHAR(255) DEFAULT NULL;
ALTER TABLE rp_categories CHANGE extra3 extra3 VARCHAR(255) DEFAULT NULL;
ALTER TABLE rp_categories CHANGE extra4 extra4 VARCHAR(255) DEFAULT NULL;
ALTER TABLE rp_categories CHANGE extra5 extra5 VARCHAR(255) DEFAULT NULL;
ALTER TABLE rp_categories CHANGE extra6 extra6 VARCHAR(255) DEFAULT NULL;
Yeeeeeeeeeeeeeeeeeeeeeeeeeesssssss!

That did the trick.

Thank you very much!
snoopy5 is offline   Reply With Quote
Old April 17th, 2009, 02:02 PM   #15 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,667
have a good weekend
__________________
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 April 17th, 2009, 02:12 PM   #16 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,217
Quote:
Originally Posted by Chuck S View Post
have a good weekend
thanks. you too.

I will testdrive & modify RP 4.1 the whole week-end...
snoopy5 is offline   Reply With Quote
Old April 17th, 2009, 02:49 PM   #17 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,667
Hopefully I will be relaxing the whole weekend
__________________
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
PP 562 - custompal no line break snoopy5 Photopost Pro How Do I...? 4 December 5th, 2007 04:05 PM
PP 562: Integrated with vb3 - no line break anymore snoopy5 Photopost Pro How Do I...? 4 July 13th, 2007 10:38 AM
How to reduce line break space in showphoto text box mjm Photopost Pro How Do I...? 2 May 12th, 2005 06:30 AM


All times are GMT -5. The time now is 12:20 AM.

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