Jump to content

(NB40) Recent Topics/Posts


Recommended Posts

Posted (edited)

I just upgraded to 4.1.10 and this block is no longer filtering based in the forums I choose, no matter what I seem to choose - any suggestions? I checked to see if it was updated but I already have 1.04...

Tried disabling and enabling, as well as re-adding blocks. Default IPB blocks are filtering based on forums without issue so I'm confused :-(

Edited by Shawn Tierney
Posted
1 minute ago, Shawn Tierney said:

I just upgraded to 4.1.10 and this block is no longer filtering based in the forums I choose, no matter what I seem to choose - any suggestions?

Tried disabling and enabling, as well as re-adding blocks. Default IPB blocks are filtering based on forums without issue so I'm confused :-(

Hello,

Show plugin settings

Posted (edited)
3 minutes ago, newbie LAC said:

Hello,

Show plugin settings

A picture of the block settings? I can post that later this morning (I've tried several different combinations)

Edited by Shawn Tierney
  • 2 weeks later...
Posted

Hello,

Currently it is not very clear when there are read vs unread new posts/replies (looks like it is bold vs not - but that is hard for me to see).  What would I need to do to either highlight the container that the unread content is in, or show the "unread" icon next to the row (like it is in the forum).

I have your 3.4.x version and it is like this for read (top 2) vs unread (bottom 1)

 2capture.PNG

 

Or if it could just show the theme unread icon like this:

1Capture.PNG

 

That would be helpful too.  Any and all help that you can provide would be awesome.

 

Thank you,

almax

Posted
2 minutes ago, almax said:

That would be helpful too.  Any and all help that you can provide would be awesome.

Hello,

I'll add "unread indicator" in next release.

Posted
3 hours ago, almax said:

That would be helpful too.  Any and all help that you can provide would be awesome.

 

Hello again.

I checked and topic/post have indicator. It's css class ipsDataItem_unread

See screenshot

read.jpg

I added into custom.css

.ipsWidget[data-blockid*="_nbRecentTopicsPosts_"] li.ipsDataItem {
    background: #00ff00;
}
.ipsWidget[data-blockid*="_nbRecentTopicsPosts_"] li.ipsDataItem.ipsDataItem_unread {
    background: #ff4000;
}

Result

unread.jpg

Posted (edited)
 
 
Essential Russian translation strings:
nb_tab_rtp_p_posted
опубликовал %s

nb_tab_rtp_go_post
Перейти

nb_tab_rtp_t_started
cоздал %s

nb_tab_rtp_view_topic
Перейти

 

Edited by Safety1st
Posted
1 hour ago, newbie LAC said:

You can do it yourself.

While I did not post that.  Would it be possible to maybe have these two possibilities ('Add Unread Marker' and 'Highlight Unread' (with a hex color code field or color picker)) added as a UI option in a future release.  I don't mind editing the the lines to get it working that way for my own site, but I could see it being a feature that others here would like that don't necessarily have that knowledge.

Posted
2 minutes ago, almax said:

and 'Highlight Unread' (with a hex color code field or color picker)

I think no. There are many skins with different colors. Dark, light, red, green etc. One 'Highlight Unread' color for all will not look good

Posted
Just now, newbie LAC said:

I think no. There are many skins with different colors. Dark, light, red, green etc. One 'Highlight Unread' color for all will not look good

That is why I added the "with a hex color code field or color picker" so the user could just select their own color of choice.

Posted
4 minutes ago, almax said:

That is why I added the "with a hex color code field or color picker" so the user could just select their own color of choice.

See examples if I selected #121212

http://ipsfocus.net/4x/

Skin Engraved

unread1.jpg

Looks good

Skin Brave

unread2.jpg

Unread and read looks the same

Skin Uniform

unread3.jpg

Looks bad

Posted

@newbie LAC that is what @almax is trying to tell. If a color picker or hex color code field is selection is given to user he/she can choose or write the suitable color code according to the theme used.

Posted
Just now, ABGenc said:

@newbie LAC that is what @almax is trying to tell. If a color picker or hex color code field is selection is given to user he/she can choose or write the suitable color code according to the theme used.

Hello,

Widgets do not depend on the chosen theme. 1 widget for all themes.

In this case 5 skins = 5 pickers, 10 skins = 10 pickers etc

Posted
1 minute ago, newbie LAC said:

Hello,

Widgets do not depend on the chosen theme. 1 widget for all themes.

In this case 5 skins = 5 pickers, 10 skins = 10 pickers etc

I get your point, you are right but there are also several sites ( like mine ) who prefer to run a single theme made default which this option can easily work. 

Posted
7 hours ago, newbie LAC said:

You can edit template or css

I added your code to theme's custom.css. But it must be done for each installed theme. Is there a way to add code once and for all themes simultaneously?

Posted
17 minutes ago, Safety1st said:

I added your code to theme's custom.css. But it must be done for each installed theme. Is there a way to add code once and for all themes simultaneously?

Try to add css into widget

plugins/nb40recenttopicsposts/widgets/nbRecentTopicsPosts.php

		/* Return */
		return $this->output($topics, $posts, $selectedTab, $tabs, $firstTab, $this->configuration, $this->uniqueKey, $widgetTitle);

change to 

		$css .= <<<CSS
<style>
.ipsWidget[data-blockid*="_nbRecentTopicsPosts_"] li.ipsDataItem.ipsDataItem_unread .ipsDataItem_title:before {
    content: '\\f111';
    font-family: 'FontAwesome';
    font-size: 9px;
    margin-right: 3px;
}
</style>
CSS;
		/* Return */
		return $this->output($topics, $posts, $selectedTab, $tabs, $firstTab, $this->configuration, $this->uniqueKey, $widgetTitle) . $css;

 

Posted

Does this plugin honor the overall forum permissions? Members who do not have permission to view posts or topics in x forum(s) can still see the posts or topics in the block.

Posted
1 hour ago, GrooveOnBeat said:

Does this plugin honor the overall forum permissions? Members who do not have permission to view posts or topics in x forum(s) can still see the posts or topics in the block.

Hello,

Used "read" permissions.

Show me forum permissions.

Posted
5 hours ago, newbie LAC said:

Hello,

Used "read" permissions.

Show me forum permissions.

Good call! :smile:

I forgot that I had moved a forum from public to private and didn't reset the view/read permissions. Thanks!

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...