Always some questions... :-) i just see on your demo page for the frontend submit form, a button dedicated to upload image. but this button appear only for users not logged!? for user logged in, the media is shown!
How to only have the upload image actif?
I see on class.builder-elements, the function get_image_content. But i don't want to modify this core function.
This will show the upload image button at all times.
However, you will have to modify the core code because there is check in place if the user is logged-in it will only look for media images and will not check for upload files.
Hello,
Always some questions... :-) i just see on your demo page for the frontend submit form, a button dedicated to upload image. but this button appear only for users not logged!? for user logged in, the media is shown!
How to only have the upload image actif?
I see on class.builder-elements, the function get_image_content. But i don't want to modify this core function.
regards
Go to your theme functions.php file and add following filter:
This will show the upload image button at all times.
However, you will have to modify the core code because there is check in place if the user is logged-in it will only look for media images and will not check for upload files.
Open file:
stachethemes_event_calendar\assets\php\class.submit-event.php
on line 154 starts this code:
Replace it with:
I'll make this change in the next version as well so you won't have to do it again.
Stachethemes Developer
It is good, thank you very much
In fact it is not so good, because the image is not uploaded!! And also are not showing??
No, sorry it was a mystake from i ;-)