 | |  | | | Photopost Pro How Do I...? Wondering how to do things in PhotoPost? |
November 24th, 2005, 12:59 AM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Feb 2005
Posts: 387
| 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
|
| |
November 24th, 2005, 06:37 AM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,698
|
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.
Last edited by Chuck S; October 4th, 2009 at 03:17 PM.
|
| |
November 24th, 2005, 09:31 AM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Feb 2005
Posts: 387
|
Thank you.
I will have to upgrade to the latest version in order to get this one working. Will be back with an update.
|
| |
November 25th, 2005, 11:36 PM
|
#4 (permalink)
| | Member Verified Customer
Join Date: Feb 2005
Posts: 387
|
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!
|
| |
November 26th, 2005, 08:04 AM
|
#5 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,698
|
reapply the code in bold in uploadphoto.tmpl
|
| |
November 26th, 2005, 12:03 PM
|
#6 (permalink)
| | Member Verified Customer
Join Date: Feb 2005
Posts: 387
|
Thanks. Same thing, error is displayed for one plus picture is also submitted.
|
| |
November 26th, 2005, 12:20 PM
|
#7 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,698
|
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
|
| |
November 26th, 2005, 01:12 PM
|
#8 (permalink)
| | Member Verified Customer
Join Date: Feb 2005
Posts: 387
|
Working. Thank you very much!
|
| |
May 23rd, 2006, 11:27 AM
|
#9 (permalink)
| | Member Verified Customer
Join Date: Sep 2002 Location: Long Beach, CA
Posts: 156
|
This was something I was lookig to do. Thank you. Modified and working without a problem!
|
| |
May 23rd, 2006, 01:28 PM
|
#10 (permalink)
| | Member Verified Customer
Join Date: Dec 2004 Location: techarena.in
Posts: 421
|
thanks this shall be handy
|
| |
May 23rd, 2006, 02:09 PM
|
#11 (permalink)
| | Senior Member Verified Customer
Join Date: Mar 2006 Location: Yorkshire
Posts: 603
| 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....
|
| |
October 11th, 2006, 05:56 PM
|
#12 (permalink)
| | Member Verified Customer
Join Date: Nov 2005 Location: Montreal, Canada
Posts: 161
|
Would it be possible to apply this to make my two additional profile fields (dropdowns) mandatory?
|
| |
October 11th, 2006, 06:42 PM
|
#13 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,698
|
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.
|
| |
October 11th, 2006, 07:05 PM
|
#14 (permalink)
| | Member Verified Customer
Join Date: Nov 2005 Location: Montreal, Canada
Posts: 161
| Quote:
Originally Posted by Chuck S 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?
|
| |
October 11th, 2006, 07:23 PM
|
#15 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,698
|
part of it you see its all in uploadphoto tempate. The form tag line and the checkform script.
|
| |
October 11th, 2006, 07:39 PM
|
#16 (permalink)
| | Member Verified Customer
Join Date: Nov 2005 Location: Montreal, Canada
Posts: 161
| Quote:
Originally Posted by Chuck S 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.
|
| |
October 11th, 2006, 08:18 PM
|
#17 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,698
|
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
|
| |
October 4th, 2009, 11:36 AM
|
#18 (permalink)
| | Member
Join Date: Sep 2009 Location: Penzance UK
Posts: 159
|
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
|
| |
October 4th, 2009, 01:40 PM
|
#19 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,698
|
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.
|
| |
October 4th, 2009, 02:23 PM
|
#20 (permalink)
| | Member
Join Date: Sep 2009 Location: Penzance UK
Posts: 159
|
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  
Thanks for your help again.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 08:37 AM. | |