Mandatory image on posting ads. Is it possible?

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
Quote · 27 Aug 2011

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
Quote · 27 Aug 2011

See if its required and working as it should now ....

https://dolphin-techs.com - Skype: Dolphin Techs
Quote · 28 Aug 2011

 

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
Quote · 28 Aug 2011

I am interested in this as well. Anybody?

Quote · 28 Aug 2011

 

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
Quote · 3 Sep 2011

You have to make some comde modifications in order to set the image mandatory on posting ads. 
 In particular, on file BxAdsModule.php look for 

'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
Quote · 3 Sep 2011

 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. 
 In particular, on file BxAdsModule.php look for 

'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 :-)
Quote · 3 Sep 2011

 

You have to make some comde modifications in order to set the image mandatory on posting ads. 
 In particular, on file BxAdsModule.php look for 

'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
Quote · 3 Sep 2011

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
Quote · 4 Sep 2011

 

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
Quote · 4 Sep 2011
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.