![]() |
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 |
In uploadphoto.tmpl add this in bold Code: Content visible to verified customers only.Code: Content visible to verified customers only. |
Thank you. I will have to upgrade to the latest version in order to get this one working. Will be back with an update. |
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! |
reapply the code in bold in uploadphoto.tmpl |
Thanks. Same thing, error is displayed for one plus picture is also submitted. |
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 |
Working. Thank you very much! |
This was something I was lookig to do. Thank you. Modified and working without a problem! |
thanks this shall be handy |
Quote:
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.... |
Would it be possible to apply this to make my two additional profile fields (dropdowns) mandatory? |
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. |
Quote:
|
part of it you see its all in uploadphoto tempate. The form tag line and the checkform script. |
Quote:
|
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 |
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.I'm running Photopost Pro |
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. |
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