justme Posted January 13, 2014 Share Posted January 13, 2014 (edited) How do I show attachment thumbnails to guests? I would like to show thumbnails to guests WITHOUT showing the full image....IPB will only show a link; how can I show this image, WITHOUT opening via the permissions? which allows guests to other attachments... Edited January 13, 2014 by justme Link to comment Share on other sites More sharing options...
siv1987 Posted January 13, 2014 Share Posted January 13, 2014 I would like to show thumbnails to guests WITHOUT showing the full image.WITHOUT никак. If you know the path to thumbnails can get the path to the full image. Но если так сильно хочется, при рендеринге аттачей можно составить условие и разрешить гостям отображение тумбов без права просмотра прикрепленных файлов. По моему я такую инструкцию уже где-то писал. Link to comment Share on other sites More sharing options...
siv1987 Posted January 13, 2014 Share Posted January 13, 2014 СобсноOpen /admin/applications/core/sources/classes/attach/class_attach.phpFind if ( is_array( $rows ) AND count( $rows ) ) { $attachtypes = $this->getAttachTypes(); Add after if( ! $this->memberData['member_id'] AND $skin_name == 'topic' ) { $this->settings['show_img_upload'] = true; } Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now