Joel R Posted March 5, 2017 Posted March 5, 2017 Suggestion Replace avatar in Activity Stream Replace avatar in Desktop notification
onlyME Posted March 5, 2017 Author Posted March 5, 2017 1 hour ago, Joel R said: Suggestion Replace avatar in Activity Stream Replace avatar in Desktop notification I will consider your idea
openfire Posted March 5, 2017 Posted March 5, 2017 Hi love the plugin! Is there any way to get the thumbnails in the topic feed block?
onlyME Posted March 5, 2017 Author Posted March 5, 2017 Just now, openfire said: Hi love the plugin! Is there any way to get the thumbnails in the topic feed block? It has a block with thumbnails.
openfire Posted March 5, 2017 Posted March 5, 2017 4 minutes ago, onlyME said: It has a block with thumbnails. Yes, I saw that, but it only produces a gallery, unless I'm doing something wrong... Is there any way to make it look like the standard topic feed, but with a thumbnail on the left?
onlyME Posted March 5, 2017 Author Posted March 5, 2017 Just now, openfire said: Yes, I saw that, but it only produces a gallery, unless I'm doing something wrong... Is there any way to make it look like the standard topic feed, but with a thumbnail on the left? It will show as a gallery on horizontal widget. If you use the widget in sidebar you will see the thumbnails on the left. That's its styles.
maddog107_merged Posted March 16, 2017 Posted March 16, 2017 @onlyME is there a way to not crop the thumbnail? I would like it to keep the original ratio of the image so the thumb should set one side to 60px (whichever is larger) so aspect ratio remains the same. Let me know, thanks.
maddog107_merged Posted March 16, 2017 Posted March 16, 2017 Also is it possible to create a button for "gallery mode" just like you have a button for Show/Hide thumbnails? I would like it to default to off but if members want to switch it on for themselves they can click a button.
onlyME Posted March 16, 2017 Author Posted March 16, 2017 1 hour ago, maddog107_merged said: @onlyME is there a way to not crop the thumbnail? I would like it to keep the original ratio of the image so the thumb should set one side to 60px (whichever is larger) so aspect ratio remains the same. Let me know, thanks. You can force it uses the original images by going to ACP and edit your theme > core > global > plugins > bim_tthumb_showThumb Find {$topic->tthumb_show()} Replace by {$topic->tthumb_show(1)} Save 12 minutes ago, maddog107_merged said: Also is it possible to create a button for "gallery mode" just like you have a button for Show/Hide thumbnails? I would like it to default to off but if members want to switch it on for themselves they can click a button. Do you mean this Show/Hide button?
maddog107_merged Posted March 16, 2017 Posted March 16, 2017 @onlyME So I like the Gallery Mode (see attachment) but I would like for that to be a user option, so just like the show/hide button, there should be like a "gallery view" or "regular view" button to switch between the Masonry layout and the "regular" layout with thumbnails in a list.
onlyME Posted March 16, 2017 Author Posted March 16, 2017 1 minute ago, maddog107_merged said: @onlyME So I like the Gallery Mode (see attachment) but I would like for that to be a user option, so just like the show/hide button, there should be like a "gallery view" or "regular view" button to switch between the Masonry layout and the "regular" layout with thumbnails in a list. It can not switch between gallery view and regular view by users.
maddog107_merged Posted March 16, 2017 Posted March 16, 2017 15 minutes ago, onlyME said: You can force it uses the original images by going to ACP and edit your theme > core > global > plugins > bim_tthumb_showThumb Find {$topic->tthumb_show()} Replace by {$topic->tthumb_show(1)} I added that to both the if / else statement and they still show up smushed. {{endif}} <img src='{$topic->tthumb_show(1)}' id='tthumb_{$topic->tid}' class='tthumbimg' width='{$w}px' height='{$h}px'> </a> </div> {{else}} <div class="bim_tthumb_wrap"> <a {{if $topic->canChangeThumbnail() || member.member_id}}href='#tthumb{$topic->tid}_menu' data-ipsMenu id='tthumb{$topic->tid}'{{else}}href='{$topic->url()}'{{endif}} {{if settings.bim_tthumb_onhover == 1}}data-ipstpopup data-ipstpopup-width='280' data-ipstpopup-target="{$topic->url('tthumbGetImage')}"{{endif}}> <img src='{$topic->tthumb_show(1)}' {{if $topic->upload_thumbnail}}data-full="{file="$topic->upload_thumbnail" extension="forums_topicThumbnail"}"{{endif}} id="tthumb_{$topic->tid}" class='tthumbimg' width='{$w}px' height='{$h}px'> </a> Did I do something wrong? Any guidance is appreciated. Thanks.
onlyME Posted March 16, 2017 Author Posted March 16, 2017 @maddog107_merged that is the reason I crop the images. If you want to use the original images, you have to crop them manually to fit your thumbnail's size.
maddog107_merged Posted March 16, 2017 Posted March 16, 2017 8 minutes ago, onlyME said: @maddog107_merged that is the reason I crop the images. If you want to use the original images, you have to crop them manually to fit your thumbnail's size. Ok, I got it working now. Ill put this here in case anyone has similar needs in the future, simply remove the "width and height" attributes and replace them with some CSS. <img src='{$topic->tthumb_show()}' id='tthumb_{$topic->tid}' class='tthumbimg' style='max-width:{$w}px; max-height:{$h}px;'> onlyME 1
onlyME Posted March 16, 2017 Author Posted March 16, 2017 @maddog107_merged yes, it's a good solution.
maddog107_merged Posted March 17, 2017 Posted March 17, 2017 (edited) @onlyME the guys here at IPS support were helping me with another issue and they believe it may be caused by this plugin. I have a ton of errors in the system logs: Quote Looking at your system logs, you have many many errors, all coming from the (BIM41) Topic Thumbnail application, on topics. Its highly likely this is causing your issues, and I would advise contacting the author of that application to resolve the issues there, or disabling it, to see if this resolved your posting problems. This is very likely to be what is causing the problem. Kind Regards, Marc Stridgen Error: Call to a member function html() on null (0) #0 /var/www/html/bellazon.com/main/applications/forums/modules/front/forums/topic.php(119): IPS\Content\_Item->commentForm() #1 /var/www/html/bellazon.com/main/init.php(448) : eval()'d code(18): IPS\forums\modules\front\forums\_topic->manage() #2 /var/www/html/bellazon.com/main/system/Dispatcher/Controller.php(97): IPS\forums\modules\front\forums\hook211->manage() #3 /var/www/html/bellazon.com/main/system/Content/Controller.php(51): IPS\Dispatcher\_Controller->execute() #4 /var/www/html/bellazon.com/main/applications/forums/modules/front/forums/topic.php(40): IPS\Content\_Controller->execute() #5 /var/www/html/bellazon.com/main/system/Dispatcher/Dispatcher.php(129): IPS\forums\modules\front\forums\_topic->execute() #6 /var/www/html/bellazon.com/main/index.php(13): IPS\_Dispatcher->run() #7 {main} #0 /var/www/html/bellazon.com/main/init.php(512): IPS\_Log::log('Error: Call to ...', 'uncaught_except...') #1 [internal function]: IPS\IPS::exceptionHandler(Object(Error)) #2 {main} This is on 4.1.19 The URL of page the error occurred on was https://www.bellazon.com/main/topic/29353-sara-sampaio/?page=719 Edited March 17, 2017 by maddog107_merged
onlyME Posted March 17, 2017 Author Posted March 17, 2017 @maddog107_merged can you give me ACP access so I can take a look?
maddog107_merged Posted March 17, 2017 Posted March 17, 2017 24 minutes ago, onlyME said: @maddog107_merged can you give me ACP access so I can take a look? sent in PM
Prank Posted April 5, 2017 Posted April 5, 2017 Is there any known issues with the widget filtering by forum not working? It doesn't matter what I choose in the forums select it makes no difference.
onlyME Posted April 5, 2017 Author Posted April 5, 2017 6 minutes ago, Prank said: Is there any known issues with the widget filtering by forum not working? It doesn't matter what I choose in the forums select it makes no difference. No, it works fine. Try to remove the widget, run Get Support to clear the badly cache and place the widget again.
Joel R Posted April 9, 2017 Posted April 9, 2017 Suggestion Use Topic Thumbnail on Desktop Notification
onlyME Posted April 9, 2017 Author Posted April 9, 2017 Just now, Joel R said: Suggestion Use Topic Thumbnail on Desktop Notification I will consider it
Prank Posted April 10, 2017 Posted April 10, 2017 On 05/04/2017 at 7:27 PM, onlyME said: No, it works fine. Try to remove the widget, run Get Support to clear the badly cache and place the widget again. Thanks. It took a little while to update after I cleared cache a few times. onlyME 1
Cheshir Posted April 20, 2017 Posted April 20, 2017 Not enough: 1. The possibility of choosing their images from the Gallary. 2. The ability to specify the display length of the subject (to the size of the blocks do not jump because of the different number of rows in the title). 3. In Gallery mode, not enough show "All". 4. Possibilities in the forced form to force users to select an image.
onlyME Posted April 20, 2017 Author Posted April 20, 2017 (edited) 17 minutes ago, Cheshir said: Not enough: 1. The possibility of choosing their images from the Gallary. 2. The ability to specify the display length of the subject (to the size of the blocks do not jump because of the different number of rows in the title). 3. In Gallery mode, not enough show "All". 4. Possibilities in the forced form to force users to select an image. 1. The ideas are so complex. The main feature of this plugin is getting thumbnails from posts or uploading thumbnails. It's a plugin for Forums so I don't want it's related to other application. 2. That is its style. 3. I don't understand. 4. If user didn't upload image, it will find image in the post. Edited April 20, 2017 by onlyME
Recommended Posts