May 17, 2015 at 5:37 pm 44255
|towhid||Hi I saw this function made for WPUF : https://wordpress.org/support/topic/plugin-wp-user-frontend-require-to-upload-pictures-before-post i tried it but it doesnt seem to work anymore, maybe a field name has changed ? Tx for your help Alex|
May 18, 2015 at 8:18 pm 44407
Any idea about this
This code should work, what should i change ?
May 19, 2015 at 11:30 am 44438
Please let me know which type of picture you like to set, feature image or an attachment?
May 19, 2015 at 5:37 pm 44496
I would like to have an image attachment to be required before posting
May 20, 2015 at 4:39 pm 44644
I will experiment the line of code you mentioned at the first post in this topic. After then I can make a statement.
May 20, 2015 at 7:47 pm 44688
ok thank you as this is very important for us
May 24, 2015 at 4:04 pm 45061
The filter “wpuf_add_post_validation” is not available in WP User Frontend Pro but this is available in Free version. So that you are not obtain the function.
May 26, 2015 at 12:31 am 45135
The pro version is supposed to be better that the free version, thats why we paid for it !
Could you please provide a solution for the pro version
May 26, 2015 at 4:33 pm 45197
In the free version, there was no option to select required field. You can not change any field out of those fixed field.
But in PRO version you can set any required option in every field. This the option which is the much powerful feature in PRO version.
In frontend. if any field did not fill up then an error will appear in a browser which will suggest to filling up the required field.
May 27, 2015 at 3:39 am 45261
Ok Towhid tx for the explanation
But i need a solution
So could you please provide the right code
as the previous code only works for the free version
Tx so much
May 27, 2015 at 10:27 am 45288
Here is the solution:
Step 1: Assign a Title field in the form and set the field as required.
On Submit the form:
Just leave blank the Image Upload field and click submit button.
After click the submit button the form will provide you a message “Please fix the errors to proceed” and the required item will be a red mark.
Which indicates you can not post then the form before fill up every required item.
May 27, 2015 at 4:33 pm 45344
Tx but this is not exactly what i want
there is already a button just above the content “insert an image”
as i dont want people to just attach image to the post, but insert directly to the content
so im looking to check that the user has inserted an image in the content before posting
Tx a lot
May 30, 2015 at 4:09 pm 45681
I will request you to please post this topic in the popular online marketplace and hire a developer to customize this plugin to avail that feature.