D.C Style - Thumbnail

D.C Style - Thumbnail 1.6.3

No permission to download

D.C Style

Active member
D.C Style submitted a new resource:

D.C Style - Thumbnail - Allow users to enable cover image & thumbnail image for their threads.

Introduce

Allow users to enable cover image for their threads and add thumbnails to forum view.

  • Customize thumbnail for each thread. Supports attachment images, external images and thumbnail from videos on Youtube, Vimeo and Dailymotion (updating…).
  • Turn on/off cover image for each thread.
  • Add og:image tag for Facebook sharing.
  • Supports permission for each member group.

Installation

  • Unzip
  • Upload...

Read more about this resource...
 

Faust

Well-known member
I'm working on it. XF 2.2 still in beta so I'm not sure if I can release a compatible version of the add-on this time.
That's fine. But would you make it compatible with it once the stable version will be released? As I see no point to use it if won't be released for xF2. 2
 

imno007

Well-known member
It does work with TH styles. Lot of things to like about this addon, especially considering it's free. A couple additions that would be nice: ability to have thumbnails appear smaller on widgets than they do on threadview, even if this has to be a default standard size reduction, like 50% of whatever the pixel size options are; and if the thumbnails would display on search results.

So people know, whether or not images appear circular or square is dependent on avatar settings. Just figured I'd mention it, because this isn't the case with a couple of other similar addon's I've used.
 
Last edited:

Faust

Well-known member
It does work with TH styles. Lot of things to like about this addon, especially considering it's free. A couple additions that would be nice: ability to have thumbnails appear smaller on widgets than they do on threadview, even if this has to be a default standard size reduction, like 50% of whatever the pixel size options are. Also, if the thumbnails would display on search results.

Just so people know, whether or not images appear circular or square is dependent on avatar settings. Just figured I'd mention it, because this isn't the case with a couple of other similar addon's I've used.

Thanks for confirming , I will test it on my forum than.
 

imno007

Well-known member
Seems to be a conflict with Xon's Report Improvements here:


  • ErrorException: Template error: Method getThumbnail is not callable on the given object (SV\ReportImprovements\XF\Entity\Thread)
  • src/XF/Template/Templater.php:994

Stack trace​


#0 [internal function]: XF\Template\Templater->handleTemplateError()
#1 src/XF/Template/Templater.php(994): trigger_error()
#2 internal_data/code_cache/templates/l1/s112/public/dcMoreThread_blocks.php(36): XF\Template\Templater->method()
#3 src/XF/Template/Templater.php(701): XF\Template\Templater->{closure}()
#4 internal_data/code_cache/templates/l1/s112/public/dcMoreThread_blocks.php(93): XF\Template\Templater->callMacro()
#5 src/XF/Template/Templater.php(1315): XF\Template\Templater->{closure}()
#6 src/XF/Template/Templater.php(1388): XF\Template\Templater->renderTemplate()
#7 internal_data/code_cache/templates/l1/s112/public/post_macros.php(269): XF\Template\Templater->includeTemplate()
#8 src/XF/Template/Templater.php(701): XF\Template\Templater->{closure}()
#9 internal_data/code_cache/templates/l1/s112/public/thread_view.php(702): XF\Template\Templater->callMacro()
#10 src/XF/Template/Templater.php(1315): XF\Template\Templater->{closure}()
#11 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate()
#12 src/XF/Mvc/Renderer/Html.php(48): XF\Template\Template->render()
#13 src/XF/Mvc/Dispatcher.php(418): XF\Mvc\Renderer\Html->renderView()
#14 src/XF/Mvc/Dispatcher.php(400): XF\Mvc\Dispatcher->renderView()
#15 src/XF/Mvc/Dispatcher.php(360): XF\Mvc\Dispatcher->renderReply()
#16 src/XF/Mvc/Dispatcher.php(53): XF\Mvc\Dispatcher->render()
#17 src/XF/App.php(2178): XF\Mvc\Dispatcher->run()
#18 src/XF.php(390): XF\App->run()
#19 index.php(20): XF::runApp()
#20 {main}
 

D.C Style

Active member
Seems to be a conflict with Xon's Report Improvements here:


  • ErrorException: Template error: Method getThumbnail is not callable on the given object (SV\ReportImprovements\XF\Entity\Thread)
  • src/XF/Template/Templater.php:994

Stack trace​


#0 [internal function]: XF\Template\Templater->handleTemplateError()
#1 src/XF/Template/Templater.php(994): trigger_error()
#2 internal_data/code_cache/templates/l1/s112/public/dcMoreThread_blocks.php(36): XF\Template\Templater->method()
#3 src/XF/Template/Templater.php(701): XF\Template\Templater->{closure}()
#4 internal_data/code_cache/templates/l1/s112/public/dcMoreThread_blocks.php(93): XF\Template\Templater->callMacro()
#5 src/XF/Template/Templater.php(1315): XF\Template\Templater->{closure}()
#6 src/XF/Template/Templater.php(1388): XF\Template\Templater->renderTemplate()
#7 internal_data/code_cache/templates/l1/s112/public/post_macros.php(269): XF\Template\Templater->includeTemplate()
#8 src/XF/Template/Templater.php(701): XF\Template\Templater->{closure}()
#9 internal_data/code_cache/templates/l1/s112/public/thread_view.php(702): XF\Template\Templater->callMacro()
#10 src/XF/Template/Templater.php(1315): XF\Template\Templater->{closure}()
#11 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate()
#12 src/XF/Mvc/Renderer/Html.php(48): XF\Template\Template->render()
#13 src/XF/Mvc/Dispatcher.php(418): XF\Mvc\Renderer\Html->renderView()
#14 src/XF/Mvc/Dispatcher.php(400): XF\Mvc\Dispatcher->renderView()
#15 src/XF/Mvc/Dispatcher.php(360): XF\Mvc\Dispatcher->renderReply()
#16 src/XF/Mvc/Dispatcher.php(53): XF\Mvc\Dispatcher->render()
#17 src/XF/App.php(2178): XF\Mvc\Dispatcher->run()
#18 src/XF.php(390): XF\App->run()
#19 index.php(20): XF::runApp()
#20 {main}
Tried to install but get no errors. Which actions or page do you get this?
 

MichaelR

Member
I like it. Will wait for 2.2 version. Will the thumbnail also show on the following pages: search result page, tag page, whats new page, last post page, on the my profile pages that show threads?
 

D.C Style

Active member
I like it. Will wait for 2.2 version. Will the thumbnail also show on the following pages: search result page, tag page, whats new page, last post page, on the my profile pages that show threads?
  • Last post page, what's new page: Yes.
  • Search result page, tag page, profile page: No.
 
Top