Jump to content
Дизайн и модификация IPS Community IPBSkinsBETA
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
HooLIGUN

Изображения для гостей

Recommended Posts

Возможно ли сделать доступной скачку прикрепленных изображений при правах, запрещающих скачивать файлы?

Хочу, чтобы гости видели картинки

Share this post


Link to post
Share on other sites

\admin\applications\core\sources\classes\attach\class_attach.php

Найти (2 раза)

 

$this->settings['show_img_upload'] and $row['attach_is_image']

Заменить на

 

( $this->settings['show_img_upload'] or !$this->memberData['member_id'] ) and $row['attach_is_image']

  • Upvote 2

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...