Jump to content

(NB41) Topic Cover

You are viewing a curated collection of the most significant posts in this topic.

Featured Replies

  • Replies 74
  • Views 9.3k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • 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

  • Hello, 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 cust

  • {{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

Posted Images

  • Author
 

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

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 
  • Author

Hello,

 
  • 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.

 

@newbie LAC

Could the same idea for this app be developed as a header image per forum?

Maybe.

 

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.

 
  • 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.

tc_black.jpg

 

supports gif?

Yes.

 

  • 9 months later...

Support for IP4.2 :wub::thumbsup:

Looks like an amazing plugin, except I'm yet to test it as I'm on 4.2 :cry:

  • 4 months later...
  • Author
 

As per this comment:

Could you please provide custom.css that would enable Topic Cover on mobile?

Thanks!

Hello,

Add in custom.css 

#elNbTopicCover.ipsResponsive_hidePhone {
	display: block !important;
}

Or open nbtopiccover - front - hooks - nbTopicCover, find and remove ipsResponsive_hidePhone

  • 1 year later...
  • Author

Hello,

 

Is this coming in a future update?  

Yes.

Next release will include more features

Some screenshots

1. Settings

settings.thumb.jpg.fad3b16560a88266168e5e9a2f1a7aa2.jpg

2. Topic view

cover.thumb.jpg.aa7e13c79bc80f3f8fb9833781da292b.jpg

3. UCP settings

settings_ucp.thumb.jpg.2a03ed8ce0e9788cc19b73f79ff4a80f.jpg

settings_ucp2.thumb.jpg.f97ca43dd6304340bef3e5ffd5259ead.jpg

  • 3 weeks later...

This plugin looks like an excellent addition to my site! Is it compatible with IPS 4.4+?

  • Author
 

This plugin looks like an excellent addition to my site! Is it compatible with IPS 4.4+?

Hello,

On the file page see the compatibility

compatibility.thumb.jpg.ec550f094b37a2c536f82d402b27b575.jpg

  • 2 years later...

@newbie LAC  Just wondering if this will be updated for 4.6? We're hitting a snag with this enabled, so we've had to disable it for the time being.

Our members/staff cannot create new tabs or edit existing tabs within clubs. Here's what shows in the system logs:

ArgumentCountError: Too few arguments to function IPS\forums\_Forum::clubForm(), 1 passed in /home/***/public_html/init.php(903) : eval()'d code on line 166 and exactly 2 expected (0)
#0 /home/***/public_html/init.php(903) : eval()'d code(166): IPS\forums\_Forum->clubForm(Object(IPS\Helpers\Form))
#1 /home/***/public_html/applications/core/modules/front/clubs/view.php(1545): IPS\forums\nbtopiccover_hook_nbTopicCoverForumsForum->clubForm(Object(IPS\Helpers\Form), Object(IPS\Member\Club))
#2 /home/***/public_html/system/Dispatcher/Controller.php(90): IPS\core\modules\front\clubs\_view->nodeForm()
#3 /home/***/public_html/applications/core/modules/front/clubs/view.php(120): IPS\Dispatcher\_Controller->execute()
#4 /home/***/public_html/system/Dispatcher/Dispatcher.php(153): IPS\core\modules\front\clubs\_view->execute()
#5 /home/***/public_html/index.php(13): IPS\_Dispatcher->run()
#6 {main}

 

 

Just wondering if this will be updated for 4.6?

 

Recently Browsing 0

  • No registered users viewing this page.