Jump to content

(NB40) Recent Topics/Posts


newbie LAC

Recommended Posts

8 minutes ago, newbie LAC said:

Hello,

Find


			$topics = \IPS\forums\Topic::getItemsWithPermission($whereTopics, \null, $limitTopics, 'read', $visibilityt, 0, \null, \true, \false, \false, \false, \null, \false, $joinTags);

change to 


			$topics = \IPS\forums\Topic::getItemsWithPermission($whereTopics, \null, $limitTopics, \null, $visibilityt, 0, \null, \true, \false, \false, \false, \null, \false, $joinTags);

Find


			$posts = \IPS\forums\Topic\Post::getItemsWithPermission($wherePosts, \null, $limitPosts, 'read', $visibilityp);

change to 


			$posts = \IPS\forums\Topic\Post::getItemsWithPermission($wherePosts, \null, $limitPosts, \null, $visibilityp, 0, \null, \true);

 

Thank you for the quick response. Just updated according to your code changes above but it still shows blank for guests. 

Screen Shot 2019-04-27 at 9.02.23 AM.png

EDIT: Nevermind, it took about 5 mins to shows. I guess it was a caching issue. Sorry. Thank you, works great and great support!

Edited by iancassel
worked
Link to comment
Share on other sites

  • 4 weeks later...

Hi,

I recently updated to IPS v4.4 and I updated the app at the same time. Since then I noticed the posts and topics takes 5 minutes to show/update in the widget. 

I understand this in link to an option in the Admin CP > Advanced Setting > Host Environment > Header, footer and sidebar cache. If I set the cache to the minimum, which is 1 min, then the widget takes 1 min to refresh. 

This is new behaviour on my website, the widget used to refresh immediatly (if i've read a message or topic it would immediatly appeared as read in the widget). 

Would you please have any recommandation on how I could get things back to the way they were ?

Link to comment
Share on other sites

Hello,

3 minutes ago, pavero said:

This is new behaviour on my website, the widget used to refresh immediatly (if i've read a message or topic it would immediatly appeared as read in the widget). 

 Would you please have any recommandation on how I could get things back to the way they were ?

 

Link to comment
Share on other sites

  • 1 month later...

Hello,

3 minutes ago, Rob Fielding said:

Is there any way of using this block externally in the same way you can use the default widgets on non-InVision pages. Like this - 

1. Open xml file

Find 

embeddable=""

Change to 

embeddable="1"

Save the file

2. Reinstall the plugin

You will be able create custom block in Pages

Link to comment
Share on other sites

Hello,

Just now, Anton Nikolaykin said:

I think the most convenient solution with clubs is to do the same as posts and topics (Include clubs and Exclude clubs), without dividing into Public, Open, Closed and Private clubs.

recent.thumb.jpg.41835d9ae9bf937b748d34eee34737b2.jpg

All. Show topics/posts from forums and clubs

Forums. Show topics/posts from forums no matter which clubs you choose in the Include forums/clubs

Clubs. Show topics/posts from clubs no matter which forums you choose in the Include forums/clubs

Link to comment
Share on other sites

  • 1 month later...
  • 3 weeks later...
  • 1 year later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

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