Hello,
Is it possible to make it mandatory for users to upload image whenever they post ads? i don't like it when they don't attach images to their ads and it would be a great help to have this.
Tnx.
Hello, Is it possible to make it mandatory for users to upload image whenever they post ads? i don't like it when they don't attach images to their ads and it would be a great help to have this. Tnx. Sometimes communicating your problem and putting it out there is enough to solve it |
Comm'on guys! there's gotta be a way to do that... Sometimes communicating your problem and putting it out there is enough to solve it |
See if its required and working as it should now .... https://dolphin-techs.com - Skype: Dolphin Techs |
See if its required and working as it should now .... Hey man, It is part of the form of 'post ad' and some members do add the image but most of them don't. I know that adding the asterisk doesn't necessarily makes it mandatory so it would have to be done in files which I have no clue where to find as you well know. Sometimes communicating your problem and putting it out there is enough to solve it |
I am interested in this as well. Anybody? |
I am interested in this as well. Anybody? Do you think its complicated? If its not on default there's a good chance its complicated and no one wants to mess with this. Am I right? Sometimes communicating your problem and putting it out there is enough to solve it |
You have to make some comde modifications in order to set the image mandatory on posting ads. 'File' => array (should be around line 955) and inside that add the following command: 'required' => true, In this way, the field is required and the image is set to mandatory.
http://www.boonex.com/market/posts/kazatzo |
Cool another little tutorial if understood correctly :-) Thanks! You have to make some comde modifications in order to set the image mandatory on posting ads. 'File' => array (should be around line 955) and inside that add the following command: 'required' => true, In this way, the field is required and the image is set to mandatory.
Diddy is not greedy and has time. Dolphin is cool and its not just mine :-) |
You have to make some comde modifications in order to set the image mandatory on posting ads. 'File' => array (should be around line 955) and inside that add the following command: 'required' => true, In this way, the field is required and the image is set to mandatory.
Kazatzo, this line already exists. Should I add it again? Here is what I have: ), 'File' => array( 'type' => 'file', 'name' => 'userfile[]', 'caption' => _t('_associated_image'), 'required' => true, 'checker' => array ( 'error' => _t ('_bx_ads_err_photo'), ), Sometimes communicating your problem and putting it out there is enough to solve it |
No need to add this again, as long as it is set to true. Is image uploading mandatory now? http://www.boonex.com/market/posts/kazatzo |
No need to add this again, as long as it is set to true. Is image uploading mandatory now? It still does not force the upload of the image. I have the asterik sign but when people skip it they get away with it and I get an Ad with no image. How can I force it? Thanks. Sometimes communicating your problem and putting it out there is enough to solve it |