inherit
237657
0
Oct 14, 2020 8:58:28 GMT -8
CrushyGreenRen
12
September 2016
itscgryt
|
Post by CrushyGreenRen on Sept 12, 2020 8:59:11 GMT -8
I would like a plugin that allows you to set a thread banner and thumbnail. They can be separate images. I already have (super basic) js for the banner (since the banner can only pop up in threads of specific boards) and I have set up the layout templates for that specific board. Probably a description as well. If it's not too much to ask, please make it editable and add comments so I can adjust the JS when I make changes to the HTML, or when anyone else sees this and decides that they would like this for their forum. (description to be added) A mockup the best I could make it: (ignore the description box) For the banner, i would probably like a placeholder banner. The Thread layout template html snippet: <div id="thread_header" class="title-bar">
{if $[reply_button]}
<ul class="controls"><li>$[reply_button]</li></ul>
{/if}
<div id="mod_banner">
<h1 id='headertag'>$[thread.subject]</h1> $[thread.labels]
</div>
</div> And for the mod (or thread) thumbnail: <picture class="card-img-top">
<img src="[link to image]" class="ratio-image" style="border-radius: 4px 4px 0px 0px;width:100%!important;height:100%!important">
</picture>
|
|
inherit
96289
0
May 17, 2020 9:37:00 GMT -8
elli
1,822
January 2007
ebbymac
|
Post by elli on Sept 12, 2020 15:32:44 GMT -8
|
|
inherit
237657
0
Oct 14, 2020 8:58:28 GMT -8
CrushyGreenRen
12
September 2016
itscgryt
|
Post by CrushyGreenRen on Sept 13, 2020 5:22:10 GMT -8
I tried to toy around with that and sadly, I never get the results I wanted. By curiosity I used it without modifications (bar the settings) and it seems like it uses my avatar instead of the first image/my chosen image for the thread icon, so even if I managed to get it to work, it'll display my avatar, not the desired image.
|
|
inherit
237657
0
Oct 14, 2020 8:58:28 GMT -8
CrushyGreenRen
12
September 2016
itscgryt
|
Post by CrushyGreenRen on Sept 15, 2020 4:18:14 GMT -8
Bump!
|
|
inherit
237657
0
Oct 14, 2020 8:58:28 GMT -8
CrushyGreenRen
12
September 2016
itscgryt
|
Post by CrushyGreenRen on Sept 16, 2020 10:28:29 GMT -8
bump
|
|