xtech Posted September 10, 2016 Posted September 10, 2016 Hi @newbie LAC is it possible to access the topic cover image thumb? If so, What's the variable? Imagine i want to make a custom block for tetrieving latest topics, with the cover thumbnail. What would be the correct syntax like this: "$topic->image_thumb" Another question: will you update it for the IPS 4.2? Thanks
newbie LAC Posted September 10, 2016 Author Posted September 10, 2016 Just now, xtech said: Hi @newbie LAC is it possible to access the topic cover image thumb? If so, What's the variable? Imagine i want to make a custom block for tetrieving latest topics, with the cover thumbnail. What would be the correct syntax like this: "$topic->image_thumb" Hello, Inbuilt covers hasn't thumbs. Only full images. 7 minutes ago, xtech said: Another question: will you update it for the IPS 4.2? Yes.
xtech Posted September 10, 2016 Posted September 10, 2016 Thank you for your prompt answer. I am looking to buy this, but having a "light version" of the topic image would be great for those purposes. Anyway, is it possible to access at least the image in a block plugin? How could one do it?
newbie LAC Posted September 10, 2016 Author Posted September 10, 2016 1 minute ago, xtech said: Anyway, is it possible to access at least the image in a block plugin? How could one do it? {{if $topic->mapped('cover_photo')}} <img src='{file="$topic->mapped('cover_photo')" extension="nbtopiccover_TopicCover"}'> {{endif}} $topic should be an object of \IPS\forums\Topic xtech 1
Joel R Posted September 10, 2016 Posted September 10, 2016 3 hours ago, xtech said: Thank you for your prompt answer. I am looking to buy this, but having a "light version" of the topic image would be great for those purposes. Anyway, is it possible to access at least the image in a block plugin? How could one do it? Not to hijack this topic but you want Topic Thumbnail by @onlyME
Joel R Posted September 10, 2016 Posted September 10, 2016 I'm looking into buying this plugin. (Thanks for developing it!). Some questions / feature requests: Disable on mobile view Set height Allow per-topic setting to "collapse" topic cover by each user / allow per-user setting in Account Settings to "collapse" all topic covers Default topic cover per category OctoDev, Simon Woods, kmk and 1 other 4
InsideEdge Posted September 10, 2016 Posted September 10, 2016 @newbie LAC Could the same idea for this app be developed as a header image per forum? Kjell Iver Johansen 1
Kjell Iver Johansen Posted September 10, 2016 Posted September 10, 2016 21 minutes ago, InsideEdge said: Could the same idea for this app be developed as a header image per forum? Agree - and I would suggest an option to add a link - so when you click the image you go to external page.
jaeitee Posted September 10, 2016 Posted September 10, 2016 @newbie LAC nice extension, couple of questions. Do you have a link to a demo site running the plugin? When no topic cover is uploaded what does the header of the page look like?
OctoDev Posted September 10, 2016 Posted September 10, 2016 demo would be nice 7 hours ago, Joel R said: I'm looking into buying this plugin. (Thanks for developing it!). Some questions / feature requests: Disable on mobile view Set height Allow per-topic setting to "collapse" topic cover by each user / allow per-user setting in Account Settings to "collapse" all topic covers Default topic cover per category vouch, would buy if this is added PirateCaptain 1
Simon Woods Posted September 10, 2016 Posted September 10, 2016 Thanks for making this! Buying it at some point in the next few weeks.
newbie LAC Posted September 11, 2016 Author Posted September 11, 2016 Hello, 17 hours ago, Joel R said: Disable on mobile view Set height Allow per-topic setting to "collapse" topic cover by each user / allow per-user setting in Account Settings to "collapse" all topic covers Default topic cover per category 1. It's by default. The block has css class ipsResponsive_hidePhone 2. I thought to add a setting. But added css rule 200px. You can edit app css file or add your properties in custom.css. 3. I think about it. 4. I thought about it. Add setting to set global image or per forum. 16 hours ago, InsideEdge said: @newbie LAC Could the same idea for this app be developed as a header image per forum? Maybe. 16 hours ago, Kjell Iver Johansen said: Agree - and I would suggest an option to add a link - so when you click the image you go to external page. Inbuilt cover photos hasn't option to set link. 13 hours ago, N4H said: Do you have a link to a demo site running the plugin? When no topic cover is uploaded what does the header of the page look like? 1. No. Ask @gerard001 https://invisionpower.com/forums/topic/432286-thread-cover/ 2. Nothing if the user hasn't permissions to manage cover. Black block if the user has permissions to manage cover. 10 hours ago, sonimik1 said: supports gif? Yes. Simon Woods and sonimik1 2
gerard001 Posted September 11, 2016 Posted September 11, 2016 (edited) This add-on works perfectly Edited September 11, 2016 by gerard001 Simon Woods 1
Safety1st Posted September 11, 2016 Posted September 11, 2016 It's nice idea but to expensive(( OctoDev 1
OctoDev Posted September 14, 2016 Posted September 14, 2016 On 11.9.2016 at 11:22 AM, Safety1st said: It's nice idea but to expensive(( Agree. $14.50 is quiet expensive, it barely has any customization features. Safety1st 1
Aurélio "Baboo" Posted September 19, 2016 Posted September 19, 2016 Excellent plugin! I'd like to add topic title over cover page. How do I do that? I tried {$topic->title} but didn't work...
newbie LAC Posted September 20, 2016 Author Posted September 20, 2016 Hello, 13 hours ago, BABOO2016 said: I tried {$topic->title} but didn't work.. It's correct code. 13 hours ago, BABOO2016 said: How do I do that? Open template nbTopicCover. Find {{if $coverPhoto->file or $coverPhoto->editable}} Add after {{$coverPhoto->overlay = $topic->title;}} You can use html Example {{$coverPhoto->overlay = "<div class='ipsType_veryLarge'>{$topic->title}</div>";}} Result
Aurélio "Baboo" Posted September 20, 2016 Posted September 20, 2016 I've just noticed the title appears even when there is no topic cover. How do I fix that to show title only when cover photo exists? BTW this feature would be nice for Topic Cover 1.01
newbie LAC Posted September 21, 2016 Author Posted September 21, 2016 13 hours ago, BABOO2016 said: I've just noticed the title appears even when there is no topic cover. How do I fix that to show title only when cover photo exists? {{if $coverPhoto->file}} {{$coverPhoto->overlay = "<div class='ipsType_veryLarge'>{$topic->title}</div>";}} {{endif}}
gabs007 Posted October 20, 2016 Posted October 20, 2016 Greetings. It's been working perfect so far, but today I realized that the upper right overlaid option has disappeared from the main topic view. I can add a picture when I edit the first post, but I can't reposition or remove it from the main topic view. 2 days ago I installed a custom modification that, in theory, is not related. Plus the modification does not work with the forums where Topic Cover is installed. Any thoughts of what could have happened here?
newbie LAC Posted October 20, 2016 Author Posted October 20, 2016 34 minutes ago, gabs007 said: Greetings. It's been working perfect so far, but today I realized that the upper right overlaid option has disappeared from the main topic view. I can add a picture when I edit the first post, but I can't reposition or remove it from the main topic view. 2 days ago I installed a custom modification that, in theory, is not related. Plus the modification does not work with the forums where Topic Cover is installed. Any thoughts of what could have happened here? Hello, If you give me acp (and fpt for debugging) access I'll look into that.
Recommended Posts