Hello there.
Rodolfo sorry for double questions, i created a theme by myself and im done now but im stuck in this point and i can not launch the site.
I asked before but you did not told me what i wanted.
i asked you to set all uploads private but this option don't fit my needs
This option is for registered users and guests can't upload images.
What i really need ?
When guests , user uploads an image, the option Upload to switch to private upload by default.
The private upload to be default. I found the code in anywhere-upload.php on line 78
I tried by myself a lot but i can't do it by myself.
And now when a guest or user image is uploaded privately it can be seen by guests, because when i upload in private that image can't be seen by guests, when i see a private upload as a guest i get: That page doesn't exist
i also tried to make it by myself in image.php
And final problem is why a private upload creates an album by itself?
I think this can be done by changing these codes but please Rodolfo help me to do this, as i said above i can't launch my site because all uploads are in explorer.
I hope this time you can help me. If you don't understand me please let me know.
Regards.
Rodolfo sorry for double questions, i created a theme by myself and im done now but im stuck in this point and i can not launch the site.
I asked before but you did not told me what i wanted.
i asked you to set all uploads private but this option don't fit my needs

This option is for registered users and guests can't upload images.
What i really need ?
When guests , user uploads an image, the option Upload to switch to private upload by default.

The private upload to be default. I found the code in anywhere-upload.php on line 78
PHP:
<?php if(CHV\getSetting('website_privacy_mode') == 'public' or (CHV\getSetting('website_privacy_mode') == 'private' and CHV\getSetting('website_content_privacy_mode') == 'default')) { ?><button class="btn btn-big plain margin-right-5 btn-upload-privacy" rel="tooltip" data-tiptip="top" title="<?php _se('Change upload privacy'); ?>" data-login-needed="1" data-action="upload-privacy" data-privacy="public"><span class="icon icon-unlocked" data-lock="icon-lock" data-unlock="icon-unlocked"></span></button><?php } ?><button class="btn btn-big green" data-action="upload" data-public="<?php _se('Upload'); ?>" data-private="<?php _se('Private upload'); ?>"><?php echo is_forced_private_mode() ? _s('Private upload') : _s('Upload'); ?></button> <span class="btn-alt"><?php _se('or'); ?> <a data-action="cancel-upload"><?php _se('cancel'); ?></a></span>
I tried by myself a lot but i can't do it by myself.
And now when a guest or user image is uploaded privately it can be seen by guests, because when i upload in private that image can't be seen by guests, when i see a private upload as a guest i get: That page doesn't exist
i also tried to make it by myself in image.php
PHP:
<?php
if(get_image()['user']['id'] != NULL and (get_image()['album']['privacy'] !== 'private_but_link' or is_owner() or is_admin())) {
?>
And final problem is why a private upload creates an album by itself?
I think this can be done by changing these codes but please Rodolfo help me to do this, as i said above i can't launch my site because all uploads are in explorer.
I hope this time you can help me. If you don't understand me please let me know.
Regards.