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 5th, 2006, 05:28 AM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Sep 2005
Posts: 26
Question BBcode in Additional fields?

Is it possible to use BBcode in additional fields for putting a hyperlink in the field. I know you can use BBcode fine in the standard 6 fields.

For example I can put [url] BBcode in a standard field and it will turn it to a hyperlink. But if I use the same BBcode above in an additional text box field or any additional field BBcode does not work?

Any help would be appreciated. Thanks.
PaulGN is offline   Reply With Quote
Old February 5th, 2006, 08:36 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,695
Well we never call bbcode in those ones since they are select and checkboxes usually but this should work for text extras.

In showphoto.php add the line in bold

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.

Last edited by Michael P; February 5th, 2006 at 10:57 AM.
Chuck S is offline   Reply With Quote
Old February 5th, 2006, 11:23 AM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Sep 2005
Posts: 26
Thanks Chuck, that worked great.

One thing I have noticed with using an additional field is that it puts the text in the field underneath the additional field name on showphoto. But the standard fields put the text across from the field name.

Any way of doing the same for additional field?
PaulGN is offline   Reply With Quote
Old February 9th, 2006, 03:29 PM   #4 (permalink)
Junior Member
Verified Customer
 
Join Date: Sep 2005
Posts: 26
Just to add to the above - is there any way to increase the size of the input boxes for the the extra fields and additional fields etc. Similar in size to Title and Keywords input box, on the 2nd page of upload photo and also the edit photo page. Thanks in advance.
PaulGN is offline   Reply With Quote
Old February 9th, 2006, 03:42 PM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,695
You are free to edit your uploadphoto editphoto bulkupload templates and change the size on the input boxes for the extra fields to suit your needs.
__________________
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 9th, 2006, 04:06 PM   #6 (permalink)
Junior Member
Verified Customer
 
Join Date: Sep 2005
Posts: 26
I have just noticed something which I think is a bug...

If you upload a photo and do not enter any information into the additional fields (which I have setup as standard text boxes) then when you view the details for the image the additional fields get listed under the image even though they contain no information!

This is a problem for the database that i'm putting together because I am using about 6 additional fields and in a lot of cases they may have no information so I really don't want them displayed below the image if they are empty.

Last edited by PaulGN; February 9th, 2006 at 04:14 PM.
PaulGN is offline   Reply With Quote
Old February 9th, 2006, 04:43 PM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,695
I do not know what to tell you here that is the default working of those additional extras since we pull info if an additional extra is defined for that cat whether its empty or not because the data for those is not stored in the photos table. It is stored in another table. This is how it is coded. If you want to use extras that do not display if the field is empty you need to use the first 6 extras.
__________________
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 9th, 2006, 06:19 PM   #8 (permalink)
Junior Member
Verified Customer
 
Join Date: Sep 2005
Posts: 26
Thanks for your reply Chuck.

That leaves me with two options:

Either I re-arrange my fields so only ones that will always have info in them are in the additional fields and ones without info are in the extra and I will probably have to drop 1 or 2 fields due to the number I am planning to use.

Or

If I wanted to pursue this further - would it be possible for someone to alter the code to stop empty additional fields from appearing and pay for this custom work to be done.

Could you advise if altering the code for this would be practical or would it be a major programming task?
PaulGN is offline   Reply With Quote
Old February 9th, 2006, 10:45 PM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,695
I can tell you off the top of my head it is pretty complex that portion of the code and easily breakable. The main issue here is the the problem is the selection is not empty. You would easily get empty input boxes and select boxes to not appear but with checkboxes and radio buttons where you have multiple entries its quite impossible.

You can edit showphoto.tmpl and add the code in bold to the line noted to make select and input boxes that are empty not to appear.

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 February 10th, 2006, 01:10 PM   #10 (permalink)
Junior Member
Verified Customer
 
Join Date: Sep 2005
Posts: 26
All the additional fields I am planning to use will be standard text input boxes - no check, drop down or radio buttons etc. So if the code modification will allow me to stop them from appearing that would be great.

I will make the changes and see what happens!

Thanks Chuck!
PaulGN is offline   Reply With Quote
Old February 10th, 2006, 01:20 PM   #11 (permalink)
Junior Member
Verified Customer
 
Join Date: Sep 2005
Posts: 26
Just added the code modification and its working fine - just what I needed.

Thanks again, and sorry for asking so many questions!

Hopefully that should be it for now!
PaulGN is offline   Reply With Quote
Old February 10th, 2006, 04:51 PM   #12 (permalink)
Junior Member
Verified Customer
 
Join Date: Sep 2005
Posts: 26
I think I am becoming fixated with additional fields!

I have everything setup pretty much as I want now - one thing I'd like to know is if it is possible to change the the size of the text box on an additional field, the extra fields seem to be set at size 50 but I can't see any size setting in the template for the additional fields... can I modify the code to get the additional field boxes to appear the same size as the above extra fields?

Thanks in advance.
PaulGN is offline   Reply With Quote
Old February 10th, 2006, 05:00 PM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,695
It's 20 by the way and its in bulkupload.php

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 February 10th, 2006, 05:25 PM   #14 (permalink)
Junior Member
Verified Customer
 
Join Date: Sep 2005
Posts: 26
I've made the modification. Thanks Chuck.
PaulGN 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
Additional and Extra Text fields agrajeda Photopost Pro Installation & Upgrades 1 May 27th, 2005 04:39 AM


All times are GMT -5. The time now is 05:30 PM.

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