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 December 16th, 2007, 03:51 PM   #1 (permalink)
Member
Verified Customer
 
dakis's Avatar
 
Join Date: Oct 2007
Posts: 78
Problem with Long Titles

My gallery has 2,500 photos imported successfully from coppermine. The problem is that in every photo that didn't have a title, its filename is being used in its place.

This causes a big problem, because some filenames are pretty long, and some gallery pages appear very very wide - so that they can fit the loooong titles.

1. Is there a way to tell Photopost not to use the filenames as titles?

2. Can I put a maximum character condition to the titles when users upload images?

3. Can I make the title field mandatory when uploading?
dakis is offline   Reply With Quote
Old December 16th, 2007, 04:05 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,676
1. all depends where your talking.

2. all depends where your talking

All your questions concern code modifications to varying degrees so knowing where your talking about helps.

3. Possibly in your uploadphoto template maybe add this 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.
Chuck S is offline   Reply With Quote
Old December 16th, 2007, 04:22 PM   #3 (permalink)
Member
Verified Customer
 
dakis's Avatar
 
Join Date: Oct 2007
Posts: 78
Thanks for your reply Chuck.

What do you mean "where I'm talking" ? If you are asking in which pages I want this, I need it in the showgallery page mostly, check this out: http://www.travelstories.gr/photo/sh...ery.php?cat=26
dakis is offline   Reply With Quote
Old December 16th, 2007, 04:37 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,676
http://www.travelstories.gr/photo/sh...ery.php?cat=26

The link clearly shows we limit the title on that page notice your long titles truncated with three periods
__________________
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 December 17th, 2007, 01:41 AM   #5 (permalink)
Member
Verified Customer
 
dakis's Avatar
 
Join Date: Oct 2007
Posts: 78
Chuck,

Please check below the first block of photos, to the second block that resides exactly below it. This shows the recent photos, and as you see it does not truncate them, as it does in the above block. The same thing happens if the photos with the long titles (those with underscores) appear in the random photos block on the left sidebar.

So my original question remains; how can I tell photopost not to use filenames as photo titles in showgallery? If there is no title, it should be left empty. Is this possible?

Last edited by dakis; December 17th, 2007 at 01:49 AM.
dakis is offline   Reply With Quote
Old December 17th, 2007, 09:08 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,676
Those would also be shown on the index you are talking featured photos. Thats pp-inc.php the display_gallery function.

You can try adding around line 1206 in pp-inc.php where noted the bold line below.

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 December 17th, 2007, 11:54 AM   #7 (permalink)
Member
Verified Customer
 
dakis's Avatar
 
Join Date: Oct 2007
Posts: 78
Ok Chuck this solved the problem, by cutting off the title if longer than some characters.

This solves my practical problem (pages no longer stretch) but not my aesthetic problem, because I have tons of photos with no titles -for example they only have description- and they show up with their filename as title, which is really ugly.

Is there a way to tell photopost not to use the filename if no title exists?

Once again, thanks for your response, if there is a way to do this extra thing I need I would appreciate it.

Cheers.
dakis is offline   Reply With Quote
Old December 17th, 2007, 12:45 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,676
Again it all depends where as I pointed out again. By default we will always use a filename if there is no title makes perfect sense.

So where are you talking? We do have code mod forums outside support for you to ask questions like this which fall outside support. I dont mind answering small code questions like these as long as one is very specific where they are talking.
__________________
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 December 17th, 2007, 03:17 PM   #9 (permalink)
Member
Verified Customer
 
dakis's Avatar
 
Join Date: Oct 2007
Posts: 78
Ok Chuck understood about the questions outside the support procedure.

If making the title photo mandatory is easier or has been coded already, that would work too -for the next photos- (for the ones I have, I will manually edit the titles).
dakis is offline   Reply With Quote
Old December 17th, 2007, 03:25 PM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,676
like I said if you tell me where I may be able to assist like I did above if its something simple but I need to know where.
__________________
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 December 17th, 2007, 03:37 PM   #11 (permalink)
Member
Verified Customer
 
dakis's Avatar
 
Join Date: Oct 2007
Posts: 78
Chuck, I'm sorry I don't understand. I need to make either or both of these two things;

1. Make the field "title" when a user uploads a photo, mandatory. This means users can't upload photos if they don't enter a title.

2. In showgallery pages, if titles are not present, photopost displays no title, instead of posting filenames which is the present status.


Again, if you believe I'm crossing support lines here please let me know. I would like to do both these things, but I will be happy even with one.

EDIT: Ok Chuck forget about number 1. , I found the way to do it in an old 2005 post of yours

Last edited by dakis; December 17th, 2007 at 04:03 PM.
dakis is offline   Reply With Quote
Old December 17th, 2007, 04:05 PM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,676
1. this i already posted on above.

2. this is how things are suppose to work

Any further mod questions you are free to post in our mod forums.
__________________
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 December 17th, 2007, 04:22 PM   #13 (permalink)
Member
Verified Customer
 
dakis's Avatar
 
Join Date: Oct 2007
Posts: 78
Ok cool. Thanks for your fast responses.
dakis 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
Strange Titles? sammyman How Do I? - vBulletin 3.6x 0 October 13th, 2007 03:08 AM
Trunicate titles? Scrap4life General Discussion 1 September 28th, 2006 04:52 PM
How do I NOT truncate titles in showgallery.php? Johnny Doomo Photopost Pro How Do I...? 2 February 8th, 2006 02:22 PM
Titles cnczone Classifieds Suggestions 0 September 7th, 2004 10:45 PM


All times are GMT -5. The time now is 01:04 AM.

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