PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro How Do I...? (http://www.photopost.com/forum/photopost-pro-how-do-i/)
-   -   Title and Description Mandatory in Photopost pro? (http://www.photopost.com/forum/photopost-pro-how-do-i/119761-title-description-mandatory-photopost-pro.html)

DefenceTalk.com November 24th, 2005 12:59 AM

Title and Description Mandatory in Photopost pro?
 
Hi,

How do you make the Title and Description Mandatory in Photopost Pro?

Got some users uploading pictures without inserting picture titles and would like to force them so that pictures have proper title and description!

thank you

Chuck S November 24th, 2005 06:37 AM

In uploadphoto.tmpl add this in bold

Code:

Content visible to verified customers only.
In english.php language add these lines

Code:

Content visible to verified customers only.

DefenceTalk.com November 24th, 2005 09:31 AM

Thank you.

I will have to upgrade to the latest version in order to get this one working. Will be back with an update.

DefenceTalk.com November 25th, 2005 11:36 PM

Well, I tried it and it doesn't really work.

-When you click on the browse button to select an image, it is very slow (locks up, opens the dialoge box slowly, etc.).

-When no title is entered, it displays the error but also submits the picture.

-Tried with both desc and title error but it only displays ONE error message but not the other. When no title or description is entered, it only displays the error for one (description OR the title) instead of error for both title and description since both were not entered.

-Tried using both: IE and Firefox

Any other way? Like min characters for title?

Thanks!

Chuck S November 26th, 2005 08:04 AM

reapply the code in bold in uploadphoto.tmpl

DefenceTalk.com November 26th, 2005 12:03 PM

Thanks. Same thing, error is displayed for one plus picture is also submitted.

Chuck S November 26th, 2005 12:20 PM

this is what I get for using the classifieds code for this try it one more time its deftitle and defdesc all around not title and desc

DefenceTalk.com November 26th, 2005 01:12 PM

Working. Thank you very much!

SHalliday May 23rd, 2006 11:27 AM

This was something I was lookig to do. Thank you. Modified and working without a problem!

SaN-DeeP May 23rd, 2006 01:28 PM

thanks this shall be handy

Sybaris May 23rd, 2006 02:09 PM

Quote:

Originally Posted by SHalliday
This was something I was lookig to do. Thank you. Modified and working without a problem!


me too excellent addition, perhaps it you can think about including it into a future build as an option to turn on and off in the admin cp :)

although all i wanted was the title part of it....

DannyITR October 11th, 2006 05:56 PM

Would it be possible to apply this to make my two additional profile fields (dropdowns) mandatory?

Chuck S October 11th, 2006 06:42 PM

Well this is for the upload page so I would assume you need to alter your code to add something like we do on upload to check the form when it is submitted.

DannyITR October 11th, 2006 07:05 PM

Quote:

Originally Posted by Chuck S (Post 1175621)
Well this is for the upload page so I would assume you need to alter your code to add something like we do on upload to check the form when it is submitted.

Would you happen to know what that code might be?

Chuck S October 11th, 2006 07:23 PM

part of it you see its all in uploadphoto tempate. The form tag line and the checkform script.

DannyITR October 11th, 2006 07:39 PM

Quote:

Originally Posted by Chuck S (Post 1175629)
part of it you see its all in uploadphoto tempate. The form tag line and the checkform script.

Are you able to put into your next post the code you think might work so that I can copy/paste it into my file? I'm really not a strong coder.

Chuck S October 11th, 2006 08:18 PM

You need to possibly post in the mod corner whatever type of mod your doing etc. I dont think anybody would be able to assist you without knowing what you are doing have done etc

Halfhidden October 4th, 2009 11:36 AM

Chuck... I can't find this in uploadphoto.tmpl am I looking in the wrong place.
I'm editing gallery/templates/uploadphoto.tmpl

What I have is
Code:

Content visible to verified customers only.
Obviously a very different script.
I'm running Photopost Pro

Chuck S October 4th, 2009 01:40 PM

Not a different script at all just an old discussion like 4 years old to be exact. That code edit was posted in November of 2005

Just add the code in bold above the if document all line thats the case as the old code displayed.

Halfhidden October 4th, 2009 02:23 PM

Excellent...sorry should have noted the date of the post.
You desire a day off! I'll start a partition so that you can have some time off.... I'm sure PP will continue to exists if you take the night off and go to a night club:D:D
Thanks for your help again.


All times are GMT -5. The time now is 03:29 PM.

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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97