IBResource Опубликовано 9 Сентября 2014 Жалоба Поделиться Опубликовано 9 Сентября 2014 Most of us guys want to allow attached images to view for Guests. also we want to hide other extensions or make them available to access after login / Permission. With default IPB settings if you set Guests Download Permission, then it will allow guests to download both Images or files (.zip or .txt etc). Which is not what we want, we only want guests to see attached images not to see attached other extension files too. But here's the solution. This hook allows guests to see the Attached images in Topic/Post in forums. With the help of this hook they can only see the attached images and download them. But they cannot download attached files instead of images (for example: zip, txt, files) You also can select what maximum size of image a guest can view only. If you want to show only those attached images who has lower than 100KB size. Then you can use setting of this hook. Though a maximum image size is required to work this hook (default maximum size of image is 200KB) Перейти на сайт Invision Power Ссылка на комментарий Поделиться на других сайтах Прочее
Рекомендуемые сообщения