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 Classifieds Support > Classifieds How do I...?

Classifieds How do I...? Wondering how to do something in Classifieds?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old November 26th, 2011, 08:34 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Aug 2007
Posts: 125
Make some fields mandatory

I want to make sure that users are writing something in certain fields, is it possible? Thank you
KrUsTyX is offline   Reply With Quote
Old November 26th, 2011, 11:30 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
certain fields like title or description are required anything else you would need to modify code which is called a code mod.
__________________
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 November 27th, 2011, 08:59 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Aug 2007
Posts: 125
So what do you suggest? Do it basing myself on the title/description rule? Wich file should i look into? Thank you
KrUsTyX is offline   Reply With Quote
Old November 27th, 2011, 09:34 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
Yes modifications you would need to do at your own risk. You can look at the top of the uploadproduct templates to see how we do title and description however code modifications we do not assist with those are not a function of product support. We support our code as written since code mods are the number one cause of code conflicts etc.
__________________
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 November 27th, 2011, 12:48 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Aug 2007
Posts: 125
Actually, its perfect as it is right now. For all the extra fields, you coded it as its mandatory, so its all good, thank you
KrUsTyX is offline   Reply With Quote
Old November 27th, 2011, 01:35 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
Yep if your using a regular extra field sure thats in there.
__________________
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 8th, 2011, 09:43 PM   #7 (permalink)
Member
Verified Customer
 
Join Date: Aug 2007
Posts: 125
Quote:
Originally Posted by Chuck S View Post
certain fields like title or description are required anything else you would need to modify code which is called a code mod.
as it is right now, description is not mandatory, i don't get it
KrUsTyX is offline   Reply With Quote
Old December 8th, 2011, 09:56 PM   #8 (permalink)
Member
Verified Customer
 
Join Date: Aug 2007
Posts: 125
You said that description is mandatory, and in uploadproduct template, this is what i see

Quote:
if (form.title.value == "") {
alert( "{$pp_phrase['blanktitle']}" );
form.title.focus();
return false;
}


if (form.buyemail.value == "" && form.buyit.value == "yes" ) {
alert( "{$pp_phrase['blankemail']}" );
form.buyemail.focus();
return false;
}
and all the extrafield thing, but nothing about description, is that normal?
KrUsTyX is offline   Reply With Quote
Old December 9th, 2011, 07:30 AM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
You can add this if you like

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 9th, 2011, 05:07 PM   #10 (permalink)
Member
Verified Customer
 
Join Date: Aug 2007
Posts: 125
thank you very much
KrUsTyX is offline   Reply With Quote
Old December 9th, 2011, 05:09 PM   #11 (permalink)
Member
Verified Customer
 
Join Date: Aug 2007
Posts: 125
i really don't get it, its there now and i didnt do anything... wtf is happening

it was not there last night, and its there now, and nobody other than me is touching this

seriously i dont get it
KrUsTyX is offline   Reply With Quote
Old December 9th, 2011, 05:14 PM   #12 (permalink)
Member
Verified Customer
 
Join Date: Aug 2007
Posts: 125
its there now, but its not working, im seriously lost
KrUsTyX is offline   Reply With Quote
Old December 9th, 2011, 05:33 PM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
Not sure what your talking about in the its there and then not comment.

If the code I noted is in the uploadproduct template then as long as your not using the WYSIWYG editor it should work. The basic textbox should work with that javascript like stated.
__________________
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 10th, 2011, 09:06 AM   #14 (permalink)
Member
Verified Customer
 
Join Date: Aug 2007
Posts: 125
its not working, and im not using WYSIWYG, and the code is there.

I did a fresh installation in a new database and i will try to troubleshoot like that

how do i move what i've translated to the fresh install?

thank you
KrUsTyX is offline   Reply With Quote
Old December 10th, 2011, 11:28 AM   #15 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
it works just fine if you add what I stated to the proper template.

remember depending on what your integrating with there are alternate templating in the vb3enhanced vb4enhanced and xenforo template directories.

I have tested anything I said before I posted.
__________________
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 10th, 2011, 11:54 AM   #16 (permalink)
Member
Verified Customer
 
Join Date: Aug 2007
Posts: 125
So is there any way to take what i have translated and use it on my fresh install?
KrUsTyX is offline   Reply With Quote
Old December 10th, 2011, 04:11 PM   #17 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
Not sure what your referring to as it is not something that has been discussed here. Like I said on the topic we are discussing if you enter the code I stated in the uploadproduct template on the proper template set depending on your site integration type then description is mandatory. You will see a message that says "Description can not be left blank"
__________________
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 10th, 2011, 06:13 PM   #18 (permalink)
Member
Verified Customer
 
Join Date: Aug 2007
Posts: 125
Since its not working for me, i re-created a new database and re-uploaded all fresh files.

I'm trying to bring what i've translated from the old one (because i translated a lots of things) to the new one i've uploaded.

Like this, i will be able to troubleshoot what's wrong with the old one
KrUsTyX is offline   Reply With Quote
Old December 10th, 2011, 07:10 PM   #19 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
Like I already explained the only way it would not work is if your not editing the correct template set
__________________
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 10th, 2011, 07:25 PM   #20 (permalink)
Member
Verified Customer
 
Join Date: Aug 2007
Posts: 125
well, how do i know if its the right set? I edit everything thru the admin panel.

When i go back to uploadproduct its there, but it doesnt work
KrUsTyX 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
How do I make pictures mandatory... ovidiuletu Classifieds How do I...? 20 October 9th, 2009 11:35 AM
PP 5.62: Make Registration fields bigger snoopy5 Photopost Pro How Do I...? 5 January 11th, 2007 05:24 PM
Is there a way to make the currency field mandatory entry? SHalliday Classifieds How do I...? 2 April 29th, 2006 09:07 AM
How do I make some fields mandatory? rbl How Do I? - vBulletin 3.0.X 3 December 16th, 2004 10:24 AM


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

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